Skip to content

C2.4 runtime(wind-down): drain in-flight work terminalize the queue and reach zero pending before finalization #995

Open

Description

@EffortlessSteven

Parent

#768. Depends on #991/#994. Roadmap: #945 C2.4.

Objective

Make the live run enter final judgment with no unaccounted runnable work.

Scope

  • Stop admissions at the configured boundary.
  • Drain in-flight work that can finish safely; cancel only by explicit policy.
  • Persist terminal receipts immediately.
  • Terminalize queued work as satisfied, failed, timed out, unsupported, superseded, deferred latest-safe-start/budget, or cancelled.
  • Route completed receipts before final-lead input.
  • Emit wind-down artifact and enforce pending runnable = 0.

Acceptance

No task disappears; all terminal paths release; Required missing evidence is not_proven; optional deferred work is nonblocking/artifact-only; finalization reserve is preserved; hard wall catches a deliberate hang; reporter/final lead starts with zero pending; model-off works.

Proof

Drain/cancel/hang/short-late/Required-unfit/queue-terminalization/receipt-routing fixtures, exact timeline artifact, full validation.

Non-goals

No PR-push workflow concurrency, GitHub watchdog, new ranking, or public prose redesign.

Rollback

Use an earlier conservative admission stop while retaining terminal dispositions and zero-pending requirement.

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions