approval-engine/approval_engine
tegwick 5c45d3c157 APPROVAL-WP-0007-T02 done: actor_consumes; T05 principal_approves split out
Founder decision 2026-11-01, relayed by the net-kingdom coordinator: "Agree to
split APPROVAL-WP-0007-T02: build actor_consumes now (opt-in at issue; the
bounded executor will set it); principal_approves keeps waiting for the KeyCape
subject mapping."

- Optional actor_consumes (boolean) at issue, schema v8. Consume refuses with
  403 unless the consuming subject equals binding.actor, also on idempotent
  retries; internal calls without a consumer fail closed. Inherited on
  supersession (existing-successor mismatch 409), in audit details, served in
  GET/claim only when declared so undeclared claims keep exact bytes. Legacy
  rows migrate without the flag.
- GH-DEC-2026-026 Ruling 6: under human_control, add_entry refuses (403) the
  binding actor as approver. human_control already covered a service actor;
  this covers a human actor.
- Workplan: T02 done (actor_consumes); new T05 principal_approves (wait).
- Not released or deployed: needs a v8 image and founder-run rollout.

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-11-01 00:39:34 +01:00
..
__init__.py Implement approval engine production readiness 2026-09-02 00:52:04 +02:00
api.py APPROVAL-WP-0007-T02 done: actor_consumes; T05 principal_approves split out 2026-11-01 00:39:34 +01:00
audit.py Derive heartbeat cadence from the shared coordination frame 2026-10-15 20:41:49 +02:00
auth.py Retain verified tenant provenance and reconcile production blockers 2026-10-04 11:26:32 +02:00
binding.py Implement the engine spine: claim, outbox, machine, API 2026-08-29 12:52:49 +02:00
cli.py Derive heartbeat cadence from the shared coordination frame 2026-10-15 20:41:49 +02:00
coordination.py Derive heartbeat cadence from the shared coordination frame 2026-10-15 20:41:49 +02:00
errors.py Implement approval engine production readiness 2026-09-02 00:52:04 +02:00
execution_confirmation.py fix: confirm exact canonical consumed act binding 2026-10-16 09:20:33 +02:00
http_transport.py Bound approval transport and refuse redirects and proxies 2026-10-11 16:45:18 +02:00
pep.py Bound approval transport and refuse redirects and proxies 2026-10-11 16:45:18 +02:00
store.py APPROVAL-WP-0007-T02 done: actor_consumes; T05 principal_approves split out 2026-11-01 00:39:34 +01:00