approval-engine/tests
tegwick a0a602976e Principal is the requesting party, not the approver
informed-decision asked whether its binding.principal and ours name the same
field, since both GH rulings said its slice canonicalizes "two of the five".
They do not: ours is the party on whose behalf the act is performed, taken from
the decision request's subject, while theirs is the approver — which appears
here only as an entry and never in binding. Only target overlaps.

Records the four-role distinction normatively in docs/approval-claim.md and
guards it with a test asserting the act digest is insensitive to the approver
while the approver stays recorded on the entry. Folding approver identity into
the digest would now break view_hash's assumption here rather than silently in
that repository.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDzGbdDFnVJBxDgdp7RvpH

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2191554@bnt-lap001
Assistant-Session: d69bb7c3-b7b2-41c4-8287-6baef48c0993
2026-09-10 22:43:33 +02:00
..
conftest.py Set the approval store tenant to exact tenant:platform 2026-09-06 22:33:50 +02:00
test_api.py Implement approval engine production readiness 2026-09-02 00:52:04 +02:00
test_audit.py Heartbeat per event class, not per source 2026-09-10 20:36:21 +02:00
test_auth.py Record the verified principal type on approver entries (schema v4) 2026-09-09 14:09:54 +02:00
test_cadence.py Implement the engine spine: claim, outbox, machine, API 2026-08-29 12:52:49 +02:00
test_cas.py Enforce declared human controls at approval binding 2026-09-10 19:26:12 +02:00
test_claim_contract.py Principal is the requesting party, not the approver 2026-09-10 22:43:33 +02:00
test_cli.py Harden the PEP harness and KeyCape registration request 2026-09-02 15:46:06 +02:00
test_deploy_manifest.py Publish and pin the verified schema-v5 approval candidate 2026-09-10 19:35:05 +02:00
test_examples.py Enforce declared human controls at approval binding 2026-09-10 19:26:12 +02:00
test_human_control.py Enforce declared human controls at approval binding 2026-09-10 19:26:12 +02:00
test_machine.py Implement the engine spine: claim, outbox, machine, API 2026-08-29 12:52:49 +02:00
test_outbox.py Heartbeat per event class, not per source 2026-09-10 20:36:21 +02:00
test_pep.py Set the approval store tenant to exact tenant:platform 2026-09-06 22:33:50 +02:00
test_storage.py Implement approval engine production readiness 2026-09-02 00:52:04 +02:00
test_t06_replay.py Finish approval engine spine 2026-09-01 23:45:48 +02:00