fix(supervise): bound response waits
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user