docs(issues): reconcile 28 inbox requests into the outstanding-issues ledger - #2045
Merged
Merged
Conversation
… ledger Redo of the earlier reconcile: main gained 6 more pending inbox requests (3 cancellations, 1 update, 1 update, 1 done) after this branch's original base, which check:ledger-write-discipline correctly rejected as a partial transaction. Restarted from fresh origin/main and reconciled the complete current pending batch (28 requests) in one transaction, per PRs #2023/#2024 and everything that landed on main since. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D2BUayF2Z9DAxvmL5XmLcC
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D2BUayF2Z9DAxvmL5XmLcC
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Contributor
|
Caution Review failedAn error occurred during the review process. Please try again later. Comment |
…le-issues-retry-c1trbj
This was referenced Aug 17, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Supersedes #2032, which is now stale and should be closed in favor of this PR (see below for why).
npm run issues:reconcileto apply the currently-pending immutable inbox requests into the canonicaldocs/outstanding-issues.mdledger. This is the one deliberately serialized fresh-base branch that is allowed to edit that file directly.docs/outstanding-issues-inbox/applied/as an immutable audit trail (standard reconcile behavior).npm run ledger:appendas a separate immutable record file.Why this supersedes #2032
#2032 was opened against
mainat78fe906b8, reconciling the 22 requests pending at that time (queued by PR #2023/#2024). While it was open, 6 more requests landed onmainfrom other merged PRs (3 cancellations, 2 updates, 1 done).check:ledger-write-disciplinecorrectly rejected #2032's transaction as partial oncemainadvanced, because it now covered only part of the currently-pending inbox.Per this repo's own documented process (
docs/database-remediation-playbook.md, "Never mergemaininto a PR that carries a reconciliation — it turns a complete transaction into a partial one and the guard correctly rejects it"), the fix is not to patch #2032 in place — I verified empirically that mergingmaininto #2032's branch and re-reconciling actively fails (refusing to reconcile: #212 is stale, because two of the newly-landed cancellations target rows #2032's first pass had already resolved differently). Instead this PR restarts the reconciliation from a freshorigin/main(f5b0932914eb) and processes the complete current pending batch — 28 requests — as one clean transaction.New/updated rows from the originally-requested set (unchanged from #2032; deterministic IDs)
#212— corrected (unsafe-cast/JSON.parse remediation status)#J912J9— new, P1: governance question on fabricatedsimilarity: 1on document-summary rows#DP6M3G— new, P1: R1, unbudgeted strong escalation / lithium dosing route (packet S1b)#6BG9X2— new, P2: R2 + R3, claim-support strictness on verbatim-faithful restatements (packet S1c)#BTVMVK— new, P2: recurring Sentry "Unhandled server request error" on/api/search#ND10QT— new, P3:source_metadatapin inrag-row-contracts.tsis data-backed only#TYJ0XP— new, P3:eval-canary.ymlis post-merge only — record indocs/rag-behaviour#0MSNT8— new, P3: G1 implementation (governance Option B,similarity_origin: document_context)Plus the 6 additional requests that landed on
mainmid-session (3 cancel, 2 update, 1 done — see the applied inbox records for full detail).Verification
npm run check:outstanding-issues—Outstanding-issues guard passed: 348 rows (97 open, 251 archived), unique display and durable ids, collision-free allocation enabled, deprecated next-id marker ignored, no merge driver, no ids deleted from base f5b0932914eb.npm run check:ledger-write-discipline(run locally againstLEDGER_WRITE_BASE_SHA=$(git merge-base origin/main HEAD), matching CI's computation) —Ledger write discipline passed for f5b0932914eb..HEAD.npm run verify:pr-local/verify:cheap— this diff touches onlydocs/outstanding-issues.mdand JSON inbox request files (a data move, not source/test/config), fully covered by the two ledger-specific gates above.npm run formatwas run; the reconcileddocs/outstanding-issues.mdwas already Prettier-clean (no diff). Unrelated pre-existing drift elsewhere in the tree was reverted to keep this PR docs/ledger-only.Risk and rollout
check:ledger-write-disciplineverifies the canonical-ledger diff exactly equals the recorded reconciliation transaction.docs/outstanding-issues-inbox/applied/for re-reconciliation if needed.Notes
RAG impact: no retrieval behaviour change — ledger reconcile only (docs-only edit to
docs/outstanding-issues.mdand its inbox; nosrc/lib/rag/**or retrieval/ranking/eval surface touched).Generated by Claude Code