Skip to content

fix(core): keep recovery evidence outside delivery history - #447

Merged
lg2m merged 2 commits into
fix/storage-efficiencyfrom
fix/journal-recovery-evidence
Oct 24, 2026
Merged

lg2m merged 2 commits into
fix/storage-efficiencyfrom
fix/journal-recovery-evidence

Conversation

@lg2m

@lg2m lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator

Pending approval checks now read their original server-computed previews from the pending call, and clear those snapshots when the hold settles. Legacy checkpoint consequences live with their model turns, and startup goal cursors use committed workspace sequences. This removes recovery's dependence on retaining delivery events forever. Schema 61 backfills existing evidence; incomplete legacy holds receive no inferred authority.

Second PR in the storage stack, based on #445. Bounded delivery retention follows separately.

Verified: all three recovery regressions failed before their fixes. Local validation passed 146 focused tests, fmt, lint, strict Clippy, and 2,495 tests in the broad check. Its one guide-version failure was corrected, and that exact test passed afterward; all 11 real-binary smoke scenarios passed on final head 8b66b899. The initial check refused its aggregate receipt because the guide fix changed HEAD while it was running. Its failed log, individual gate logs and final rerun evidence are retained at target/qq-verify/journal-recovery/evidence/. No tests or timeouts were weakened.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-24T01:42:03.695157Z 8b66b89 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.

lg2m commented Oct 24, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

Please review exact head 8b66b89, especially legacy checkpoint migration, preserving pending approval authority and complete previews, clearing settled holds, and startup cursor boundaries independently of journal row retention.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 8b66b899de

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

@lg2m
lg2m added this pull request to stack #456 October 24, 2026 04:31
@lg2m
lg2m merged commit 6a6f24b into main Oct 24, 2026
9 checks passed
@lg2m
lg2m deleted the fix/journal-recovery-evidence branch October 24, 2026 04:31
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