Commit Graph

846 Commits

Author SHA1 Message Date
Steve Yegge
6cfb31419e bd sync: 2025-12-28 09:43:06 2025-12-28 09:43:06 -08:00
Steve Yegge
ec0f314a2d bd sync: 2025-12-28 09:42:29 2025-12-28 09:42:53 -08:00
Steve Yegge
f3a6ef6ca5 feat: Witness reads polecat state from agent beads (gt-gizsv)
Changes:
1. Fix reportAgentState in prime.go to use beads API directly instead of
   non-existent `bd agent state` command. Agents now properly self-report
   their state to their agent beads on startup.

2. Update witness patrol survey-workers step to use agent beads:
   - List polecats via `bd list --type=agent --json`
   - Filter by role_type: polecat in description
   - Check agent_state field (running/idle/stuck/done)
   - Trust agent-reported state (ZFC principle)

No more PID/tmux inference for polecat state - agents self-report.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 09:42:07 -08:00
Steve Yegge
5b0b852eb5 bd sync: 2025-12-28 09:41:53 2025-12-28 09:41:53 -08:00
Steve Yegge
914d81151e bd sync: 2025-12-28 09:35:07 2025-12-28 09:35:17 -08:00
Steve Yegge
b9bb6577f8 bd sync: 2025-12-28 09:34:57 2025-12-28 09:35:17 -08:00
Steve Yegge
ec870b92d8 bd sync: 2025-12-28 09:33:08 2025-12-28 09:33:08 -08:00
Steve Yegge
e54435bc2c bd sync: 2025-12-28 09:23:07 2025-12-28 09:23:07 -08:00
Steve Yegge
0d75fd2675 bd sync: 2025-12-28 09:20:06 2025-12-28 09:20:06 -08:00
Steve Yegge
34f5ef0e93 feat: Wire witness patrol formula to daemon cron (gt-qpoxz)
Adds witness patrol to daemon heartbeat cycle:
- ensureWitnessesRunning(): Start witness for each rig if not running
- pokeWitnesses(): Send heartbeat messages to all witnesses
- getKnownRigs(): Read rig list from mayor/rigs.json

The daemon now ensures both Deacon and Witnesses are running
and sends periodic heartbeats to trigger their patrol molecules.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 02:44:37 -08:00
Steve Yegge
2ae7bd24a3 feat: gt doctor checks agent beads exist (gt-bq4wo)
Adds agent-beads-exist check to gt doctor:
- Verifies witness/refinery beads exist for each rig
- Verifies deacon/mayor beads exist in first rig
- Supports --fix to create missing agent beads
- Skips non-gt prefixes (beads library limitation)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 02:40:00 -08:00
Steve Yegge
315206e593 bd sync: 2025-12-28 02:26:23 2025-12-28 02:26:42 -08:00
Steve Yegge
703234cf80 bd sync: 2025-12-28 02:25:50 2025-12-28 02:25:50 -08:00
Steve Yegge
5b867332c2 bd sync: 2025-12-28 02:17:54 2025-12-28 02:17:54 -08:00
Steve Yegge
b6f1e32dfd bd sync: beads state update (gt-5eegv) 2025-12-28 02:07:33 -08:00
Steve Yegge
31b663cec2 deacon patrol: 21 cycles complete 2025-12-28 02:07:33 -08:00
Steve Yegge
b27372b6f8 bd sync: 2025-12-28 01:56:58 2025-12-28 02:07:33 -08:00
Steve Yegge
4f5b7bf519 bd sync: 2025-12-28 01:37:49 2025-12-28 01:43:43 -08:00
Steve Yegge
d5ecaccc96 bd sync: 2025-12-28 01:37:41 2025-12-28 01:43:43 -08:00
Steve Yegge
d150f339d2 bd sync: 2025-12-28 01:37:11 2025-12-28 01:37:11 -08:00
Steve Yegge
a827b56260 Refinery patrol: Add banners and wisp-based execution (gt-qz2l)
- Add step banners with emojis for each patrol step
- Add startup banner for Refinery initialization
- Add patrol summary banner at end of cycle
- Document wisp-based execution pattern (spawn/squash)
- Add Propulsion Principle for startup protocol
- Update refinery.md.tmpl template
- Update prompts/roles/refinery.md
- Update gastown refinery CLAUDE.md

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 01:22:33 -08:00
Steve Yegge
52b0d27d3e bd sync: 2025-12-28 00:46:52 2025-12-28 00:46:52 -08:00
Steve Yegge
4f95e33fe1 bd sync: agent beads created 2025-12-28 00:12:13 -08:00
Steve Yegge
a8145010d6 bd sync: 2025-12-28 00:08:31 2025-12-28 00:08:31 -08:00
Steve Yegge
19042c09b2 bd sync: 2025-12-28 00:03:29 2025-12-28 00:03:29 -08:00
Steve Yegge
2d05da9dcc bd sync: 2025-12-27 23:38:14 2025-12-27 23:38:14 -08:00
Steve Yegge
9c3f89a392 bd sync: 2025-12-27 22:17:30 2025-12-27 22:17:30 -08:00
Steve Yegge
eb73ed51ae bd sync: 2025-12-27 22:13:56 2025-12-27 22:13:56 -08:00
Steve Yegge
393d2fd689 bd sync: 2025-12-27 21:34:40 2025-12-27 21:34:48 -08:00
Steve Yegge
7cba83cac5 bd sync: 2025-12-27 20:09:39 2025-12-27 21:34:48 -08:00
Steve Yegge
e71e8676ae bd sync: 2025-12-27 20:02:37 2025-12-27 20:02:37 -08:00
Steve Yegge
45854106c2 bd sync: 2025-12-27 19:27:37 2025-12-27 19:27:37 -08:00
Steve Yegge
6b4c0e3a08 bd sync: 2025-12-27 19:19:15 2025-12-27 19:19:15 -08:00
Steve Yegge
8e337dad6a bd sync: 2025-12-27 19:13:31 2025-12-27 19:13:31 -08:00
Steve Yegge
6a053a767e Add CLI audit issues (gt-et72q, gt-tzogh, gt-361qj) 2025-12-27 18:21:03 -08:00
Steve Yegge
3aa0ba6e6b bd sync: 2025-12-27 17:12:47 2025-12-27 17:12:47 -08:00
Steve Yegge
4934131272 bd sync: 2025-12-27 16:48:16 2025-12-27 16:48:16 -08:00
Steve Yegge
3ae39f2eb0 Fix CLI mismatches from bd-2fs7 (wisp->ephemeral) (gt-pu1t5)
bd-2fs7 moved wisp/pour under bd mol, but gastown was not updated.
This caused handoff failures - gt mail send errored with 'unknown flag: --wisp'.

Changes:
- router.go: --wisp -> --ephemeral for bd create
- patrol_helpers.go: bd wisp create -> bd mol wisp create
- wisp_check.go: bd wisp gc -> bd mol wisp gc

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 15:01:02 -08:00
Steve Yegge
bebb7b0f61 bd sync 2025-12-27 14:50:35 -08:00
Steve Yegge
95d45b3665 bd sync: 2025-12-27 14:47:27 2025-12-27 14:50:35 -08:00
Steve Yegge
dccb698d37 bd sync: 2025-12-27 14:35:47 2025-12-27 14:50:35 -08:00
Steve Yegge
b9ae4aa280 bd sync: 2025-12-27 00:42:24 2025-12-27 01:02:52 -08:00
Steve Yegge
a2bb4e46e5 bd sync: 2025-12-27 00:15:45 2025-12-27 00:15:45 -08:00
Steve Yegge
24ac5be2f7 bd sync: 2025-12-27 00:14:17 2025-12-27 00:14:17 -08:00
Steve Yegge
5dc150e2ad bd sync: 2025-12-27 00:08:20 2025-12-27 00:08:20 -08:00
Steve Yegge
bb5a78c4fa refactor: Update bd pour/wisp → bd mol pour/wisp
Beads CLI restructured: pour and wisp are now subcommands of mol.
- bd pour → bd mol pour
- bd wisp → bd mol wisp

Updated all documentation, templates, and code to use new command structure.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 23:49:45 -08:00
Steve Yegge
8298ee34b5 bd sync: 2025-12-26 23:38:13 2025-12-26 23:49:28 -08:00
Steve Yegge
b15c7173d4 chore: Drop JSON formula support, TOML only (gt-spt8v)
- Delete all .formula.json files (TOML versions exist)
- Update sling.go comment to say TOML only

Note: Doc updates were prepared but those docs were deleted
upstream in the recent refactoring.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 23:46:47 -08:00
Steve Yegge
9cd6ce7460 bd sync: 2025-12-26 20:20:40 2025-12-26 20:20:40 -08:00
Steve Yegge
a82aaee60d bd sync: 2025-12-26 20:08:06 2025-12-26 20:08:06 -08:00