This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
Recover coding jobs through explicit durable operation lookup - #21
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.