net-kingdom/bounded-executor/tests
tegwick b71f509ce0 NK-WP-0056-T18 (part): executor's own approval client and request phase
KeyCapeClientCredentials: client_secret_basic exchange, one scope per token,
public Host for the in-cluster URL, no redirects, bounded response checks.
ApprovalEngine takes a per-scope token provider (create/read/consume) and
can create. cli.py --request files the approval for one admission as
service:nk-bind-executor (principal = first approver's subject, target
admission id+digest, validity = window, human_control, required_count =
approvers) and verifies the created object. The client secret comes through
its own OpenBao lane (oidc-service-client case), read once, login revoked at
once, kept in memory only. Refusals before any call: other executor,
unmapped approver, closed window, shared role. 56 executor tests.

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

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 5502@bnt-lap001
Assistant-Session: 68b3b02f-5d0f-4e71-8421-796f62e50196
2026-10-31 23:02:19 +01:00
..
test_approval_request.py NK-WP-0056-T18 (part): executor's own approval client and request phase 2026-10-31 23:02:19 +01:00
test_clients.py NK-WP-0056-T10: wait for OpenBao reachability before the first login 2026-10-31 20:33:17 +01:00
test_executor.py NK-WP-0056-T13 (part): executor CLI, clients, Containerfile, image workflow 2026-10-31 16:51:07 +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