cli · diff
git:20260924.1a05521 to git:20261020.7ba3794
15 added, 20 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
applyTo: "apps/cli/**"
---
# CLI Review Instructions
- The CLI is an agent-facing product surface. Canonical sources, in order:
- [`apps/cli/AGENTS.md`](../../apps/cli/AGENTS.md) (scope pointers + telemetry
- rules), [`apps/cli/SKILLS.md`](../../apps/cli/SKILLS.md) (the agent contract),
- and the root [`AGENTS.md` — CLI Contract](../../AGENTS.md#cli-contract)
- (JSON envelope). Review pointers on top of those:
+ The CLI is an agent-facing product surface. Canonical sources:
+ [`apps/cli/AGENTS.md`](../../apps/cli/AGENTS.md) (package rules),
+ [`apps/cli/skills/zitadel-cli/SKILL.md`](../../apps/cli/skills/zitadel-cli/SKILL.md)
+ (the agent contract) and
+ [`apps/cli/src/lib/local-server/AGENTS.md`](../../apps/cli/src/lib/local-server/AGENTS.md)
+ (the local runtime commands). Review heuristics on top of those:
- - The command surface is `apply`, `branding eject`, `claim`, `console`,
- `doctor`, `eject`, `logs`, `plan`, `reset`, `schemas list`, `setup`,
- `start`, `status`, `stop`. `setup` supports 8 frameworks. The claim
- lifecycle is shipped ([ADR 046](../../docs/adrs/046-claim-lifecycle-v2.md));
- do not request its removal. `console` signs the local admin that `start`
- creates into the local console.
- - Changes to command names, flags, envelope shape, server resolution,
- scaffold posture ([ADR 042](../../docs/adrs/042-scaffolded-file-ownership-and-drift-detection.md)/
+ - The claim lifecycle is shipped
+ ([ADR 046](../../docs/adrs/046-claim-lifecycle-v2.md)); do not request its
+ removal.
+ - A change to command names, flags, envelope shape, server resolution, scaffold
+ posture ([ADR 042](../../docs/adrs/042-scaffolded-file-ownership-and-drift-detection.md)/
[043](../../docs/adrs/043-framework-version-floors.md)/
- [044](../../docs/adrs/044-scaffold-embedding-posture-defaults.md)), or agent
- guidance must update tests, `SKILLS.md`, and the generated README command
- section together.
- - `--server local` must resolve through `.zitadel/local/runtime.json` only
- when the local runtime is healthy, otherwise return a stable
- `E_LOCAL_SERVER_NOT_RUNNING` envelope.
- - Mock behavior should be explicit and must not be presented as live platform
+ [044](../../docs/adrs/044-scaffold-embedding-posture-defaults.md)) or agent
+ guidance must update tests, `SKILL.md` and the generated README command
+ section together; flag one that moves only some of them.
+ - Mock behavior must be explicit and must not be presented as live platform
behavior.