audit-core/workplans
tegwick 948e8a3e8f AUDIT-WP-0009-T08 — assert the approval-validity prohibition by test
§9.4 forbids audit-core answering whether an approval is still valid: a
consumer branching on such an answer would route an authorization decision
through the audit fabric. The prohibition was honoured by absence, which is
not the estate's idiom — §6.4 obligation 3 requires a published stance to
equal shipped behaviour asserted by test.

Written against shapes rather than today's route list, so adding a validity
surface later fails here rather than passing quietly. Plausible verdict paths
must 404 rather than 403: a distinguishable forbidden would imply a surface
exists behind auth. No backend class, Postgres included, may carry a
verdict-shaped method name. The declaration must stay in layer.yaml,
INTENT.md and SCOPE.md.

The last test guards the opposite error — an approval-shaped event class is
still ingestible, because the prohibition bounds the verdict, not the record.

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

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 713962@bnt-lap001
Assistant-Session: 2718d99d-d3ff-478f-83a2-3a30f01a02fc
2026-09-06 20:35:41 +02:00
..
AUDIT-WP-0001-statehub-bootstrap.md Complete State Hub bootstrap workplans (WP-0001) 2026-06-22 23:34:58 +02:00
AUDIT-WP-0002-pluggable-audit-backend.md Moved audit forward somewhat 2026-07-04 00:39:03 +02:00
AUDIT-WP-0003-user-engine-event-ingestion-service.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0004-receiver-correctness-and-hardening.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0005-postgres-store-and-production-deployment.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0006-honest-custody-and-canon-join.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0007-integrity-verification.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0008-tenancy-posture-alignment.md fix(workplans): adopt ADR-007 derived identifiers for unregistered records 2026-08-25 20:07:24 +02:00
AUDIT-WP-0009-evidence-role-conformance.md AUDIT-WP-0009-T08 — assert the approval-validity prohibition by test 2026-09-06 20:35:41 +02:00
AUDIT-WP-0010-tenant-engine-sender-admission.md repo.work.assign_missing_identifiers 2026-08-31 14:32:07 +02:00