Skip to content

Level-0 Exceptions

llms.txt lists every page for an agent

Workspaces (#2524) come in levels, and level 0 is a plain project with no chant.workspace.json. The rule from #2525 is that level 0 never pays for workspaces. Its output stays the same across releases, apart from the changes listed on this page, and each of those is warned about one release before it ships.

SurfaceHeld by
chant build, chant graph (the Op view, --stacks and --format ir), chant lint --format json, chant audit --format json and chant run listCLI goldens in test/level0-goldens/goldens/, one file per command and example
Files a command leaves in the project, such as build writing dist/ops/<op>/op.jsonthe wrote section of each golden
Ledger paths on the chant/lifecycle branch: <env>/runs__<op>.jsonl and _gates/<op>.jsonl, also for a project in a subdirectory of its repositorytest/level0-goldens/level0-ledger.e2e.test.ts
Ownership markers: app.kubernetes.io/managed-by, chant.intentius.io/stack and chant.intentius.io/envthe same ledger fixture, plus the build goldens
No workspace code loadsevery golden run records the modules its process loaded and fails on any file under core’s workspace/ directory, or any chant module whose name starts with workspace

The goldens run the real CLI over copies of getting-started, local-op-quickstart, fan-out-estate, adopt-alb-services and terraform-carve-out from examples/, in a temp directory, on every pull request. Absolute paths, timestamps and chant’s own version number are normalised, and so are durations and fold counts on stderr. test/level0-goldens/harness.ts lists exactly what is normalised.

The version field has shipped, and v0.80.0 is the warning release for the other four entries, so each of their changes can land in any release after v0.80.0. A new entry gets its warning release when that release goes out, and its change can land from the release after. The last three rows shipped without a warning release, which the maintainer accepted on 2026-09-30.

ChangeIssueWarning release
Real SHA-256 digests. contentDigest output changes, and so does every digest derived from it, such as a manifestDigest or the digest of a synthesized template or SBOM. The effect receipt value in a build was already real SHA-256 and does not move#2514v0.80.0 warns on stderr once per project when a ledger or build manifest holds an old digest. Shipped after v0.80.0 (#2606): old entries read back flagged legacy-digest and are accepted through 0.89.x, and no golden moved
One discovery walker for build, lint, Ops and audit, converged at once. Dot-directories, ignored files, dist, Op child-project boundaries, .json configs and the source-root quirk all change together#2527, split from #2519v0.80.0 warns on stderr, naming each affected file and the include or exclude glob that keeps today’s behaviour. Shipped after v0.80.0 (#2617): every walk follows the rules in one walk for every command, and include re-admits anything they skip. The warning is gone, and the only golden that moved is the stderr section of adopt-alb-services/audit-format-json.golden, which loses it
chant audit reports a truncated scan, and TF023 reads a nested .gitignore#2528v0.80.0 warns on stderr when the walk stops at its file limit and for each TF023 path a nested .gitignore covers, see chant audit
Component gate approvals are bound to the environment and plan digest they were given for, and older approvals are refused#2574v0.80.0 warns on stderr when a component gate passes on an approval with no plan. Shipped after v0.80.0 (#2594): an approval recorded without an environment and a plan is refused and the refusal names the chant approve --env command that replaces it, and no golden moved. See Gate approvals and environments
An additive version field on chant graph --format ir output#2529 (#2524 D8)shipped: merged after v0.79.0 with no separate warning release, since the field is additive and consumers ignore fields they do not know. The graph-format-ir goldens record it
Ledger reads and writes list the chant/lifecycle tree with git ls-tree --full-tree. A project in a subdirectory of its repository used to list nothing there, so its second ledger append was refused as a concurrent change; now it appends, and the paths are the same flat ones as at a repository root#2550 (#2610)none: shipped in v0.81.0 as a bug fix. level0-ledger.test.ts holds the subdirectory case
chant check-lexicon prints one more tier-1 row, Any ./workspace-kinds subpath holds valid kind data, for every lexicon. A lexicon without the subpath passes it. chant doctor is unchanged outside a declared workspace#2535 (#2631)none: shipped in v0.81.0. doctor.test.ts checks that doctor adds nothing outside a workspace
Plan digests are written as jcs1-sha256:<hex>. The hex is unchanged, since the digest is still the SHA-256 of the RFC 8785 canonical JSON of the plan, but the prefix is new. It shows in the plan: and approve: lines of a gated run, in chant approve --plan, in the pending facts and resolutions appended to _gates/<name>.jsonl, and in chant workspace upgrade output. A pending gate or an approval recorded as sha256:<hex> still matches the same plan, and chant approve --plan takes either prefix#2547 (#2524 D5, ws-066)none: the maintainer accepted it on 2026-09-30, since nothing already recorded stops matching. No CLI golden moves; the workspace-upgrade e2e test now expects the new prefix
chant lifecycle diff --live builds with the project’s fold mode, as chant build does, and a drifted field a composite produced prints one more line naming the composite call and argument with its file and line, or saying the composite fixes it, or that its origin is unknown. The proposal line gives <file>:<line> relative to the project instead of an absolute file. A directly declared field prints as before. --json reconcile rows gain summary, and composite origins gain call and arguments#3597none. No CLI golden covers lifecycle diff; lifecycle.test.ts holds the new lines
chant graph --format ir records the composite that built each entity a composite call destructures or exports. Such an entity gains compositeParent, and the IR gains a byComposite index beside byStack. An entity no composite built is unchanged#3608none: accepted without a warning release, as chant’s breaking changes are. The getting-started IR golden moves with it
chant lint includes each loaded lexicon’s post-synth findings, the ones chant build reports, over an in-memory build of the lint path, at 1:1 in the file that declared the resource or at the config file. A lint path that does not build reports LEX002. See chant lint#3750none: accepted without a warning release, as chant’s breaking changes are. The getting-started lint-format-json golden gains the k8s warnings chant build already printed
chant audit reports DKRD012 with a new title and remediation, which name the final stage, since a multi-stage Dockerfile can set USER in an earlier stage and still run as root. The rule’s catalogue entry also lists hadolint DL3002 as an overlapping rule#3926 (#3929)none: accepted without a warning release, as chant’s breaking changes are. The adopt-alb-services audit-format-json golden moves with it
Ledger lines gain optional fields. A run record in <env>/runs__<op>.jsonl gains gitSha and, in CI, runOrigin. A pending fact and a resolution in _gates/<op>.jsonl gain gitSha and runId, and a release record in <env>/releases.jsonl gains admission, and approver for a deploy chant run --components records after a gate. chant run --json prints the run record, so it gains the same two fields. In CI, a release that chant run --components, components fan-out or components pr-apply records is keyed by the CI run id with a github or gitlab runOrigin, where it had a locally minted id with local#4020none: accepted without a warning release, as chant’s breaking changes are. Older lines read unchanged. The wave-loop golden transcripts gain gitSha
chant workspace check --changes judges whether each first-parent commit in the range names a work item, by a Chant-Record trailer of a declared work kind or a Chant-Lease that resolves to one. Its text and --json document gain a links block, the summary line gains a count of commit link findings, and the findings commit-unlinked and commit-wrongly-linked follow --severity (warn by default; at fail an unlinked commit fails the check and the changeCoverage Op activity). chant ci list --json commits gain work, and ci list and ci tick text lines for an unlinked commit end with ; why unknown: <reason> in a workspace that declares a work kind#4029none: accepted without a warning release, as chant’s breaking changes are. The changes test expectations move with it
chant release cut in a project that declares no component cuts a release of its build output, where it refused with release-no-components. Each environment’s target lists the files chant build --env <env> writes, with component: null, and the cut writes _releases/ on chant/lifecycle. release-no-components now means components are declared and none is enabled anywhere. chant components promote --release refuses such a release and names the new chant release export#4046none: accepted without a warning release, as chant’s breaking changes are. chant build output does not change, and no golden moves
chant components promote refuses a promotion that skips a step of the member’s declared promotion order, the order of the environments array in its chant.config.ts, unless --allow-skip is given, and chant build --components --generate --promote-to refuses the same skip when it generates the promote job. With the order declared, --from can also be left out and defaults to the step before --to. A member that declares no environments is unchanged#4030none: accepted without a warning release, as chant’s breaking changes are. --allow-skip restores the old behavior. chant workspace status --json gains members[].promotionOrder, and the goldens that print a member gain the field
chant --help lists release cut and release list, and components promote takes --release <label|digest>. --release, --build and --artifacts are flags now, where they were an unknown-flag error. A deploy record in <env>/releases.jsonl gains releaseDigest when components promote --release writes it, and that promote’s --json output gains release. A promote without --release writes and prints what it did before. chant/lifecycle gains _releases/ only when a release is cut#4026none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant components fan-out --gate <name> --progress-json prints run-start before the gate is decided, and a set the gate stops now prints run-start and run-done with status: "gated" where it printed nothing. A fan-out the gate lets through prints what it printed before. The new --events-json flag on chant run, components promote, rollback, redeploy, fan-out, pr-plan and pr-apply adds a stream and leaves the others unchanged, and the run-event schema gains the optional index#4041none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers --progress-json; fan-out.test.ts holds the new lines
chant --help describes signed ci tags: ci last-green takes --from <rev>, ci tick takes --key <runner key.pem>, ci workflow takes --runner-key-secret <NAME>, and release cut takes --sign [<key file>]. --runner-key-secret is a flag now, where it was an unknown-flag error. A project with no workspace file is otherwise unchanged: signing ci tags needs ci.green.signedSince in a declaration, and a release gate needs identity.gates. In a workspace, ci list --json commits gain ignored and a signer on green and revoked, ci last-green --json gains ignored, release list --json cuts gain signatureCheck, release list lines gain the newest cut’s signature, and workspace status --json members gain releaseCuts#4031none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant --help lists change-set show. chant components pr-apply stores the change set it plans on chant/lifecycle at _change-sets/<digest>.json (under _members/<member>/ in a workspace) before it decides the gate, and runs the member’s chant graph --format ir once per new digest to map its entries onto nodes, so chant/lifecycle gains a commit and a pull-request apply prints a warning when the graph can’t be read. chant workspace status --json gains changeSet on a gate whose planDigest names a stored change set. The change-set document gains entries[].node and graph on a stored copy, and its digest leaves node out, which gives no existing document a new digest#4022none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant run events is a subcommand of chant run, so events joins list, status, log, cancel, approve, wave and resume as a name that chant run <name> no longer reads as an Op. An Op named events is not reached by chant run events; it needs another name. A local chant run <op> that records to the ledger also writes <git-common-dir>/chant/run-events/<run id>.jsonl, a file outside the working tree and off chant/lifecycle; stdout, stderr, exit codes and the ledger are unchanged. --follow becomes a recognised boolean flag#4042none: accepted without a warning release, as chant’s breaking changes are. run-event-store.test.ts and run-events-cmd.test.ts hold the command
chant run <op> given a runner key, by --key <file> or the PEM in CHANT_RUNNER_KEY, signs the run’s record. The record in <env>/runs__<op>.jsonl and chant run --json gain statement, and a run with a key also loads the trust code that checks it. A CHANT_RUNNER_KEY that is not a runner key in .chant/trust.json at HEAD leaves the run unsigned, quietly since #4156. A run with neither is unchanged. chant --help describes run --key and --source checks|runs on ci tick and ci list, and the error for --source without a value also names the ci use. ci tick --forge gitlab|forgejo is refused with a message that points at --source runs. In a workspace with chant runs as the source, ci list --json runs gain opRun and commits gain ignoredRuns#4044none: accepted without a warning release, as chant’s breaking changes are. No golden sets a key, so none moves
chant components promote --release plans the release’s change set for --to when a promoted composition declares a gate, stores it on chant/lifecycle, and prints a release gate: line naming its digest. Its gates are recorded under the op release rather than the component, bind releaseDigest and the change-set digest rather than the composition digest, and print chant approve release <gate> --env <env>. An empty change set writes empty: true resolutions and passes without an approval. Approvals of a promote under a release given before this change no longer count. --json gains release.changeSet and release.empty. The promote removes the templates it wrote under .chant/release-templates/ when it finishes, and warns when the promoted deploy’s build manifest holds other bytes than the release’s. Pending facts and resolutions gain releaseDigest, resolutions empty, the status gate item releaseDigest, a release gate’s change-set document releaseDigest and environment, and a gate-resolved run event’s via gains empty. chant approve copies releaseDigest off the pending fact. A gate recorded under release is never resolved over MCP or ACP#4045none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant run --components takes --release <label|digest>, which was an unknown-flag error for run. With it, the run is refused unless the release was cut from the checked-out commit and has a target for --env, and the release records it writes gain releaseDigest. A run without --release writes and prints what it did before, and infers no release. components rollback and components redeploy copy releaseDigest onto the record they write, when the record they restore has one. The status release item gains releaseDigest and releaseLabel, each null when absent. chant exports joinRelease for readers#4043none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant approve refuses a release gate whose release was cut from a commit with a counted ci/revoked/<sha> tag (release-revoked), whose release file can’t be read (release-unreadable), or whose ci tags can’t be judged (declaration-invalid), where it recorded the approval before. chant components promote --release refuses a revoked release before anything runs (release-revoked), and refuses when the ci tags can’t be judged. chant release list lines end with revoked for a revoked release and print why on stderr, and release list --json entries gain revoked. chant workspace status --json gains revoked on a release item and on a release gate, a release gate of a revoked release reads superseded where it read pending or approved, and the text view gains a line per component that runs a revoked release. Each reads the local ci/* tags#4033none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant --help lists lifecycle gc, and --push is a flag now, where it was an unknown-flag error. chant lifecycle gc is new: a dry run by default, and with --yes one commit on the local chant/lifecycle that removes stored change sets, releases and templates the retention policy lets go, and the deletion of old run event files under <git-common-dir>/chant/run-events/. Nothing else prunes, so a project that never runs it sees no other change. writeLedgerFiles takes removals and an expectTip, and chant exports releaseOfDeploy, planLifecycleGc, runLifecycleGc and the retention policy#4036none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant --help describes --release on components rollback. chant components rollback takes --release <label|digest> and restores every component of that release through the release gate, and its usage error now names --component <name> or --release <label|digest>. components rollback and components redeploy refuse to put back a release cut from a revoked commit (release-revoked), naming a release to restore instead. A promote, rollback or redeploy that deploys some components and not others, or fails on one, appends a line to <env>/outcomes.jsonl on chant/lifecycle beside releases.jsonl, prints which components ended which way with a redeploy line for each one left failed or gated, and its --json output gains outcome. A component such a run left unsettled is a hole in a release change set, so a release gate over it waits for an approval where it passed empty before. chant workspace status --json gains mixed on an environment that runs a mix, and the rollback line of a revoked release names --release <label> when an earlier release is kept, where it always named --component. A run that deploys everything, or stops at a gate before deploying anything, writes and prints what it did before#4035none: accepted without a warning release, as chant’s breaking changes are. No golden moved
chant release cut is a dry run without --yes: it prints the plan and writes nothing, where it cut, so a script or pipeline that cuts adds --yes, and release cut --json without --yes prints the dry run’s document (dryRun: true). The cut also refuses a tree with an untracked file git does not ignore, and a commit that is not reachable from origin/<trunk> (release-worktree-dirty, release-commit-not-on-trunk, release-commit-not-pushed), and a label whose release/<label> tag names another commit (release-tag-taken, release-tag-invalid). With --yes it tags the commit release/<label> locally and prints the next command; --json gains dryRun, actor, actorSource, tag and next. With no --actor the actor is the signer the signers file lists for the --sign key, then the CI’s actor, then git’s user.email, where it went from the CI’s actor to USER. A cut line in _releases/cuts.jsonl gains runId, and a cut outside CI writes runOrigin: { "forge": "local" } with a local-<epoch ms> run id, where it wrote runOrigin: null. chant --help lists release publish, which is new: it checks a cut release, warns on stderr when the run has no OIDC token, and publishes nothing until #4047 gives it targets#4027none: accepted without a warning release, as chant’s breaking changes are. Older cut lines read unchanged, with runId: null. No CLI golden covers release; release.e2e.test.ts holds the new output
chant --help lists workspace metrics, which was an unknown-subcommand error. chant workspace metrics is new and only reads: the four DORA metrics per member and environment, with --json printing the read contract’s new delivery-metrics document. The declaration takes a metrics block with failureWindowDays, which it refused before. chant exports environmentMetrics, rollbackOf and isRedeploy. A project that never runs it sees no change#4039none: accepted without a warning release, as chant’s breaking changes are. No golden moves
chant release publish is a dry run without --yes: it prints what each declared target would publish where and uploads nothing, so a pipeline that publishes adds --yes. Its --json gains dryRun, and next in a dry run; each targets entry gains kind and items, and each published entry gains items. With no target declared it says Nothing was published: this member declares no publish target (release.publish in chant.config.ts). where it named #4047. The release cut dry run lists the declared targets on its chant release publish lines, and publish.targets in its --json, where it said there were none. chant.config.ts validates release.publish, so a release.publish value that is not a list of npm, oci or forge targets now fails config loading, where any value under release but autoRecord was ignored. With a target declared, a publish refuses a checkout that is not the release’s commit or has changes (release-head-mismatch, release-worktree-dirty). chant --help shows release publish <label|digest> [--yes] [--json]#4047none: accepted without a warning release, as chant’s breaking changes are. A project that declares no target sees only the dry run and the changed sentences. release.e2e.test.ts and release-publish-targets.e2e.test.ts hold the new output
chant release publish --yes stages every target, then reveals them, where it published each target in turn. npm runs npm view <name>@<version> version, then npm publish <package> --tag next, and moves latest with npm dist-tag add in the declared order once every target has staged, where it ran npm publish without --tag (or with the context’s tag). OCI pushes by digest and moves the tags only at the reveal. GitHub and Forgejo upload to a draft release and publish it at the reveal, where they created a published release and uploaded to it; a release already published for the tag without the assets is now refused (publish-forge-release-published). GitLab no longer links each asset as it uploads: it creates the release with every link at the reveal. A publish now appends _releases/publishes.jsonl on chant/lifecycle and pushes it, where it wrote nothing, and run again it skips what that record says was staged or revealed. The dry run’s npm destinations read dist-tag next, then latest where they read dist-tag latest, and a target an earlier run touched is marked (staged by an earlier run; only revealed) or (published by an earlier run; skipped). Progress lines read staging to <destination> and revealing <target>. A failure says whether anything is visible yet and which targets staged or revealed, its hint ends with the command to resume, and a failed tag move has the new code publish-npm-tag-failed. --json targets gain progress, and a publish gains resumed#4048none: accepted without a warning release, as chant’s breaking changes are. A project that declares no target sees no change. release-publish-targets.e2e.test.ts, publish-targets.test.ts and publish-resume.test.ts hold the new behaviour
chant release publish refuses a release none of whose cuts carries a signature that verifies against .chant/allowed_signers at base, with release-unsigned or release-signature-unverified and a hint that names --allow-unsigned, where it refused one only under a release gate in identity.gates. --allow-unsigned publishes it with a warning on stderr, which --json lists in warnings; under the gate it changes nothing. --require-provenance is new and refuses a run with no OIDC token (publish-provenance-missing). Each target attaches an SBOM and a provenance statement when it stages: an npm package with no SBOM at its root is refused (publish-sbom-missing) unless its declaration says sbom: false, an OCI target pushes two referrers of the image, and a forge target uploads sbom.spdx.json (written from the member’s lockfile unless sbom names a file) and release.intoto.json with the assets, so an OCI or forge target with neither sbom nor a lockfile is refused. With an OIDC token the npm reveal also runs npm install in an empty temporary directory and npm audit signatures (publish-npm-audit-failed). The dry run and the published: lines add , carrying <file> to an npm package and list each attachment as <file> (SBOM) or <file> (provenance); --json items gain sbom and attachment. Each declaration takes sbom, which changes the target key a declaration that sets it records. chant --help lists release verify, which is new#4049none: accepted without a warning release, as chant’s breaking changes are. A project that publishes unsigned releases adds --allow-unsigned or signs its cuts. release-verify.test.ts, release-publish.test.ts, publish-targets.test.ts, release-verify.e2e.test.ts, release.e2e.test.ts and release-publish-targets.e2e.test.ts hold the new behaviour
chant components pr-apply prints a line on stderr as each wave starts (wave <n>/<waves>: <components>) and as each component settles ( <component>: applied, failed, blocked by <dependency>, not run, already applied in an earlier attempt), where it printed only the summary at the end. With --events-json, pr-apply and components fan-out write a component-settle with status: "blocked" and blockedBy for a component a failed or gated dependency held back, and with status: "already-applied" for one an earlier attempt applied, where the stream left both out; the run-event schema’s component-settle gains those two statuses and the optional blockedBy. --progress-json is unchanged. chant run events without --json adds by <dependency> to a blocked line. --report-url is a flag now on pr-plan and pr-apply, where it was an unknown-flag error, and chant --help describes it#4007none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers pr-apply or --events-json; pr.test.ts, fan-out.test.ts and pr-report-url.test.ts hold the new behaviour
chant components pr-plan plans a cfn-deploy step with a CloudFormation change set that it creates, reads and deletes without executing, and deletes the empty REVIEW_IN_PROGRESS stack a CREATE change set made for a stack that did not exist. Each such member’s counts in the report, the note’s table and the status line come from that change set, where they were all 0, and its entries are in the change set and so in the digest the gate binds. The member is named after the stack, where it was named after the component, and its plan digest binds the environment, the stack, the template’s bytes and the parameters, where it was the component’s composition digest. A member whose stackOutput() inputs come from a stack that does not exist yet has a hole, inputs from <stack>; re-checked on apply, and ? counts in the note, and the status line counts it as with holes. Any member with holes now shows their reasons in its note row, and a grouped plan summary group of members with no entries, whose heading said no changes, says no changes known: <n> with holes, listed above when <n> of its members have holes, for every planner; the group and its id are unchanged. cfn-deploy also reads its stack’s outputs for a dependent planned before it applies, so a gated-wave fan-out and a release gate plan cfn-deploy steps the same way#4084none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers pr-plan; cfn-plan.test.ts holds the new behaviour
A cfn-deploy step handed its plan by chant components pr-apply or a gated-wave fan-out executes its change set only when its changes match the plan’s. When they differ it deletes the change set unexecuted and fails, and the command exits 3 where a failed member exits 1. With onReplace: "block", the default, a change set with a Replacement: True change fails the member’s plan, where it planned and failed at apply. A template that declares an AWS::CloudFormation::Stack gets its change set with nested stacks included, and the changes inside a child are entries addressed <child>/<logical id>#3997none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers pr-plan or pr-apply; cfn-plan.test.ts holds the new behaviour
A step that refuses a plan that moved since it was approved makes chant run --components, chant components promote, rollback and redeploy exit 3, where they exited 1, as fan-out and pr-apply already did. An error with exitCode: 3 counts as such a refusal on every one of these commands, so kubectl-apply’s refusal now exits 3 there too. choudoufu’s refusal of a terraform-apply plan from a gated wave or a pull request’s apply also exits 3. --gated-exit does not remap it#3997none: accepted without a warning release, as chant’s breaking changes are. No CLI golden runs a step that refuses its plan; run-components-exit.test.ts, fan-out.test.ts, pr.test.ts and promote.test.ts hold the new behaviour
chant components fan-out --resume <file> and chant components pr-apply --resume <file> carry a component as already-applied only when its input digest (environment, steps, the files its step inputs name, and its dependencies’ input digests) is the one the attempt record holds for it. A component whose input moved runs again, and each prints <component>: changed since the earlier attempt, so it runs again on stderr, where a matching plan digest carried every completed component. The record gains an inputs object. A record without one carries no progress: fan-out prints a warning and runs everything selected, and pr-apply prints does not carry and plans every member. The plan digest and the approval it binds are unchanged#4081none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers --resume; fan-out-inputs.test.ts, fan-out.test.ts and pr.test.ts hold the new behaviour
chant components pr-plan and pr-apply write deployedOutputs in the report when a planned member’s dependency was read from the deployed estate, and the note gains a line, Planned against outputs read from the deployed estate: ..., naming each dependency and its outputs. A planned member whose dependency is not among the components passed to planPrSet is an error. chant components fan-out reads the deployed outputs of each seed that --seed-outputs and the --resume record leave out, before the run, prints <component>: outputs read from the deployed estate (<outputs>) on stderr for each, and stops with nothing run when a read fails, where it ran with those references unresolved#4104none: accepted without a warning release, as chant’s breaking changes are. No CLI golden covers a pull-request note with a dependency read or a fan-out run; pr-run.test.ts, pr-loop.test.ts and fan-out.test.ts hold the new behaviour
chant components pr-plan plans a member whose dependency the change plans too against the outputs that dependency’s plan says it will have, where it read them from the deployed estate, and lists them under plannedOutputs. An output the plan cannot say leaves the reference unresolved and is listed in the member’s unknownInputs, or in buildInputs when it is an artifact a build in the change publishes, which never needs a second approval; a terraform-apply member reading one gets a hole and no plan, where terraform failed for want of the variable. chant components pr-apply holds back a member whose input resolves to another value than its plan read, where it applied the approved plan and marked the member inputsMoved, plans it again once the rest settled, and applies it only under an approval of that plan at <gate>-round-<n>; without one it ends waiting and exits 3. With --wave-gate, a member that waited only on a build’s artifact counts as covered by the pull request’s approval. A cfn-deploy plan reads DescribeStacks when the change set has nothing to apply or the template declares Outputs, and kubectl-apply steps that name outputs read the named objects from the cluster when planning and after applying#3999none: accepted without a warning release, as chant’s breaking changes are. pr-run.test.ts, pr-loop.test.ts, cfn-plan.test.ts, kubectl-apply.test.ts, capability-plugin.test.ts and pr-loop.tofu.test.ts hold the new behaviour
When a failure comes from importing @intentius/chant, a lexicon package or a package the project’s package.json declares, and no node_modules from the project directory up holds it, chant graph, build, lint, components fan-out, pr-plan, pr-apply and lexicon loading print dependencies not installed: <package> does not resolve from <dir> with the hint run npm install (or the project's package manager) before their own error. chant graph no longer prints Refusing to emit graph: source has lint errors when every lint error is such an import, and still prints it beside any other lint error. Nothing is checked before a command runs, so a project that builds without node_modules is unchanged, and so are exit codes and the lint diagnostics themselves#4116none: accepted without a warning release, as chant’s breaking changes are. No CLI golden runs a project without installed packages; dependencies.test.ts, dependencies.e2e.test.ts and the graph and lint handler tests hold the new behaviour
An Op that works in its own checkout (changesCheckout, a work item’s lease) makes its git worktree at .chant/work/[<member>/]<item> in the project’s checkout, where it made it under .git/chant-work/. Before such a run, chant adds /.chant/work/ to the repository’s .git/info/exclude unless .chant/work is already ignored, and the run removes .chant again when it leaves that directory empty. A worktree a crashed run left at the old path is removed on the next run, and its branch is kept#2893none: accepted without a warning release, as chant’s breaking changes are. No CLI golden runs such an Op; work-dir.test.ts and work-lease-run.test.ts hold the new behaviour
Signing is opt-in. chant run <op> with a CHANT_RUNNER_KEY that .chant/trust.json at HEAD does not list prints nothing, where it warned, unless the workspace sets ci.green.signedSince, and a CHANT_RUNNER_KEY that is not an Ed25519 PEM is an error (exit 1), where it warned. chant --help lists ci run’s --in-place, --no-push, --no-require-review, --wave and --verbose. A generated pull-request pipeline runs chant ci run plan|apply --in-place in place of chant components pr-plan|pr-apply, so a project that regenerates its workflow writes a run record on chant/lifecycle from each job, and ci run exits with the command’s own code, such as 3#4156none: accepted without a warning release, as chant’s breaking changes are. No golden sets a key or generates a pull-request pipeline
A component gate’s plan digest, and a pull request member’s for a component with no step that has plan, covers the content of the local files its steps deploy from: a chart, a values file, a kustomize directory, a sync’s source, a build step’s sources. An approval recorded before the upgrade for a component that names such a file no longer matches, so its next pr-apply or gated run asks for a new approval (exit 3). A component with a step that has plan beside steps that name files gains a <component>#inputs member, and a shell or run-agent step is a hole on its member, so the plan note and the set digest change. chant release cut records those paths too, directories file by file with trees on each target and a file that is not UTF-8 as _releases/templates/<digest>.b64, so a cut of a commit cut before gets a new digest. promote --release of such a cut deploys the recorded tree from .chant/release-templates/. A release cut before keeps its digest and is promoted as before#4155none: accepted without a warning release, as chant’s breaking changes are. No golden runs a gate, a pull-request plan or a cut
chant build of an aws project that sets ownership stamps the chant:managed-by, chant:stack and, with ownership.env, chant:env tags on each taggable resource, as it already did under vitest. Outside vitest the aws lexicon read its taggable-type list through the CommonJS __dirname, which is undefined in ESM, and a catch hid the error, so the CLI stamped no ownership tags#3981, #4149none: accepted without a warning release, as chant’s breaking changes are. test/level0-goldens/goldens/fan-out-estate/build.golden moved: each of its log groups, queues, tables and its topic carries the three tags. No other golden builds an aws project with ownership
Security features are opt-in, reversing #4049’s defaults. chant release publish with no release gate in identity.gates publishes a release with no verified signature and prints nothing, where it refused it with release-unsigned or release-signature-unverified; the --json document’s signature.status still says unsigned or unverified, and --allow-unsigned changes nothing. A run with no OIDC token prints no provenance warning, and warnings in --json drops it. A target with no SBOM source publishes without one, where it was refused with publish-sbom-missing. Each refusal and the warning come back when chant.workspace.json sets "security": ["verified-releases"] or ["supply-chain"], a new top-level field. A generated pull-request pipeline’s apply job no longer passes --require-review to pr-apply unless the generator is given requireReview: true, chant build --pr-loop --require-review, or the workspace opts into review-rules; chant ci run apply builds pr-apply without it, and takes --require-review to add it. chant --help describes the new publish behaviour and lists ci run --require-review in place of --no-require-review, which is still accepted#4168none: accepted without a warning release, as chant’s breaking changes are. Nothing that ran before now stops. A project that wants the old behaviour sets the groups. No golden publishes a release or generates a pull-request pipeline. release-publish.test.ts, publish-targets.test.ts, ci-run.test.ts, build.test.ts and declaration.test.ts hold the new behaviour
A publish target with no sbom writes its SBOM from Cargo.lock too. A member whose directory holds a Cargo.toml reads Cargo.lock before package-lock.json or pom.xml, so a Rust project with a web lockfile beside it gets its crates in the SBOM, where it got the npm packages; any other project reads Cargo.lock after the other two, where it found none. The publish-sbom-missing message names Cargo.lock#4168none: accepted without a warning release, as chant’s breaking changes are. No golden publishes a release. publish-targets.test.ts and lockfile-sbom-generator.test.ts hold the new behaviour
A merge never deploys unless apply on merge is opted in. chant build --components --generate <forge> --pr-loop writes a record job on merge in place of apply: it runs chant ci run record, which plans the merged commit, stores the change set, writes _merges/<commit>.json on chant/lifecycle and applies nothing. --apply-on-merge (generator option applyOnMerge: true) writes the apply job as before, and --wave-gate beside --pr-loop is refused without it. chant ci serve runs the record for each new commit, then ci tick from the runs when the workspace declares ci.green, and applies only with --apply-on-merge; it says so on stderr when it starts. A pipeline already committed keeps running chant ci run apply until it is regenerated, and a workspace member’s pipeline that chant workspace check compares with its generator reports WSP101 until it is regenerated or its command gains --apply-on-merge. chant --help lists components pr-record, ci run record and --apply-on-merge#4168none: accepted without a warning release, as chant’s breaking changes are, pending the maintainer’s acceptance. A ci serve host that applied each merge stops applying on upgrade, and its start-up line says why; --apply-on-merge restores it. No golden generates a pull-request pipeline or runs ci serve. generate-pr-pipeline.test.ts for each forge, ci-serve.test.ts, pr-record.test.ts and merge-record.test.ts hold the new behaviour, and the fan-out demo regenerates its committed workflow with --apply-on-merge
Apply on merge applies green commits, not each merge (#4168 step 9). chant build --components --generate <forge> --pr-loop --apply-on-merge writes the record job on a push to the branch and an apply job that runs on the tick’s chant-ci-green workflow run (GitHub), a pushed ci/green/** tag (Forgejo) or a ci/green/ tag pipeline (GitLab). The apply checks out the commit chant ci last-green prints and runs chant ci run apply with no --base, which runs chant components pr-apply --green. That measures from the green commit last applied to the environment, recorded in _green-applies/<env>.json on chant/lifecycle, applies under the approved plans of the merges between when they cover the plan, and otherwise waits at the gate under op green-<sha>. chant ci serve --apply-on-merge records each new commit and applies the newest green one. WSP151 reports a pipeline under trunk-curated+apply-on-merge with no record job, or one whose apply passes --base. chant --help lists --green#4168none: accepted without a warning release, as chant’s breaking changes are. --apply-on-merge first shipped in 0.124.33, so only a pipeline generated with it since then changes, and a committed one keeps applying each merge until it is regenerated. A workspace without ci.green has no green commit, so its apply job fails at chant ci last-green. The pr-loop goldens for each forge, green-cover.test.ts, pr-green.test.ts and ci-serve.test.ts hold the new behaviour
chant --help lists query, which was an unknown-command error. chant query "<sql>" is new and only reads: one SQL statement over the local chant/lifecycle branch, loaded into node:sqlite with table schema version 1. parseRunLedger is exported from the run ledger. A project that never runs it sees no change#4297none: accepted without a warning release, as chant’s breaking changes are. No golden moves
The otel lexicon’s collector pin moves from collector-contrib v0.130.0 to v0.162.0 (COLLECTOR_PIN), and its built-in config types are generated from upstream config.schema.yaml at that release. COLLECTOR_IMAGE, the default image of the k8s, docker and fly collector composites, moves from otel/opentelemetry-collector-contrib:0.130.0 to :0.162.0, so the image those composites write moves with it. Fields the lexicon typed change on the way: the prometheus receiver’s use_start_time_metric and start_time_metric_regex are gone (removed in v0.143.0); the prometheus exporter ignores add_metric_suffixes by default (v0.154.0), so spanMetricsNames(), serviceGraphNames() and PROM301 read translation_strategy for it, and resource_to_telemetry_conversion is deprecated (v0.160.0) for resource_constant_labels; the routing connector’s request context (v0.156.0), the k8snode detector (v0.154.0, alias of k8s_api) and the flat confighttp keepalive fields (v0.160.0) are deprecated; tail_sampling’s inverted decisions lost their gate (v0.155.0); and error_mode defaults to ignore for filter, transform and routing (v0.157.0). OTEL126 and OTEL127 check against the v0.162.0 lists, which add k8s.cronjob.uid, container.image.tags and the detectors added since v0.130.0#3361 (#2525)none: the maintainer accepted it without a warning release on 2026-10-23, as chant has few users. No CLI golden runs a collector composite; the composites’ tests read COLLECTOR_IMAGE
One exit-code table for every command. A step that refuses a plan that moved since it was approved makes chant run --components, fan-out, promote, rollback, redeploy and pr-apply exit 4 where they exited 3, and pr-apply exits 4 for a digest that moved after its approval. chant lock, and pr-apply under ci.locks, exit 5 for a target another pull request holds, where they exited 3. A policy denial exits 7 at pr-plan (where it exited 1) and at pr-apply (where it exited 3). chant lifecycle drift refuses a read with 1 in place of 3. A gate, a decision point and every other wait keep 3, and --gated-exit still remaps only 3#4553none: accepted without a warning release, as chant’s breaking changes are, by the 2026-10-27 ruling on #4553. No CLI golden runs a moved plan, a lock, a policy or a refused drift read
chant lint --format json gives a lexicon post-synth finding its locator, the place in the object (a container, for the WK82* checks) the check named, so chant lint --preset names the finding as chant audit does. A finding with no locator is unchanged, and the only golden that moved is getting-started/lint-format-json.golden, whose WK8105 and WK8203 findings gain it, and also the entity that behold#919 added and the golden had not caught up with#5118shipped without a warning release: the field is additive
The package @intentius/chant and the lexicon packages publish dist/ without src/. The packages esbuild and tsx become optional peer dependencies of @intentius/chant. A project that runs chant build installs tsx itself. Without it the command stops with a one-line error that names npm i -D tsx. The commands chant init and chant carve write tsx into the package.json they create. A file a project read from node_modules/@intentius/chant/src/ is under dist/ nownot filed yetshipped without a warning release: the install fails with a one-line error that names the fix
chant audit --format json and --format sarif give each finding an identity, a stable hash of the rule, the file, the object’s kind and its place in the file, so a rename inside an object leaves it unchanged. SARIF results carry it as partialFingerprints. A finding that had no identity field now has one, and fingerprint on a secret finding is unchanged#5106 (#5121)none: accepted without a warning release, as chant’s breaking changes are. The audit-format-json goldens of adopt-alb-services and terraform-carve-out move with it: each docker finding gains identity, and nothing else in them changes
chant graph --format ir follows a reference written inside a CloudFormation Sub. The holder gains an edge to the entity through the attribute the template names, and an attribute that held { "$intrinsic": true } for such a Sub holds { "$sub": "<template>" } instead. A Sub that names only pseudo-parameters is unchanged#4373none: accepted without a warning release, as chant’s breaking changes are. The fan-out-estate graph-format-ir golden moves with it: each log group gains a LogGroupName $sub and an edge to its table name through LogGroupName, and nothing else in it changes

A pull request that makes one of these changes regenerates the goldens in the same commit:

Terminal window
UPDATE_GOLDENS=1 npx vitest run test/level0-goldens
git diff test/level0-goldens/goldens

The diff shows reviewers exactly what moved, and anything in it beyond the listed change is a level-0 regression. A golden that fails names the command, the example and the file, and points back to this page.

chant