Files
ZitPlane/notes/P05-OIDC-09.md
T

29 lines
4.0 KiB
Markdown

# P05-OIDC-09 — Production Release Preflight & Source-Verified Deployment Scope
**Date:** 2026-11-23, Asia/Dhaka.
**Approved baseline:** `d3ee3fa4de62463c53d5213c532d097278f928c6`; verified exact Gitea `main` before any file write. **Initial tracked files:** 791, no truncated tree. Preserve untracked `AI_INSTRUCTIONS.md`; never read or modify it.
**Previously accepted separate evidence:** [Run #105](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/105) / Job #221 **COMPLETED SUCCESS** on source `daaa8b259a519ae0290ba28936ef2279b3a9172c` — 48/48 negative fixtures and positive **non-deployable synthetic configuration** checks PASS, manual-only workflow safety and runner task cleanup PASS. [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) **SUCCESS** on imported custom Login V2 and disposable localhost real-browser OIDC. Neither proves production HTTPS, real credentials or deployment.
## USER-APPROVED EXACT SCOPE LOCK — commit this note FIRST
**PHASE KIND: DOCUMENTATION-ONLY, READ-ONLY FORENSIC AUDIT.** This `notes/P05-OIDC-09.md` is the **FIRST write and must be committed before any other documentation edits**.
**WRITE ALLOWLIST:** `notes/**`; relevant `project/**`; relevant `docs/**`; necessary existing associated `README.md`/`MINIFEST.md` for navigation/metadata (root README allowed if necessary). No code, config or workflow writes.
**STRICT READ-ONLY:** **all** `auth/**`, `users/**`, `core/**`, `deployment/**` (including dev and synthetic Compose/JSON), `tests/**`, `.gitea/workflows/**`, package manifests and lockfiles, Gitea runner configuration, VPS, DNS, Cloudflare, Coolify, SSL, production infrastructure/secrets, unrelated files. `AI_INSTRUCTIONS.md` untracked and untouchable. No plugin/connector actions modifying external production resources.
**NO EXECUTION:** no CI dispatch/rerun, local app build/test, Docker service startup, image pull/build/publish, DNS/TLS requests, live credentials/users/client provisioning, production rollout, release/tag, cleanup of existing resources or change to existing deployments.
## Read-only audit target
Inspect approved current repository source and previously recorded CI evidence for production image provenance (pinned builds, SBOM/signatures/security/rollback), canonical issuer `https://auth.vib.tools` and separate relying-party `https://account.vib.tools` exact callback, edge trusted Host/forwarded header/h2c, private ports, vaulted secret custody and IAM_OWNER break-glass, encrypted PostgreSQL backup/restore/rollback, Admin Console/first-admin access, MFA/passkeys, Auth.js/real login/multi-app SSO, monitoring/operational incident response. Distinguish `SOURCE VERIFIED`, `CI VERIFIED`, `LIVE NOT VERIFIED`, `BLOCKED`, `OUT OF SCOPE` *per evidence, not assumptions*. Design proposals must be marked proposed, not live.
Prepare a conservative release blocker/stop-condition matrix, dependency sequence and **independently approvable small implementation Scope Locks**. No mixing image publishing, secret custody, infrastructure, live TLS and SSO in one phase. Explicitly protect existing prod data, no destructive recovery without separate authorization.
## Completion contract
After read-only source audit, create `docs/P05-OIDC-09.md` with source-grounded operator release preflight; expand this note with factual findings, exact file references, accepted CI refs, an ordered plan and a ready-to-copy next approval. Synchronize pertinent existing `notes/project/docs` documentation and associated README/MINIFEST; reconcile exact Git-tracked inventory (expected 793 only if exactly these two new notes/docs files). Perform ONE focused cumulative baseline-to-HEAD documentation/security/scope audit, ensure zero protected file changes and no credential exposure, commit all documentation to Gitea main and verify final main SHA. CI source SHA and final docs SHA must remain separate. If any evidence is missing, record UNKNOWN/BLOCKED without guessing.
**Before any other document edit:** only this Scope Lock has been committed; no app/infra action, new CI run or live verification has been performed.