Fix Deacon phantom alert storm for nuked polecats#2704
Open
floristDev wants to merge 5 commits intosteveyegge:mainfrom
Open
Fix Deacon phantom alert storm for nuked polecats#2704floristDev wants to merge 5 commits intosteveyegge:mainfrom
floristDev wants to merge 5 commits intosteveyegge:mainfrom
Conversation
bd v0.57.0 removed the --flat flag and bd list --json now outputs valid JSON by default. Fixes gt mq list, gt patrol, and gt hook. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skip agents with agent_state=nuked in both checkRigGUPPViolations and checkRigOrphanedWork. Nuked polecats are intentionally terminated but their database records persist for history. The Deacon was seeing "dead session + hooked work" and generating ~7 ORPHANED_WORK/GUPP_VIOLATION mails per 3-min cycle (~140 unnecessary Dolt commits/hour). Fixes: hq-hk7, hq-1d2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dogs were missing from the identity switch statement, causing "cannot determine agent identity (role: dog)" errors that blocked gt hook and molecule commands for all dog agents. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous commit only removed --flat from the Go API List() method. These 7 exec.Command calls still passed --flat to bd, which no longer supports the flag. This broke gt convoy list and other commands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
resolveBeadDir was returning the rig path, causing bd to discover rig-local .beads/routes.jsonl with broken nested routing (e.g., sc- -> scurry/mayor/rig from within scurry dir = double-nested path). Now returns town root so bd uses the correct town-level prefix routing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
agent_state=nukedincheckRigGUPPViolationsandcheckRigOrphanedWorkChanges
checkRigGUPPViolations: Added nuked state check (struct already hadAgentStatefield)checkRigOrphanedWork: AddedAgentStatefield to struct + nuked state checkTest plan
go build ./...passesgo test ./internal/daemon/passes🤖 Generated with Claude Code