fix(supervise): bound response waits

This commit is contained in:
2026-06-02 08:06:45 +00:00
parent 7c260eeff9
commit 82ce5d3034
3 changed files with 136 additions and 9 deletions
+3 -5
View File
@@ -65,8 +65,8 @@ Out of scope:
## Design
Introduce a supervise response wait budget, for example
`SUPERVISE_RESPONSE_TIMEOUT_SECONDS`, with a documented default. The existing
Introduce a supervise response wait budget,
`SUPERVISE_RESPONSE_TIMEOUT_SECONDS`, with a 30 second default. The existing
poll loop should stop after that budget and return a normal tool result such as
`{"status": "pending", "notes": "operator response timed out; proposal remains queued"}`.
The exact field names should fit the existing response schema so agents can
@@ -96,6 +96,4 @@ Run:
## Open Questions
- What default wait budget is best for agent ergonomics? A short timeout keeps
worker threads free; a longer timeout gives an operator more time to respond
inline before the agent has to retry.
None.