Skip to content

Commit 6c9f34f

Browse files
claude[bot]claude
andauthored
docs(runtime): keys.ts's catch annotation states its measured determination (#15472)
The annotation at the `handleKeysRequest` catch promised a `FAILURE_PROPAGATION_SITES` entry "in the step that widens DURABILITY_CRITICAL_CALLEES". That promise is falsified by the widening that was actually sanctioned: the seeder wrappers `tryInsert`/`tryUpdate` match no seam in this function, and the only name that would match is bare `insert`, which the swallow-family census refuses by design. An entry keyed `keys.ts::handleKeysRequest` would be stale on arrival. The note now states the measured truth instead: the catch delivers the failure to the caller on every path (measured with the gate's own `catchDeliversFailure()`), the determination is carried by the census's DETERMINED register row for `keys.ts::handleKeysRequest` -- which re-verifies on every run that the file exists, that the determination sentence is written at the site, and that the site is still a tier-1 DARK member, going STALE loudly otherwise -- and no gate entry is owed. Comment-only. The register's anchor sentence is byte-identical, the census reading is byte-identical, and the gate verdict is unchanged (29 seams, all loud, rethrowing or propagating). Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk Co-authored-by: Claude <noreply@anthropic.com>
1 parent 414c1fc commit 6c9f34f

1 file changed

Lines changed: 25 additions & 7 deletions

File tree

  • packages/runtime/src/domains

packages/runtime/src/domains/keys.ts

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,31 @@ export async function handleKeysRequest(
207207
// request is the mirror-image failure that made the founding incident's
208208
// `warn` unreadable in the first place.
209209
//
210-
// Do NOT "repair" this site by adding a log. The correct declaration is
211-
// an entry in check-durability-degradation-log-level.mjs's
212-
// FAILURE_PROPAGATION_SITES, keyed `keys.ts::handleKeysRequest`, and it
213-
// belongs to the LAST step of the #12981 programme -- the one that
214-
// widens DURABILITY_CRITICAL_CALLEES. Declared before that step it would
215-
// go red as a STALE entry, because that vocabulary has no `insert` and
216-
// so matches no seam in this function today.
210+
// Do NOT "repair" this site by adding a log, and do NOT declare it in
211+
// check-durability-degradation-log-level.mjs's
212+
// FAILURE_PROPAGATION_SITES either: no gate entry is owed here. An
213+
// earlier revision of this note promised one "in the step that widens
214+
// DURABILITY_CRITICAL_CALLEES"; that promise is FALSIFIED by the
215+
// widening the programme actually sanctioned -- the seeder wrappers
216+
// `tryInsert`/`tryUpdate`, which match no seam in this function. The
217+
// only name that would match is bare `insert`, which the census refuses
218+
// by design, so an entry keyed `keys.ts::handleKeysRequest` would not
219+
// be early, it would be STALE on arrival -- and the gate deletes
220+
// entries that excuse nothing (#12981 comment 5543738972, Q1 = A).
221+
//
222+
// What stands in its place is already mechanical, and it cross-checks
223+
// MORE than a gate entry would. The delivery stated above was measured
224+
// with the gate's own `catchDeliversFailure()`: with a matching
225+
// vocabulary name present, every path out of this catch reaches
226+
// `deps.error`. The determination itself is carried by the DETERMINED
227+
// register row for
228+
// `packages/runtime/src/domains/keys.ts::handleKeysRequest` in
229+
// scripts/measure-durability-swallow-family.mjs, which re-verifies on
230+
// EVERY census run that this file exists, that the determination
231+
// sentence above is still written at this site, and that the census
232+
// still reports the site as a tier-1 DARK member -- going STALE, and
233+
// loudly, the moment any of the three stops holding. A gate entry would
234+
// have proved the delivery alone.
217235
//
218236
// The delivery this ruling rests on is pinned in
219237
// `http-dispatcher.keys.test.ts`; if you change what this catch

0 commit comments

Comments
 (0)