Skip to content

Commit ecb3bb5

Browse files
committed
wip: bank the route-envelope ratchet the retired routes freed
Claude-Session: https://claude.ai/code/session_013RWUA7bNq5bRhehLPqXwMg Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3d83bec commit ecb3bb5

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎scripts/check-route-envelope.mjs‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,10 @@ const MODULES = {
315315
dialectOnly:
316316
'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',
317317
ratchet: '#9559 (option 1: convert onto the shared sendOk/sendError)',
318-
stringError: 44,
318+
// 44 → 43 (#20102): the saved-report `/reports` family was retired whole,
319+
// and one of its arms spelled a literal string `error`. Deleted, not
320+
// converted — banked per the ratchet's own rule.
321+
stringError: 43,
319322
// 77 → 75 (#7981): registerSecurityEndpoints' two `handleError` arms moved
320323
// off the `{ code, error }` sibling-code literal onto the shared
321324
// `respondError` helper, banking that progress per the ratchet's own rule.
@@ -345,7 +348,12 @@ const MODULES = {
345348
// (`msg.replace(…)`, `String(…).slice(0, 500)`), which that counter cannot
346349
// see — and `respond501`, converted alongside them, was never counted by
347350
// either dialect, having no `error` key at all.
348-
siblingCode: 69,
351+
//
352+
// 69 → 58 (#20102): the saved-report `/reports` family was retired whole
353+
// with the saved-report stack — its eleven `{ code, error }` sites (the
354+
// `*_FAILED` 500s and `SCHEDULE_DELETE_FAILED`) left with the eight routes.
355+
// Deleted rather than converted, so no wire answer that still exists moved.
356+
siblingCode: 58,
349357
},
350358

351359
// [#8850] The ADR-0112 error/fault-classification prologue, extracted from

0 commit comments

Comments
 (0)