net-kingdom/bounded-executor/tests
tegwick 625ad652b9 NK-WP-0056-T19: executor approval exercise; parse approval-engine's stored assurance object
The exercise runs the real request phase, KeyCape client credentials, preflight and consume
against KeyCape's pinned image and approval-engine's source with synthetic keys.

It found that approval-engine stores an entry's assurance as the verified token's JSON object
(KeyCape assuranceClaim), so the executor's comparison with a bare "aal2" refused every real
founder approval. entry_is_aal2 now requires level aal2/aal3 with mfa true and fails closed
otherwise. Fakes use the real shape.

The request-phase tests freeze the clock inside the example admission's window (they had
expired on 2026-11-03T11:00Z).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 523928@bnt-lap001
Assistant-Session: 6c737afb-9c14-4152-9f02-477214b9c350
2026-11-03 23:14:29 +01:00
..
test_approval_request.py NK-WP-0056-T19: executor approval exercise; parse approval-engine's stored assurance object 2026-11-03 23:14:29 +01:00
test_clients.py NK-WP-0056-T18: accept audit-core 202/200, distinct 409; progress note 2026-10-31 23:04:44 +01:00
test_executor.py NK-WP-0056-T19: executor approval exercise; parse approval-engine's stored assurance object 2026-11-03 23:14:29 +01:00
test_openbao_lanes.py NK-WP-0056-T10: wait for OpenBao reachability before the first login 2026-10-31 20:33:17 +01:00
test_operations.py NK-WP-0056-T12 done: pilot operations; synthetic rotation and revert pass 2026-10-31 16:24:17 +01:00