fix: complete removal of agent_state observable tracking (gt-zecmc)
Additional cleanup from the agent_state refactoring: - Remove dead code: checkStaleAgents(), markAgentDead() in lifecycle.go - Remove dead code: reportAgentState(), getAgentFields() in prime.go - Update getAgentBeadState() comment to clarify non-observable states only - Update mol-witness-patrol.formula.toml to use tmux discovery - Update mol-polecat-lease.formula.toml to use POLECAT_DONE mail - Update docs/watchdog-chain.md to reflect new architecture 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Steve Yegge
parent
6e84489ca3
commit
87169a3fc7
@@ -62,7 +62,8 @@ Polecat is actively working. Monitor for stuck or completion.
|
||||
|
||||
**Periodic checks:**
|
||||
- Use standard nudge protocol from Witness CLAUDE.md
|
||||
- Watch for POLECAT_DONE mail or agent_state=done
|
||||
- Watch for POLECAT_DONE mail (primary completion signal)
|
||||
- Check tmux session: `gt session status {{rig}}/polecats/{{polecat}}`
|
||||
|
||||
**Signs of progress:**
|
||||
- Git commits appearing
|
||||
@@ -73,11 +74,12 @@ Polecat is actively working. Monitor for stuck or completion.
|
||||
- Idle >15 minutes
|
||||
- Repeated errors
|
||||
- Explicit "I'm stuck" messages
|
||||
- Agent bead shows stuck state: `bd show <agent-bead-id>`
|
||||
|
||||
**If POLECAT_DONE received or agent_state=done:**
|
||||
**If POLECAT_DONE mail received:**
|
||||
Proceed to verifying step.
|
||||
|
||||
**Exit criteria:** Polecat signals completion (POLECAT_DONE mail or state=done)."""
|
||||
**Exit criteria:** Polecat signals completion via POLECAT_DONE mail."""
|
||||
|
||||
[[steps]]
|
||||
id = "verifying"
|
||||
|
||||
Reference in New Issue
Block a user