consumer-journey · git:20260929.b621cac · 2026-09-29 · sha256 5c26574175cd172e
consumer-journey git:20260929.b621cacA
Immutable. This exact content never changes and is served at /api/v1/blob/5c26574175cd172e.
--- applyTo: "apps/cli-journey-e2e/**,.github/workflows/ci.yml" --- # Consumer Journey Review Instructions Review consumer journey changes as the required customer local setup quality gate, not as a demo-app e2e suite. The canonical contract is [`apps/cli-journey-e2e/AGENTS.md`](../../apps/cli-journey-e2e/AGENTS.md) — tarball packing (`moon run release:pack`), the `PUBLIC_RELEASE_PACKAGES` manifest + `verify-tarballs.mjs` enforcement, the 8-framework matrix, the single `--ci` runner invocation that runs all journey variants (fresh-app, passkey, pre-existing app, testkit) concurrently with `--matrix single|full` collapsing the framework set, port doctrine, and WebAuthn/`localhost` rules all live there. Review pointers on top of it: - CI must install Zitadel packages from current workflow tarballs through the temporary Verdaccio registry, never from public npm. The local-runtime image is built by `scripts/build-local-runtime-image.mjs` / `moon run release:snapshot` (GoReleaser is retired — root `AGENTS.md`). - The journey exercises the customer path through `npx`: `doctor`, `start`, then `setup --framework <one of the 8> --server local` with `--non-interactive --json`, generated apps outside the repo, `npm` inside the generated app. - Keep Verdaccio proxying npmjs for third-party dependencies while publishing Zitadel tarballs under both `alpha` and `latest`. - Preserve the CLI setup JSON contract: `--non-interactive --json` must parse from stdout and return `status: "ok"`. - Passkey coverage is required in CI; `JOURNEY_ENABLE_PASSKEY=0` is a local debugging escape hatch only. - Failure artifacts include Playwright output/report, doctor/start/setup JSON and stderr, runtime metadata/logs, generated app manifests, and Verdaccio logs — never generated `node_modules` or `.next`.