Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

Recover coding jobs through explicit durable operation lookup - #21

Merged
0thernet merged 1 commit into
mainfrom
process-supervisor
Sep 20, 2026
Merged

0thernet merged 1 commit into
mainfrom
process-supervisor

Conversation

@0thernet

Copy link
Copy Markdown
Member

A coding task can finish after its caller loses the acknowledgement. Add an opt-in v2 job path that retains a caller operation ID, immutable request digest, and adapter authority, then recovers the exact outcome through explicit read-only lookup. A lost response never causes another submission; existing xcb v1 jobs keep their conservative behavior.

The host retains bounded immutable observations and reserves terminal patch bytes before CAS publication. Partial restores fail closed, and explicit reconciliation can finish interrupted publication from retained evidence. Provider settlement, patch admission, and host-owned repair checks remain separate. Inspection, VM ticks, and offline replay do not contact the adapter.

The new CLI crash demonstration kills the caller after a deterministic adapter durably records completion. It recovers one task admission, validates the repair once, and verifies the same two-generation history in Bun and Rust. Both-platform CI runs this demonstration. This qualifies the host protocol; it does not claim that xcb or any live provider implements the required durable ledger. The path is bounded to 16 distinct observations and fails closed at capacity.

Validation: focused operation/legacy job tests and independent reviews passed; aggregate TypeScript, Rust, parity, and crash-demo gate results are recorded in the checks on this PR.

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
algal Ready Ready Preview Sep 20, 2026 2:00am UTC

Request Review

@0thernet
0thernet merged commit c462c72 into main Sep 20, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 5a578e3f Deployed Sep 20, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant