Commit Graph

1118 Commits

Author SHA1 Message Date
Steve Yegge
e383243161 bd sync: 2025-12-30 13:56:30 2025-12-30 13:56:30 -08:00
Steve Yegge
80cbada427 bd sync: 2025-12-30 13:43:48 2025-12-30 13:43:48 -08:00
Steve Yegge
6b9ba2362b bd sync: 2025-12-30 13:43:44 2025-12-30 13:43:44 -08:00
Steve Yegge
bb0d248f4d bd sync: 2025-12-30 13:33:39 2025-12-30 13:33:39 -08:00
Steve Yegge
31de4c81d3 bd sync: 2025-12-30 12:56:26 2025-12-30 12:56:26 -08:00
Steve Yegge
0b331cbf64 bd sync: 2025-12-30 11:08:56 2025-12-30 11:09:07 -08:00
Steve Yegge
3c56f2c1dd Refactor Deacon patrol to detect→dispatch pattern (gt-0x5og.4)
Major changes to mol-deacon-patrol.formula.toml v4:
- Add DOG_DONE message handling in inbox-check step
- Add dog-pool-maintenance step for idle dog availability
- Change orphan-check to detect-only (dispatches to dogs via sling)
- Change session-gc to detect-only (dispatches to dogs via sling)

The Deacon now stays lightweight by detecting issues and dispatching
heavy work to dogs rather than executing inline. This prevents context
bloat and keeps patrol cycles fast.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 11:02:49 -08:00
Steve Yegge
f1b7b953b8 bd sync: 2025-12-30 11:01:44 2025-12-30 11:01:44 -08:00
Steve Yegge
f64cec2853 bd sync: 2025-12-30 10:53:30 2025-12-30 10:57:34 -08:00
Steve Yegge
d21dd0a0b0 bd sync: 2025-12-30 10:41:14 2025-12-30 10:57:34 -08:00
Steve Yegge
3dec0d0072 bd sync: 2025-12-30 10:41:05 2025-12-30 10:57:34 -08:00
Steve Yegge
75ee851813 bd sync: 2025-12-30 10:36:59 2025-12-30 10:57:34 -08:00
Steve Yegge
3fa1911f27 bd sync: 2025-12-30 10:36:11 2025-12-30 10:57:34 -08:00
Steve Yegge
4db2696a9f bd sync: 2025-12-30 10:35:50 2025-12-30 10:57:34 -08:00
Steve Yegge
5b28ba2e4b bd sync: 2025-12-30 10:34:05 2025-12-30 10:57:34 -08:00
Steve Yegge
5b9983f261 Sync beads from main (gt-m5w4g.2) 2025-12-30 10:48:00 -08:00
Steve Yegge
9968aceddb Add @group dynamic resolution in mail router (gt-tgy1v)
Implements @group address resolution for mail routing:
- @rig/<rigname>: All agents in a rig
- @town: All town-level agents (mayor, deacon)
- @witnesses, @dogs, @refineries: Role-based groups
- @crew/<rig>, @polecats/<rig>: Role+rig scoped groups
- @overseer: Human operator (uses overseer.json)

Resolution uses `bd list --type=agent` queries with
description filtering. Fan-out at send time creates
individual messages for each resolved recipient.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 10:47:05 -08:00
Steve Yegge
c6a9201b5e Add infrastructure formulas for dog tasks (gt-0x5og.5)
Create five formulas for dog-executed infrastructure tasks:
- mol-convoy-cleanup: Archive convoy, notify overseer
- mol-dep-propagate: Cross-rig dependency resolution
- mol-digest-generate: Daily digest for overseer
- mol-orphan-scan: Find and reassign orphaned work
- mol-session-gc: Clean stale sessions

Each formula follows the standard TOML structure with:
- Description and dog contract
- Step-by-step workflow with dependencies
- Variable definitions
- Squash configuration for digests

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 10:39:36 -08:00
Steve Yegge
afb7b85b35 bd sync: 2025-12-30 10:21:48 2025-12-30 10:21:48 -08:00
Steve Yegge
79a6b249a6 bd sync: 2025-12-30 10:20:59 2025-12-30 10:21:37 -08:00
Steve Yegge
08d966a601 Add patrol hygiene: inbox cleanup for Witness/Refinery/Deacon (gt-h5e0)
Each patrol formula now includes:
- Explicit archive instructions after processing messages
- New patrol-cleanup step for end-of-cycle inbox hygiene
- Deacon: log rotation and state.json pruning

Changes:
- mol-witness-patrol v2: POLECAT_STARTED archive, patrol-cleanup step
- mol-refinery-patrol v3: MERGE_READY archive after merge, patrol-cleanup step
- mol-deacon-patrol v3: log-maintenance step, patrol-cleanup step

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 09:59:09 -08:00
Steve Yegge
dd3391bb68 bd sync: 2025-12-30 06:47:27 2025-12-30 06:47:27 -08:00
Steve Yegge
c1e2257497 bd sync: 2025-12-30 06:45:27 2025-12-30 06:45:46 -08:00
Steve Yegge
800e218b7c bd sync: 2025-12-30 02:07:44 2025-12-30 06:45:46 -08:00
Steve Yegge
5329865332 bd sync: 2025-12-30 02:06:28 2025-12-30 06:45:46 -08:00
Steve Yegge
4389d4fcd2 bd sync: 2025-12-30 01:54:04 2025-12-30 06:45:46 -08:00
Steve Yegge
9acb275526 bd sync: 2025-12-30 01:52:52 2025-12-30 06:45:46 -08:00
Steve Yegge
b0c00b78e3 bd sync: 2025-12-30 01:51:51 2025-12-30 06:45:46 -08:00
Steve Yegge
ff37dc3d60 bd sync: 2025-12-30 01:03:55 2025-12-30 01:03:55 -08:00
Steve Yegge
21158c4c12 bd sync: 2025-12-30 01:03:09 2025-12-30 01:03:09 -08:00
Steve Yegge
559ab84d49 bd sync: 2025-12-30 01:02:01 2025-12-30 01:02:23 -08:00
Steve Yegge
59f90f2bb2 bd sync: 2025-12-30 01:00:48 2025-12-30 01:02:23 -08:00
Steve Yegge
bf72f6c59a bd sync: 2025-12-30 00:49:28 2025-12-30 01:02:23 -08:00
Steve Yegge
44d783fca3 bd sync: 2025-12-30 00:48:24 2025-12-30 01:02:23 -08:00
Steve Yegge
a2d16b619a bd sync: 2025-12-30 00:46:35 2025-12-30 01:02:23 -08:00
Steve Yegge
c0832d000f bd sync: 2025-12-30 00:33:23 2025-12-30 01:02:23 -08:00
Steve Yegge
3e64a4a630 bd sync: 2025-12-30 00:18:58 2025-12-30 01:02:23 -08:00
Steve Yegge
f9b554b683 bd sync: 2025-12-30 00:15:53 2025-12-30 01:02:23 -08:00
Steve Yegge
ebec23cfea bd sync: 2025-12-30 00:09:02 2025-12-30 01:02:23 -08:00
Steve Yegge
90bb64f7e4 bd sync: 2025-12-30 00:08:39 2025-12-30 01:02:23 -08:00
Steve Yegge
40d1e0c2a4 bd sync: 2025-12-29 23:58:14 2025-12-30 01:02:23 -08:00
Steve Yegge
4e67f7e637 feat: Add convoy patrol steps to Deacon formula
Added three new patrol steps for convoy orchestration:
- check-convoy-completion: Watch for tracked issue closures, auto-close convoys
- resolve-external-deps: Propagate cross-rig dependency resolution
- fire-notifications: Notify Overseer/Witnesses of convoy and dep events

Updated health-scan to depend on fire-notifications (runs after convoy steps).

(gt-wthcc)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 00:50:24 -08:00
Steve Yegge
c47a7466d8 chore: Remove obsolete polecat formula files
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 00:19:12 -08:00
Steve Yegge
a31972f4ea fix: MCP beads tools work from polecat directories (gt-tnw)
Root cause: beads-mcp plugin's _find_beads_db_in_tree() didn't follow
.beads/redirect files. Fix implemented in beads repo (bd-7t9a).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 00:09:09 -08:00
Steve Yegge
fcbbdce1ed bd sync: 2025-12-29 23:57:16 2025-12-29 23:57:16 -08:00
Steve Yegge
ff98567569 bd sync: 2025-12-29 23:57:11 2025-12-29 23:57:14 -08:00
Steve Yegge
5626682b80 bd sync: 2025-12-29 23:49:17 2025-12-29 23:57:14 -08:00
Steve Yegge
c30884b36c bd sync: 2025-12-29 23:48:01 2025-12-29 23:57:14 -08:00
Steve Yegge
cd1d947a76 bd sync: 2025-12-29 23:47:49 2025-12-29 23:57:14 -08:00
Steve Yegge
1bf2b54773 Add witness activity events to gt feed (gt-nfdyl)
Implement activity event emission for witness patrol operations:
- patrol_started: When witness begins patrol cycle
- polecat_checked: When witness checks a polecat
- polecat_nudged: When witness nudges a stuck polecat
- escalation_sent: When witness escalates to Mayor/Deacon
- patrol_complete: When patrol cycle finishes

Also adds refinery merge queue events for future use:
- merge_started, merge_complete, merge_failed, queue_processed

New command: `gt activity emit <event-type>` allows agents to emit
events from CLI. Events write to ~/gt/.events.jsonl for gt feed.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 23:52:38 -08:00