Files
ZitPlane/project/CHANGELOG.md
T

47 lines
9.1 KiB
Markdown

# ZitPlane development changelog
This is the **developer-focused implementation history**. `notes/CHANGELOG.md` is the compact planning/phase log; `docs/` is for users.
| Date | Phase | Files / behavior introduced | Git / evidence |
| --- | --- | --- | --- |
| 2026-11-22 | P01 | Initial Monorepo directories, root AGENTS/README, architecture & phase docs | `8f54ccb`, `docs/PHASES.md` |
| 2026-11-22 | P02 | `core/backend/zitadel/dev.py`, local-only Compose with official ZITADEL/Postgres/Traefik and prebuilt Login | `433a0a3` then `eadd0e5`; `docs/P02-EVIDENCE.md`. Live runtime blocked |
| 2026-11-22 | P03 | `auth/ui/v2/` official v4.20.4 source and matching client/proto/pnpm/Nx dependencies | `4404849`; `docs/P03-SOURCE-IMPORT.md`; no build |
| 2026-11-22 | P04 | `users/ui/` Account Portal OIDC, pages, styling, read-only identity API | `40af500`; `docs/P04-ACCOUNT-PORTAL.md`; no build/CI |
| 2026-11-22 | DOCS-01 | Documentation governance; developer architecture, reviewed first-party function/file/page mapping and 701-path source inventory; user manual/setup/status/troubleshooting | Documentation complete; manifest/link/source-scope audit PASS; `notes/DOCS-01.md`, local commit SHA via Git history |
| 2026-11-22 | P05-CI-01 | `.gitea/workflows/p05-ci.yml`, `tests/ci/**`, Account npm lock, Login pnpm importer reconciliation and in-scope Alpine Git checkout correction | Run #81 overall FAIL; 2 jobs PASS, 2 FAIL; Login 1219/1219 tests PASS, Account TS2345 and Docker checkout blocked; `notes/P05-CI-01.md` |
| 2026-11-22 | P05-CI-02 | Type-safe Auth.js subject narrowing, Account anonymous negative tests, Login regression, structured advisory triage and CI-only portless Docker override | Run #83: 3 PASS/1 FAIL; Docker proxy 8080 collision, cleanup PASS, portless fix unverified; see `notes/P05-CI-02.md` |
| 2026-11-22 | P05-CI-03 | Dedicated manual backend-only CI acceptance, guarded disposable Compose, persistence/ready/JWKS probes and owned-state cleanup | **Gitea Run #86 SUCCESS** on `03fb589`; all steps PASS; `notes/P05-CI-03.md` |
| 2026-11-22 | P05-SEC-01 | Next.js/OTel minimal security manifests, reproducible locks, dedicated CI and strict Moderate+ gates | Run #87: Account/Login build PASS, Login Vitest 1219/1219, Account audit 0, Login 2 Moderate open; `notes/P05-SEC-01.md` |
| 2026-11-22 | P05-SEC-02 | Seven parent-targeted glob/minimatch patched resolutions, PNPM lockfile metadata-only, manual Login-only CI and post-run validator fix | Run #88: strict Login audit 0 findings PASS, Login build job blocked before install by parser false-positive; post-run fix untested. `notes/P05-SEC-02.md` |
| 2026-11-22 | P05-SEC-02-A01 | Verify existing corrected helper, exact seven PNPM scoped overrides, frozen Login Nx build and upstream Vitest; no source/lock changes | **Gitea Run #89 SUCCESS** on `ff4c58e`, 84/84 files, 1219/1219 tests, Login audit 0 Moderate/High/Critical; `notes/P05-SEC-02-A01.md` |
| 2026-11-22 | P05-OIDC-01 | Added manual disposable IAM_OWNER/client/human/browser OIDC acceptance harness, secret isolation and cleanup | Run #90 FAIL before provisioning: private loopback forwarder unready; 4 backend services healthy, owned cleanup PASS. `notes/P05-OIDC-01.md` |
| 2026-11-22 | P05-OIDC-02 | CI-only prebuilt socat digest startup, private proxy/Host/readiness/exit checks and status-only provisioner | **Run #91 FAILED**: 4 services + private proxy PASS, sidecar exit code 1; no real user/browser test; cleanup PASS. `notes/P05-OIDC-02.md` |
| 2026-11-23 | P05-OIDC-03 | Allowlisted socat startup diagnostics and strictly private digest-pinned official Python stdlib fallback | Source `7b80f41` on Gitea; Run #93 QUEUED, no CI steps or terminal result. `notes/P05-OIDC-03.md` |
| 2026-11-23 | P05-OIDC-03-A01 | Historical read-only Run #93 queue snapshot before runner pickup, no source edit | Queued then; **superseded by A02 terminal result**. `notes/P05-OIDC-03-A01.md` |
| 2026-11-23 | P05-OIDC-03-A02 | Read-only terminal Run #93 job #206 scheduling completion, private socket collision and verified cleanup | Run FAILURE; socat bind error, Python EADDRINUSE, no authenticated flow; cleanup PASS. `notes/P05-OIDC-03-A02.md` |
| 2026-11-23 | P05-OIDC-04 | Scope-locked private socket forensics and isolated run-owned forwarder network, no original backend/Login/Account edits | Source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb`; Run #95 failure before inspector due direct private proxy socket/HTTP, four healthy services, owned cleanup PASS; real OIDC blocked. `notes/P05-OIDC-04.md` |
| 2026-11-23 | P05-OIDC-04-A01 | Safe classified proxy readiness in `tests/ci/oidc_e2e/run.sh`; no backend/Login/Account/auth changes | Gitea [Run #96](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/96) job #210 **SUCCESS** on source `670e225db477f180ff14ffa62e6654860a166f17`: isolated real browser OIDC with protected session/negative/logout PASS, actual Traefik PID1 TCP6 8080 identified, owned cleanup PASS. See `notes/P05-OIDC-04-A01.md` |
| 2026-11-23 | P05-OIDC-05 | Source and evidence forensic audit, prioritized custom Login/TLS/identity/ops gaps; no runtime/source edits | `b3841d8c05d6b47ceaf1dbc5f7103b8de4f256e6`; original prebuilt Login E2E Run #96 PASS, imported Login frozen build Run #89 PASS, production NOT VERIFIED; `notes/P05-OIDC-05.md` |
| 2026-11-23 | P05-OIDC-06 | New manual CI custom Login image workflow, isolated builder+cleanup, Compose opt-in and original run.sh hook | Source `fcfa59e826c39b445faa1b5b26c47ce715d8c3d6`; Run #98 FAIL on OCI `/app/entrypoint.sh` permission denied; build PASS, browser NOT EXECUTED, cleanup PASS; see `notes/P05-OIDC-06.md` |
| 2026-11-23 | P05-OIDC-06-A01 | Minimal `tests/ci/login_image/build.sh` scoped temporary artifact chmod and no-network default-user image execute gate; protected upstream untouched | [Run #99](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/99) job #214 **SUCCESS** on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`: custom source-built Login V2 real browser PKCE/Auth.js Account protected session/negative/logout PASS, dual owned cleanup PASS. `notes/P05-OIDC-06-A01.md` |
| 2026-11-23 | P05-OIDC-07 | Read-only mapped production HTTPS/issuer/ingress/session, dedicated Login/client/master-key secrets, Console recovery, Postgres encrypted backup and immutable release requirements; no implementation | Baseline `620b165e9d3f2c26ad967db54e540387a076292b`; accepted Run #99 custom disposable OIDC PASS on `7d6b6d0704b9e39bcb6e74257dadf0b64a19fc0f`; public production NOT VERIFIED; `notes/P05-OIDC-07.md` |
| 2026-11-23 | P05-OIDC-08 | New isolated synthetic five-service zero-replica Compose, proposed HTTPS issuer/callback policy, stdlib security validator and manual-only static Gitea workflow | Tested source `2ca1b4493bd47209d0c7eabf7453feaeb1f5174a`; [Run #101](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/101) job #217 **COMPLETED FAILURE**: `compose config --quiet` PASS, manual-only no-resource-action PASS, normalized `RUNTIME_BEHAVIOR` policy reject; 25 negatives NOT EXECUTED. No prod/CI rerun; `notes/P05-OIDC-08.md` |
| 2026-11-23 | P05-OIDC-08-A01 | Only `tests/ci/production_contract/validate.py` adjusted: allowlisted safe field/type diagnostics and inert null Compose defaults; preserve 25 negatives plus four runtime override rejects | [Run #102](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/102) job #218 **FAILURE**, SHA `07c91ea5bcb2037e3c7b76261e1eb106b49d223f`: original `RUNTIME_BEHAVIOR` root cause `command:null`/`entrypoint:null` verified across all five; new `DEPLOY_DISABLED` fail-closed, 29 negatives NOT EXECUTED; no CI rerun/deploy. `notes/P05-OIDC-08-A01.md` |
| 2026-11-23 | P05-OIDC-08-A02 | One-file `tests/ci/production_contract/validate.py` source/normalized-zero assertions and safe deploy-shape diagnostics; no other source changed | [Run #103](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/103) job #219 **COMPLETED FAILURE**, source `45a2edb854acd98546e60a68482075bc5f742bd2`: five normalized integer-zero replicas PASS, extra unknown deploy fields in every service cause `DEPLOY_DISABLED` rejection; 25 original + 4 runtime + 3 replica negatives NOT EXECUTED, manual-only workflow safety PASS, no production actions. `notes/P05-OIDC-08-A02.md` |
| 2026-11-23 | P05-OIDC-08-A03 | Exact-only `tests/ci/production_contract/validate.py` strict pin of unchanged synthetic fixture, safe named deployment-metadata diagnostics and allow-only-empty resources/placement plus eight source-negative definitions | Source `7954938fcee4d11c0b27751c7cf7abdcc64cd243`, [Run #104](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/104) job #220 **FAILURE**: five resources/placement EMPTY_OBJECT and replicas INT_ZERO verified; next SERVICE_SECRET_REFS policy reject, 40 negatives NOT EXECUTED; workflow-safety PASS and runner cleanup observed, no production. `notes/P05-OIDC-08-A03.md` |
## Required entry for each future change
Date, phase, approval/scope, baseline SHA, source files changed, reason/functional effect, interface/security impacts, migration/config steps, test/CI evidence, docs updated, commit SHA, verified/unverified limitations. Append one record for every approved change/fix, including documentation-only changes. Never overwrite old conclusions without noting correction.