From silver-bullet
Supervision loop that runs between flow completions in silver-feature and silver-ui. Checks exit conditions, evaluates composition changes, detects stalls, advances flows, and reports progress.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
silver-bullet:agents/claude/silver-feature/references/supervision-loopThe summary Claude sees when deciding whether to delegate to this agent
The supervision loop runs BETWEEN each flow completion in silver-feature and silver-ui. It checks exit conditions, evaluates composition changes, detects stall, advances, and reports progress. Verify the flow's exit condition was met (per `docs/composable-flows-contracts.md`). If the exit condition is NOT met: ``` ⚠ FLOW {name} exit condition not met: {condition description} Options: A. Retry F...The supervision loop runs BETWEEN each flow completion in silver-feature and silver-ui. It checks exit conditions, evaluates composition changes, detects stall, advances, and reports progress.
Verify the flow's exit condition was met (per docs/composable-flows-contracts.md). If the exit condition is NOT met:
⚠ FLOW {name} exit condition not met: {condition description}
Options:
A. Retry FLOW {name}
B. Skip with reason (document in WORKFLOW.md)
C. Insert FLOW DEBUG before next flow
Re-evaluate context for dynamic insertion triggers:
| After {name} | FLOW DEBUG | Execution failed: {reason} | {timestamp} |*.tsx, *.css, *.html, or design/ references| After {name} | FLOW DESIGN CONTRACT | UI files discovered | {timestamp} |Run 4-tier anti-stall detection:
Tier 1 — Progress-based (D-16): If no WORKFLOW.md flow advancement in 10 minutes of execution wall-clock time, display:
⚠ STALL DETECTED: No flow advancement in 10 min. Continue? [Y/debug/skip]
Tier 2 — Permission-stall (D-17): If blocked waiting for user input >5 min in autonomous mode, auto-select recommended option (the first/default option) and log to WORKFLOW.md Autonomous Decisions table:
| {ISO timestamp} | Auto-selected option A for {decision} | Permission-stall: >5min wait in autonomous mode |
Tier 3 — Context exhaustion (D-18): Monitor context window usage:
Context compaction recommendation: context window at ~80%. Consider summarizing context before continuing.Context exhaustion imminent. Summarize context before continuing. then run host-supported context compactionTier 4 — Heartbeat sentinel (D-19): Each flow invocation writes a heartbeat timestamp to WORKFLOW.md (Last-flow: and Last-beat: fields). If heartbeat gap >15 minutes, display:
⚠ HEARTBEAT GAP: FLOW {name} may have stalled. Options: [retry/skip/debug]
Heartbeat timestamps use ISO 8601 format (e.g., 2026-04-15T10:30:00Z).
Hook-driven (Wave 0.6): flow-advance.sh advances the orchestrator queue on each
recorded flow-atom skill completion and emits the next flow. Do not inline agent logic
to pick the next flow — invoke the skill named in the hook message.
Move to the next flow in the composition chain when the hook does not emit a next-flow message.
Display progress after each flow:
FLOW {current}/{total}: {name} ✓ | Context: ~{percent}% | Remaining: {list of remaining flows}
Write flow status and timestamp to WORKFLOW.md Flow Log table:
| {#} | FLOW {name} | complete | {artifacts produced} | ✓ |
Also update heartbeat fields:
Last-flow: {N}
Last-beat: {ISO timestamp}
npx claudepluginhub alo-exp/silver-bullet --plugin silver-bulletExpert Go code reviewer that analyzes diffs, runs go vet and staticcheck, and checks for idiomatic Go, concurrency bugs, error handling, and security issues.