Skip to content

feat(worker): Bind retained checkpoints to paired publication proof - #449

Merged
danny-avila merged 1 commit into
mainfrom
danny-avila/checkpoint-proof-binding
Dec 5, 2026
Merged

danny-avila merged 1 commit into
mainfrom
danny-avila/checkpoint-proof-binding

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

What changes

A verified retention ref did not record which staged bytes were certified. An intact stage object and a verified v1 ref therefore cannot establish publication.

The leased store charges the exact envelope before staging and persists its commitment before returning it. Publication reads only that digest at the recorded byte bound, checks exact paired proof and current local authority, then commits the binding and pointer in one catalog replacement. Raw durable promotion is no longer accepted; legacy records remain unbound.

This is local storage plumbing, not live producer hookup or restore admission. It does not authorize a restore ID or destination, pin Git objects for restore, or change wire routes or rollout.

Tests

  • Worker TypeScript build and focused Linux checkpoint/restore suites as UID 0 in Ubuntu WSL: 88 passed, 2 skipped.
  • Cross-wired stages, wrong scope and proof fields, unavailable peers, SIGKILL before/after publication, and ambiguous fsync.

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review exact head 3d70ea5

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T13:37:15.062428Z 3d70ea5 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 3d70ea558e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review

Pass 2 of 3 on head 3d70ea5.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 3d70ea558e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review

This is the final review for this PR (pass 3 of 3) of head 3d70ea5. Please flag only blocking issues: correctness, security, or data loss.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 3d70ea558e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danny-avila
danny-avila merged commit d4dcfa1 into main Dec 5, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant