Skip to content

v5.58.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 16:42
· 1051 commits to main since this release
1a4ac40

Added

  • Durable chunk-boundary receipts and a next-Chunk-dispatch admission gate: a Chunk is complete only once a receipt records the exact commit, this project's own verification evidence, a plan checkpoint, reflection/child-accounting completion, and the Builder's own acknowledgment -- never a PM assertion alone or automatic context compaction. A versioned role-aware projection of this contract, for both the Project Manager and the Builder, is now part of every session's prime and generated carrier file (#1889). HTTP/dashboard wiring for the admission gate is tracked separately in #2836.
  • tc <verb> --help/-h now answers from that verb's own roster entry, and a new tc help --json prints the whole tc verb roster as a stable, machine-readable manifest. Role-scoped operating primers (worker/reviewer/coordinator/master), composed directly from the live roster, are available via lib/operating-primer.js -- each states the tc start next vs tc start review distinction and that an API-unreachable result from a sandbox is not proof the host service is down (#2070). The AI documentation router and repo-wide Markdown manifest are tracked separately in #2835.
  • Governed background wrap, Slice 1 core engine (lib/governed-wrap.js, POST/GET /api/sessions/:project/governed-wrap and its /decision//cancel sub-routes): a verified ProjectManager/Fleet Coordinator or the Project Master can now open a versioned preflight request, supply a ready/needs-operator decision, and have it executed against the existing deterministic wrap pipeline -- with fresh target/head/control-state digest revalidation before execution, one open request per lane at a time, and a server-side bulk file policy (leave-all-preexisting / include-owned-only) so a lane with hundreds of pre-existing dirty paths needs no per-path request body. Reuses the same delegated-lifecycle-authority gate #2824 restored, never a second authority check. Browser Wrap-button UI and daemon-polling follow-ups are out of this slice, tracked in #2837 (#2072).
  • Closed-loop session lifecycle handoff, Slice 1 state machine (lib/lifecycle-handoff.js, POST/GET /api/sessions/:project/lifecycle-handoff and its step sub-routes): a delegate session can now checkpoint a source session's durable state, record the real wrap/finalize initiation (never Kill), confirm genuine terminal inactivity from the session's own stored status, launch exactly one replacement for the same project, reconcile the replacement's attested-READY startup against the checkpoint's own digest, and record an atomic takeover -- all gated by the same delegated-lifecycle-authority check #2824 restored, and bound to the control generation observed at checkpoint time so a HOLD/STOP/release landing mid-handoff invalidates it rather than racing it. Any step failure fails closed with a typed blocker and never clears the checkpoint. Managed-clear/restart/rebind/context-replacement transition types and the unattended background daemon are tracked separately in #2838 (#2073).
  • On page load, the session page now reads GET /wrap/status's interrupted field and, when a restart cut a wrap off before it could finish, tells the Wrap drawer about it (dispatching to the already-built interrupted phase) instead of leaving the operator to reopen a project after a stranding restart with no sign anything happened. Only reached when nothing is live or remembered to follow instead (#1816 follow-up).
  • The fleet recovery read (GET /api/launch/recovery-held) now reports a wrap run a restart cut off mid-flight as its own wrapRunInterrupted part of uncertainWork, naming the run id, the last step reached, whether it had begun committing, and when the checkpoint was taken — the same durable checkpoint trail GET /wrap/status's interrupted field already reads, surfaced here too since this module exists specifically to answer "what might have been queued or in flight" (#1816 follow-up). The fleet recovery panel shows it as "Interrupted wrap run", not the raw field name; docs/configuration-reference.md's uncertainWork row names it as the sixth part.

Fixed

  • Restored a ProjectManager/Fleet Coordinator session's ability to launch, relaunch, wrap and governed-/clear a member lane it does not own, through the same delegated lifecycle authority (authority.lifecycle on the target's own open control assignment) lib/session-finalize.js already honors for governed finalization. Two prior fixes (#2129, #2402) had locked PM sessions out of all four hooks Rule #285 §5 requires; a governed /clear is admitted only while the target lane itself currently composes AVAILABLE/safe-to-clear (#2824).

Internal

  • Documented GET /wrap/status's interrupted/interruptedStepId/interruptedCommitStarted/interruptedAt fields and POST /wrap's 409 WRAP_IN_PROGRESS stale behavior in docs/configuration-reference.md (#1321/#1805/#1816 follow-up) — restores wording drafted and Critic-reviewed clean in an earlier PR, reverted there only for file-scope reasons.