Repository navigation
fix(planning): keep gapped register ids when syncing into a gapped ledger - #11371
melodic-automation-lanes[bot] merged 1 commit into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review of PR #11371 at 76ca033: no security issues found. I read the full diff and the PR context. I ran no tests and no shell.
manifest fields: no manifest touched. critical-findings: 0 |
|
claude-review reviewed No findings. I read the whole diff and the PR context, and I read Closing issue #7541
What I checked in the code
Known gaps, already disclosed in the PR and not counted as findings
Spend: none. The change touches no billing, schedule or model settings. |
|
The unattended merge path armed native auto-merge at head |
Closes #7541
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
numberingto keep gapped Q<N> ids in every case. The change keeps them only when the ledger being merged into is gapped, because keeping them everywhere madeexport-ledgerwith no ledger write ledgers the gate refuses, and it broke an existiscripts/check-open-questions.shstill exits 2 on any gap in register ids, so a gapped ledger such as the reporter's (Q1-Q200, Q500-Q522) stays ungradeable by the interview gate. That was already true before this change, and changing the gate's contiguity defense is outside th\[Q<old>\]leads) is not repaired; it keeps its leads and numbering.Fix
numbering(ids, gaps=False)keeps gappedQ<N>ids whengaps; newledger_gapped(text)reads whether a ledger's register row numbers are Q1..Qn;register,merged_registerandexport_briefpass the ledger's gap state through;contiguousrenamenumberingwith and withoutgaps, forledger_gapped, and formerged_registerkeeping Q1, Q2, Q300 (ledger-only), Q500 with no\[...\]lead\[Qprefix; add-round --sync-ledger on a gapped ledger keeps Q1, Q2, Q300, Q500 and writes the new round's Q501 as the page assigned itVerification
The runner ran each check from the base copy against 76ca033:
The run reports:
Left out: the items under Not verified.
Related
#7541