From d22bc2ecb985544de2f7e1b8b0db761d3fb67ea4 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 18 Aug 2026 10:43:09 +0000 Subject: [PATCH] chore(lint): repoint check-route-envelope.mjs's ratchet owner to #9559 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both `ratchet:` fields in the route-envelope gate (`rest-server.ts`, `error-response.ts`) named #7035, closed since 2026-08-10 (PR #7293, three `/meta` 501 handlers converged — never the owner of "convert this file onto the shared sendOk/sendError"). Triage executed option 1 at the triage layer: #9559 is a `tracking` card that stays open while any `ratchet:` field names it, with both legal exits (a dedicated envelope card, or the ADR-0112-D5 permanently-accepted path) written into it. Repoints both fields from #7035 to #9559, preserving the option-1 prose verbatim. Nothing else moves: no counter, threshold, or exempt entry changed — confirmed by diffing the gate's own before/after output, which is byte-identical except the citation. The eleven other `#7035` mentions in the file are historical prose (what #7035 did, past tense) and are left alone. Fixes #9461 Co-Authored-By: Claude --- scripts/check-route-envelope.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-route-envelope.mjs b/scripts/check-route-envelope.mjs index 17f3349204..7e403f631c 100644 --- a/scripts/check-route-envelope.mjs +++ b/scripts/check-route-envelope.mjs @@ -242,7 +242,7 @@ const MODULES = { 'packages/rest/src/rest-server.ts': { dialectOnly: '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', - ratchet: '#7035 (option 1: convert onto the shared sendOk/sendError)', + ratchet: '#9559 (option 1: convert onto the shared sendOk/sendError)', stringError: 44, // 77 → 75 (#7981): registerSecurityEndpoints' two `handleError` arms moved // off the `{ code, error }` sibling-code literal onto the shared @@ -306,7 +306,7 @@ const MODULES = { responses: 2, ok: 0, err: 0, - ratchet: '#7035 (option 1: convert onto the shared sendOk/sendError)', + ratchet: '#9559 (option 1: convert onto the shared sendOk/sendError)', }, };