: asapien/signet

commit cc9e4cfd22941d8821ad50c470d26136bc65cad1
parent 64e43d2265b96fad8e1bfaa8a9f1c21d860c6e36
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sun, 22 Nov 2026 20:05:52 +0530

Prepare Signet beta branding, sign-in and rollout follow-ups
17 files changed, 514 insertions(+), 18 deletions(-)
A
.scratch/beta-release/README.md
|
95
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A
.scratch/beta-release/browser.md
|
35
+++++++++++++++++++++++++++++++++++
A
.scratch/beta-release/document-list.md
|
23
+++++++++++++++++++++++
A
.scratch/beta-release/native-operations.md
|
47
+++++++++++++++++++++++++++++++++++++++++++++++
A
.scratch/beta-release/pdf-fidelity.md
|
26
++++++++++++++++++++++++++
A
.scratch/beta-release/rollout.md
|
73
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A
.scratch/beta-release/timestamp.md
|
35
+++++++++++++++++++++++++++++++++++
M
.scratch/session-handoff.md
|
45
++++++++++++++++++++++++++++++++++++++++++++-
M
HANDOFF.md
|
32
+++++++++++++++++++++++++++++---
M
README.md
|
9
+++++++++
M
TESTING-AUTH.md
|
15
+++++++++++++--
A
test/beta-browser.sh
|
55
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
M
test/identity-contract.sh
|
8
+++++++-
M
todo.txt
|
6
++++++
M
www/app.js
|
21
+++++++++++++--------
M
www/index.html
|
6
+++---
M
www/style.css
|
1
+
diff --git a/.scratch/beta-release/README.md b/.scratch/beta-release/README.md
@@ -0,0 +1,95 @@
+# Beta preparation and next-session queue —2026-11-22
+
+The owner requested a controlled beta despite unfinished sections, a BETA marker
+beside the logo and removal of browser username/groups prompts. This authorizes
+beta deployment intent; it does not make the known failures disappear or authorize
+an arbitrary server, production containers, client-supplied identity or changes to
+other applications. Owner subsequently confirmed **maa-1** and the Minci
+commit → CI run → deploy workflow, and explicitly requested merging all Signet
+work to main. No actual production deployment has been made. Read-only inspection
+found native Alpine/OpenRC and existing Authelia/authz services, but no Signet
+installation, Git remote/CI enrollment or selected public domain. The installed
+Minci runner fc0ea0f lacks remote delivery; a separate dirty Minci checkout has
+uncommitted/uninstalled remote helpers. See29 before attempting a CI/deploy run.
+
+## Source preparation
+
+Active worktree: `/Users/saikrupa/.local/var/signet-work/main-merged-20261119.yQc1lQ`,
+beta prepared on `feat/beta-release`, based on merged main `64e43d2`; owner now
+authorizes commit and fast-forward merge to main before CI. Inspect actual Git
+refs/status and the private `current-maa1-rollout` evidence pointer. Original
+dirty checkout and older preview stacks must remain untouched. A local merge
+is not a CI run or deployment.
+
+- Compact BETA marker beside Signet, with accessible text and existing theme.
+- No startup identity prompts:401 produces an inline sign-in state, no access.
+- Real users' account/permissions belong to trusted login, not browser entry.
+- Explicit developer headers remain available only on localhost/127.0.0.1;
+  stale test settings are ignored off-loopback. Proxy overwrite and blocked
+  backend bypass remain essential; this client guard is not authentication.
+- Existing isolated identity contract checks served branding/client state plus
+  fail-closed API behavior. Native-Chrome shell smoke checks the actual logged-out
+  DOM using a disposable profile; it is not full browser/SSO flow acceptance.
+
+## Verified preparation (not production/SSO acceptance)
+
+- Warning-clean native Alpine build/install and full isolated E2E ended `all
+  passed`, including identity remapping/fail-closed behavior and the updated
+  served-asset checks, actual timestamp cron and negative verification tests.
+- Existing upload-client regression and JS/shell/whitespace checks passed.
+- Native Chrome actual DOM shows BETA plus inline sign-in; no-identity API is401.
+  Green/old-client negative/restored-green controls passed. Chrome's own timeout
+  did not interrupt old JS dialogs; the shell test now has a verified15s watchdog
+  and cleans its private profile/processes. No automation dependency was added.
+- Desktop1280x800 screenshot inspected. This is logged-out bootstrap evidence,
+  NOT the full signing/SSO/mobile/CSP acceptance in24.
+- Representative timestamp fixture app RSS39304KiB (40,247,296bytes), excluding
+  DB/Redis/test/compiler/TSA processes; not a native/global capacity certificate
+  and not a repair of20.
+- Only index.html/app.js/style.css updated on owned r5 preview at127.0.0.1:18095;
+  served bytes match source and its synthetic released document metadata/final
+  PDF stayed byte-identical. Preserved8080/18087/18090 stacks were not upgraded
+  or used for contracts. Disposable verification container `signet-beta-20261122`
+  stopped exit0;18096 closed. Original dirty checkout status/binary diff still
+  match the merge-preservation checkpoint. No server/account/provider/production
+  changes.
+
+Private evidence: `~/.local/var/signet-work/beta-preparation-20261122.xTja2j9w/`;
+`current-beta-preparation` points there. Those preparation logs predate the
+subsequent commit/main-merge request; current merge/deployment status belongs in
+`current-maa1-rollout`. No CI run/push/deployment is claimed here.
+
+## Actionable tickets (stable tracker IDs)
+
+| ID | Next action / acceptance |
+|---|---|
+|20 | Repair pre-prune child buffering/render overlap; both warm orderings under60,000,000 bytes for the complete app cohort, capacities/fidelity unchanged. See `.scratch/parser-window.md`, `.scratch/parser-coordination.md`. Parent-only repair was rejected/reverted; do not resurrect it or restore old47-file hashes over timestamp changes. |
+|14 | Existing umbrella: trusted identity/proxy overwrite, blocked backend bypass, chosen role/DAM policy and native acceptance. Append new evidence; do not call its historical dev checks production proof. |
+|24 | [Real browser/SSO acceptance](browser.md): no identity dialogs, role boundaries, edit/proof/stamped flow, CSP/pdf.js, evidence download. |
+|25 | [Optional live TSA](timestamp.md): approved endpoint/trust/provenance, tiny synthetic live check and native cron; leave disabled until provisioned. |
+|26 | [Native operations/recovery](native-operations.md): OpenRC/users/permissions, namespaces/persistence/logging, coordinated backup/restore/rollback and safe resource coexistence. |
+|27 | [PDF/font edges](pdf-fidelity.md): rotation/CropBox/origins and supported font agreement with visual/resource evidence. |
+|28 | [Register pagination/search](document-list.md): records beyond200 reachable without leakage or unbounded fetching; triage interface before coding. |
+|29 | [Actual beta rollout](rollout.md): maa-1 confirmed; Minci remote execution/repo enrollment and domain/auth integration pending, then native isolated services, recovery and exact source/URL evidence. |
+
+Existing IDs/order are preserved;24–29 are new, not duplicate replacements for14
+or20. TSA is optional, and full follow-up acceptance is not falsely treated as a
+completed requirement of this beta request. Basic TLS/auth/data preservation and
+safe shared-service boundaries still must exist before exposing real users.
+
+## Known resource failure / interpretation
+
+Restored parser baseline exceeded60MB when a warm renderer overlapped a buffered
+kcgi child request. Parent-only admission cannot stop child buffering before
+parent readiness. Representative A5 and TSA green cohorts do not erase this red,
+cover all admitted PDFs/concurrency, or certify a native deployment. Keep20 open;
+BETA is disclosure, not a memory repair or permission to reduce admission limits.
+
+## Resume
+
+Read CONTEXT.md, HANDOFF.md, ADRs and the tracker. Check this branch/worktree status
+before edits. Follow29 for confirmed maa-1/Minci and remaining domain/workflow
+inputs. Do not run destructive
+fixture contracts on a preserved/live preview, stress a shared production server,
+or execute Python (including existing fixture generators/upstream fallbacks)
+without explicit per-use approval. Keep real documents/facsimiles out of evidence.
diff --git a/.scratch/beta-release/browser.md b/.scratch/beta-release/browser.md
@@ -0,0 +1,35 @@
+# Ticket24 — real browser/SSO acceptance for the beta
+
+## Context
+
+Owner requested a BETA marker beside the logo and no username/groups browser
+prompts. Those prompts were a localhost development shortcut, not authentication.
+Production identity/permissions must come from a trusted login service. Main
+baseline64e43d2 has verified API/worker behavior but the old optional Playwright
+cache was pruned. See `.scratch/detached-timestamps.md` and TESTING-AUTH.md.
+
+## Work
+
+After a destination/provider is confirmed, exercise the actual browser path
+through that provider, including first visit, sign-in, expiry, reload and logout.
+Verify BETA is visible beside Signet, keyboard access and narrow/wide layouts;
+users must never type group names or assert permissions. Clear/stale local
+`signetDevIdentity` must not become production credentials. Proxy header overwrite
+and blocked direct backend access are ticket14 prerequisites, not browser proof.
+
+Use synthetic documents only. Check drafter edit/save, frozen two-page proof,
+sequential signer access/placement/enrolment/variant choice, correction,
+disapproval, release/audit/print, PIM access, and timestamp statuses/download.
+Compare edit/proof/stamped output on both pages without changing fitText/render
+fitting. Check actual production CSP with pdf.js workers/blob URLs and downloads.
+Do not upload payroll/private facsimiles or run destructive fixture suites on a
+live/shared service. Do not introduce a browser-automation dependency without
+approval; native Chrome bootstrap checks do not replace full flow acceptance.
+
+## Done when
+
+Record the exact tested commit/browser/provider/topology and outcomes, including
+permission-denied cases, actual evidence downloads, and screenshots containing
+only synthetic content. No console identity setup, browser username/group
+prompts, implicit admin fallback or client-side role assignment for real users.
+Leave failures explicit; a successful page load is not full acceptance.
diff --git a/.scratch/beta-release/document-list.md b/.scratch/beta-release/document-list.md
@@ -0,0 +1,23 @@
+# Ticket28 — document register pagination/search
+
+## Context
+
+GET /docs currently caps results at200 and the browser has no pagination/search.
+This limitation is recorded in HANDOFF.md; it is not a new beta rollout blocker.
+
+## Work / acceptance
+
+Design the smallest compatible parameterized API and vanilla UI that make older
+records reachable with stable ordering and a useful search. Inspect existing
+list/detail/party-order authorization before changes: pagination/search must not
+leak titles, serials, counts or documents a future party cannot yet access.
+Keep per-request output/cardinality bounded and preserve existing consumers of
+the default endpoint where practical. Do not fetch the entire register into the
+browser or invent a search service/framework/database.
+
+Use synthetic records beyond200 and boundary/collision cases to verify forward
+and backward navigation, stable ordering with new inserts, filtering, empty
+results and authorization across drafter/current party/future party/admin.
+Extend test/e2e.sh for API behavior and record browser/aggregate-memory results.
+Scope/parameter choice needs triage before implementation; no speculative
+analytics or dashboard redesign.
diff --git a/.scratch/beta-release/native-operations.md b/.scratch/beta-release/native-operations.md
@@ -0,0 +1,47 @@
+# Ticket26 — native operations and recovery acceptance
+
+## Context
+
+Target is native Alpine/OpenRC,1vCPU/1GB, all Signet app processes under60,000,000
+bytes RSS. Docker/Node/Python/etc. remain prohibited in production. Current green
+results are disposable development evidence, not native acceptance. Owner now
+requests a beta despite unfinished sections; the known ticket20 memory failure
+is not repaired or waived as a technical result. Owner explicitly selected maa-1
+through Minci's commit → CI run → deploy workflow. Read-only inspection confirmed
+Alpine/OpenRC and existing Authelia; domain/per-app auth and CI delivery setup
+remain pending. This is Signet-specific authorization, not permission to change
+another application's services/configuration.
+
+## Work
+
+For the confirmed topology, inventory exact packages/build/runtime provenance,
+ports/users/groups, database, Redis namespace, document/DAM/signature directories
+and other services before changes. Reuse native package/OpenRC facilities and
+existing trusted auth. No dev-up.sh, test seeds or fixture credentials in production.
+Inspect required upstream dependencies for Python; ask for any narrow exception
+before invoking/installing them. libcurl/libcrypto approval is not blanket approval
+for other build or runtime dependencies.
+
+Verify least-privilege OpenRC startup/stop/restart/reboot, kfcgi socket ownership,
+worker-only signature reads, body caps, failed command/worker recovery, queue
+acknowledgement, Redis AOF/namespaces and bounded logs/LOCAL0 rotation/privacy.
+Rehearse coordinated DB/files/signatures/Redis/config/trust backups and restore
+in a private approved location. Drain old pending revisions before snapshot
+migration; never manufacture old snapshots or replace immutable facsimiles.
+Additive migrations must not be blindly rolled back after user writes.
+
+Measure representative and adversarial aggregate CPU/RSS under the actual
+approved resource allocations. Keep the complete cohort and both parser/render
+orderings from ticket20; do not lower admission/fidelity or count one green
+sample as proof. Establish a safe shared-service containment/rollback policy
+before exposure; no uncontrolled production stress/OOM tests or collateral service
+changes. Basic TLS/auth/backups/isolation are rollout essentials, not optional
+because the logo says BETA.
+
+## Done when
+
+Attach reproducible native results, exact configuration/source/dependency versions,
+permissions, service lifecycle/log persistence, successful restore and rollback
+procedure, measured coexistence budget and explicit remaining failures. Coordinate
+with umbrella14 and resource20; do not double-count their completion. Keep the
+production private files/credentials out of Git, test fixtures and screenshots.
diff --git a/.scratch/beta-release/pdf-fidelity.md b/.scratch/beta-release/pdf-fidelity.md
@@ -0,0 +1,26 @@
+# Ticket27 — remaining PDF/font fidelity edges
+
+## Context
+
+HANDOFF.md records unverified rotated/CropBox/nonzero-origin inputs and font
+formats beyond the supported glyf TrueType/DejaVu fixture. Browser/server font
+admission can disagree for unsupported OTF/CFF. Typical synthetic A5 batches are
+not evidence for these cases. This is follow-up, not permission to add shaping,
+a PDF wrapper/rasterizer or reduce current capacities/fidelity.
+
+## Work / acceptance
+
+Build synthetic fixtures using existing compliant native facilities (no Python
+fixture generator without specific approval). Cover rotation, mixed page sizes,
+nonzero MediaBox/CropBox origins, supported extra TrueType/Unicode and unsupported
+font rejection. Compare edit/proof/stamped/final on every affected page; preserve
+coordinates, crop geometry, text fitting, image pixels and the audit body hash.
+If fixing fitText or render.c/pdfw.c/ttf.c, update the corresponding fit code and
+run required both-page visual and allocation/stream tests. Keep unsupported fonts
+out of selectable choices or give an honest consistent failure/fallback; do not
+let preview promise a font the server cannot render.
+
+Done means source-linked fixtures, full relevant regressions and visual evidence
+with exact source/font versions, plus resource consequences. Do not change
+third-party/vendor code or introduce dependencies without approval. Latin-only
+scope remains; arbitrary complex-script shaping is not part of this ticket.
diff --git a/.scratch/beta-release/rollout.md b/.scratch/beta-release/rollout.md
@@ -0,0 +1,73 @@
+# Ticket29 — owner-authorized beta rollout
+
+## Authorization / current blocker
+
+On2026-11-22 the owner requested deployment despite unfinished sections, a BETA
+marker beside the logo, no browser identity prompts, and next-session tickets.
+This supersedes the earlier no-deployment intent for a controlled beta, NOT the
+ban on production containers/Python or preservation of security/data/other apps.
+The owner subsequently selected **maa-1**, required Minci's commit → CI run →
+deploy workflow, and requested all scoped Signet work merged to main. Read-only
+inventory confirmed native Alpine/OpenRC with existing Authelia/authz services,
+but no Signet service/configuration. No remote changes or production deployment
+have been made. Main baseline64e43d2 already contains the full earlier integration;
+beta preparation is in the main-merged-20261119.yQc1lQ worktree, on feat/beta-release
+before its owner-authorized main merge.
+
+## Concrete Minci readiness gaps (read-only verified)
+
+- Read `~/Projects/minci/README.md`, CONTEXT.md, docs/local-deployments.md,
+  docs/package-namespaces.md and docs/movements-remote-execution-brief.md.
+- Installed cdg-1 launcher points at immutable fc0ea0fe64142af1170ebab45c9a0b2de979aba9.
+  It supports local recipes/namespaces, not remote target execution/publication.
+  No minci-remote.sh is installed in that release. Existing operator profiles have
+  no Signet repository or remote delivery target.
+- Local Minci is dirty: remote receiver/publisher/test files are untracked and
+  runner/helper changes are uncommitted. Do not adopt/overwrite that separate work
+  or claim it is installed just because a file exists locally. Coordinate a
+  verified Minci feature release before selecting its remote target interface.
+- The installed `/usr/local/sbin/minci-submit` wrapper launches the entire
+  configured repository list, not a selected Signet run. Do NOT invoke it here.
+  After enrollment use documented per-project run selection and exact revision.
+- Signet currently has no Git remote; no Signet repository was found in the
+  permitted Gitolite listing. Confirm its intended repository namespace/URL
+  before creation/publication. The public Signet domain is also unconfirmed.
+- Do not sidestep the requested workflow with an application-owned SSH deployment
+  script, production containers, a fake success record, or Debian-linked binaries
+  on Alpine. Native build ABI and chosen package-root backend must match maa-1.
+- Existing Authelia is a reusable service, not proof of Signet auth. Configure and
+  verify this application's actual vhost/header/role/write boundary before users.
+
+Private inspection evidence and merge record:
+`~/.local/var/signet-work/current-maa1-rollout` (pointer).
+
+## Minimum rollout sequence
+
+1. With maa-1 confirmed, resolve the Minci gaps above and confirm domain,
+   existing/new Signet data, existing login-service integration and role
+   mapping, DAM writer policy, allowed service/resource allocation and backup/
+   rollback ownership. Read/inventory only before deciding changes.
+2. Build/release exact reviewed native source with approved dependencies; no dev
+   container, dev-up.sh, seeded users/signatures or client-asserted identity.
+   Provision an isolated database/Redis namespace/files and least-privilege users
+   without rewriting other apps. Follow coordinated migration precautions.
+3. Protect the whole app/API/PIM/DAM boundary through TLS and the real login
+   service. Overwrite spoofed user/group headers; block backend bypass; verify
+   missing identity stays401/no roles. Users log in normally, never enter groups.
+   Deny DAM writes unless explicitly authorized. Basic security cannot be
+   deferred merely by calling the release beta.
+4. Preserve/configure BETA, verify synthetic create/submit/sign/release and proof/
+   final hashes plus bounded native operation. Keep optional TSA off until25.
+   Capture monitoring/backups/rollback and owner-accepted resource limitations;
+   no uncontrolled destructive stress on shared production. Ticket20 remains
+   OPEN until actually repaired/verified; beta is not a clean bill of health.
+5. Record actual deployed commit, URL, services, data preservation, TLS/auth and
+   functional checks. No deployment-complete claim based on DNS, cert presence,
+   source merge, a placeholder page or a local preview.
+
+## Done when
+
+The confirmed real URL serves the actual beta through verified login, role and
+write policies, native services/backups/rollback are in place, exact release and
+safe smoke evidence are recorded, and unfinished20/14/24–28 stay explicitly
+tracked. Source preparation or an unanswered destination is not deployment.
diff --git a/.scratch/beta-release/timestamp.md b/.scratch/beta-release/timestamp.md
@@ -0,0 +1,35 @@
+# Ticket25 — optional live TSA qualification
+
+## Context
+
+Optional detached RFC3161 evidence is implemented and local native HTTPS
+verification/negative/crash/cron tests pass. No live TSA or production trust has
+been configured. This is NOT PAdES B-T or independent verification of earlier
+sign-off, identity or consent. See docs/timestamps.md, ADR0003 and
+.scratch/detached-timestamps.md. The beta can keep this optional feature disabled.
+
+## Work
+
+Obtain the owner's selected HTTPS TSA and independently approved signing trust
+bundle. Verify published terms/quota and public certificate provenance; do not
+silently trust a certificate from the same unverified response. Keep HTTPS
+platform trust distinct from TSA signing trust. Use approved libcurl/libcrypto;
+no command-line curl in the product, PDF wrapper, account/key custody or new
+runtime. No private signing keys belong in Signet for this feature.
+
+With an explicitly synthetic released PDF, make a small bounded live check;
+never upload document bytes or use real payroll. Verify returned nonce/imprint,
+SHA-2 signature, chain/validity/EKU and TSA time, downloaded full .tsr and unchanged
+final SHA-256. Exercise the approved native cron/identity/permissions/log path.
+Respect provider rate limits and other users sharing the egress address. Do not
+hammer the provider to reproduce local failure fixtures.
+
+## Done when
+
+Record endpoint, trust provenance/fingerprints, exact source, one independent
+verification and operator enable/disable/backup instructions. Preserve four total
+consumed attempts ending at release+1h; no reset after restart, no release gate,
+no altered PDF or conflated times. Display unavailable honestly. Document that
+online revocation, archival renewal, long-term and legal qualification are not
+implemented. Trust setup/verification is needed before enabling, not a reason to
+block ordinary signing while timestamping remains off.
diff --git a/.scratch/session-handoff.md b/.scratch/session-handoff.md
@@ -1,4 +1,47 @@
-# Session handoff — 2026-11-17
+# Session handoff — 2026-11-22
+
+## Current beta preparation — supersedes old resume/runtime pointers below
+
+Owner authorized a controlled beta despite unfinished sections and requested a
+BETA marker plus no username/groups browser prompts. Owner subsequently selected
+maa-1, required commit → Minci CI run → deploy, and requested merging all scoped
+Signet work to main. Read-only maa-1 inventory confirms Alpine/OpenRC and existing
+Authelia/authz but no Signet install. NO production deployment has occurred.
+Installed cdg-1 runner fc0ea0f has local recipes/namespaces only; Minci remote
+helpers are separate uncommitted/uninstalled WIP. Signet Git remote/CI enrollment
+and public domain remain pending. Read ticket29 and `current-maa1-rollout` evidence;
+do not invoke all-project minci-submit or invent an app-owned SSH deploy. Native-
+only production, trusted auth, data integrity and shared-service safety still apply.
+
+Main and feat/feature-first-roadmap were merged locally at64e43d2; merge evidence
+is `~/.local/var/signet-work/merge-main-20261119.1lCDRN/RESULT.md`. The ACTIVE beta
+worktree is `/Users/saikrupa/.local/var/signet-work/main-merged-20261119.yQc1lQ`,
+beta prepared on `feat/beta-release`; owner now authorizes commit and fast-forward
+main merge. Verify actual Git refs/status and current-maa1-rollout before work.
+Original dirty checkout remains preserved. Start with
+`.scratch/beta-release/README.md` and tickets14/20/24–29, not the older recovery
+HEAD/status below. Local merge is not a CI run/push/deployment; inspect the latest
+merge receipt rather than treating historical no-commit statements as current.
+
+BETA is beside the logo. Startup401 shows inline sign-in state, no credentials
+or implicit roles; manual developer headers are loopback-only. Existing full
+isolated E2E (including actual cron/RSS), warning-clean build/install, native
+Chrome logged-out DOM green/old-client negative/restored-green, refusal/cleanup,
+JS/shell/whitespace and upload-client checks passed. Desktop bootstrap screenshot
+inspected. Full browser/real SSO/native operational acceptance remains open.
+RSS39304KiB is one timestamp app fixture, not a global/native/resource20 pass.
+
+Private evidence: `~/.local/var/signet-work/beta-preparation-20261122.xTja2j9w/`;
+`current-beta-preparation` points there. The owned r5 preview is RUNNING18095
+with only index.html/app.js/style.css overlaid; exact served bytes match source
+and its synthetic released PDF/metadata stayed byte-identical. This supersedes
+old all-stopped/closed18095 statements. Preserved8080/18087/18090 untouched. Disposable beta verification stack18096
+stopped exit0, port closed; original dirty checkout status/binary diff match the
+prior merge-preservation checkpoint. No owned test Chrome profiles/processes remain.
+No real TSA provisioned, new dependencies installed, auth bypass/default user,
+production changes or memory repair. Ticket20 parent-only candidate remains
+rejected/reverted; do not resurrect it or restore old47-file hashes over later
+intentional timestamp changes.
 
 ## Latest source checkpoint — 2026-11-19
 
diff --git a/HANDOFF.md b/HANDOFF.md
@@ -2,14 +2,40 @@
 
 Documentation reconciled against source and Git history on 2026-11-10;
 workflow implementation and verification updated 2026-11-12;
-optional detached timestamp source checkpoint verified 2026-11-19.
+optional detached timestamp source checkpoint verified 2026-11-19;
+owner-requested beta preparation updated2026-11-22.
 Model finalized 2026-09-19. Vocabulary in `CONTEXT.md`; working rules in
 `AGENTS.md`; historical implementation plan in `docs/REBUILD.md`.
 The original completed-task records below are historical reports, not fresh
 verification. Source inspection found material gaps against the agreed model;
 see §4. Fresh verification is recorded separately in
-`.scratch/roadmap/ticket-{10,11,12,13}.md`. The authoritative integration branch is
-`feat/feature-first-roadmap`; the original dirty checkout is preserved separately.
+`.scratch/roadmap/ticket-{10,11,12,13}.md`. Integration was merged locally to main
+at64e43d2265b96fad8e1bfaa8a9f1c21d860c6e36; the original dirty checkout remains
+preserved separately. Beta changes were prepared on `feat/beta-release`; the
+owner now requests committing and merging all scoped Signet work to main before
+CI/deployment. Check actual Git refs/status in the active worktree:
+`/Users/saikrupa/.local/var/signet-work/main-merged-20261119.yQc1lQ`.
+
+**Latest owner request:** deploy a controlled beta despite unfinished sections,
+add BETA beside the logo and remove username/groups browser prompts. Frontend
+preparation and next-session tickets24–29 are recorded in
+[the beta queue](.scratch/beta-release/README.md); existing14/20 remain open.
+Warning-clean isolated build/full E2E and native-Chrome logged-out bootstrap
+checks passed. No default identity or real SSO was introduced; production login
+must provide trusted identity. Owner confirmed **maa-1**, using Minci's
+commit → CI run → deploy workflow. Read-only inventory confirmed Alpine/OpenRC
+and existing Authelia/authz services, but no Signet installation. Installed cdg-1
+runner is fc0ea0f (local recipe delivery); remote-delivery helpers exist only in
+the separate dirty Minci worktree, not the installed release. No Signet Git remote
+or CI enrollment/public domain is configured. **No production deployment has
+occurred**; do not substitute an application-owned SSH deploy or invoke the
+unselected all-project `minci-submit` wrapper. See ticket29 for the concrete
+workflow blockers. This request supersedes historical
+no-deployment intent, not the resource failure, security/data safeguards or
+native-only production policy. Owned r5 local preview18095 has only three beta
+static-asset overlays; its released synthetic PDF/metadata are byte-identical.
+Preserved8080/18087/18090 stacks remain unchanged. Read the beta queue before
+using older source/runtime pointers below.
 
 **Historically reported complete (Tasks 1–9; qualifications in §4):**
 - Syslog logging in both FastCGI APIs (visible errors, debuggable failures)
diff --git a/README.md b/README.md
@@ -13,6 +13,15 @@ proof caching are verified in `.scratch/roadmap/ticket-12.md`.
 It is not ready for production deployment;
 these checks do not certify the native deployment or production trust boundary.
 
+The client is marked **BETA** and no longer asks users to supply a username or
+groups. Normal login must be supplied by the deployment's trusted authentication
+service; the inline sign-in state does not install one. The owner has requested a
+controlled beta while unfinished sections stay tracked, on **maa-1** through
+Minci's commit → CI run → deploy workflow, with all Signet work merged to main.
+The public domain, Signet CI enrollment and remote-delivery setup remain pending;
+no production deployment is claimed. See
+[the beta rollout queue](.scratch/beta-release/README.md).
+
 ```
 browser (vanilla JS, pdf.js)           lighttpd ── /dam/  WebDAV (seals, fonts)
    <img usemap> + <map>/<area>    ──►     │
diff --git a/TESTING-AUTH.md b/TESTING-AUTH.md
@@ -30,7 +30,16 @@ identities and does not install or start an authentication server.
 `test/e2e.sh identity-contract` temporarily remaps the isolated config/restarts
 APIs and restores them on exit; never run that contract test on production.
 
-The browser can send explicit test headers using its dev identity setting:
+The client no longer asks for a username or groups in browser prompts. Without
+trusted identity it shows an inline **Sign-in required** message and grants no
+access. Real users should use the deployment's login service; this message does
+not provision or configure that service. Production proxy integration is still
+unverified.
+
+Only on `localhost` or `127.0.0.1`, a developer can deliberately send explicit
+test headers using the dev identity setting below. Non-loopback origins ignore
+this setting; that client guard is not a substitute for proxy header overwrite
+and blocked backend access:
 
 ```js
 localStorage.setItem('signetDevIdentity', JSON.stringify({

@@ -41,7 +50,9 @@ location.reload();
 ```
 
 Clear it after testing with `localStorage.removeItem('signetDevIdentity')`.
-A missing setting no longer receives an implicit server identity. A successful
+A missing setting receives neither an implicit server identity nor an identity
+prompt. The localhost `(clear test identity)` link clears only that test setting,
+not a provider session. A successful
 page load with dev-supplied headers is still not evidence of proxy authentication.
 
 Roles are mapped in `etc/signet.conf.example`, copied into the dev container's
diff --git a/test/beta-browser.sh b/test/beta-browser.sh
@@ -0,0 +1,55 @@
+#!/bin/sh
+# Development only: existing native Chrome, no browser-automation dependency.
+set -eu
+[ "${SIGNET_BETA_BROWSER_DISPOSABLE:-}" = yes ] || exit 2
+B=${SIGNET_URL:-http://127.0.0.1:8080}
+case "$B" in
+    http://127.0.0.1:*) port=${B#http://127.0.0.1:} ;;
+    http://localhost:*) port=${B#http://localhost:} ;;
+    *) echo 'Use an explicitly disposable loopback preview' >&2; exit 2 ;;
+esac
+case "$port" in ''|*[!0-9]*) exit 2 ;; esac
+[ "$port" -ge 1 ] && [ "$port" -le 65535 ] || exit 2
+CHROME=${CHROME_PATH:-/Applications/Google Chrome.app/Contents/MacOS/Google Chrome}
+[ -x "$CHROME" ] || { echo 'SKIP - native Chrome unavailable; do not install automatically'; exit 77; }
+T=$(mktemp -d /tmp/signet-beta-browser.XXXXXX)
+child=
+timer=
+cleanup() {
+    if [ -n "$timer" ]; then kill "$timer" 2>/dev/null || true; wait "$timer" 2>/dev/null || true; fi
+    if [ -n "$child" ]; then kill "$child" 2>/dev/null || true; wait "$child" 2>/dev/null || true; fi
+    rm -rf "$T"
+}
+trap cleanup 0
+trap 'exit 1' HUP INT TERM
+code=$(curl --max-time 10 -sS -o "$T/unauthorized" -w '%{http_code}' "$B/api/me")
+[ "$code" = 401 ] || { echo 'FAIL - unauthenticated API did not fail closed' >&2; exit 1; }
+"$CHROME" --headless --disable-gpu --no-first-run --no-default-browser-check \
+    --no-proxy-server --user-data-dir="$T/profile" --timeout=10000 \
+    --virtual-time-budget=5000 --dump-dom "$B/" > "$T/dom.html" 2> "$T/chrome.log" &
+child=$!
+# Chrome's own timeout does not interrupt a JavaScript modal dialog.
+(
+    trap - 0
+    sleeper=
+    cancel() {
+        if [ -n "$sleeper" ]; then kill "$sleeper" 2>/dev/null || true; wait "$sleeper" 2>/dev/null || true; fi
+        exit 0
+    }
+    trap cancel HUP INT TERM
+    sleep 15 & sleeper=$!
+    wait "$sleeper"
+    : > "$T/timed-out"
+    echo 'FAIL - browser bootstrap exceeded15s (possibly a modal dialog)' >&2
+    kill "$child" 2>/dev/null || true
+) &
+timer=$!
+if wait "$child"; then child=; else child=; exit 1; fi
+kill "$timer" 2>/dev/null || true
+wait "$timer" 2>/dev/null || true
+timer=
+[ ! -f "$T/timed-out" ] || exit 1
+grep -F 'aria-label="Beta release">BETA</span>' "$T/dom.html" >/dev/null
+grep -F '<h1>Sign-in required</h1>' "$T/dom.html" >/dev/null
+grep -F 'Your account and permissions come from that service' "$T/dom.html" >/dev/null
+echo 'beta browser: real DOM shows BETA and a prompt-free sign-in state; API remains401 without identity'
diff --git a/test/identity-contract.sh b/test/identity-contract.sh
@@ -32,7 +32,7 @@ cleanup() {
 	cp "$BACKUP" "$CF"
 	stop_apis
 	start_apis
-	rm -f "$BACKUP"
+	rm -f "$BACKUP" "$BACKUP.html" "$BACKUP.js"
 }
 trap cleanup 0
 fail() { echo "FAIL - $*"; exit 1; }

@@ -52,6 +52,12 @@ for endpoint in api/me pim-api/me; do
 	status 200 -H 'Remote-User: unaffiliated' -H 'Remote-Groups: xsignet-adminsx,not-a-role' "$B/$endpoint"
 	jq -e '[.roles[]] | all(. == false)' /tmp/identity-response >/dev/null || fail 'unknown group manufactured roles'
 done
+curl -fsS "$B/" > "$BACKUP.html"
+curl -fsS "$B/app.js?v=beta-1" > "$BACKUP.js"
+grep -F 'aria-label="Beta release">BETA</span>' "$BACKUP.html" >/dev/null || fail 'missing beta label'
+grep -F 'Sign-in required' "$BACKUP.js" >/dev/null || fail 'missing sign-in state'
+if grep -E "prompt\('Dev identity|prompt\('Groups \(comma separated\)" "$BACKUP.js" >/dev/null; then fail 'startup identity prompts remain'; fi
+echo 'ok   - beta branding and prompt-free sign-in state served; missing identity still fails closed'
 status 401 -H 'X-Requested-With: signet' -d '' "$B/api/docs"
 status 401 -H 'X-Requested-With: signet' -d '' "$B/pim-api/attrs"
 status 403 -H 'Remote-User: unaffiliated' -H 'X-Requested-With: signet' -d '' "$B/api/docs"
diff --git a/todo.txt b/todo.txt
@@ -9,3 +9,9 @@ x 2026-09-19 Clip circular seals +render +test status:completed id:8 blockedby:3
 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 Verify forwarded-identity boundary, DAM policy and native Alpine deployment +ops +dam +api +worker +test status:needs-info id:14 blockedby:10,11,12,13,19,20,21,22 @before-production @owner-question spec:.scratch/roadmap/spec.md note:.scratch/roadmap/ticket-14.md
 (A) 2026-11-14 Finish aggregate parser/image/font/render budgets and native acceptance;retained-request mixed case dev-verified source-only, active-parser/other/native gates open +api +worker +ops +test status:ready-for-agent id:20 note:.scratch/parser-window.md
+(B) 2026-11-22 Verify real browser/SSO beta flows, prompt-free sign-in, CSP and timestamp downloads +client +api +test status:needs-info id:24 blockedby:29 @browser spec:.scratch/beta-release/browser.md
+(B) 2026-11-22 Qualify optional live TSA and provision explicit trust without blocking ordinary release +worker +ops +test status:needs-info id:25 @owner-question spec:.scratch/beta-release/timestamp.md
+(A) 2026-11-22 Verify native OpenRC lifecycle, persistence, logging, coordinated restore and shared-service budgets +ops +api +worker +test status:needs-info id:26 blockedby:29 @native spec:.scratch/beta-release/native-operations.md
+(B) 2026-11-22 Verify rotated/CropBox PDFs and supported font fidelity; keep browser/server admission consistent +render +client +test status:ready-for-agent id:27 spec:.scratch/beta-release/pdf-fidelity.md
+(C) 2026-11-22 Make register records beyond200 reachable with bounded authorized pagination/search +api +client +test status:needs-triage id:28 spec:.scratch/beta-release/document-list.md
+(A) 2026-11-22 Deploy owner-authorized native BETA after confirming server/domain/SSO and minimum security/recovery boundaries +ops +api +worker +client +docs status:needs-info id:29 @owner-question @maa-1 @minci spec:.scratch/beta-release/rollout.md
diff --git a/www/app.js b/www/app.js
@@ -9,6 +9,7 @@
 'use strict';
 
 const API = '/api';
+const LOCAL_DEV = ['localhost', '127.0.0.1'].includes(location.hostname);
 const REF_WIDTH = 1000;            // natural width every page is rasterised to
 const TYPES = {
   pim_text:       { label: 'PIM text',  w: 260, h: 28 },

@@ -55,6 +56,7 @@ function toast(msg, isError) {
 /* Local development without the auth proxy: identity headers come from
  * localStorage. The deployment's trusted proxy overwrites these upstream. */
 function devHeaders() {
+  if (!LOCAL_DEV) return {};
   try {
     const dev = JSON.parse(localStorage.getItem('signetDevIdentity') || 'null');
     return dev ? { 'Remote-User': dev.user, 'Remote-Groups': dev.groups } : {};

@@ -905,20 +907,23 @@ function route() {
 async function boot() {
   if (location.pathname.startsWith('/pim/')) return;  // Let static PIM portal handle /pim/ paths
   try { app.me = await api('/me'); } catch (e) {
-    const local = ['localhost', '127.0.0.1'].includes(location.hostname);
-    if (e.status === 401 && local) {
-      const user = prompt('Dev identity (no auth proxy detected). Username:');
-      const groups = user && prompt('Groups (comma separated):', 'clerks');
-      if (user) { localStorage.setItem('signetDevIdentity', JSON.stringify({ user, groups: groups || '' })); return boot(); }
+    const view = document.getElementById('view');
+    if (e.status === 401) {
+      view.replaceChildren(h('section', { class: 'card' },
+        h('h1', {}, 'Sign-in required'),
+        h('p', {}, 'Sign in through your organisation’s login service, then reload this page.'),
+        h('p', {}, 'Your account and permissions come from that service; you do not need to enter a username or groups here. If this message persists, contact your administrator.'),
+        h('button', { onclick: () => location.reload() }, 'Reload')));
+    } else {
+      view.replaceChildren(h('p', { class: 'notice error' }, 'Unable to load Signet: ' + e.message));
     }
-    document.getElementById('view').replaceChildren(h('p', { class: 'notice error' }, 'Not signed in: ' + e.message));
     return;
   }
   document.getElementById('signature-nav').hidden = !app.me.roles.signer;
   const who = document.getElementById('whoami');
   who.textContent = app.me.user + ' · ' + Object.entries(app.me.roles).filter(([, v]) => v).map(([k]) => k).join(', ');
-  if (localStorage.getItem('signetDevIdentity')) {
-    who.append(' ', h('a', { href: '#', onclick: (e) => { e.preventDefault(); localStorage.removeItem('signetDevIdentity'); location.reload(); } }, '(switch)'));
+  if (LOCAL_DEV && localStorage.getItem('signetDevIdentity')) {
+    who.append(' ', h('a', { href: '#', onclick: (e) => { e.preventDefault(); localStorage.removeItem('signetDevIdentity'); location.reload(); } }, '(clear test identity)'));
   }
   [app.pim, app.dam, app.series, app.templates] = await Promise.all([
     api('/pim').catch(() => ({})), api('/dam').catch(() => ({ images: [], fonts: [] })),
diff --git a/www/index.html b/www/index.html
@@ -4,11 +4,11 @@
 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 <title>Signet</title>
-<link rel="stylesheet" href="style.css">
+<link rel="stylesheet" href="style.css?v=beta-1">
 </head>
 <body>
 <header class="bar">
-  <a class="brand" href="#/">Signet</a>
+  <a class="brand" href="#/">Signet <span class="beta" aria-label="Beta release">BETA</span></a>
   <nav>
     <a href="#/">Documents</a>
     <a href="#/series">Series</a>

@@ -20,6 +20,6 @@
 <main id="view"></main>
 <div class="toast" role="status" hidden></div>
 <script src="vendor/pdf.min.js"></script>
-<script src="app.js?v=bounded-pdf-1"></script>
+<script src="app.js?v=beta-1"></script>
 </body>
 </html>
diff --git a/www/style.css b/www/style.css
@@ -11,6 +11,7 @@ a { color: var(--accent); }
 .bar a { color: #cfd8e3; text-decoration: none; }
 .bar a:hover { color: #fff; }
 .bar .brand { font-weight: 700; letter-spacing: .06em; color: #fff; text-transform: uppercase; }
+.beta { display: inline-block; margin-inline-start: .35em; padding: .1em .45em; border: 1px solid currentColor; border-radius: 3px; color: var(--line); font-size: .7rem; letter-spacing: .04em; vertical-align: middle; }
 .bar nav { display: flex; gap: 1rem; flex: 1; }
 #whoami { font-size: 12px; color: #cfd8e3; }
 main { margin-top: 2.8rem; width: 100%; flex: 1; overflow: hidden; }