Commit Graph

2104 Commits

Author SHA1 Message Date
Steve Yegge
91b4857eb6 bd sync: 2025-12-21 22:57:55 2025-12-21 22:57:55 -08:00
Steve Yegge
abb4a84af7 bd sync: 2025-12-21 22:41:15 2025-12-21 22:42:36 -08:00
Steve Yegge
61d70cd1c3 bd sync: 2025-12-21 22:04:42 2025-12-21 22:04:42 -08:00
Steve Yegge
d554a1125b bd sync: 2025-12-21 21:18:55 2025-12-21 21:19:05 -08:00
Steve Yegge
c73bf8bdb2 bd sync: 2025-12-21 21:14:14 2025-12-21 21:19:05 -08:00
Steve Yegge
310e86d1d9 bd sync: 2025-12-21 21:00:10 2025-12-21 21:00:10 -08:00
Steve Yegge
6b339e7239 bd sync: 2025-12-21 18:02:24 2025-12-21 18:02:24 -08:00
Steve Yegge
d06401d778 bd sync: 2025-12-21 17:28:08 2025-12-21 17:28:08 -08:00
Steve Yegge
f56540efc8 bd sync: 2025-12-21 17:20:07 2025-12-21 17:20:07 -08:00
Steve Yegge
39750ba6a2 bd sync: 2025-12-21 16:15:25 2025-12-21 16:15:41 -08:00
Steve Yegge
7d43a13600 bd sync: 2025-12-21 15:50:00 2025-12-21 15:50:00 -08:00
Steve Yegge
4791b10ae9 bd sync: 2025-12-21 15:41:30 2025-12-21 15:41:38 -08:00
Steve Yegge
324580f4aa bd sync: 2025-12-21 15:28:30 2025-12-21 15:41:38 -08:00
Steve Yegge
61361995cb bd sync: 2025-12-21 14:44:42 2025-12-21 14:44:42 -08:00
Steve Yegge
2b87a55adf bd sync: 2025-12-21 14:42:37 2025-12-21 14:43:34 -08:00
Steve Yegge
5f54c12fa9 bd sync: 2025-12-21 14:35:24 2025-12-21 14:43:34 -08:00
Steve Yegge
29b382f561 bd sync: 2025-12-21 13:57:59 2025-12-21 14:43:34 -08:00
Steve Yegge
06cc1b2514 bd sync: 2025-12-21 13:54:32 2025-12-21 14:43:34 -08:00
Steve Yegge
3261d8d5a2 bd sync: 2025-12-21 13:46:14 2025-12-21 14:43:34 -08:00
Steve Yegge
939ca7906e bd sync: 2025-12-21 13:44:01 2025-12-21 14:43:34 -08:00
Steve Yegge
fd8b987189 Merge branch 'pr-678' 2025-12-21 12:42:29 -08:00
Steve Yegge
f1e4c4f4a5 Merge branch 'pr-677' 2025-12-21 12:42:11 -08:00
Steve Yegge
2602a768ad bd sync: 2025-12-21 11:43:33 2025-12-21 11:43:33 -08:00
Steve Yegge
091cba87a5 bd sync: 2025-12-21 11:31:46 2025-12-21 11:31:54 -08:00
Steve Yegge
982a3e10e8 bd sync: 2025-12-21 11:31:09 2025-12-21 11:31:54 -08:00
Steve Yegge
98b5bb5388 bd sync: 2025-12-21 11:30:36 2025-12-21 11:31:54 -08:00
Steve Yegge
0ebc06b0e0 bd sync: 2025-12-21 11:18:33 2025-12-21 11:31:54 -08:00
Steve Yegge
feb1275469 bd sync: 2025-12-21 11:09:54 2025-12-21 11:09:54 -08:00
matt wilkie
03118e7226 feat(sync): add timeout message for long-running git operations (fixes #647)
When git push or other git operations hang waiting for credential/browser
auth, show a helpful message to the user after 5 seconds of inactivity
instead of appearing frozen.

Added:
- runCmdWithTimeoutMessage() in internal/syncbranch/worktree.go
- runGitCmdWithTimeoutMsg() in cmd/bd/sync.go
- Both functions print a message after timeout delay with advice
  to check for browser auth prompts

Fixes issue #647 (bd sync frozen waiting for browser auth)
2025-12-21 12:05:13 -07:00
Steve Yegge
132d6c396d bd sync: 2025-12-21 10:42:50 2025-12-21 10:42:50 -08:00
Steve Yegge
7e89aa536f bd sync: 2025-12-21 10:32:29 2025-12-21 10:36:56 -08:00
Steve Yegge
50167d0c96 bd sync: 2025-12-21 10:23:33 2025-12-21 10:36:56 -08:00
Steve Yegge
0992f22767 bd sync: 2025-12-21 10:13:15 2025-12-21 10:36:56 -08:00
matt wilkie
2de4d0facd fix(bd-68e4): make DBJSONLSync bidirectional - export DB when it has more issues
- Modified fix.DBJSONLSync() to detect which direction to sync:
  - If DB > JSONL: run 'bd export' to sync JSONL (DB has newer data)
  - If JSONL > DB: run 'bd sync --import-only' to import (JSONL is source of truth)
  - If equal but different timestamps: use file mtime to decide direction

- Updated CheckDatabaseJSONLSync() error messages to recommend correct fix direction:
  - Shows different guidance based on whether DB or JSONL has more issues

- Added helper functions:
  - countDatabaseIssues() to count issues in SQLite
  - countJSONLIssues() to count issues in JSONL (local, avoids circular import)

- Added tests for countJSONLIssues() with edge cases

Fixes issue where 'bd doctor --fix' would recommend 'bd sync --import-only'
when DB > JSONL, which would be a no-op since JSONL hasn't changed.
2025-12-21 11:22:37 -07:00
Steve Yegge
1c58aabaa3 bd sync: 2025-12-21 10:10:26 2025-12-21 10:10:26 -08:00
Steve Yegge
fa90c95475 bd sync: 2025-12-21 01:33:20 2025-12-21 01:33:20 -08:00
Steve Yegge
0618bebe01 bd sync: 2025-12-21 01:30:32 2025-12-21 01:30:40 -08:00
Steve Yegge
9336d2dd1a bd sync: 2025-12-21 01:20:06 2025-12-21 01:20:06 -08:00
Steve Yegge
88c1ad9fee bd sync: 2025-12-21 01:10:57 2025-12-21 01:10:57 -08:00
Steve Yegge
e94cea1c37 docs: fix bd mail → gt mail in CLAUDE.md
gt mail is the correct command for Gas Town mail routing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 00:20:44 -08:00
Steve Yegge
8e17dcff6d feat(mol): add bd mol run command for durable execution
bd mol run = bond + assign + pin:
- Bonds the molecule (creates issues from template)
- Assigns root to the caller
- Sets root status to in_progress
- Pins root issue for session recovery

After a crash or session reset, the pinned root ensures the agent
can resume from where it left off by checking 'bd ready'.

This is the Gas Town integration point that makes molecules immortal.

Closes: bd-icnf

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 00:07:19 -08:00
Steve Yegge
b950604e0a refactor(mol): remove molecule.go (superseded by mol.go)
The simple single-issue instantiation in molecule.go is superseded by
the full DAG-based mol commands. Use 'bd mol bond' for all molecule
instantiation - it handles both single-issue and multi-issue molecules.

Closes: bd-8b0x

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 00:04:25 -08:00
Steve Yegge
ca678ca5ba feat(mol): add bd mol commands, deprecate bd template
Adds the mol command group for molecule workflows:
- bd mol catalog - list available molecules
- bd mol show <id> - show molecule structure and variables
- bd mol bond <id> --var k=v - instantiate a molecule

Molecules are templates with workflow semantics - they are the
orchestration primitive for Gas Town. This unifies the template
system under the mol command.

The template commands are deprecated but still work:
- bd template list -> use bd mol catalog
- bd template show -> use bd mol show
- bd template instantiate -> use bd mol bond

Closes: bd-ffjt

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-21 00:01:53 -08:00
Steve Yegge
ee255c215a bd sync: 2025-12-20 23:22:54 2025-12-20 23:22:54 -08:00
Steve Yegge
22f4e0d6fa bd sync: 2025-12-20 22:35:59 2025-12-20 22:35:59 -08:00
Steve Yegge
d2956739c8 bd sync: 2025-12-20 22:35:19 2025-12-20 22:35:26 -08:00
Steve Yegge
ecea63da75 bd sync: 2025-12-20 21:59:07 2025-12-20 21:59:07 -08:00
Steve Yegge
9768317eea bd sync: 2025-12-20 21:57:50 2025-12-20 21:58:59 -08:00
Steve Yegge
cad4f49f64 bd sync: 2025-12-20 21:56:38 2025-12-20 21:58:59 -08:00
Steve Yegge
2cb155eeba docs: add v0.32.0 changelog and info.go entries
Prepare for v0.32.0 release with:
- Removed bd mail commands (orchestration belongs elsewhere)
- Data model unchanged (type=message, Sender, etc.)
- Symlink fix (PR#665)
- Docs fix (GH#666)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 18:23:02 -08:00