Skip to content

feat(bridge): Seal checkpoint proof before releasing the lane - #431

Merged
danny-avila merged 1 commit into
mainfrom
danny-avila/bridge-checkpoint-publication
Dec 4, 2026
Merged

danny-avila merged 1 commit into
mainfrom
danny-avila/bridge-checkpoint-publication

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

Summary

A fulfilled workspace tool settlement or a native cleanup ACK can precede durable finalization. Neither is sufficient evidence to publish a managed worktree checkpoint.

This dark bridge slice proves the Redis join for scoped, paired, multi-slot worktree creation. The first accepted fulfilled settlement binds its normalized bytes and candidate to the admitted fence receipt. Reconciliation votes using the exact stored terminal outcome; native cleanup votes for the same candidate and epoch. The second valid vote seals the expiring receipt in the same Lua transition that compare-deletes the lane fence. Missing or legacy metadata cannot gain a vote through retries and does not change ordinary completion or reservation release.

No production caller enables the proof or writes the admission extension. Negotiation, worker capture/promotion, proof delivery and its AOF barrier, and restore are separate. Follows #426 and #427; no overlap with #430.

Verification

  • Disposable real Redis: durable reconciliation and bridge suites pass, including both vote orders, lost settlement/seal replies, mixed versions, replacement claimant, cancellation, successor slots, parent fence, and confirmed stop.
  • Service build and focused strict TypeScript check pass. Full service no-emit reports the same 10 diagnostics on canonical main and on this branch.

@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review — pass 1 for exact head 5c1ae21. Please focus on receipt CAS, mixed replicas and lane/slot release ordering.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 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-04T23:30:22.445710Z 68a2108 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. You're on a roll.

Reviewed commit: 5c1ae216ff

ℹ️ 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 5c1ae21.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 5c1ae216ff

ℹ️ 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 68a2108 into main Dec 4, 2026
24 checks passed
@danny-avila

Copy link
Copy Markdown
Collaborator Author

@codex review

Final review (pass 3 of 3) on exact head 5c1ae21. Please flag any blocking correctness, security, or data-loss issues.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 68a2108480

ℹ️ 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".

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