commit 50603d9219d75d81fefcc8428bd77700c81d8456
parent df5fafaf964008950dc0313e4a37e8c49a5fd017
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Tue, 24 Nov 2026 10:30:18 +0530
parent df5fafaf964008950dc0313e4a37e8c49a5fd017
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Tue, 24 Nov 2026 10:30:18 +0530
Record verified native beta activation and acceptance limits
9 files changed, 207 insertions(+), 53 deletions(-)
M
|
140
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
diff --git a/.containerignore b/.containerignore @@ -1,2 +1,3 @@ build +out .git
diff --git a/.gitignore b/.gitignore @@ -1,4 +1,5 @@ build/ +/out/ .DS_Store /.pi/ /.codex/
diff --git a/.scratch/beta-release/README.md b/.scratch/beta-release/README.md @@ -17,12 +17,14 @@ as a blocker. See29 before attempting a CI/deploy run. ## Public endpoint update —2026-11-24 -Owner confirmed `https://sign.saikrupagas.com/`; its TLS failure is repaired using -existing ACME. Every route is intentionally closed403: **the application is not -installed or deployed**. Fresh installed-Minci/toolchain/account inspection and -remaining provisioning/role approvals are recorded in -[endpoint evidence](endpoint-20261124.md). Do not reuse the older domain-unknown -status or interpret valid HTTPS as working beta/SSO acceptance. +**Native beta is now deployed at https://sign.saikrupagas.com/** and redirects +to real HTTPS SSO. Minci project20/pipeline281 activated exact commit df5fafa; +OpenRC/isolated persistence, existing group mapping and basic native boundary/ +initial recovery checks pass. Real browser login/signing, native signing smoke +and aggregate resource acceptance remain open. See [current native evidence](native-20261124.md). +[Earlier endpoint evidence](endpoint-20261124.md) records the temporary403 stage, +not current routing. Do not reopen resolved provisioning/group/domain questions +or mistake an SSO redirect/synthetic identity check for human login acceptance. ## Source preparation @@ -30,7 +32,8 @@ Canonical worktree: `/Users/saikrupa/Projects/signet`, branch `main`. The owner requested one clean tip after the cc9e4cf beta merge. Older linked worktrees are retired. Original root state is recoverable through the private `current-canonical-root` pointer; cancelled skill removals are retained and local -agent metadata ignored. Runtime/application source remains cc9e4cf-identical. +agent metadata ignored. Runtime/application source was cc9e4cf-identical at that +consolidation checkpoint; df5fafa adds the native role/build fixes above. Earlier verification/deployment inspection is in `current-maa1-rollout`; a clean root or successful push is not a CI run/deployment. @@ -85,7 +88,7 @@ was performed. End-of-session status is in `.scratch/session-handoff.md`. |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. | +|29 | [Actual beta rollout](rollout.md): native df5fafa deployed via pipeline281; real SSO routing/roles/basic recovery verified. Human browser/native signing and remaining release acceptance stay open; see current native 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
diff --git a/.scratch/beta-release/endpoint-20261124.md b/.scratch/beta-release/endpoint-20261124.md @@ -1,5 +1,9 @@ # Public endpoint inspection and partial repair — 2026-11-24 +**Historical checkpoint:** the subsequent owner-approved native deployment is +recorded in [native evidence](native-20261124.md). The public site now redirects +to real SSO; the403 reservation and approval requests below are no longer current. + ## Authorization and result Owner requested reading the docs, fixing `https://sign.saikrupagas.com/` first,
diff --git a/.scratch/beta-release/native-20261124.md b/.scratch/beta-release/native-20261124.md @@ -75,11 +75,14 @@ native usermod before private files were installed. No other account changed. ## Server group lookup and source repair -Queried only group names from the existing LDAP database. Existing application -bind credentials returned49, anonymous group read was denied, and no ldapi -listener exists. Used native slapcat with a groupOfNames filter and group subtree, -with private temporary output deleted afterward; only cn values were emitted. -No LDAP user values/members/passwords were exported or changed. Lookup emitted +Queried only group names from the existing LDAP database. Initial credential +probes accidentally included a trailing newline in the private password file, +causing49; this was a probe serialization error, NOT evidence of bad configured +credentials. Retested the existing Authelia bind with exact password bytes and +it succeeds. Anonymous group read was denied and no ldapi listener exists. +Before correcting the probe, native slapcat with a groupOfNames filter and group +subtree also obtained only cn values; private temporary output was deleted. +No LDAP user values/members/passwords were exported or changed. Slapcat emitted preexisting unknown custom-attribute schema warnings; no schema edit was made. Actual groups: Proprietor, Manager, Godown Supervisor, Counter Staff, Mechanic, @@ -135,11 +138,124 @@ operational helpers. Bash-based vendor local backend was an invalid check and failed as expected; that backend was not executed. Remote delivery avoids its Python fallback. -## Remaining work +## Actual Minci activation and live endpoint -Bind an exact committed source to an actual Minci run, inspect all native -receipts/publication, configure and test OpenRC/isolated Redis, then integrate -the real SSO vhost with overwrite/rejection boundaries and readonly DAM. -Until these steps pass, the public hostname stays deliberately403. Real browser -login and full signing/release/native recovery/resource gates remain separate; -never claim that a synthetic-auth fixture establishes real LDAP/browser login. +- Deployed source commit **df5fafaf964008950dc0313e4a37e8c49a5fd017**, committed + on `feat/native-beta-rollout`, fast-forwarded to main and pushed. Primary origin + SHA independently verified; unrelated secondary GitHub mirror failure ignored. +- **Pipeline281**, project20, public pipeline status `success` at + `https://ci.nply.org/api/v4/projects/20/pipelines/281`. +- Native run `/var/lib/signet-ci/.local/cache/minci/work/signet/runs/run.XXahoNeG`: + state `activated`, revision exact, activation outcome `succeeded`. +- Actual deployment record1: status `success`, outcome `succeeded`, pre-outcome + `not_requested`, target `signet`. Attempt + `5f9b341c2a13c78204fd9e3fb7928e5027a03ae5d3d49a8e95e19f798263ac10`. + Target state `succeeded`, acknowledged `yes`; no unknown outcome to resolve. +- Current link `/srv/signet/current` points to + `releases/minci-5f9b341c2a13c78204fd9e3fb7928e5027a03ae5d3d49a8e95e19f798263ac10`. + REVISION exact. Native-tested preflight and CI-activated API binary bytes compare + equal. Subsequent evidence-only Git commits are not a redeployment claim. +- Native source origin was bootstrapped from an exact Git bundle of published + main to `/var/lib/signet-ci/origin/signet.git`; the private runner selects this + local origin. This is source input bootstrap, NOT copying binaries for manual + activation. Minci performed the real build/check/package/delivery/publication. + Automatic upstream fetch/webhooks are NOT configured: update this bare origin + deliberately with a verified published Git bundle before a future selected + run, or provision a separate read-only Git credential through normal Gitolite + administration. Do not pretend the current mirror automatically follows Git. +- Only this producer's runner-publication token expires + **2026-12-24 04:02:27 UTC**. Renew through the existing offline Minci token tool, + retaining project20/producer binding and private file mode; never put it in Git. + +## Live routing, lifecycle and recovery checks + +Public URL **https://sign.saikrupagas.com/** now returns302 to real HTTPS SSO +with the correct HTTPS return URL. It no longer has the TLS failure or blanket403. +The app/static/API/PIM/DAM GET routes all require SSO. `/auth/user` is401 when +anonymous on this actual installed authorizer (older shared notes said403). + +Backend vhost `/etc/lighttpd/vhosts.d/sign.saikrupagas.com.conf` uses independent +FastCGI authorizer/responder maps, real shared authorizer socket, private API/PIM +sockets, immutable release webroot and the source request-size limits. Proxy +`/etc/lighttpd/signet-proxy.conf` replaces the old pending include. Both reject +client identity copies; public tests reject eight header variants, including +underscore CGI aliases, with403. No Lua/auth bridge or new auth runtime added. +DAM is static read-only; PUT/DELETE/MKCOL/PROPFIND all403. No mod_webdav write +handler is enabled for Signet. CSP is the existing application policy. + +Authelia change is one new `sign.saikrupagas.com` one_factor rule; existing +policies/credential bytes unchanged. Native config validation passes, with +preexisting LDAP-deprecation/plain-local-SMTP warnings. Authelia's restart also +restarted its dependent authorizer. Immediate readiness initially returned500; +the public reservation remained closed. After real health/redirect readiness, +only then activated public routing. The saved bootstrap helper now has bounded +readiness retries; no bypass/repeated Minci activation was used. + +Scoped routing/config backup: `/root/signet-native-routing-20261124/` on maa-1. +It includes pre-change Authelia/proxy/backend configs privately. Both lighttpd +configs and monit validate. Existing SSO200 / Ops302 / Regi302 still pass TLS +checks after routing and the lifecycle rehearsal. Unrelated existing im-domain +expired certificate warning remains untouched. + +OpenRC services `signet-api`, `signet-pim`, `signetd`, `signet-redis` are running +and registered at default runlevel; supervise-daemon owns bounded respawn/stop. +Runtime binaries come from the exact Minci current release. Initial startup +exposed two provisioning issues, now corrected: the Minci releases parent was700 +so other service users could not traverse it (changed only that public-code +parent to755), and privilege-dropped Redis/worker needed to own their private600 +log files. No immutable release file bytes/modes were altered. Logs are under +`/var/log/signet*.log`; `/etc/logrotate.d/signet` has daily/1MiB rotation, seven +retained generations, compression/copytruncate. Scoped logrotate dry-run passes. +Persistent native LOCAL0 capture remains a separate26 gate; stderr files are +not claimed as proof of that syslog boundary. + +Redis uses127.0.0.1:16379, own700 data directory, AOF `yes`/everysec. All four +services completed a coordinated stop/start. A short-lived owned sentinel +survived Redis restart and was deleted afterward. No shared Redis configuration, +queue/foreign keys or application data was flushed. + +Initial coordinated private backup is `/root/signet-backups/initial-20261124/`: +quiesced API/PIM/worker/Redis, PG custom-format dump, private files/config/DAM/AOF, +current-link/revision and SHA256s. A new private restore-check database restored +without errors, has0 documents and correct worker UPDATE permission, then only +that check database was dropped. Extracted file backup matches config bytes and +restores originals700/inbox1730. Original database/data were NOT restored, +rewound or dropped. This is an **initial empty-database rehearsal**, not evidence +for populated histories, facsimiles, pending revisions or whole-host recovery. +Application services resumed even on backup-check exit paths. + +API OS user cannot read/traverse originals or write the immutable release; +web user cannot read private Signet config/originals; worker can read its config +and access originals. All owned preflight supervisors/listeners were stopped; +only runtime services remain. Both owned disposable development containers are +stopped/retained; preserved user previews untouched. Local test logs/helpers live +under ignored `out/public-endpoint/`; no credentials are stored there. + +Idle native core application plus its own OpenRC/kfcgi supervisors sampled +**19028KiB**. This excludes shared lighttpd/PostgreSQL and infrastructure Redis, +is NOT a peak/mixed-workload certificate, and does not close20 or waive60MB. + +The unexpected APK conflict is recorded precisely: `python3-ndbm` has an empty +installed file list after the failed attempt; the original `_dbm` shared object +is still owned by `python3-3.14.10-r1`. No Python was run, no overwrite forced, +and no unrelated uninstall/repair attempted. Host administrator should inspect +that package-manager state separately; all approved Signet packages and native +build/CI/runtime checks pass. + +## Remaining acceptance + +Keep14/20/24–29 and session task17 open for their remaining actual criteria. +**Real human browser/LDAP login, browser CSP/pdf.js/signing, and an actual native +create→submit→sign→release smoke are not claimed** from redirects or synthetic +identity tests. No real facsimiles/documents or synthetic signing records were +seeded in the live database. Populated backup/restore, broader native coexistence, +resource20 and PDF/font edges also remain open. Optional TSA stays disabled. + +Routine diagnosis: use `rc-service signet-{api,pim,redis} status` and +`rc-service signetd status`, private logs, the exact Minci receipts above, and +`sh out/public-endpoint/check.sh` for public auth/denied-method regression checks. +Rollback/maintenance: close only Signet at the proxy using the retained pending +reservation, validate/gracefully restart, inspect current processes/outcomes and +private backups, and follow the matching Minci manual recovery contract. Do not +restore the application DB after user writes merely to switch code; do not clear +fences or overwrite shared Authelia configs with stale backups.
diff --git a/.scratch/beta-release/native-operations.md b/.scratch/beta-release/native-operations.md @@ -12,6 +12,20 @@ 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. +## Native checkpoint —2026-11-24 + +Controlled beta now runs on maa-1 from Minci pipeline281/commit df5fafa. See +[native evidence](native-20261124.md) for actual OpenRC/autostart, private users/ +paths/peer DB, isolated AOF Redis, bounded stderr logs/rotation, real SSO routing, +public spoof/write denial, coordinated stop/start and an initial empty-DB/file +restore rehearsal. Existing server groups and provisioning were owner-authorized; +these are no longer unanswered setup questions. No fixture identity was exposed +publicly and no live document/facsimile was seeded. Idle core+own supervisors +19028KiB is not full peak/coexistence acceptance. Real signing, populated recovery, +persistent native LOCAL0 and resource20 still keep26 OPEN. Unexpected APK +python3-ndbm conflict is recorded there for separate host-administrator review; +no Python execution or forced repair was performed. + ## Work For the confirmed topology, inventory exact packages/build/runtime provenance,
diff --git a/.scratch/beta-release/rollout.md b/.scratch/beta-release/rollout.md @@ -17,19 +17,25 @@ fada598, pushed to the supplied origin. The only active source is now `/Users/saikrupa/Projects/signet` on main; older linked trees are retired. Use Git HEAD for any later documentation-only commits. -## Authorized native preparation —2026-11-24 +## Actual native activation —2026-11-24 -Owner approved packages/provisioning and direct server group lookup. Existing -server groups now configure the four roles; shared-word group matching and native -kcgi ABI pairing are repaired/tested. Published Minci80f778d is already on cdg-1; -a dedicated pinned native runner/receiver on maa-1 and project20 are prepared. -This resolves the earlier setup/role approval request without installing the -unrelated sysroot-development checkout. See [native evidence](native-20261124.md) -for the unexpected APK Python conflict, paths, eight native synthetic-auth role -checks and full disposable E2E. Actual committed-source CI/activation and real SSO -integration are still pending; do not mark29 complete from preparation. +**https://sign.saikrupagas.com/** is deployed and requires real HTTPS SSO. +Owner-approved provisioning/server group lookup and exact-role/native ABI repairs +are complete. Published Minci80f778d was already on cdg-1; a dedicated pinned +native Alpine runner/receiver on maa-1 built/checked/activated exact commit +**df5fafaf964008950dc0313e4a37e8c49a5fd017**, project20/**pipeline281**. Actual +trusted deployment record1 and acknowledged target receipt both say success. +No shared runner or unrelated development checkout was substituted. -## Fresh endpoint update —2026-11-24 +OpenRC/autostart, isolated persistent Redis/database, private facsimile boundary, +read-only DAM, eight public spoof denials, service restart and initial empty-db/ +file restore pass. See [native evidence](native-20261124.md) for exact paths, +backups, scoped source bootstrap/token expiry, APK conflict, full E2E and limits. +**Real human browser login/signing and actual native signing smoke are not yet +verified**; broader recovery/resource20/PDF gates remain. Keep29 open for its +remaining acceptance criteria, not old provisioning/domain approvals. + +## Earlier closed-endpoint checkpoint —2026-11-24 Owner confirmed `https://sign.saikrupagas.com/` and requested fixing it first over SSH. TLS is repaired with the existing ACME facility; a temporary exact-match
diff --git a/HANDOFF.md b/HANDOFF.md @@ -10,7 +10,8 @@ referenced by `~/.local/var/signet-work/current-canonical-root`. Superseded prot source/configuration and old build outputs are kept there rather than mixed into the tested application. Intentional cancelled-skill deletions are retained; local agent settings/tasks and Finder metadata stay outside tracked product source. -Application/runtime tests remain byte-identical to cc9e4cf. Origin is now +At consolidation, application/runtime tests remained byte-identical to cc9e4cf; +subsequent native role/build fixes are recorded below. Origin is now `git@nply.org:asapien/signet.git`; the owner authorizes push and treating secondary GitHub mirror errors separately. Verify the primary remote SHA, not mirror output. Consolidation commit fada598 was pushed and primary origin/main independently @@ -19,24 +20,30 @@ may include later documentation-only commits: Git is the source of truth. One registered working tree remains; local task/settings metadata is preserved and ignored. This consolidation is not a production deployment or Minci CI acceptance. -**Native preparation update —2026-11-24:** owner approved package/provisioning -work and server-side group lookup. Native prerequisites/accounts/empty database -and the existing LDAP group mapping are prepared. Fixed exact multiword-group -matching and native kcgi header/library pairing; full disposable E2E and actual -native synthetic-authorizer checks pass. Published Minci80f778d was found already -installed on cdg-1; a dedicated pinned native Alpine runner/target and Signet -project20 are prepared without replacing shared runners. Public site remains -closed pending actual CI/activation/real SSO integration. See -`.scratch/beta-release/native-20261124.md`, including the unexpected APK Python -package conflict and remaining verification limits. Earlier approval/inventory -blockers below are historical, not requests to ask the same questions again. - -**Public endpoint update —2026-11-24:** owner confirmed +**Live native beta —2026-11-24:** `https://sign.saikrupagas.com/` now redirects +to real HTTPS SSO; TLS and application routing are installed, no longer closed403. +Owner approved provisioning and server-side group lookup. Exact source +**df5fafaf964008950dc0313e4a37e8c49a5fd017** passed native **Minci pipeline281** +(project20), was activated and its real deployment record/target acknowledgement +verified. Published Minci80f778d was already on cdg-1; a separate pinned native +Alpine runner/receiver handles this target without replacing shared runners. +OpenRC API/PIM/worker/isolated AOF Redis are running and autostart; private paths, +role boundaries, lifecycle/initial empty restore and spoof/write denials pass. +Fixed multiword LDAP matching and kcgi ABI pairing; full disposable E2E and +byte-identical native synthetic-authorizer checks pass. **Real human browser +login/signing, native signing smoke and resource20 remain unverified/open.** +No live facsimiles/documents were seeded. DAM stays read-only; TSA stays disabled. +See `.scratch/beta-release/native-20261124.md` for exact receipts, recovery, +credential expiry/source-origin bootstrap and the unrelated failed APK Python +package attempt (no Python execution/forced repair). Earlier permission/domain/ +Minci-capability blockers below are historical; do not ask those questions again. + +**Earlier TLS-only checkpoint —2026-11-24 (superseded above):** owner confirmed `https://sign.saikrupagas.com/` and requested fixing it first over SSH. Fresh maa-1 inspection found no Signet installation/vhost and an incomplete certificate request. Issued/installed TLS using existing ACME and reserved an exact-match, deny-all proxy vhost: valid HTTPS now returns403 on every route. -**This is not an application deployment.** Existing SSO/Ops/Regi smoke checks +**At that checkpoint this was not an application deployment.** Existing SSO/Ops/Regi smoke checks pass; no packages/accounts/auth/application data changed. Current installed Minci lacks the current namespace/remote helpers; Signet enrollment, native provisioning and actual role mapping remain unresolved. See @@ -66,7 +73,7 @@ merged as cc9e4cf; canonical consolidation followed as fada598. Check actual Git refs/status in the active worktree: `/Users/saikrupa/Projects/signet`. -**Latest owner request:** deploy a controlled beta despite unfinished sections, +**Earlier beta request (2026-11-22):** 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.
diff --git a/README.md b/README.md @@ -10,18 +10,20 @@ recovery have fresh isolated-development tests; see `.scratch/roadmap/ticket-11.md`. Fail-closed identity is covered by `.scratch/roadmap/ticket-13.md`; frozen PIM/DAM revision inputs and immutable 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. +Full production acceptance is incomplete; in particular, aggregate resource +budget20 and real browser/signing acceptance remain open. A controlled native +beta is installed as described below, not certified for all admitted workloads. 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 confirmed URL is `https://sign.saikrupagas.com/`. TLS is provisioned, but -all routes deliberately return403 until the application is deployed. Signet CI -enrollment, native provisioning, trusted role mapping and delivery setup remain -pending; no application deployment is claimed. See +The beta is deployed at **https://sign.saikrupagas.com/** behind the existing SSO. +Native Minci pipeline281 deployed commit `df5fafa`; OpenRC services, isolated AOF +Redis/database, configured server groups and initial recovery checks are in place. +Real human browser login/signing and full native acceptance are not yet verified. +DAM writes and optional TSA are disabled. See [the beta rollout queue](.scratch/beta-release/README.md). ```
: asapien/signet