feat(plugins): implement 4 spec-only plugins#3252
Merged
steveyegge merged 1 commit intogastownhall:mainfrom Mar 27, 2026
Merged
feat(plugins): implement 4 spec-only plugins#3252steveyegge merged 1 commit intogastownhall:mainfrom
steveyegge merged 1 commit intogastownhall:mainfrom
Conversation
These plugins had complete specifications in plugin.md but no executable run.sh. Each implementation follows the existing plugin pattern: cooldown gate, bd wisp recording, and escalation on failure. - **stuck-agent-dog**: Context-aware stuck/crashed agent detection for polecats and deacon. Checks tmux session + process health, notifies witness for restarts, escalates on mass death (>=3 agents). Never touches crew/mayor/witness/refinery sessions. - **rebuild-gt**: Safe binary rebuild from gastown source. Uses `gt stale --json` to verify staleness and safety before building. Only rebuilds forward on main branch — prevents the crash-loop incident where a bad rebuild broke every session's startup hook. - **git-hygiene**: Stale branch, stash, and gc cleanup across all rig repos. Deletes merged local branches, orphan agent branches (polecat/*, dog/*, fix/*) with no remote, merged remote branches on GitHub via `gh api`, clears stashes, and runs `git gc --prune=now`. - **dolt-snapshots**: Build/run wrapper for the existing Go binary (main.go) that tags Dolt databases at convoy boundaries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
❌ 5 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four plugins had complete specifications in
plugin.mdbut no executablerun.sh. This PR adds implementations for all four, following the existing plugin pattern (cooldown gate, bd wisp recording, escalation on failure).stuck-agent-dog (5m cooldown): Context-aware stuck/crashed agent detection for polecats and deacon. Checks tmux session + process health, notifies witness for restarts, escalates on mass death (>=3 agents). Scoped to polecats and deacon only — never touches crew, mayor, witness, or refinery sessions.
rebuild-gt (1h cooldown): Safe binary rebuild from gastown source. Uses
gt stale --jsonto verify staleness and forward-safety before building. Only rebuilds on main branch — prevents the crash-loop incident where a bad rebuild broke every session's startup hook.git-hygiene (12h cooldown): Stale branch, stash, and gc cleanup across all rig repos. Deletes merged local branches, orphan agent branches (
polecat/*,dog/*,fix/*) with no remote tracking branch, merged remote branches on GitHub viagh api, clears stashes, and runsgit gc --prune=now.dolt-snapshots: Build/run wrapper for the existing Go binary (
main.go) that tags Dolt databases at convoy boundaries for audit, diff, and rollback.Test plan
bash -nsyntax check passes for all 4 scriptssafe_to_rebuild=false, rebuilds when stale+safe🤖 Generated with Claude Code