commit b820eccad501830294647373b77d5faf9c36c366
parent 77665b531c72475a22971f7fbcb073308d555692
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Thu, 12 Nov 2026 05:24:00 +0530
parent 77665b531c72475a22971f7fbcb073308d555692
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Thu, 12 Nov 2026 05:24:00 +0530
Record ticket 13 evidence and remaining deployment boundary
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/HANDOFF.md b/HANDOFF.md @@ -181,10 +181,12 @@ differ). The client rasterises every page to 1000 px natural width. **Source-verified gaps/repairs (2026-11-10 review; updated 2026-11-12):** -- **Authentication is unsafe outside an isolated dev environment.** - `ident_read()` in `src/http.c` assigns `admin` and hardcoded groups when - headers are absent, without checking `DEV_MODE`. This violates config-only - group mapping and fail-closed authentication. +- **Fail-closed identity verified in ticket 13 on the integration branch.** + Both APIs reject absent/invalid user headers; absent/unknown groups grant no + roles. Configurable group/role and header remapping plus environment-backdoor + regressions pass. The original checkout's unrelated uncommitted admin fallback + was not included; do not deploy that dirty checkout. The trusted production + proxy boundary remains unverified (ticket 14). See ticket-13 evidence. - **D18 snapshotting is incomplete.** `check_submittable()` validates references; `render_pair()` renders proof and stamped copies separately, resolving Redis PIM values and DAM files during each render. Submit-time immutability is not @@ -273,8 +275,8 @@ an authentication-server implementation. The deployment administrator chooses and manages the provider; Authelia-specific work is outside product scope. Fail-closed identity handling and the forwarded-header trust boundary remain production gates, not prerequisites for isolated feature development. Current -missing-header admin behavior is unsafe; this sequencing does not approve it -for production. +original-checkout missing-header admin experiment is unsafe and excluded from +the integration branch; ticket 13 now verifies the fail-closed implementation. The implementation scopes and acceptance criteria are in `.scratch/roadmap/spec.md`, indexed by tickets 10–14 in `todo.txt`/`done.txt`: @@ -287,9 +289,9 @@ The implementation scopes and acceptance criteria are in targeted acceptance; see `.scratch/roadmap/ticket-11.md`. 3. **Ticket 12 next:** freeze PIM/DAM inputs at submit and derive the initial stamped copy from the same flattened proof. Prove retries retain frozen content. -4. **Ticket 13 (deferred release blocker):** fail-closed identity handling, - config-only role mapping and tests for both APIs. Explicit isolated-dev - identities must keep feature tests independent of Authelia. +4. **Ticket 13 completed:** fail-closed identity handling, config-only role/header + mapping and both-API tests pass without an authentication-server dependency. + See `.scratch/roadmap/ticket-13.md`. Proxy trust remains ticket 14. 5. **Ticket 14 (production gate):** verify trusted proxy identity enforcement, DAM write policy, OpenRC, permissions, Redis AOF, CSP and RSS on Alpine. Keep provider-specific auth experiments separate from application work.
diff --git a/done.txt b/done.txt @@ -1,2 +1,3 @@ x 2026-11-10 2026-11-10 Repair render-job payloads, sequence gates, retry and acknowledgement +api +worker +client +test status:completed id:10 spec:.scratch/roadmap/spec.md note:.scratch/roadmap/ticket-10.md x 2026-11-12 2026-11-10 Complete sequential signing, file visibility and worker-owned release +api +worker +render +client +test status:completed id:11 blockedby:10 spec:.scratch/roadmap/spec.md note:.scratch/roadmap/ticket-11.md +x 2026-11-12 2026-11-10 Make identity fail closed without blocking isolated feature tests +api +pim +test +ops status:completed id:13 spec:.scratch/roadmap/spec.md note:.scratch/roadmap/ticket-13.md commit:6c96811
diff --git a/todo.txt b/todo.txt @@ -8,5 +8,4 @@ x 2026-09-19 Template and series lifecycle: retire, unlink, delete +api +client x 2026-09-19 Clip circular seals +render +test status:completed id:8 blockedby:3 spec:docs/REBUILD.md note:.scratch/rebuild/issues/08-clip-circular-seals.md commit:c7b2ef8 completed:2026-09-19 x 2026-09-19 Docs, invariants and acceptance sweep +docs +test +ops status:completed id:9 blockedby:3,6,7,8 spec:docs/REBUILD.md note:.scratch/rebuild/issues/09-docs-and-acceptance.md completed:2026-09-19 commit:c0b1262 2026-11-10 Freeze PIM and DAM inputs at submit and derive stamped copy from proof +api +worker +render +schema +test status:ready-for-agent id:12 blockedby:11 spec:.scratch/roadmap/spec.md -2026-11-10 Make identity fail closed without blocking isolated feature tests +api +pim +test +ops status:ready-for-agent id:13 @before-production spec:.scratch/roadmap/spec.md 2026-11-10 Verify forwarded-identity boundary, DAM policy and native Alpine deployment +ops +dam +test status:needs-info id:14 blockedby:10,11,12,13 @before-production @owner-question spec:.scratch/roadmap/spec.md
: asapien/signet