Foundational hardening (Waves 1–4): CI/Docker, flag-gated Zitadel auth, validation, tests #2

Merged
sax3l merged 3 commits from foundation/hardening into main 2026-07-25 16:10:26 +00:00

Foundational hardening (Waves 1–4)

Systematic, verified hardening of this repo on foundation/hardening. Additive/flag-gated — deploy-safe.

  • Wave 1 — CI gate (.gitea/workflows), Dockerfile, .dockerignore, .env.example
  • Wave 2 — flag-gated Zitadel JWT auth (AUTH_ENFORCE default off = non-breaking, attach-if-valid), Zod input validation, eslint/prettier, auth+validation tests
  • Wave 3/4 (where applicable) — integrity/persistence, verified against a real Postgres (no mocks)

Verification: typecheck + full test suite pass in node:22-alpine; persistence verified against live Postgres. Nothing merged/deployed until this PR is merged.

Before flipping AUTH_ENFORCE=true in prod: issue Zitadel service-account tokens to callers first (per-service rollout).

🤖 Generated with Claude Code

## Foundational hardening (Waves 1–4) Systematic, verified hardening of this repo on `foundation/hardening`. **Additive/flag-gated — deploy-safe.** - **Wave 1** — CI gate (.gitea/workflows), Dockerfile, .dockerignore, .env.example - **Wave 2** — flag-gated Zitadel JWT auth (`AUTH_ENFORCE` **default off** = non-breaking, attach-if-valid), Zod input validation, eslint/prettier, auth+validation tests - **Wave 3/4** (where applicable) — integrity/persistence, verified against a **real Postgres** (no mocks) **Verification:** typecheck + full test suite pass in `node:22-alpine`; persistence verified against live Postgres. Nothing merged/deployed until this PR is merged. **Before flipping `AUTH_ENFORCE=true` in prod:** issue Zitadel service-account tokens to callers first (per-service rollout). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sax3l added 3 commits 2026-07-25 15:45:51 +00:00
chore(foundation): Wave 1 scaffolding — CI gate / Dockerfile / .env.example
CI (SIAX Cloud) / quality (push) Failing after 34s
CI (SIAX Cloud) / security (push) Failing after 36s
bd5e309851
feat(foundation): Wave 3 integrity/persistence/build fixes
CI (SIAX Cloud) / security (push) Failing after 28s
CI (SIAX Cloud) / quality (push) Failing after 38s
844220d9f5
feat(auth,foundation): Wave 2 flag-gated Zitadel JWT verify + validation + eslint + tests
CI (SIAX Cloud) / security (push) Failing after 28s
CI (SIAX Cloud) / quality (push) Failing after 44s
CI (SIAX Cloud) / quality (pull_request) Failing after 33s
CI (SIAX Cloud) / security (pull_request) Failing after 26s
1d76d50f3d
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
sax3l merged commit into main 2026-07-25 16:10:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/0pt#2