You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Standard: a driver's answer is not told the unit's time limit #812
P2 · Planned: limited in scope, has a way around it, or a missing feature
Evidence
drive_upstream (runner/run.py) waits for answer up to agent_limit(), --timeout agent first. The request does not include it: a driver bounds its upstream by turn_seconds alone.
With --timeout agent below the driver's bound, jsonl.Proc.close() closes the driver's stdin and kills its group 3 s later:
the unit's error is answer: no reply in N s, not the driver's reason;
the driver's later SIGKILL of its runner's session never comes. A made-up runner ignoring SIGTERM was alive 40 s later;
a result.json already written is not read.
Reproduction
A driver whose answer runs its upstream in a session of its own.
nullius standard run ... --timeout agent=60, turn_seconds 2100.
Expected
The driver stops its runner with its own reason before the core's wait ends.
Acceptance
answer gets the unit's limit in seconds
docs/standard.md, "Driver ops", names the field
A test: --timeout agent below turn_seconds, the driver's reason in the unit's error
Activity