Skip to content

Commit 454d0e8

Browse files
committed
test(runtime): state the fault-class pin at class level
Claude-Session: https://claude.ai/code/session_01WkL6Eijt432S1Y7ekb6ovQ Co-authored-by: Claude <noreply@anthropic.com>
1 parent 6681b21 commit 454d0e8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎packages/runtime/src/dispatcher-plugin.endpoint-principal-less-deny.integration.test.ts‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,9 @@
66
*
77
* `resolveRequestScope` re-raises only the authorization-store-unavailable
88
* class out of identity resolution; any other fault leaves the request's
9-
* `executionContext` undefined. At an endpoint an application declared
10-
* `authRequired: false`, the policy chain admits that request, and the
11-
* delegated data call then reaches the engine with NO execution context —
12-
* principal-less. The security middleware used to hand such a call straight
13-
* through (ADR-0096 E1): the declared object's rows were served to a caller
14-
* nobody identified. With strict mode the middleware refuses it.
9+
* `executionContext` undefined, and a data call the request then delegates
10+
* reaches the engine with no principal. The engine refuses that class now
11+
* (strict mode), whichever door delegated the call.
1512
*
1613
* Composition: the real dispatcher plugin over a real hono socket, the real
1714
* fallback seam, policy chain, endpoint step and `callData`, and the REAL

0 commit comments

Comments
 (0)