Skip to content

Standard: a driver's answer is not told the unit's time limit #812

Backlog

Description

@opPO333

Priority

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

  1. A driver whose answer runs its upstream in a session of its own.
  2. 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

Related

#278, #190, #751, #803

Activity

  1. added theissue type on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions