consumer-journey · git:20261013.6fcc94c · 2026-10-13 · sha256 2b5114eedab78366
consumer-journey git:20261013.6fcc94cA
Immutable. This exact content never changes and is served at /api/v1/blob/2b5114eedab78366.
--- 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, remote https) 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. The remote https lane alone points `--server` at the local https edge (`scripts/https-edge.mjs`) in front of the same runtime. - 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`.