Relationships
#4653 stagecraft: dispatch prompts read injected products by latest record, not the version the run indexed
Opened by skunk-ape · 11/11/2026
Extension: @swamp/stagecraft (swamp-extensions repo).
A dispatch stage's subagent prompt tells each subagent to read an injected product with swamp data query by record name and --single, which returns the latest stored version of that record. The run record indexes a specific version (products...version), and gates and let values read that one.
The two differ whenever a payload version is written but not indexed: a crash between the payload write and the run commit (already allowed by the commit protocol), and, after swamp-club#4596, a write the engine refuses because swamp changed the payload on save (a redacted secret). In those cases a subagent reads a version the run never accepted, for example one holding ***, while gates judge the indexed one.
Expected: the prompt's read names the indexed version (e.g. a version filter in the query), so what a subagent reads is what the run accepted. Found while planning swamp-club#4596; left out of that fix by decision.
Open
No activity in this phase yet.
system commented 11/11/2026, 5:43:49 PM
Classified automatically when this issue was filed.
- Source: Extensions
If you feel this classification is incorrect, add a ripple to tell us so.
Sign in to post a ripple.