Skip to content

feat(eve): enforce an explicit whole-task deadline with retained recovery evidence #506

Closed

Description

@r4yharris-agent-coder

Desired outcome

Enforce an explicit opt-in whole-task wall-clock budget across sequential seats and repairs, preserving edits and cancellation evidence.

Parent: #489; supersedes retired #465. Spec 5.4 and 5.8; respects 3 and 7.
Kind: slice. Priority: P1. Estimate: bounded cancellation/configuration integration, no fabricated minutes.
Prior art: preserved uncommitted delivery-driver-20261009 task-deadline candidate. Integrate its compatible deadline slice only; do not merge its unrelated changes.

Files allowed

  • src/runtime/task-deadline.mjs
  • src/runtime/cancel.mjs
  • src/lib/config.mjs
  • src/lib/builtin.mjs
  • tests/task-deadline*.test.mjs
  • tests/builtin.task-deadline.test.mjs
  • roster.config.example.yml
  • docs/ONE_TASK_LOOP.md

Acceptance checks

  • seat.task_timeout_ms is optional, positive safe integer no larger than the Node timer limit; configuration round-trips, unset preserves uncapped behavior.
  • One deadline spans planning, coding, repairs, review and publication preparation for each run entry; no fresh budget on a seat/repair retry.
  • Expiry propagates ROSTER_TASK_TIMEOUT rather than endpoint-timeout or operator-cancel wording; never starts review or publication after cancellation.
  • Wait for cooperative worker/subprocess cleanup before releasing task ownership; retain worktree, failure results and durable timed_out cancellation evidence.
  • Healthy sibling work retains its own deadline; parent/operator cancellation remains supported.
  • Hermetic Node20 tests cover all public entry points, config, pending requests and cleanup ordering; keep all existing gates.

Done/evidence discipline

Record exact checks and App publication. Keep open/In review until genuine human evaluation. No endpoint/default model/config edits, no runtime dependencies, no vendor/policy/workflow changes. Harder live tasks and #476 remain separately evidence-gated.

Activity

  1. added
    enhancement
    roster:eve
    kind:slice
    priority:P1
    spec:5.4
    spec:5.8
    on Oct 11, 2026
  2. added a commit that references this issue on Oct 11, 2026
  3. r4yharris-agent-coder commented on Oct 11, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    Implemented/App-merged in #507, SHA 49f5aea. 81 Node20 integration tests pass, one existing skip. Actual six-case rounds used the library ten-minute assignment budget, with an outer eleven-minute emergency deadline; saved config unchanged. Durable lifecycle verified. Keep open/In review pending human evaluation.

  4. R4yHarris commented on Oct 11, 2026

    @R4yHarris
    Owner

    Ray-requested backlog audit: closing this bounded repair as implementation-complete based on merged App-authored PR evidence: #507. Opt-in deadline integration covers public entries, configuration, cooperative cleanup, durable timeout and sibling isolation; 81 tests passed with one existing skip. Required trusted tests/trailer checks are successful. This is administrative implementation closure under the current audit request, not an AI-Eval rating, empirical readiness claim, or difficulty promotion; prior failed attempts remain evidence. Human-gated #474, #475 and #476 stay open, and the separate live development thread retains ownership of further planner/coder defects.

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

    enhancementkind:slicepriority:P1roster:evespec:5.4spec:5.8

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions