Skip to content

Commit c747061

Browse files
committed
test(rest): record the execCtx census mention the refusal arm's comment adds
77 -> 77 sites / 99 -> 100 mentions. The `/references` refusal arm adds ONE prose mention and NO call site: its comment records that the arm's catch is scoped to the protocol call alone, so the `resolveExecCtx` seam above it cannot reach the arm whatever that seam declares — the safety claim the narrow catch rests on. The site count not moving is this two-number control working. Part of #15685 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D47qPfEWVPmhguWgBZCi5N
1 parent 2edea4d commit c747061

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/rest/src/execctx-consumer-census.test.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,17 @@ describe('[#13160] §2 the consumer surface, counted from the tree', () => {
392392
// `enforceAuth` was measured NOT to be the repair). A mention count
393393
// that tracked the site count exactly would be measuring one thing
394394
// twice.
395+
//
396+
// [#15685] 77 → 77 sites / 99 → 100 mentions. The `/references` door's
397+
// refusal arm added ONE prose mention and NO call site: its comment
398+
// records that the arm's catch is scoped to the protocol call alone, so
399+
// the `resolveExecCtx` seam above it cannot reach the arm whatever that
400+
// seam declares. That is the safety claim the narrow catch rests on, so
401+
// naming the seam is the point of the sentence — and the sentence
402+
// moving only the mention count is this control working: a site was not
403+
// added, and the number that tracks sites did not move.
395404
expect(SITES.length).toBe(77);
396-
expect(SOURCE.split('resolveExecCtx').length - 1).toBe(99);
405+
expect(SOURCE.split('resolveExecCtx').length - 1).toBe(100);
397406
});
398407

399408
it('the split is 24 locally caught / 53 bare — NOT 16 / 53, which does not add to 77', () => {

0 commit comments

Comments
 (0)