You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(adapters): envelope the hono adapter's two discovery bodies (#9436) (#9814)
Maintainer ruling 2026-08-18, option A: GET {prefix} and GET {prefix}/discovery
gain success: true beside data. The check-route-envelope entry for
packages/adapters/hono/src/index.ts graduates to conformant (unenveloped 2 -> 0)
and the exempt-block prose records the ruling as the other side of #9389's
boundary. Six discovery tests now pin the envelope.
Claude-Session: https://claude.ai/code/session_01WeN7F6jQFpcqW2BN56RdPa
Co-authored-by: Claude <noreply@anthropic.com>
// Converted by #9436 (maintainer ruling 2026-08-18, option A): the two
612
+
// `{ data }` discovery bodies gained `success: true`. This file's
613
+
// `errorCodeNotString 1` had already been removed by #9364 (the shared
614
+
// `errorJson` wrote the HTTP status into `error.code` and now derives the
615
+
// ADR-0112 member from it through `resolveThrownHttpError`), so this was the
616
+
// file's last counter. The ruling deliberately did NOT extend #9389's
617
+
// pre-auth exemption here: these bodies are read by SDKs and codegen, not by
618
+
// our own shells, and the migration was one key.
619
+
'packages/adapters/hono/src/index.ts': {},
620
+
607
621
// ── Ratchet: real, tracked, NOT blessed ─────────────────────────────────
608
622
//
609
623
// Measured by #9267 when this surface was added, not chosen. Each entry names
610
624
// the issue that will drive it to zero; every number ticks DOWN only. These
611
625
// are the finding this surface was worth adding for — none of them was
612
-
// visible to any check in the repo before it.
613
-
'packages/adapters/hono/src/index.ts': {
614
-
unenveloped: 2,
615
-
ratchet: '#9436 (envelope the hono adapter discovery bodies; Blocked-by #9389)',
616
-
note: 'two `{ data }` discovery bodies with no `success`. #9364 removed this file\'s `errorCodeNotString 1` — the shared `errorJson` wrote the HTTP status into `error.code` and now derives the ADR-0112 member from it through `resolveThrownHttpError`. What is left is the same PRE-AUTH bare-payload fork #9389 rules on, but on a different consumer population (SDKs and codegen read this mount\'s discovery, not the Console SPA), so #9389\'s closed three-file list does not reach it',
617
-
},
626
+
// visible to any check in the repo before it. #9436 graduated the last
627
+
// ratcheted member (`adapters/hono`, above); the section stays because the
628
+
// next measured drift lands here. `trigger-api` below was measured clean
629
+
// when the surface was added and is a pinned zero, not a ratchet.
0 commit comments