Skip to content

Commit 178b47d

Browse files
committed
fix(rest): bank the 2-site siblingCode ratchet drop from #7981 (77 -> 75)
registerSecurityEndpoints' conversion onto the shared respondError helper moved 2 write sites off the { code, error } sibling-code dialect. The route-envelope conformance gate (#3843) treats a lower found-count as progress to bank, not a pass: lower the declared ceiling in MODULES so the ground cannot be silently given back. Measured: merge-base (e3c8ed0) siblingCode=77, branch head siblingCode=75. The 2 vanished sites are merge-base lines 9529/9532, both inside registerSecurityEndpoints -- exactly the function PR #8071 converted. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B3Kurx8qufrDzNjk4rag7V
1 parent 5eb732c commit 178b47d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/check-route-envelope.mjs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ const MODULES = {
244244
'the repo\'s hottest response file (208 write sites, edited several times a day) — a `responses` ratchet would go red for edits that are not envelope drift',
245245
ratchet: '#7035 (option 1: convert onto the shared sendOk/sendError)',
246246
stringError: 44,
247-
siblingCode: 77,
247+
// 77 → 75 (#7981): registerSecurityEndpoints' two `handleError` arms moved
248+
// off the `{ code, error }` sibling-code literal onto the shared
249+
// `respondError` helper, banking that progress per the ratchet's own rule.
250+
siblingCode: 75,
248251
},
249252
};
250253

0 commit comments

Comments
 (0)