Connect policy-gated browser review and audit runtime
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
This commit is contained in:
parent
2cc32168ac
commit
83849b75d4
35 changed files with 2381 additions and 83 deletions
|
|
@ -1,7 +1,8 @@
|
|||
# Browser authentication and Approval Engine transport
|
||||
|
||||
Implemented under `INFD-WP-0001-T08`. The service currently supplies sign-in and
|
||||
sign-out. It does not yet render memos or expose an approval-entry route.
|
||||
Implemented under `INFD-WP-0001-T08`. The service supplies sign-in and sign-out;
|
||||
explicit owner configuration enables the protected memo and human-response
|
||||
routes described in [protected-browser-review.md](protected-browser-review.md).
|
||||
|
||||
Install and exercise from the repository:
|
||||
|
||||
|
|
@ -25,8 +26,9 @@ The entrypoint listens on `127.0.0.1:8080` for a local reverse proxy. The public
|
|||
origin/callback is fixed at `https://decisions.coulomb.social/auth/callback`;
|
||||
Host, forwarded headers and return URLs cannot replace it. A development HTTP
|
||||
listener does not replace this HTTPS callback registration. Deployment and
|
||||
registration remain pending. `/healthz` checks this process; `/readyz` returns
|
||||
503 because the protected approval path is incomplete.
|
||||
registration rollout remain pending. `/healthz` checks this process; `/readyz`
|
||||
returns 503 without owner review configuration and recent audit delivery health.
|
||||
Readiness is not a declaration of native policy/login/custody admission.
|
||||
|
||||
## Identity boundary
|
||||
|
||||
|
|
@ -84,7 +86,7 @@ POST bodies are empty objects: Approval Engine derives identity and evidence
|
|||
from its verified token and discards caller content. The adapter extracts
|
||||
`(approval_id, subject_id, approved_at)` from the matching actual human entry,
|
||||
never `updated_at` or local time. A `409 duplicate_approver` triggers a GET of
|
||||
that original entry and returns `duplicate=True`. The eventual UI must preserve
|
||||
that original entry and returns `duplicate=True`. The controller preserves
|
||||
the original presentation correlation; it cannot attach a new presentation to
|
||||
an old entry just because a duplicate exists. Other conflicts remain refusals.
|
||||
|
||||
|
|
@ -93,17 +95,12 @@ There is no automatic POST retry. Durable disposition processing must reconcile
|
|||
the current engine entry and its correlation before reporting success or
|
||||
offering a retry. A failed dependency must never be recorded as a human decline.
|
||||
|
||||
The client is an internal seam, not a sufficient binding flow. Before a browser
|
||||
route can call it, T08 must connect:
|
||||
The client is an internal seam. `review.py` now connects fresh PDP entitlement,
|
||||
durable presentations, actor/version/acknowledgment guards, local responses,
|
||||
the transactional outbox and the original-entry recovery rules. `runtime.py`
|
||||
schedules bounded delivery and reconciliation. No consume route exists.
|
||||
|
||||
1. The access-engine entitlement decision before rendering a named memo.
|
||||
2. Wire the durable presentation/version, actor match and required acknowledgments.
|
||||
3. Wire persisted dispositions and the transactional outbox, including return/discuss.
|
||||
4. Independent audit custody/delivery and entry-correlation reconciliation.
|
||||
5. Native registered KeyCape login and the deployed Approval Engine proof.
|
||||
|
||||
The browser currently exposes no memo or entry route and no consume capability.
|
||||
The legacy `evidence.Outbox` is an in-memory test double. `Store` now supplies
|
||||
durable atomic state/evidence, and `audit.py` supplies delivery to the real
|
||||
receiver contract; see [durable-review-evidence.md](durable-review-evidence.md).
|
||||
Native custody, policy/controller integration and live admission stay in T08.
|
||||
The legacy `evidence.Outbox` is an in-memory test double; `Store` supplies
|
||||
durable atomic state/evidence. See [durable-review-evidence.md](durable-review-evidence.md).
|
||||
Native policy/caller assignment, registered human login, deployment and
|
||||
independent custody remain in T08. Disposable browser success does not close them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue