# Arcane — What's New

> Every arcane-cli release, from Arcane's CHANGELOG.md at v1.24.1. Markers: + added, ~ changed, ✓ fixed, - removed, ◌ notes.

HTML: https://arcaneai.net/changelog · Atom: https://arcaneai.net/changelog.xml · This file: https://arcaneai.net/changelog.md

## [1.24.1] - 2026-11-19

### Changed

- ~ Reword the governance roster note and the sign-in callback animation comments so they describe the renderer and the animation generically instead of naming a downstream consumer.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.24.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.24.0...v1.24.1)

## [1.24.0] - 2026-11-18

### Added

- + Set optional primary and secondary accent colors in each roster entry and read them from `spell state --json`.
- + Flag unmanaged PR approval or completion instructions in `spell doctor`.
- + Record terminal grants as ended and identify grant-authorized commits with `Approval` and `Grant` trailers.

### Fixed

- ✓ Bind interactive PR actions to the acting session and require approval of the named actions and their exact targets.
- ✓ Gate Azure DevOps PR votes and completion, and verify strategy, source-branch deletion, and work-item transition before completing.
- ✓ Document how to avoid and recover stacked PRs in rebase-only repositories.
- ✓ Use the top-level `stories` array consistently in the development methodology and in the spells that generate and read `stories.json`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.24.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.23.2...v1.24.0)

## [1.23.2] - 2026-11-12

### Fixed

- ✓ Explain that Arcane's self-hosted source tree cannot export state without a root manifest, instead of suggesting `spell init`.
- ✓ Allow the self-hosted source checkout to report to a configured local presence service; a corrupt root manifest still blocks reporting.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.23.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.23.1...v1.23.2)

## [1.23.1] - 2026-11-11

### Added

- + The Azure DevOps CI/CD guidance explains dependency-specific job conditions and how to keep untrusted logging commands off agent stdout.
- + The release catalog records which top-level package asset directories supply `spell init` profiles, provide optional agent setup, or ship only in the package.

### Fixed

- ✓ Repair the development methodology phase table and check that every row matches its header.
- ✓ Keep PRs in draft while requested fixes or reviews are pending. The build, PR and ship spells run and record security review before requesting approval.
- ✓ Use `urn:arcane:state:v1` as the packaged state schema's identifier and show its package path in CLI help. Consumers that explicitly register schemas by the former ID should use the new identifier. The state document format and version are unchanged.
- ✓ Correct historical release headings to their UTC publication dates. CI and the release workflow enforce descending dates, and the release workflow checks the new heading against its UTC publish date.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.23.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.23.0...v1.23.1)

## [1.23.0] - 2026-11-11

### Removed

- - **The presence channel's pre-1.20 names (ARC-060 decision 14).** The 1.20 series accepted `needs_you` in a report body and a hidden `spell presence report --needs-you` flag, so that a reporter one release older kept working. Both are gone, and so is the deprecated `needs_you` property in `presence.schema.json`. The service now refuses a body with `needs_you` with `400` and `unknown_field`, as it refuses any field outside the contract. `--needs-you` is an unknown option: the reporter prints commander's error to stderr, sends nothing and exits 0, as it does on any refusal. Use `required_actions` and `--required-action`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.23.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.22.1...v1.23.0)

## [1.22.1] - 2026-11-10

### Changed

- ~ The version bump gate now requires a release version change for source updates that are bundled into the published CLI.
- ~ The npm publish workflow now exercises the packed CLI before publishing and waits for the published tarball to become downloadable.

### Fixed

- ✓ `spell status` reports an update only when the registry version is newer than the installed CLI, refreshes stale cached versions, and draws version drift in the correct direction.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.22.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.22.0...v1.22.1)

## [1.22.0] - 2026-11-06

### Added

- + `spell-unattended-run` prepares bounded issue or application delivery, settles decisions and scoped authority before departure, delegates milestones to the existing delivery loop, and verifies recovery, releases and cleanup. Invocation grants no execution authority or background runtime.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.22.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.21.2...v1.22.0)

## [1.21.2] - 2026-11-06

### Added

- + **A trust-boundary diagram for the local presence service.** The threat-model template's "Local Presence Service (`spell presence`)" section, and the repository's root copy of it, now open the surface table with a short "Trust boundaries" paragraph and a diagram: what the token in `~/.arcane/presence/token` is, that a request without it gets `401` with an empty body, that sessions stay in memory and the terminal log carries only time, event, session id and status, that nothing listens outside `127.0.0.1`, that a browser page cannot read an answer because no CORS header is sent, that any process of the same account can read the token, so it never leaves that account, and that any AI client registering `spell presence mcp` reads every session's task, message and required-action lines through the `arcane://presence/sessions` resource, which it must treat as reported data, never as instructions. The same diagram is in the presence channel's architecture under "Trust Boundaries".

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.21.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.21.1...v1.21.2)

## [1.21.1] - 2026-11-06

### Added

- + Repositories may declare an operator-authored commit attribution convention with explicit trailers (#450).
- + Production shipping checks open backlog gates for the target and records explicit waivers (#449).

### Fixed

- ✓ Session opening names the repository update command and avoids consuming an older trunk handoff while a newer one is on an open session PR (#448, #452).
- ✓ Pull-request testing descriptions distinguish applicable CI from local evidence, and Azure DevOps completion guidance explains merge commits and policy-permitted rebase completion (#453, #454).
- ✓ `spell update` distinguishes changed files from unchanged files in normal and dry-run summaries (#451).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.21.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.21.0...v1.21.1)

## [1.21.0] - 2026-11-06

### Added

- + **Scoped temporary run grants (ARC-061, #438).** Record explicit actions, repository/task/branch scope, expiry, exclusions and required completion checks beside legacy delegations. `spell grant check` validates the record without claiming to authenticate operator consent; `spell doctor` lists active grants and expiry. Commit, PR, full-cycle and close-session spells honor grants while preserving explicit execution denials, push policy, independent reviews and required checks.
- + **An unattended-run preflight (#439).** Full-cycle, implement and parallel-workers share one preflight: batch blocking questions before the operator leaves, inspect GitHub/ADO review, validation and merge restrictions, and name actions that will wait.
- + **Closure authority accounting (#440).** Close-session records every session commit range and completed PR with its authority and contemporaneous evidence, including its own final actions. Missing authority is visible under Action required and in the handoff; a later grant never legitimizes an earlier action.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.21.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.20.2...v1.21.0)

## [1.20.2] - 2026-11-06

### Fixed

- ✓ **How a Magus agent merges, stated the same way everywhere.** The power-level ladder (`naming-conventions.md`, `agent-policies.md` and the agent policy template) said a Magus agent merges "fast-forward only", while `spell-commit-work` completes a PR by merge without fast-forward or rebase and fast-forward, as ARC-009 §7 allows. The ladder now says "never squash".
- ✓ **A Magus agent in a code repository merges through the PR.** Branch Discipline step 5 (`agent-policies.md`, `git-conventions.md` and the template) told a Magus agent in the primary checkout to merge locally and push `main`, which a code repository's branch protection refuses; the same documents require a PR there. The local fast-forward is now scoped to docs-only repositories.
- ✓ **The agent policy template gets the linked-worktree path.** Its step 5 and its ff-only recovery block still read as if every agent held `main`; they now say what to do from a linked worktree or a clone, as `agent-policies.md` has since ARC-028.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.20.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.20.1...v1.20.2)

## [1.20.1] - 2026-11-06

The Show Report template is updated from arcane-ui v2.16.0.

### Changed

- ~ **The Show Report template is vendored from arcane-ui v2.16.0.** The committed reports are regenerated from it. Opened automatically by the arcane-ui pipeline because the compiled template changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.20.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.20.0...v1.20.1)

## [1.20.0] - 2026-11-06

The `## ⚠ Needs you` block is now `## 🚧 Action required`: a hand-off of the operator's authority, not a plea for help, with two tiers and done items kept in view ([features/action-required/PRD.md](https://github.com/codemagicianhq/arcane/blob/v1.24.1/features/action-required/PRD.md)). The presence channel's names follow it ([ARC-060](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-060--the-presence-channel-one-package-behind-spell-presence-a-loopback-contract-checkout-keyed-sessions-and-a-prompt-driven-reporting-convention) decision 14).

### Changed

- ~ **The block every spell ends with when only the operator can act.**
  - It is headed `## 🚧 Action required` and framed by a horizontal rule above and below, so it stands apart in a terminal as well as on GitHub.
  - It has two tiers in one block: **Now**, which the work is not correct or complete without, and **When you're at your desk**, which only the operator can do but can wait.
  - Within a session, a done item stays listed, struck through, until the session closes.
  - The fragment is renamed `action-required`, and all 18 spells that carry it are regenerated.
- ~ **The session handoff's `Needs you` field is now `Action required`,** with `Now:` and `At your desk:` lines. `spell-open-session` still reads a handoff written with the old field, as Now items.
- ~ **Presence channel names (ARC-060 decision 14).**
  - The record and report field `needs_you` is now `required_actions`.
  - The event `session.needs_you` is now `session.action_required`.
  - `spell presence report --needs-you` is now `--required-action`, and the MCP tool argument is `required_actions`.
  - Only the block's Now tier is reported, as `waiting`.
  - For the 1.20 series, the service still accepts `needs_you` in a report body, and the CLI still accepts `--needs-you` (hidden from help), so a reporter one release older keeps working. A body that sends both names is refused with `400` naming `needs_you`.

### Notes

- ◌ The Show Report's section still reads "Needs you" until `arcane-ui`, where its template is built, ships the new labels and the caution-tape stripes (`TODO.md`, "Show Report: the Action required section, in arcane-ui").

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.20.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.19.0...v1.20.0)

## [1.19.0] - 2026-11-05

The presence channel's five deferred Should Haves (PRD PC-17 to PC-21, [ARC-060](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-060--the-presence-channel-one-package-behind-spell-presence-a-loopback-contract-checkout-keyed-sessions-and-a-prompt-driven-reporting-convention)'s consequences): a sessions listing, Needs you reports from every spell, MCP resource subscriptions, a `spell doctor` row and live sessions in `spell-open-session`.

### Added

- + **`spell presence sessions [--json]`.** The sessions the service holds, as a table (status, agent, harness, repository, branch, age, task, and each Needs you line; a stale session reads `unknown`) or as the `GET /v0/sessions` document. Exit 1 with `spell presence status`'s wording when no channel answers.
- + **MCP resource subscriptions on `arcane://presence/sessions`.** `spell presence mcp` declares `resources.subscribe` and sends `notifications/resources/updated` on every session event. Clients on the 2026-07-28 revision open `subscriptions/listen` (acknowledged with the subscription id, which every update carries, and ended by `notifications/cancelled`); clients on 2025-11-25 and earlier call `resources/subscribe` and `resources/unsubscribe`. Each era's method is refused in the other. One `/v0/events` feed per MCP process, retried every 5 s while the service is down; losing and regaining the service are updates too.
- + **A "Presence service" row in `spell doctor`.** Never blocking: no presence directory is a silent pass; otherwise it reports the token file's mode (POSIX), whether the recorded service answers, and a `server.json` whose process is gone, which `spell doctor --fix` removes (never the token, a live record or a file it cannot read).

### Changed

- ~ **The `needs-you` fragment** gains one line: when the block is not empty, also run `spell presence report --status waiting --needs-you "<line>"`, one flag per line. Every spell that renders the block carries it; with no channel the command is silent and the spells behave as before.
- ~ **`spell-open-session`'s Workspace Health Check** lists the sessions reporting from the repository's other checkouts (`spell presence sessions --json`, filtered by `repository.root` and `checkout.path`), so the footprint rule weighs work that is running now.

### Removed

- - **`spell doctor`'s "VS Code extension: GitHub Copilot (Chat)" row.** Current VS Code ships Copilot Chat inside the application (observed 2026-11-05: VS Code 1.143.1 bundles `GitHub.copilot-chat` 0.71.0), while the check looked only in `~/.vscode/extensions`, so it warned on machines that had Copilot and advised installing what was already there. Copilot is one optional client among several, so the row is removed rather than taught a per-OS path to the application bundle.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.19.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.18.0...v1.19.0)

## [1.18.0] - 2026-11-05

The local presence channel, `spell presence` ([ARC-060](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-060--the-presence-channel-one-package-behind-spell-presence-a-loopback-contract-checkout-keyed-sessions-and-a-prompt-driven-reporting-convention), with its decision 13 amendment): which session works on what, right now, and whether it waits for you. Loopback only, memory only, observation only; nothing listens until the operator runs `spell presence serve`. `arcane-mcp` stays the component's working name until the Naming Test.

### Added

- + **`spell presence serve | status | stop`.** An operator-started foreground service on `127.0.0.1` (port 27226, `--port` or `ARCANE_PRESENCE_PORT`). It binds before it touches its store, writes only `~/.arcane/presence/token` (32 random bytes, `0600` in `0700`, restricted to the account on Windows; `--rotate` replaces it) and `server.json`, and removes `server.json` on a clean exit. `stop` signals the recorded process only when the service at the recorded port answers with the same start time.
- + **The `/v0/` loopback contract.** `GET /v0/health`, `POST /v0/sessions/report`, `POST /v0/sessions/end`, `GET /v0/sessions`, `GET /v0/sessions/{session}` and `GET /v0/events` (server-sent events: `server.hello` with the current sessions, then one event per change with the full record, and a keepalive every 15 s). Every route requires `Authorization: Bearer <token>`; the only unauthenticated answer is an empty `401`. No CORS headers, no `Host` check. Limits: 64 KiB bodies, 256-character lines, 20 needs-you lines and 32 aliases (more is refused), 256 sessions, 32 subscribers (one that stops reading is closed past a 1 MiB backlog).
- + **`schemas/presence.schema.json`** (`$id` `https://arcaneai.net/schemas/presence/v0`): the session record at the root, every request and response body in `$defs`.
- + **Sessions keyed by checkout.** The first report from a worktree mints `arcane:session:<uuidv7>`; later reports patch the record; 90 s of silence marks it stale, 24 h expires it, and a restart starts empty. The agent block comes from the roster: on a v2 roster `slug` is the entry's id, with its name, origin and definition revision (ARC-060 decision 13).
- + **`spell presence report | end`.** Silent and exit 0 with no service and outside an Arcane repository; one stderr line and exit 0 when the service refuses; cut off at 2 s; never writes a file. `--harness` defaults to a table of observed markers (Claude Code, Codex, Copilot in VS Code and the GitHub Copilot app, each observed 2026-11-05), else `other`.
- + **`spell presence mcp`.** The channel as an MCP server over stdio, hand-written with no SDK: tools `presence_report` and `presence_end`, resources `arcane://presence/sessions` and `arcane://presence/capabilities`. It serves clients that open with `initialize` (protocol 2025-11-25, 2025-06-18, 2024-11-05) and clients on the current revision, 2026-07-28, which send the version on every request and may call `server/discover`.
- + **The `arcane:<type>:<uuidv7>` reference module** (`agent`, `template`, `session`), built to the agent-identity PRD's AI-01 specification.
- + **The `presence-report` fragment** in `spell-open-session`, `spell-close-session`, `spell-commit-work` and `spell-implement`: report at the start, on a Needs you block, at a checkpoint, and end at close; with no channel the spells behave as before.
- + **A "Local Presence Service" section in the threat-model template**: the assets, three actors, fifteen surfaces with how to verify each (thirteen planned, two accepted risks), and two surfaces found in design.

### Changed

- ~ CI's three-OS job builds the CLI and runs the presence store, lifecycle and timing suites.

### Notes

- ◌ **The latency budget's first half** (ARC-060 decision 11): from the start of `spell presence report` to its event at a loopback subscriber, p95 over 20 runs. macOS (local): median 144 ms, p95 149 ms against 500 ms. CI, against 1 s: ubuntu-latest median 132 ms, p95 142 ms; macos-latest median 194 ms, p95 251 ms; windows-latest median 440 ms, p95 468 ms.
- ◌ On Windows the token file keeps explicit entries for SYSTEM and the Administrators group besides the account, which can override any ACL on the machine; the threat-model section and the test say so.
- ◌ No new runtime dependency: `node:http`, `node:crypto` and the new modules carry everything.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.18.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.17.3...v1.18.0)

## [1.17.3] - 2026-11-05

The latest-version check works in an installed copy: `spell status` and `spell state --json --online` report the version npm serves.

### Changed

- ~ **The state export's warning says why the feed URL is unavailable**: `versions.latest: the npm lookup gave no answer (Feed URL unavailable: <reason>); latest and drift.cli_behind_latest are null`, where it said only `(Feed URL unavailable)`.

### Fixed

- ✓ **The latest-version lookup never ran in an installed copy.** `getFeedUrl()` (`src/modules/version-check.ts`) read the package's own `package.json` as `../../package.json`. That is right from `src/modules/`, and one folder too high from the published bundle, `dist/index.js`, where it names a file in the folder that holds the package. Nothing is there, so the read threw and the lookup was skipped. The line dates from 0.14.0: an installed copy's `spell status` printed `Latest: unable to check` on every run, and since 1.17.0 `spell state --json --online` reported `versions.latest: null` and `drift.cli_behind_latest: null` with the warning `Feed URL unavailable`, which left `spell-open-session`'s check of the installed CLI against the latest published version with nothing to compare. The package's `package.json` is now read in one module, `src/package-info.ts`, which the CLI's version and the registry both come from. The feed URL is still `publishConfig.registry`, never hardcoded.
- ✓ **`spell status` no longer prints the manifest's version as `Latest` when the registry gives no answer.** A lookup that could not reach the registry, or got a reply naming no latest version, reports no error, and the footer then fell back to the version recorded in `.arcane.json`. That path could not run while the lookup itself never ran. The footer now says `Latest: unable to check` whenever the lookup has no answer, and `spell state --json --online` keeps its `versions.latest` warning.

### Notes

- ◌ Why no test caught it: every test of the lookup imported the source module, where the path is right, or mocked it, and the one test that ran the built CLI's `spell status` asserted only that the footer contained `Installed:`. `test/installed-cli-version-lookup.test.ts` now copies the built bundle into the layout `npm install` produces, beside a `package.json` whose `publishConfig.registry` is a registry on loopback, and checks both commands against it; it fails on the 1.17.2 bundle.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.17.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.17.2...v1.17.3)

## [1.17.2] - 2026-11-04

A link at a file Arcane writes can no longer take the write outside the repository, and a roster can no longer name paths elsewhere ([#422](https://github.com/codemagicianhq/arcane/pull/422)).

### Changed

- ~ **`openclaw.workspace_root` must be `~/.openclaw` or a folder inside it.** A roster whose OpenClaw root names any other directory now fails to load, with a message naming the field, in every command that reads the roster (`spell agents sync`, `spell state --json`, ...). Move the workspaces under `~/.openclaw` and update the field to continue.

### Fixed

- ✓ **Security: writers refuse a link at the file itself that resolves outside the target directory.** 1.12.4 refused a linked *directory*, but a link *at the file* was replaced only for managed files; every other writer wrote through it. On Linux or macOS a cloned repository whose `CLAUDE.md` linked to `~/.ssh/authorized_keys` could have `spell agents sync` append to it, and a linked `.arcane/hooks/pre-commit` could overwrite a shell profile and make it executable. The marker merge and strip (`CLAUDE.md`, `AGENTS.md`, `.github/copilot-instructions.md`), the git hook and its `chmod`, `.arcane/agents.yaml` and the copied definition files, `.github/agents/*.agent.md`, the OpenClaw workspace files and `openclaw-roster.json`, `spell doctor --fix` and `.arcane.json` now follow the link (a dangling or looping one included) and refuse with a `Linked file:` message naming where it would land. A link that stays inside, such as `CLAUDE.md` -> `AGENTS.md`, keeps working; links in the user tier's store are still followed.
- ✓ **Security: `.arcane/agents.yaml` is checked when it loads.** A roster `name` or `id` that is empty, `.` or `..`, or contains `/`, `\` or a control character such as a newline is refused, and so is an `epithet` with a control character: each became a file name or was rendered unescaped into an appended file.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.17.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.17.1...v1.17.2)

## [1.17.1] - 2026-11-04

Commit diagrams name their commits.

### Changed

- ~ **Every `gitGraph` a spell draws from commits now labels each commit `<short-sha> <summary>`, never the SHA alone** (rule 8 of `universal-agent-rules.md`): the short SHA, then two to five words from the commit subject already in scope, so the diagram reads without the log beside it. `spell-commit-work`'s and `spell-create-pull-request`'s branch-topology templates and `spell-close-session`'s session commit graph carry the new form; `spell-open-session`'s version diagram, whose points are versions, is unchanged.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.17.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.17.0...v1.17.1)

## [1.17.0] - 2026-11-04

`spell state --json` exports a repository's Arcane state as one versioned JSON document, so programs stop parsing Arcane files.

### Added

- + **`spell state --json`: the files-first state contract (ARC-044 decision 1).** One JSON document on stdout and nothing else, exit 0; without `--json` a one-line pointer and exit 2; without a manifest the `spell status` wording and exit 1. The document carries `versions` (files, CLI, latest, drift, components), `git` (branch, trunk, ahead/behind, uncommitted, origin with its credentials stripped, worktrees, pull request), `indexes` (the decision log with any `AA-NNN` prefix, the TODO, IDEAS and DONE books as first lines with content-hash locators, the journal), `config` (the persisted manifest answers, `null` when never asked), a hub's `registry`, every `features/*/PRD.md`'s frontmatter status, the effective `agents` roster as `roster-v2` with `origin` and `definition_revision`, and `warnings[]` for every source that degraded to `null`. Derived, never authoritative; deterministic (two runs differ only in `generated_at`); every git read goes through `runGit` with its timeout, and `worktree list` and `remote get-url` are now classified as reads.
- + **The schema `https://arcaneai.net/schemas/state/v1`, version `1.0.0`, ships as `dist/assets/schemas/state.schema.json`** and is linked from the README. Additive-only from here: a field is never removed or retyped; a breaking change is a new major and a new decision record. The test suite validates every fixture export against it with `ajv`, a devDependency only (ARC-037 decision 8), and keeps the serializer's key order in step with the schema's property order.
- + **`--online` is the one switch for every network read**: the npm lookup behind `versions.latest` and `drift.cli_behind_latest`, and the pull-request lookup (`gh pr list` for GitHub, `az repos pr list` through the resolved Azure CLI launcher for Azure DevOps). A plain run makes no network request; a missing tool, no authentication or a timeout yields `null` plus a warning and exit 0.
- + **`--include-local-paths`** adds, on a hub, each registered repository's clone path on this machine only; the registry's `clones` map is never exported (ARC-030 decision 6).
- + **`spell-open-session` reads the export first.** A shared fragment in its Workspace Health Check says: when `spell state --json --online` is available, take the versions and git readings from its document; otherwise proceed as before. Prose only; nothing changes where the command is absent.

### Changed

- ~ **`spell status` computes its versions through the same module** (`src/modules/state/versions.ts`) and prints byte-identical output; the version-drift diagram keeps its three-string signature.
- ~ **The decisions parser moved** from Show Report to `src/modules/state/decisions.ts` and now reads `ADR-` and any other uppercase-prefixed logs as well as `ARC-`; Show Report imports it from there, unchanged in behaviour.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.17.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.16.1...v1.17.0)

## [1.16.1] - 2026-11-03

The README's demos are generated from the real CLI at every release, as animated SVG.

### Changed

- ~ **The README's three demos are animated SVGs captured from the built CLI (ARC-058).** `spell init --profile full`, `spell agents init` with the Arcanos naming, and `spell agents init` with custom names replace the hand-recorded GIFs, which still showed 0.13.0 and 33 spell prompts. Each SVG is stamped with the version it was captured at, uses no script, and holds its last frame under reduced motion. The GIFs and all five recorder scripts in `assets/demo/` are removed. This release exists so the npm page points at the new files: npm loads the README's images from the default branch, where the GIFs no longer are.
- ~ **`npm version` regenerates the demos, and CI checks them.** `npm run fix:demos` builds and rewrites `assets/demo/*.svg`; package.json's `version` script runs it and stages the result. `npm run check:demos`, a new blocking CI step after the build, fails when a demo is missing, stamped with another version than `package.json`, different from what the current CLI prints, left over from a removed scenario, or shown by the README without a scenario. Both scripts refuse a build older than `src/`, and refuse a demo that would publish the machine's home directory, checkout path, host name or user name (on CI, only the paths). Generating the demos needs Node 18.18+ or 19+.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.16.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.16.0...v1.16.1)

## [1.16.0] - 2026-11-03

`spell-todo --prune` keeps the list of finished work: it moves checked items to a done book instead of deleting them.

### Changed

- ~ **`spell-todo --prune` now moves checked items to `DONE.md`; set `todo_done_book: false` to keep deleting (#415).** Each approved item is copied word for word, with its continuation lines, under the heading path it had in the TODO book, and only then removed from the TODO book; the done book's file and heading are created when missing. The done book is append-only: `--prune` never edits or removes a line already in it. The outcome check, the report-first step and the one fingerprinted batch approval are unchanged; the report now reads "Move N items to DONE.md", and the fingerprint covers the done-book path. A consumer hub reported keeping 246 checked items rather than lose that list to deletion.
- ~ **`.arcane.json` takes an optional `todo_done_book` field.** A Markdown path relative to the TODO book's directory (default `DONE.md`), or `false` to opt out. A value that is absolute, contains `..`, sits in a dot-directory such as `.arcane/`, is not a `.md` file, or names a core record (`TODO.md` at any depth, `IDEAS.md`, `DECISIONS.md`, `CHANGELOG.md`) is rejected when the manifest is read. `--prune` also refuses to write through a symbolic link.
- ~ **`records-conventions.md` names the done book as the home for completed TODO items**, in a new "Completed TODO items" section.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.16.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.15.1...v1.16.0)

## [1.15.1] - 2026-11-02

The Show Report template is updated from arcane-ui v2.15.0.

### Changed

- ~ **The Show Report template is vendored from arcane-ui v2.15.0.** The committed reports are regenerated from it. Opened automatically by the arcane-ui pipeline because the compiled template changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.15.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.15.0...v1.15.1)

## [1.15.0] - 2026-11-02

A new spell for splitting a plan into independent slices that worker sessions prepare in parallel, while one orchestrator session runs the protocols.

### Added

- + **`spell-parallel-workers` coordinates one orchestrator session and several worker sessions.** Each worker takes one slice of work in its own worktree, cut from the current stack tip, and leaves a prep branch plus a short note (files changed, the shared-file edits the orchestrator will need, the checks it ran and their results) in a shared notes folder outside the repository. Workers never touch the shared files, commit to the stack branches, push to shared branches, open pull requests, queue pipelines or write docs. The orchestrator owns the plan, the shared files, the merge order and every protocol step; when the stack reaches a slice it rebases the prep branch, applies the shared-file edits, runs the full checks and both reviews, fixes every finding and opens the pull request, and the operator approves and merges. The spell states when to use it (disjoint footprints, shared-file edits listable up front) and when not to, carries the worker brief and note templates, the integration checklist, and the failure cases (a worker needs a shared file, two workers collide, a prep branch goes stale, a slice's gates differ from the plan), and includes a flow diagram. It joins the `spells-build` component, so the catalog and README now count 43 spells.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.15.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.14.3...v1.15.0)

## [1.14.3] - 2026-11-02

The Show Report template is updated from arcane-ui v2.10.0.

### Changed

- ~ **The Show Report template is vendored from arcane-ui v2.10.0.** The committed reports are regenerated from it. Opened automatically by the arcane-ui pipeline because the compiled template changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.14.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.14.2...v1.14.3)

## [1.14.2] - 2026-11-01

### Changed

- ~ **Published EAS backports are anchored by annotated tags.** The backport recipe verifies the local and remote tag targets against the published update's commit and checks that future builds can run from the tag before retiring the temporary branch. MR-15 names the same durable update path.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.14.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.14.1...v1.14.2)

## [1.14.1] - 2026-11-01

The Show Report template is updated from arcane-ui v2.5.0.

### Changed

- ~ **The Show Report template is vendored from arcane-ui v2.5.0.** The committed reports are regenerated from it. Opened automatically by the arcane-ui pipeline because the compiled template changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.14.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.14.0...v1.14.1)

## [1.14.0] - 2026-10-29

A new spell for opening the Apple and Google Play developer accounts an app needs before it can ship, and a release now refuses to go out without its changelog entry.

### Added

- + **`spell-app-store-accounts` walks a founder through opening Apple Developer Program and Google Play Console accounts.** Organization or Individual for each store, the D-U-N-S Number prerequisite, the verification documents each store asks for, the fees, a realistic timeline with a buffer, and post-approval hardening (two-factor authentication, team roles, signing-key governance). It stops at approved, hardened accounts; building and submitting apps stays with `spell-eas-store-deploy`. The store facts carry a "last verified" date and link to each store's own help pages. The spell joins the `spells-build` component, so the catalog and README now count 42 spells.

### Changed

- ~ **A release needs its changelog entry.** `release-drift.yml` refuses to cut a GitHub Release, and so never starts the npm publish, when `CHANGELOG.md` has no `## [x.y.z] - YYYY-MM-DD` heading for the version `package.json` carries; the message names the heading to add and how to start the workflow again by hand. The same rule runs in CI as `npm run check:changelog` (`scripts/check-changelog.ts`), so the pull request that bumps the version fails before it merges, and the check also holds every release heading to that form and every section heading to the standard set: Added, Changed, Fixed, Removed, Notes. Three one-off section headings in older entries were renamed to fit (`Migration` and `What this deliberately does not claim` to `Notes`; `Documentation` folded into `Changed`); no entry text changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.14.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.13.2...v1.14.0)

## [1.13.2] - 2026-10-29

The README's "What the framework does" block is now rendered from a structured source, and the catalog carries the same capabilities as data. No CLI behavior changes.

### Added

- + **`src/config/capabilities.ts` is the one home of the capability lines.** Six themes (`id`, `title`, optional `lede`) and sixteen lines (`id`, `headline`, `text`, `holds[]`, `source`, optional `limit` and `qualifier`, `theme`), with the legend and the three-word vocabulary of how a line holds (`cli`, `spell`, `convention`). `docs/spell-catalog.json` gains a `capabilities` key carrying all of it verbatim, and the README block between `<!-- arcane:capabilities:start -->` and `<!-- arcane:capabilities:end -->` is rendered from it, byte-for-byte what the hand-written block said. `npm run check:spell-catalog` fails when either drifts, and when the source is malformed: a duplicate id, a line under an unknown theme or hold, a theme with no lines, an empty headline, text or source, or a line whose lack of a mechanism does not match the `limits` theme. Edit the prose in the source, then `npm run fix:spell-catalog`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.13.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.13.1...v1.13.2)

## [1.13.1] - 2026-10-29

The published catalog now describes the whole framework as data: governance documents, profiles, agents and a flat spell list join the spell groups. No CLI behavior changes.

### Added

- + **`docs/spell-catalog.json` gains four top-level keys.** `spells[]` is the flat view of every spell with `id`, `shortName`, `name`, `description`, `tagline`, `claudeDescription`, `argumentHint`, `group` (its `spells-*` component) and `executiveSummary[]`, the bullets of the spell's Executive Summary with wrapped lines folded. `governance[]` carries each distributed governance document's `slug`, `title`, `tagline`, `status`, `audience` and `tags`. `profiles[]` expands `src/config/profiles.ts` into `id`, `displayName`, `description`, `spellIds[]`, `governanceSlugs[]` and `extras[]` (the profile's other components, such as templates and baselines). `agents[]` joins `src/config/agent-roles.ts` with the framework's own naming strategy: `id`, `role`, `category`, `codename`, `epithet`. `groups[]`, `governanceDocs[]` and the three totals are unchanged.
- + **`npm run check:spell-catalog` covers the new fields.** It fails when a spell has no `argument-hint`, when a governance document lacks `status`, `audience` or a `tags` list, when a role in `agent-roles.ts` has no definition file or no codename, or when a definition file has no role; and the committed catalog must match what the generator produces, so a stale field of any kind is drift.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.13.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.13.0...v1.13.1)

## [1.13.0] - 2026-10-29

Every spell and governance document now carries a `tagline`, and the published catalog carries it too.

### Added

- + **`tagline` is a required frontmatter field on every spell and every governance document.** One sentence of at most 60 characters with no trailing period: a one-liner a consumer of `docs/spell-catalog.json` can show as-is (`Start a logged working session`), where `description` keeps telling the AI client when to invoke the spell. Each spell entry in `docs/spell-catalog.json` gains a `tagline` field; every existing field keeps its name, type and meaning. `npm run check:spell-catalog` now fails when a spell or a distributed governance document has no tagline, or when one is empty, longer than 60 characters, more than one sentence, or ends with a period. `spell-authoring-standards.md` lists `tagline` in the D1 Bronze bar, with the frontmatter block a new spell starts from.

### Changed

- ~ **The generated Copilot prompt shims carry the new field**, because they copy each spell's frontmatter block verbatim. `spell update` rewrites them as managed files; VS Code ignores a field it does not read.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.13.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.12.4...v1.13.0)

## [1.12.4] - 2026-10-23

A security fix: a directory link inside a repository no longer takes Arcane's writes and deletes outside it.

### Fixed

- ✓ **Managed files are written and deleted only inside the repository, whatever its directories link to.** When a directory such as `.claude`, `.github` or `.arcane` was itself a symlink or a Windows junction (a cloned repository can carry a symlink), `spell init`, `spell update` and `spell add` wrote managed files wherever it pointed, `spell update --prune` deleted there, and `spell uninstall` removed `.arcane/agents` and `.github/agents` recursively there: path checks compared paths as spelled, and the #357 handling looked only at the last component. Each path's directory is now resolved by real path, every link followed, before anything is created. `spell update` and `spell init` check every path they will write before writing any and refuse the whole run, naming each link and how many managed paths sit under it; a dry run refuses too, `spell update` refuses before it asks about newly available components, and an up-to-date `spell update`, which writes nothing, is not refused. `spell add` refuses the component ("Nothing was written"), `--force` included. `--prune` reports such an orphan instead of deleting it. `spell uninstall` and `spell doctor --fix` skip such a path and name it; `spell agents init`, `spell agents sync` and the git hook installers refuse it; removing a hook through such a link is declined, and `spell unblock-push` reports the hook as still in force. A link that stays inside is still followed, and a repository reached through a link of its own is unaffected. The boundary is the directory Arcane is installed in, so in a monorepo sub-package a link to another part of the same repository is refused too; each message names that directory. **A run that used to succeed can now be refused:** a deliberate link that leaves the repository has to become a real directory, and a repository that wants machine-wide spells sets `spell_scope: "user"` instead.
- ✓ **A roster name can no longer write an agent file outside the repository.** `spell agents sync` uses each name in `.arcane/agents.yaml` as a file name under `.github/agents/`, so a name such as `../../../x` wrote a file beside the repository; the same check refuses it.

### Notes

- ◌ **The user tier is unchanged.** `spell init --user`, `spell update --user`, `spell uninstall --user` and `spell agents init|sync --user` still write through a linked `~/.arcane`, `~/.claude` or `~/.agents`: only the operator can make a link in a home directory, and dotfile managers commonly do.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.12.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.12.3...v1.12.4)

## [1.12.3] - 2026-10-23

Two lessons from consumer work move into the spells, issue wave 2026-10-20 B ([#375](https://github.com/codemagicianhq/arcane/issues/375), [#376](https://github.com/codemagicianhq/arcane/issues/376)). Text-only: no CLI behavior changes.

### Changed

- ~ **`spell-eas-store-deploy` covers the EAS Update lifecycle around a store release** (#376), in a new section of four parts. *Stranded runtimes:* every repeat deployment starts with an audit of the live runtimes, listed from each store console's release history, with each version's runtime and commit from `eas build:list --app-version` and the phones on each from `eas channel:insights`, because with `runtimeVersion.policy: appVersion` a phone that never installs the next store version receives nothing new and nothing reports it; each runtime is judged as it will stand once the release ships, and the release report carries the result. A runtime crashing on a bad update is first republished to its last good update or rolled back to its embedded bundle; a stranded one gets a backport, published with the operator's go-ahead to the store channel with the store build's `--environment` (never `--auto`) from the commit it runs, proved by reading the update back, from a git branch that is never merged. *A store update prompt:* server-held "latest" and "minimum" versions per platform, clients that send their platform and version as headers, `426 Upgrade Required` below the minimum, and the prompt mounted outside the error boundary. *Toolchain pinning:* on any machine running `eas build --local` whose Xcode can change, the Xcode is pinned with `DEVELOPER_DIR` behind a guard step whose result is read before a store build, and `DTXcode`/`DTSDKName` are compared before any code is read when a store build crashes at launch. *When to set "latest":* only once the store listing offers the version, and the minimum only to a version every user can install and run. The consumer session's specifics are recorded as dated observations to re-check; where the issue's wording disagreed with the eas-cli source or the expo-updates documentation, the spell follows what was checked.
- ~ **`spell-eas-store-deploy`'s OTA alignment rule reads the update back with `eas update:view --json`**, whose `gitCommitHash` and `runtimeVersion` name the commit and runtime; the human-readable view prints no commit.
- ~ **`mobile-release-standards.md` gains two release gates** (#376): **MR-15**, every store version still in use needs an update path, inventoried from the store releases and audited before each store release; **MR-16**, any build machine whose Xcode can change between builds builds only with its pinned toolchain. Both are worded to hold whatever tool built the binary, and `spell-eas-store-deploy` carries the EAS commands.
- ~ **`spell-test` checks HTML and UI deliverables in a real browser** (#375), in a new step 4a: serve the page over local HTTP with the headers production sends, never from `file://`, and check that it declares its character set; capture it headless at 1440, 390 and 320 px wide, in dark and light, with and without reduced motion, once its animations settle; read the console for script errors and content-security-policy violations; compare each capture with its counterpart from the base branch, taken the same way; keep the captures that differ in the feature's design record, never one showing a secret or personal data, and none in a sensitive repository. A story whose page has not been through the step does not pass, and the evidence template gains a Visual Verification block.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.12.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.12.2...v1.12.3)

## [1.12.2] - 2026-10-21

Three defects in `spell update` that left a consumer repository silently wrong, from issue wave 2026-10-20 ([#357](https://github.com/codemagicianhq/arcane/issues/357), [#358](https://github.com/codemagicianhq/arcane/issues/358), [#359](https://github.com/codemagicianhq/arcane/issues/359)).

### Changed

- ~ **The routing block tells agents in a user-scoped repository to stop, not improvise.** For `spell_scope: "user"`, the Spell Routing section `spell agents sync` renders into `CLAUDE.md`, `AGENTS.md` and `.github/copilot-instructions.md` says that spells come from the user tier and that a spell which does not resolve means `spell init --user` is needed on this machine (#359). Run `spell agents sync` to carry it into an existing repository.

### Fixed

- ✓ **Managed files are written as regular files, never through a symlink** (#357). `spell update`, `spell init` and `spell add` unlink a symlinked destination before writing. In `spell update`, which also reads the index, on a `core.symlinks=false` checkout where a path the index tracks as a symlink (mode `120000`) holds a regular file, the entry is rewritten and re-recorded as `100644`, because git keeps the symlink mode of an existing entry there and would commit the new shim text as a link target; the update stages that typechange and says so. A symlinked shim, or one whose whole body is a single relative path (a link written out as text), is no longer kept as a "customized" client file; a shim trimmed to its one-line `@include` still is. The summary lists every conversion, and `spell doctor` gains **Managed files are regular files (#357)**, a blocking check that names each managed path tracked as `120000` and each client shim whose body is only a path, with the fix.
- ✓ **`spell update --prune` can remove an orphan with no recorded hash** (#358). Where a component was installed before Arcane recorded content hashes, git stands in for the hash: a file that is tracked, clean, and touched by exactly one commit is pruned; anything less is reported with the manual route (`git rm` the file, then drop the component's entry from `.arcane.json`), as is a directory that is not a git repository or a shallow clone, whose history is truncated. A retired component's entry lists only the files still on the orphan path, and disappears once all of them are gone. An edit made before the file's first commit is invisible to this evidence, and the message says what the evidence is.
- ✓ **A `spell_scope: "user"` repository refuses to update without its user tier** (#359). On a machine with no readable `~/.arcane` manifest, `spell update` exits 1 before writing anything, naming `spell init --user` and the `spell_scope` alternative; a dry run refuses too. It used to warn and succeed, leaving `CLAUDE.md` and `AGENTS.md` routing to spells that resolved to nothing.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.12.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.12.1...v1.12.2)

## [1.12.1] - 2026-10-19

A patch release carrying two fixes merged after 1.12.0: paths are compared with git by their real path, and push-safety folds backslashes only on Windows.

### Changed

- ~ **The governance documents describe the pre-commit hook as it is.** `git-conventions.md` and `testing-standards.md` said `.husky/pre-commit` runs only lint and typecheck; it runs the staged org-token scan, `lint`, `typecheck`, `typecheck:all` and `doctor:leaks`. What they conclude is unchanged: the hook runs no tests and validates no commit message.
- ~ **`scripts/` and `test/` are type-checked.** `npm run typecheck:all` (`tsconfig.all.json`) covers `src`, `scripts`, `test` and the root config files, and runs in CI and in the pre-commit hook ([#365](https://github.com/codemagicianhq/arcane/pull/365)).

### Fixed

- ✓ **Symlinked paths are compared with git by their real path** ([#364](https://github.com/codemagicianhq/arcane/pull/364)). Git prints paths with symlinks resolved, so two checks that compared such a path with one spelled as given never matched through a symlink (macOS's `/var` to `/private/var`, a linked projects folder). ARC-041's guard against reading a local org-token file from inside the repository failed open when the file was named through a symlinked directory; it now refuses it. `isArcaneHooksPath` judged an absolute `core.hooksPath` spelled through a symlink foreign, so a working hook was reported as not enforced, `installHook` refused the path and `removeHook` left it in place; it now recognises its own hooks path however it is spelled, while a foreign directory that `.arcane/hooks` itself links to is still refused. The new `resolveRealPath` (`src/modules/real-path.ts`) resolves a path as far as it exists and re-appends the rest, so a file not created yet is placed instead of failing.
- ✓ **Push-safety folds backslashes on Windows only** ([#368](https://github.com/codemagicianhq/arcane/pull/368)). On macOS and Linux a backslash is an ordinary file-name character, but push-safety folded it to a slash after resolving a hooks path. A foreign directory literally named `.arcane\hooks` passed as Arcane's own, and in a repository whose own path contains a backslash Arcane wrote a `core.hooksPath` git could not find, so the push-block hook never ran while `isHookEnforced` reported it enforced. Both folds are Windows-only now.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.12.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.12.0...v1.12.1)

## [1.12.0] - 2026-10-12

A browser sign-in now ends on the Arcane Gate: one page per result, lit by a short sequence, with nothing loaded from outside the page (ARC-055). `spell login`, `spell logout` and `spell whoami` first shipped in 1.11.4 without a minor bump (see that entry); this is the minor release that carries them.

### Added

- + **Sign-in result pages.** After a browser sign-in, the browser shows one of three pages compiled by arcane-ui 2.4.0 and vendored under `dist/assets/sign-in/`: success, denied or failure. Each shows the sign-in Gate lit by a CSS-only sequence for its result (about 1.3 to 2.4 seconds, never looping; reduced motion shows the final frame at once) and carries its art and fonts inside it, so it loads nothing. The fonts' licence texts and a notice ship beside the pages.
- + **A denied result.** A sign-in cancelled at the identity service (`error=access_denied`) now ends on `/result/denied`, which says the sign-in was not completed, instead of on the failure page. Any other provider error, and a failed token exchange or save, still ends on `/result/failure`. The terminal messages are unchanged.

### Changed

- ~ **Each result page's content security policy allows only its own stylesheet, by SHA-256 hash**, plus `data:` images and fonts; `style-src 'unsafe-inline'` is gone. The hash is computed from the page as it is served, so re-vendored pages need no policy change.
- ~ **The listener waits for the result page to be sent before it closes.** It settles the sign-in once the page has been handed to the operating system, or the browser has hung up, so a large page is never cut short.
- ~ **An install missing the pages says so** and shows plain pages for all three results under the same policy; the sign-in itself does not depend on them.
- ~ **The loopback callback hardening of 2026-10-08 ships in this release** (ARC-054 decision 9). A validated callback redirects the browser to a fixed, query-free result route, and a replayed callback is rejected. Result pages send `Cache-Control: no-store`, `Referrer-Policy: no-referrer` and `X-Content-Type-Options: nosniff`. Success is reported only after the session is stored, and still reported when the browser never follows the redirect.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.12.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.5...v1.12.0)

## [1.11.5] - 2026-10-08

### Fixed

- ✓ The browser sign-in callback reports success only after refresh-token validation and local session storage succeed. A malformed response or failed keychain save now reaches the failure page.
- ✓ Authentication coverage now enforces 95% per-file thresholds for `login.ts` and `oidc.ts`, backed by failure-path and browser-launch tests.
- ✓ Private organization references in historical notes and distributed character image prompts use placeholders or descriptive text so the package build's privacy scan passes.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.4...v1.11.5)

## [1.11.4] - 2026-10-07

The branch formats are written in one place, and every assistant reads them at session start (TODO.md "Claude Code worktree branches bypass Arcane's branch-naming standard"; decision drafted as ARC-053).

### Added

- + **`spell login`, `spell logout` and `spell whoami`.** Sign in to the Arcane account from the CLI: a browser flow with PKCE by default, `--device-code` for machines with no browser. The session is kept in the OS keychain, split across entries so Windows' credential-size limit does not apply; with no keychain, `spell login` refuses unless `--insecure-storage` is passed. `whoami` shows who is signed in (`--verify` checks with the identity service); `logout` removes the session from this machine. Decisions in ARC-054; requirements in `features/spell-login/PRD.md`. (Entry added 2026-10-09; the commands shipped in this release without one.)

### Changed

- ~ **One branch-naming rule, three actors, one source.** The rule now lives in the ARC-039 fragment `.arcane/spells/_fragments/branch-naming.md`: humans `type/short-description`; interactive sessions, including every worktree they open and every parallel subagent they spawn, the session format with `-<agent>` for a parallel subagent; autonomous roster agents the agent-slug format, unchanged. A tool-generated name such as `claude/<adjective>-<surname>-<hash>` is noncompliant everywhere. `git-conventions.md`, the Copilot instruction file, `spell-open-session` and `spell-create-pull-request` host the rule as fragment spans; `agent-policies.md`, the agents template, `universal-agent-rules.md`, `spell-commit-work`, `spell-architect` and `spell-full-cycle` reference it instead of restating it. A test scans every shipped Markdown asset, every TypeScript source and this repository's own instruction files for a format written anywhere else.
- ~ **`spell agents sync` renders a `## Branch Naming` section into `CLAUDE.md`, `AGENTS.md` and `.github/copilot-instructions.md`**, read from the same fragment, between the spell routing table and the roster. It tells the assistant to supply the branch name when a client offers to create a worktree or a parallel agent (Claude Code's `EnterWorktree` takes a `name`), never to accept a generated one.
- ~ **The rename gate is its own fragment, `branch-rename-gate`**, hosted by `git-conventions.md`, `spell-open-session`'s Mutation Guard and `spell-create-pull-request`'s Step 0 (a rename-before-PR gate over `git worktree list`). It acts only on the current worktree's branch and never on a branch an open pull request depends on.
- ~ **The fragment parity axis covers every Markdown asset**, not only spells. `hostsFragmentSpan` (new in `spell-compiler.ts`) treats a marker on its own line as a span and a marker quoted in prose as text, so the authoring standard's explanation of the mechanism is no longer mistaken for a consumer.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.3...v1.11.4)

## [1.11.3] - 2026-10-04

A closed issue is no longer treated as proof its change shipped ([#339](https://github.com/codemagicianhq/arcane/issues/339)). Text only; no CLI behavior changes.

### Changed

- ~ **`spell-close-session` step 10 checks the merged diff, not just the issue state.** After a merge it covers every issue the PR's body closes and every issue GitHub links to it (`gh pr view <number> --json closingIssuesReferences`), and confirms the merged diff contains the change each one asked for. An issue that closed without its change is reopened with a comment naming the merged PR and listed under `Needs you`. It also covers closures from commit messages, falls back to REST when GraphQL is unavailable, and reopens only when the closure came from this merge, the state reason is `completed`, and the change is not already on trunk. A diff that touches only tracking files never counts as the change (#339).
- ~ **`spell-create-pull-request` forbids a closing keyword before an issue the PR does not close, even in a negation.** "Does not close #N" closes #N. Twice on 2026-10-04 a PR body that said "does not close #N" closed that issue on merge, though the PR only changed its `FEEDBACK.md` marker (#332 via #334, #339 via #340). Step 6 also lists issues linked in GitHub's sidebar and points to step 10's diff check (#339).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.2...v1.11.3)

## [1.11.2] - 2026-10-04

Two follow-ups from the 1.11.1 session ([#332](https://github.com/codemagicianhq/arcane/issues/332), [#333](https://github.com/codemagicianhq/arcane/issues/333)). This release changes text only; CLI behavior is unchanged.

### Changed

- ~ **Commit trailers for a runtime that withholds its model.** `git-conventions.md`'s Required Commit Trailers table now defines `Model: withheld` with `Model-Source: withheld-by-runtime` for a runtime that forbids disclosing its model. A new "When the runtime withholds the model" rule keeps `Agent` and `Provider` required, forbids guessing a model name, and says that not knowing the model is not grounds for `withheld`. `spell-commit-work`'s trailer template points to it (#333).
- ~ **`spell-feedback` says where an issue lands and lists what it filed.** The disclosure confirm now opens by naming the target repository in full (`owner/repo`) and saying a public issue will be created there. `--flush` now ends with a table of every issue the run created: number, URL and the `FEEDBACK.md` heading it came from. Filing an item now replaces its `<!-- upstream: queued -->` marker with a `filed` marker, so the next `--flush` can't offer it again and create a duplicate public issue (#332).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.1...v1.11.2)

## [1.11.1] - 2026-10-04

Eight lessons from consumer sessions move into the spells that would have prevented them ([#297](https://github.com/codemagicianhq/arcane/issues/297), [#298](https://github.com/codemagicianhq/arcane/issues/298), [#299](https://github.com/codemagicianhq/arcane/issues/299), [#321](https://github.com/codemagicianhq/arcane/issues/321), [#322](https://github.com/codemagicianhq/arcane/issues/322), [#323](https://github.com/codemagicianhq/arcane/issues/323), [#324](https://github.com/codemagicianhq/arcane/issues/324), [#325](https://github.com/codemagicianhq/arcane/issues/325)). Text-only: no CLI behavior changes.

### Changed

- ~ **`spell-plan` checks acceptance criteria against the PRD's Won't Have list** (new step 5a), and `spell-scope`'s Quality Quick-Check runs the same check. A criterion that can only hold if an excluded item is done is flagged before the PRD is saved, not discovered during implementation (#325).
- ~ **`spell-bug` diffs the environment before the code** when a regression is reported as "it worked before" and the code the symptom points at is unchanged: compare the last good build's dependency and platform set, read the owning dependency's actual implementation and tracker, then prefer the upstream fix plus a stopgap (#297).
- ~ **`spell-eas-store-deploy` keeps OTA updates aligned with the installed binary.** The app version is bumped in the same PR as any native dependency change; until that lands, OTAs are published only from the last commit whose native dependency set matches every binary in use, and alignment is proved by reading the published update back (`eas update:view`). A new Console automation section requires reload-and-re-read verification of every console save (`EV-01`), leaves large uploads and sign-ins to the operator, and records the source session's console specifics as dated observations to re-check (#298).
- ~ **Handoff environment claims carry a date and a re-verify command.** `spell-close-session`'s `Blockers` and `Notes` write each local-environment claim as `<claim> — observed YYYY-MM-DD — re-verify: <command>`, and `spell-open-session` runs the command, only when it is read-only and quick, before repeating the claim (#322).
- ~ **Private assistant memory is not a home for lessons**, stated in `spell-close-session` step 2b and `spell-feedback` Step 1 (#299).
- ~ **`spell-commit-work` checks the branch's PR state before pushing the branch.** A merged PR stops the push, naming the PR, instead of recreating the remote branch the merge deleted; a closed, unmerged PR asks first, and an autonomous run reports it instead of pushing (#321).
- ~ **One closing keyword per issue.** `spell-create-pull-request` Step 4 and `git-conventions.md`'s footer example forbid `Closes #A and #B`, which closes only #A. Step 6 puts a post-merge issue-state check in the operator's `Needs you` block, and `spell-close-session` step 10 runs that check once it confirms the merge; `development-methodology.md`'s linkage line agrees (#324).
- ~ **`git-conventions.md` Post-Merge Cleanup warns about links inside a worktree** before `git worktree remove --force`, with listing and unlinking commands for POSIX and PowerShell (the PowerShell ones not yet run), and `spell-close-session` step 10 points to it. The evidence is scoped as found: a Windows junction was observed once to be followed (not re-tested); a Linux symlink was tested with git 2.43.0 and was not followed (#323).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.11.0...v1.11.1)

## [1.11.0] - 2026-10-03

The `mcp-config-template` scaffold is retired, and `spell update` learns to let go of a file that was the operator's all along ([#328](https://github.com/codemagicianhq/arcane/issues/328)).

### Changed

- ~ **`spell update` releases a retired user-owned component's file instead of nagging about it.** A retirement can be marked `userOwned` (the component was `skipExisting` while it shipped). On the next update, a copy the operator edited, or one Arcane never hashed, leaves the manifest with one `Released:` line and stays on disk; an untouched scaffold stays on the ordinary orphan path, reported every run and removed by `spell update --prune`. Before this, an edited `.mcp.json` would have been reported as an orphan on every run with no exit short of hand-editing `.arcane.json`. Retirements that are not user-owned behave exactly as before.
- ~ **`spell doctor`'s MCP check names the retired scaffold's placeholder.** A `.mcp.json` whose server still runs `<your-mcp-server-package>` gets a non-blocking warning that says what to do (delete the file or replace the entry; `spell update --prune` removes an untouched scaffold). The missing-timeout warning now carries the edit itself: `"timeout": 30000`, in milliseconds, 1000 or more because Claude Code ignores a smaller value. Doctor still never edits the file.
- ~ **`git-conventions.md`'s consumer-hardening paragraph** states the unit and the minimum (checked against the Claude Code MCP docs on 2026-10-02), points at `spell doctor`, says Arcane ships no example `.mcp.json`, and no longer claims that no check verifies a timeout.

### Removed

- - **`mcp-config-template` and the `.mcp.json` it shipped.** The component was meant to be opt-in, but the `full` profile is every component, so `spell init --profile full` and `spell update --add-new` wrote the example `.mcp.json` into every full-profile repository, and a root `.mcp.json` is live MCP configuration that clients execute: its placeholder server failed on every session start. No registered component ships a root `.mcp.json` now. The fail-fast rule and the per-server timeout advice stay in `git-conventions.md`; `spell doctor` carries the check.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.11.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.10.2...v1.11.0)

## [1.10.2] - 2026-10-01

One spell change: `spell-sync-pull-request` learns what to do with a conflicted file that a script owns.

### Changed

- ~ **`spell-sync-pull-request` Step 3 has a third conflict class, regenerable.** A committed artifact that a known command regenerates and overwrites unconditionally (the show report under `docs/plans/*/`, the self-hosted parity copies, `package-lock.json`) is neither hand-merged nor handed off: the spell leaves the conflicted file, runs its regeneration command against the rebased tree, verifies with the file's own `--check`, then stages and continues. Neither side of such a conflict is right, because both were computed from trees that no longer exist. A file with no nameable regeneration command stays mechanical or ambiguous. The Rules and the Step 6 report carry the class; the show report's completed-day rule (a trailer-free, report-only regeneration commit) is named where it applies.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.10.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.10.1...v1.10.2)

## [1.10.1] - 2026-10-01

The leftovers of the `1.10.0` review, all in the install plan `spell add` and `spell update` share.

### Fixed

- ✓ **An unrecorded file identical to the packaged one is adopted, not refused.** `spell add` used to treat any existing destination as a conflict, even one whose content already matched. It now records such a file and its hash without touching it; `--dry-run` says `Would adopt`. `spell update` does the same for a prerequisite whose file is already in place.
- ✓ **A directory at a destination is refused cleanly, with or without `--force`.** It used to fail at copy time with a raw `EISDIR`. The refusal names the directory and says `--force` does not replace it; `--dry-run` reports `is a directory` instead of `differs from the packaged file`, and `spell update` says so in its reason.
- ✓ **An install that fails part-way leaves nothing behind.** If a copy fails after earlier files were written, the files created are removed and an overwritten one gets its previous content back before the error is reported, so a component is never half-installed and unrecorded.
- ✓ **`spell doctor`'s wording for an `initOnly` prerequisite is now under test** (it names only `spell add`); no shipped component cites one, so the test fixtures the case.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.10.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.10.0...v1.10.1)

## [1.10.0] - 2026-09-30

The install half of `spell update`, from the upstream intake: `spell update` now installs the prerequisites an installed component cites, and offers newly available components in one step, so an older install no longer needs one `spell add` per gap. `spell add` also stops leaving half a component behind. Closes [#293](https://github.com/codemagicianhq/arcane/issues/293) and [#294](https://github.com/codemagicianhq/arcane/issues/294). The design is [ARC-052](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-052--spell-update-installs-the-requires-prerequisites-of-installed-components), accepted by the operator on 2026-09-29.

### Added

- + **`spell update` installs the `requires` prerequisites of installed components.** `spells-build` cites four standards documents; an install that predates them now gets them, hash-tracked and reported by name (`Installed: compliance-standards (prerequisite of spells-build)`). It never installs an `initOnly` component, and it leaves a prerequisite alone, with the reason printed, when a file already sits at its destination. This runs on a same-version `update` too. `--dry-run` names exactly the set a real run installs.
- + **`spell update --add-new` installs the newly available components.** In a terminal, `spell update` offers them as a checklist with nothing ticked; `--add-new` answers it for a script or an agent harness. With neither, nothing is installed and the list prints as before. `initOnly` components are never offered, `--add-new` is refused with `--user`, and a candidate whose file already exists is left alone and named.
- + **`spell add` takes several names.** `spell add a b c` adds them in order, stops at the first failure, reports which were added and which were not attempted, and skips a name that is already installed.
- + **`spell doctor` names the command.** A new non-blocking "Newly available components" check prints `spell update --add-new` (or `spell add` for an `initOnly` one). The prerequisites check now names `spell update`. Doctor installs nothing.

### Changed

- ~ **`spell add` refuses before it writes.** A component with an existing destination file used to fail partway with a stack frame. It now checks every file first, prints one line naming the file and `--force`, exits 1 and writes nothing from that component. `--dry-run` prints three distinct lines (identical, differing, missing) and writes nothing.
- ~ **A `skipExisting` component keeps your file.** `spell add` on a component such as `.mcp.json` leaves an existing destination alone, reports it as kept, and creates it when missing. A kept file is not recorded as Arcane's, so `spell uninstall` does not remove it.
- ~ **An interactive `spell update` may now ask one more question**, the checklist above, when newly available components exist. Scripts are unaffected: without a terminal it is skipped.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.10.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.9.2...v1.10.0)

## [1.9.2] - 2026-09-29

One fix, the one `1.9.1` recorded as "not fixed here": `spell doctor`'s Azure DevOps branch-policy check now works for a project or repository whose name contains a space.

### Fixed

- ✓ **An Azure DevOps project or repository name with a space in it reaches `az` as the name, not as `My%20Project`.** Git stores the remote percent-encoded, and the remote parser passed the segments on verbatim, so `spell doctor`'s branch-policy check asked `az` for a project that does not exist and warned "could not query" on a project that does. Each segment is now decoded. A remote with a malformed sequence (`%E0%A4%A`) is treated as not an Azure DevOps remote instead of crashing the check, and so is a segment that decodes to something beginning with `-`, which `az`'s argument parser would otherwise read as an option. The launch itself is unchanged and still shell-free: a decoded `&`, `|`, `"` or `%` is a character in an argument, and `1.9.1`'s metacharacter regression still passes.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.9.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.9.1...v1.9.2)

## [1.9.1] - 2026-09-29

Two fixes from the upstream intake: `spell init` no longer scaffolds a command that would run a package nobody here owns, and `spell doctor`'s branch-policy check can finally run the Azure CLI on Windows. Closes [#295](https://github.com/codemagicianhq/arcane/issues/295) and [#296](https://github.com/codemagicianhq/arcane/issues/296).

### Fixed

- ✓ **The `.mcp.json` scaffold no longer names a package anyone could claim.** It shipped `npx -y @example/mcp-server`, a name that returns 404 on npm, so whoever published it would have had their code run on every machine that used the file. The example now reads `<your-mcp-server-package>`, which is not a valid npm package name and fails with `EINVALIDTAGNAME` instead of resolving to anything. The per-server `timeout` is unchanged.
- ✓ **`spell doctor` warns repositories that already copied the old line.** `.mcp.json` is yours, so `spell update` never rewrites it and repositories initialised earlier still hold the old entry. The check now reports (a warning, not a blocker) any server whose arguments start with `@example/`, names the server and the package, and tells you to replace or remove it. It never edits the file.
- ✓ **`spell doctor`'s Azure DevOps branch-policy check runs on Windows.** Node refuses to launch `az.cmd` without a shell, so the check reported "could not query" on every Windows run. It now launches the Azure CLI's own Python interpreter directly, with no shell, so a project or repository name taken from the git remote (which may contain `&`, `|`, `"` or `%`) reaches the CLI as plain text and is never interpreted by `cmd.exe`. `gh` and every non-Windows platform run exactly as before.
- ✓ **A completed program's Show Report no longer treats its own regeneration commit as the close.** Cosmetic today: no published report changes.

### Notes

- ◌ The Windows launch depends on the layout of the Azure CLI's MSI installer (`az.cmd` containing the recognised launcher line, with `python.exe` beside it). Any other packaging (no `az.cmd` on `PATH`, an unrecognised launcher, or no interpreter beside it) launches plain `az` by name, exactly as before this release, and never through a shell. That works for an `az.exe` install and gives the same "could not query" warning otherwise. Relative `PATH` entries are skipped, so a launcher in the working directory is never read.
- ◌ Not fixed here: an Azure DevOps project name containing a space arrives percent-encoded (`My%20Project`) because the remote parser does not decode it.
- ◌ Not fixed here: the second half of the close-anchor problem, where a rebase-merge can move a completed program's close across midnight. Keying on the author date was tried and moved a published report, so it was dropped. It stays open in `TODO.md`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.9.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.9.0...v1.9.1)

## [1.9.0] - 2026-09-28

`spell report` can now force the Show Report's in-page theme toggle to a fixed state when generating a copy for presenting, instead of always leaving it to the viewer's `prefers-color-scheme`. Closes [#271](https://github.com/codemagicianhq/arcane/issues/271), the last open issue of the Upstream Intake 2026-09 program (UP-06).

### Added

- + **`spell report --theme <auto|light|dark>`.** Sets the initial state of the toggle arcane-ui shipped in `1.8.1`'s vendored template (`arcane-report-theme-<mode>`, three radios sharing one name) by moving its `checked` attribute onto the requested radio. `auto` (the default) is a deliberate no-op: the vendored template already ships with `auto` checked and nothing else, so omitting the flag reproduces today's `prefers-color-scheme` behaviour byte-for-byte -- every existing committed `show-report.html` stays valid without regenerating. Pair with `--out` for a one-off themed copy so a presentation render doesn't overwrite the tracked golden. An older vendored template with no toggle degrades to a warning per program, not a crash.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.9.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.8.1...v1.9.0)

## [1.8.1] - 2026-09-28

- · **Re-vendored the Show Report template from `arcane-ui` `v2.2.1`** ([#300](https://github.com/codemagicianhq/arcane/pull/300), opened automatically by `arcane-ui`'s SR-07 pipeline stage after `check:report-template` passed there). Carries the in-page dark/light theme toggle (Q-006, closing the vendoring half of #271 -- the CLI half is `1.9.0`, above) and regenerated `docs/plans/*/show-report.html` for every active/complete program in this repository.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.8.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.8.0...v1.8.1)

## [1.8.0] - 2026-09-28

A spell that ends with something only you can do now says so at the top of its final report, and the next session reminds you. This is the third code wave of the Upstream Intake 2026-09 program.

### Added

- + **A `## ⚠ Needs you` block at the top of final reports (#266).** Sixteen spells that can end with an operator-only action (a merge, a decision record to accept, a guarded push to confirm, `spell unblock-push`, a question the work waits on, a store-console step) now list each one in this block, one line per action: what to do, then why the agent can't do it. The block is left out when nothing needs you, and a required action is never listed only under optional next steps. The rule is one shared fragment, `_fragments/needs-you.md`, expanded into each spell, and is recorded in `spell-authoring-standards.md`. It is advisory prose: no check reads a spell's actual output.
- + **The session handoff carries it forward.** `spell-close-session`'s handoff gains a `Needs you` field. `spell-open-session` shows those items first, above "Picking Up From Last Session", and keeps the handoff unconsumed until every item has been shown. A handoff written before the field existed is read as having none.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.8.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.7.0...v1.8.0)

## [1.7.0] - 2026-09-28

`spell update` now explains what changed in the registry since you installed. Every profile gets a line-ending baseline. The idea and session spells close the gaps between capturing a thought and acting on it. This is the second code wave of the Upstream Intake 2026-09 program ([ARC-050](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-050--decision-number-allocation-across-parallel-sessions)).

### Added

- + **`spell update` prints a "Registry changes since your install" section.** It is report-only; nothing is installed or deleted without `--prune`, as before. The section covers:
  - **Retired and renamed items (#279).** A spell or component your manifest still tracks is named with its successor and a one-line reason, for example `spell-bootstrap-business` → `spell-summon-venture`.
  - **Components new since you installed.** Each one your profile includes but your manifest lacks is listed with its exact `spell add` line.
  - **Missing prerequisites.** A component that cites a standards document your own profile includes, where that document isn't installed, is named with the line to add it.
- + **Every profile now installs `.gitattributes` (#281)** through a new `line-ending-baseline` component, split out of `docs-baseline`.
  - Existing installs are migrated in place: a tracked `.gitattributes` is neither orphaned nor copied twice.
  - Repositories installed before it existed see it in the section above. It is never auto-installed.
- + **Components can declare `requires`.** `spell doctor` warns, without failing, when one your profile promises is missing. A `lite` or `methodology` install, which leaves those standards out by design, stays clean.
- + **Idea lifecycle:**
  - **Tracker-id suffix (#265).** In external tracking mode, captured items get `[#123]`, `[AB#123]` or `[PROJ-123]`, defined once in `development-methodology.md`.
  - **`spell-todo --prune` (#268)** removes resolved items. It reports first, checks each outcome is recorded, migrates any outcome that isn't, and takes one approval for the whole batch.
  - **`spell-todo --sweep --validate` (#263)** asks value, fit and duplicate questions, and writes nothing until you confirm the batch.
  - **The sweep lists unrouted lessons (#275)** from the repository's own journal.
- + **`spell-close-session` routes Lessons Learned (#274).** Framework lessons go to `FEEDBACK.md` queued for upstream, product ideas go through `spell-save-idea`, and repo-local ones stay in the journal. One batch confirmation covers all of it, nothing is written publicly, and `--no-route` skips the step.

### Changed

- ~ **`spell init` now says when it writes `.gitattributes`.** It includes the file in the commit hint. In a repository that already has commits, it warns that files committed with CRLF can show as modified once Git renormalizes them. `full` has always written this file; `lite`, `methodology` and `governance-only` now do too.
- ~ **Decision numbers are allocated safely across parallel sessions (#264, ARC-050).**
  - `spell-close-session` fetches the trunk and takes the highest number there or locally, plus one.
  - A local-only repository says its number was not checked against other branches.
  - `check:stale-claims` now fails on two decision headings with the same number.
- ~ **`spell-open-session` and `spell-arcane-version` tell an agent working in an AI harness to answer setup questions by flag (#282).** It asks the operator through the harness, then re-runs with the flags the CLI printed. It never answers on the operator's behalf, and never loosens a push policy.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.7.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.6.0...v1.7.0)

## [1.6.0] - 2026-09-28

Push protection that can actually be switched on, setup that can finish without a terminal, and two privacy gaps closed. This is the first code wave of the Upstream Intake 2026-09 program ([ARC-049](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-049--enforcing-a-recorded-push-policy-after-init), [ARC-051](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-051--placeholder-taxonomy-for-governance-documents)).

### Added

- + **`spell block-push`.** It enforces `push_policy: "blocked"` by installing exactly the controls `spell init` installs: a pre-push hook and a disabled push URL on every remote. It needs no terminal, because it can only tighten; it changes nothing on a second run; and it refuses rather than overwrite another hook manager's `core.hooksPath`. It fixes the gap behind #280. A repository whose operator answered "block pushes" during `spell update` was recorded as blocked but was not blocked, nothing said so, and no command could fix it short of reinstalling. Undo it with `spell unblock-push`, from a terminal, as before.
- + **Flags for every setup question** on `spell init` and `spell update`: `--role`, `--tracking-mode`, `--external-provider`, `--content-sensitivity`, `--push-policy` and `--subject-root` (#282). AI coding harnesses have no interactive terminal, and they can now finish setup by passing the answers.
  - A flag may set an unanswered question, or tighten `--push-policy`.
  - It never loosens a push policy, and it never silently overwrites an answer already given.
  - Without a terminal, the skip message now prints the exact flags to re-run with.
- + **`spell doctor` warns about unfilled placeholders** in active governance documents, without failing (#277, ARC-051).
  - Tokens meant to be resolved at runtime are listed once, in `spell-authoring-standards.md`.
  - The two documents meant to be filled in by hand are now `status: template`.
  - A fresh install produces no warnings.
- + **An optional `idea_tags` field in `.arcane.json`** (#261). It declares the vocabulary `spell-save-idea` infers tags from; `extend` adds to today's inference, `replace` restricts to the list.

### Changed

- ~ **`spell update` now says what a recorded push policy means.** Recording `blocked` prints that it is not yet enforced and names `spell block-push`; recording `guarded` explains what guarded does. The update itself still installs nothing (ARC-049).
- ~ **Every spell that pushes reads `push_policy` first** (#280): `spell-commit-work`, `spell-create-pull-request`, `spell-ship`, `spell-sync-pull-request`, `spell-close-session` and `spell-address-review`.
  - Under `guarded` the spell asks before pushing; in an unattended run it does not push, and reports the pending push instead.
  - Under `blocked` it does not try, and says why.
  - `git-conventions.md` gains the "Push safety" section that `universal-agent-rules.md` already pointed at.
- ~ **`spell init` now exits non-zero when it records `blocked` but cannot fully put the block in force** (for example, when another hook manager owns `core.hooksPath`). It names `spell block-push` as the fix, so a scripted or harness-driven setup cannot mistake a partial block for success.
- ~ **The tracking question pre-selects Azure DevOps when a remote is on `dev.azure.com` or `*.visualstudio.com`** (#278), as the spells already documented. Each option now says what it changes.

### Fixed

- ✓ **`spell-manifest` asked for disclosure consent on only some public destinations** (#262). A PRD scaffold written into a public repository skipped the per-entry consent every other public destination required. The gate now keys on whether the destination repository is public, whatever the route. Tags are also named explicitly as scanned text (#261).
- ✓ **A halted pre-PR rebase could produce a PR with an empty description** (#269).
  - `spell-commit-work` now writes the PR body before rebasing.
  - Both PR paths rebase with `--autostash`.
  - Both refuse to create a PR whose body is missing or empty.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.6.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.5.1...v1.6.0)

## [1.5.1] - 2026-09-13

Three fixes, each found by running Arcane against real consumer repositories rather than by reading the code: a spell retired from the registry can finally be removed, `spell doctor` takes about half the time it used to, and `spell update` stops reporting its own manifest as modified on a Windows checkout.

### Fixed

- ✓ **`spell update --prune` could never remove a spell retired since you installed.** Upgrading across the `spell-prompts`/`claude-commands` split discarded the old entry's file list and hashes — the only record of what Arcane had written at those paths — so a spell dropped from the registry since then belonged to no component at all: never reported, unreachable by `--prune`, and dropped from the manifest in the same run. The visible symptom was a client still offering a spell that no longer exists. Those paths now survive the migration and go through the same orphan handling as any other tracked file, which reports them on every run and deletes them only under `--prune`, and only while their recorded hash still holds. Seen for real in a consumer going `0.15.8` → `1.2.0`.
- ✓ **`spell doctor` no longer starts VS Code to decide one word of a warning.** When it could not find the extension directory it shelled out to `code --version` and then `code-insiders --version`, with no timeout, purely to choose which binary name to print in an install hint. Measured at 2568 ms per call on a machine where they answer normally, up to twice a run — the slowest thing in the command. The hint is now read off the extension directories the check already lists, and the whole command drops from ~2.6 s to ~1.45 s. A related cause is fixed with it: the check read `HOME` directly, which is routinely unset on Windows, so on an ordinary Windows run it was looking for extensions in a drive root.
- ✓ **`spell update` no longer dirties a clean checkout by rewriting `.arcane.json` with the wrong line endings.** On a `core.autocrlf=true` checkout it wrote LF into a CRLF working copy, leaving a file git reported as modified with no content change — and the clean-tree gate then refused the *next* `spell update` until the operator staged it. The manifest now keeps whatever line endings and trailing-newline shape the existing file had. A manifest that does not exist yet is written exactly as before.

### Notes

- ◌ The `gh` and `az` calls behind `spell doctor`'s platform-policy checks had no timeout either, and unlike the VS Code probe they genuinely reach the network, so they gained one (10 s) rather than being removed.
- ◌ The orphan decision moved from a per-component test to a single pass over every component's claims. That also closes a latent bug nobody had filed: a file that moves between components across versions could previously be deleted by `--prune` while still in use.
- ◌ `spell doctor` was reported as hanging for 25 s or more on Windows. That figure came from an earlier run against a stubbed home directory and did not reproduce while fixing this; the improvement above is what was actually measured.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.5.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.5.0...v1.5.1)

## [1.5.0] - 2026-09-11

Stop answering the same scope question in every new repository, without changing a single repository you already have ([ARC-048](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-048--an-absent-spell_scope-means-repo-permanently-new-repositories-may-be-pre-selected)).

### Added

- + **`spell update --user --default-scope repo|user`** records which answer `spell init` pre-selects for its spell-scope question in **new** repositories on this machine. The preference lives in the store's own manifest and is read only at `init` time, so no existing repository's manifest is ever rewritten by setting it — and the question is still asked, so a repository you want self-contained is one keystroke away. An absent `spell_scope` still means `repo`, permanently, on every machine.
- + **`spell update` now warns when a repository depends on a user tier that is not installed**, naming the store path and both ways out. `spell doctor` already failed on this, but nothing runs `spell doctor` — no workflow, no hook, and no spell — so the check moved to a command people actually run. Without it, a clone on a bare machine keeps a routing block naming spells that resolve to nothing, and an agent improvises the workflow instead of failing.

### Notes

- ◌ Flipping the default outright was considered and rejected. Almost no repository sets the field, so "the default" is not a preference for new installs — it is the live setting of every repository that already exists, on a release chain with no step where a human looks. The reasoning is recorded in full in `docs/research/default-spell-scope.md`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.5.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.4.0...v1.5.0)

## [1.4.0] - 2026-09-11

Your agent personas now work in Claude Code as well as VS Code, from one file each, and a repository that takes its spells from the machine-wide tier no longer loses its roster tables ([ARC-047](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-047--agents-are-roster-rendered-not-registry-distributed-and-get-a-user-tier), accepted with one revision).

### Changed

- ~ **The user tier's agent files moved from `~/.copilot/agents/<name>.agent.md` to `~/.claude/agents/<name>.md`.** That directory is read by VS Code *and* by Claude Code, so one file gives you the persona in both. Moving rather than adding is deliberate: the four custom-agent locations VS Code resolves sit in one table with no deduplication, so a file in each home location would have listed every persona twice. `spell agents sync --user` performs the move, pruning the old copies, and keeps any file you edited.
- ~ **Each user-tier agent's `description` now states that the persona is for explicit invocation.** Claude Code reads that field to decide whether to hand work to a subagent unprompted; twelve personas installed once per machine are visible in every project on that machine, including ones unrelated to Arcane. VS Code shows the same string as a label. One line per role reverses it if you want automatic routing.

### Fixed

- ✓ **A repository that opted into the user tier and had no roster of its own got no roster tables at all**, and `spell agents sync` refused with "No agent roster found". It now falls back to the machine-wide roster, which is what [ARC-045](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-045--one-spell-source-thin-client-shims-and-a-user-level-install-tier) decision 6 already said should happen. A repository's own roster still wins when it has one, and the tier's definition files travel with the tier's roster so a role you customized in the store is not silently replaced by the vendor default.
- ✓ The user-tier agent description no longer truncates mid-sentence. It was slicing the first *line* of hard-wrapped YAML prose, which cut "...and system design. Reviews" and left that dangling into the next sentence.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.4.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.3.1...v1.4.0)

## [1.3.1] - 2026-09-11

Documentation only. Three shipped governance documents were left incomplete rather than wrong by the user-tier work, and CS-07's drift pass corrected them.

### Changed

- ~ `universal-agent-rules.md` described how spells reach each client without mentioning that spells *or* the agent roster can be installed once per machine at `~/.arcane`, or that a repository with `spell_scope: "user"` carries neither its own spell files nor its own `.github/agents/*.agent.md`. Standing repository instructions still never move tier, and the note now says so explicitly.
- ~ `spell-authoring-standards.md` told authors that a spell's relative links resolve two levels below the repository root, with no note that the user tier has no repository to resolve against. Authors are now pointed at D2 Gold's existing "works in a vanilla consuming repo" bar as the thing that makes a spell safe at either tier.
- ~ The README's `spell_scope` comment still said a repository "carries its own spells" after the field started governing agent files too.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.3.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.3.0...v1.3.1)

## [1.3.0] - 2026-09-11

The agent roster can now live once per machine, and a repository that takes its spells from the user tier stops carrying its own agent files (CS-06 of the Codex Support program, [ARC-047](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-047--agents-are-roster-rendered-not-registry-distributed-and-get-a-user-tier)).

### Added

- + `spell agents init|sync|list --user` operate on the store at `~/.arcane`: the roster and its per-role definitions sit at the store root, and a sync renders one `~/.copilot/agents/<name>.agent.md` per agent — the home location VS Code resolves for machine-wide agent modes, and the only one of the four custom-agent locations read by VS Code alone.
- + The user tier's agent files go through the same fan-out reconcile as its spells: hash-recorded in the store manifest, so a file you edited is recognized, kept and named rather than overwritten, and `spell uninstall --user` removes exactly what Arcane wrote. The reconcile is now scoped per client, so `spell update --user` and `spell agents sync --user` share one record without either erasing the other's entries.
- + `spell doctor`'s blocking scope check covers agents where agents are expected: an opted-out repository that has its own roster and finds none in the tier fails with the remedy; one that has never run `spell agents init` passes.

### Changed

- ~ A repository with `spell_scope: "user"` receives no `.github/agents` files. Its roster tables in `CLAUDE.md`, `AGENTS.md` and `.github/copilot-instructions.md` are unchanged — those are continuity content, not a client discovery surface. Agent files left from before the opt-out are named along with the `git rm` line that removes them, and are never deleted automatically: no component ever tracked them, so no recorded hash exists to prove one untouched.
- ~ [ARC-002](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-002--distribute-vs-code-agent-mode-files-via-spell-init) is superseded. It decided to ship twelve fixed agent files as a registry component; that component was retired long ago, leaving a code comment as the only record. ARC-047 puts the reasoning on the record: a `.agent.md` file's name and contents are chosen per repository by the roster's naming strategy, and a registry component declares fixed paths, so it structurally cannot deliver one.

### Notes

- ◌ Repositories that have not opted out are unaffected. With a populated tier beside them they will list each agent twice, because VS Code does not deduplicate agents by name — the same trade the spell tier already makes, with the same remedy.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.3.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.2.0...v1.3.0)

## [1.2.0] - 2026-09-11

A repository can now take its spells from the user tier instead of carrying its own (CS-05 of the Codex Support program, [ARC-045](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-045--one-spell-source-thin-client-shims-and-a-user-level-install-tier) decision 4).

### Added

- + **`spell_scope` on `.arcane.json`** — `"user"` opts a repository out of carrying its own canonical spells and client shims; absent (or `"repo"`) is the default and the meaning of every manifest written before this release, so nothing changes for a repository that does not opt in. `spell init` offers the choice only when the machine already has a user tier, only interactively, and **defaults to No**: the field is committed and inherited by every clone, so a shared repository must not stop carrying its spells because one contributor's machine had a tier. Governance, instructions, continuity files, hooks and templates never move tier.
- + **`spell update` acts on the opt-out immediately and deletes nothing on its own.** The repository's spell files become orphans: listed on every run with the reason named, and removed only by `spell update --prune`, and only while each file still matches the hash Arcane recorded for it. A file you edited is kept and named. Setting the field back to `"repo"` and running `spell update` reinstalls every spell file, at the same version.
- + **`spell doctor` gains a blocking `Spell scope` check** for a repository that opted in: it fails, with `spell init --user` as the remedy, when the user tier is missing, unreadable, empty, or at a different `major.minor` — because an opted-in repository with no store has no spells in any client. `spell status` says `Scope: repo (spells: user tier)`.

### Fixed

- ✓ **An orphaned file that is still on disk stays tracked in the manifest** until it is actually removed. It used to be reported once and then dropped, which made the `spell update --prune` the same run had just recommended find nothing on the next invocation, left a file Arcane had written untracked for `spell uninstall`, and would have let a later re-install overwrite an operator's edits to it without a word.
- ✓ **Pruning no longer leaves empty directories behind.** Removing a component's files now removes the directories they emptied, stopping at the first non-empty one and never at the repository root.

### Notes

- ◌ **Why this matters beyond picker clutter:** while a repository and the user tier both own a spell's name, which copy a client actually runs is not predictable from the documentation — observed directly during this work, where two commands in one session resolved to different tiers. A repository that opts out has no copy of its own, so there is nothing to resolve.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.2.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.1.1...v1.2.0)

## [1.1.1] - 2026-09-10

Four findings the Codex Support program's own sessions and reviews had left open, closed together.

### Fixed

- ✓ **A line-ending rewrite no longer reads as an operator edit.** Recorded file hashes (`fileHashes`, and the user tier's `fanout` record) are now computed over line-ending-normalized bytes, and every comparison against a recorded hash also accepts the raw-bytes digest that earlier versions recorded — so a managed file git rewrote from CRLF to LF (`text=auto eol=lf`, `core.autocrlf`) is refreshed normally instead of being three-way merged, and no migration is needed. A genuine edit inside a CRLF file is still an edit.
- ✓ **No delete path takes a manifest path outside the repository any more.** `spell update --prune`'s orphan pruning and both `spell uninstall` loops run the same traversal guard every write path has: an `.arcane.json` entry that resolves outside the target directory is named and skipped, never deleted. The user tier's fan-out validates every recorded key against the home directory before it writes or deletes.
- ✓ **`spell report` for an active program no longer goes stale the moment its own regeneration is committed.** The close commit of a program without a `completed:` date is now the most recent commit that touched anything other than the program's own `show-report.{json,html}`, and the cast never counts a commit that touched only those files — so a regeneration commit neither moves the version span nor counts itself, with or without an attribution trailer, whether it is the newest commit or buried under later work. Regeneration commits no longer need to be trailer-free; they only need to touch the report files alone, which is what `spell report` produces. The two closed programs' committed reports are unchanged by this rule.
- ✓ **The user tier's Claude Code command quotes its `@` include when the store path contains whitespace** (`@"C:/Users/Jane Doe/.arcane/spells/<id>.md"`), Claude Code's documented form for such paths. The whitespace-free case is byte-identical to `1.1.0`; the next `spell update --user` on an affected machine rewrites the 41 commands.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.1.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.1.0...v1.1.1)

## [1.1.0] - 2026-09-10

The user tier: install the spell library once per machine and let every client find it from any repository (CS-04 of the Codex Support program, [ARC-045](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-045--one-spell-source-thin-client-shims-and-a-user-level-install-tier) decision 3).

### Added

- + **`spell init --user`, `spell update --user`, `spell status --user`, `spell uninstall --user`.** The user tier is a store at `~/.arcane/` holding the 41 canonical spells (`~/.arcane/spells/<id>.md`, with its own `.arcane.json`) plus, per spell, one Codex skill at `~/.agents/skills/<id>/SKILL.md` and one Claude Code command at `~/.claude/commands/<id>.md`, both pointing at the spell's absolute path in the store. Codex and VS Code Copilot both read `~/.agents/skills` by default; Claude Code reads `~/.claude/commands`. No VS Code setting is required, and none is written. The tier carries spell delivery only — governance, continuity files and repository configuration stay with the repository. `init --user` asks no question and touches no git state.
- + **The manifest records the tier and the fan-out.** `.arcane.json` gains an optional `scope` (`"repo"`, the default and the meaning of every existing manifest, or `"user"`) and, for the user tier, a `fanout` map of every client file Arcane wrote outside the store with its content hash. `update --user` and `uninstall --user` rewrite or delete a client file only while its content still matches that record; an edited one is kept and named, and a same-named file Arcane never wrote is left alone and never claimed. A store spell you edit gets the same three-way merge on `update --user` a repository file gets.
- + **`spell doctor` reports the user tier**, non-blocking: not installed (optional), current, behind or ahead of the CLI's `major.minor`, or with client files missing — each with `spell update --user` as the remedy. `spell status` in a repository prints its scope and, when a user tier exists on the machine, that tier's version.

### Fixed

- ✓ **`spell update`'s three-way merge fetches the previously published file by its asset path**, so a component installed under a different name than its source (`sourceOverrides` — `.gitattributes`/`.gitignore`, and now the user tier's store) merges against the right base instead of a 404.

### Notes

- ◌ **Why there is no VS Code settings snippet:** VS Code's AI settings reference (fetched 2026-09-09) marks `chat.promptFilesLocations`, `chat.agentFilesLocations`, `chat.agentSkillsLocations` and `chat.instructionsFilesLocations` as deprecated ("This setting and the Local agent will be removed in a future release"), and its agent-skills page lists `~/.agents/skills` and `~/.claude/skills` among the locations read by default. The user tier lands where Copilot already looks. The Claude Code file is a *command* rather than a skill because Copilot scans `~/.claude/skills` too — a skill there would list every spell twice.
- ◌ **Precedence:** Claude Code runs a personal command over a project command of the same name, so in a repository that still carries its own spells `/spell-*` runs the user tier's copy. Codex and Copilot list both tiers' entries until the repository opts out (CS-05).
- ◌ Codex following a user-level skill to an absolute path from an unrelated directory was observed live (`docs/research/skill-discovery-smoke-tests.md`); the Claude Code and Copilot user-level checks are recorded as an operator item (`docs/plans/codex-support/OPERATOR-QUEUE.md` Q-005).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.1.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v1.0.0...v1.1.0)

## [1.0.0] - 2026-09-10

The first stable-contract release: one authored source per spell, and every AI client a thin generated shim over it. This is the one breaking change of the Codex Support program (CS-03, [ARC-045](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-045--one-spell-source-thin-client-shims-and-a-user-level-install-tier)); everything after it is additive again.

### Changed

- ~ **BREAKING: the canonical spell source moves from `.github/prompts/<id>.prompt.md` to `.arcane/spells/<id>.md`** — the one relocation [ARC-033](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-033--docs-mode-subject-root-content-sensitivity-and-capability-scoped-spell-components) decision 1 anticipated needing. The 41 spell files moved with their history and byte-identical frontmatter; the shared fragments moved to `.arcane/spells/_fragments/`. `.github/prompts/<id>.prompt.md` is now a generated Copilot shim: the canonical frontmatter block verbatim (so Copilot's picker sees exactly the fields it saw before), then one paragraph with a relative link to the canonical file and the read-and-follow sentence proven live against Codex. The Claude Code command (`@.arcane/spells/<id>.md`) and the Codex skill point at the same file. No client file carries prose of its own any more, and `check:self-host-parity` re-renders all 123 shims from their sources on every build.
- ~ **Every `spells-*` component now lists four files per spell** — the canonical source first, then the Copilot, Claude Code and Codex shims — so `spell init`, `spell update` and `spell uninstall` carry a spell as one unit. `spell init`'s summary counts spells once, not per client.
- ~ **Where a spell is authored is written down** in `spell-authoring-standards.md` (D2), `portable-bootstrap.md` ("Where Documents Live"), `universal-agent-rules.md`, `git-conventions.md`'s scope table and `agent-output.instructions.md`: edit `.arcane/spells/<id>.md`, never a shim. Relative links inside a spell resolve from two levels below the repo root, exactly as they did from `.github/prompts/`.

### Fixed

- ✓ **`spell update` never merges an operator's edit into a generated shim.** Updating a hand-edited prompt to a shim-shaped vendor file used to either three-way merge "successfully" — the shim with the edit dangling underneath, reported as `Merged your edits` — or write conflict markers over a body that was gone; both were observed against a real consumer fixture before the migration was designed. A customized Copilot prompt, Claude command or Codex skill is now kept byte-untouched, the canonical spell is written beside it, one summary names each such file with the remedy, and the previously recorded hash is carried forward so the next update recognizes the customization again. Dry-run reports the same decision.
- ✓ **An operator's edit now survives every update, not just one.** After a successful three-way merge, `spell update` recorded the merged file's hash as "what Arcane last wrote", so the *next* update read the file as untouched and overwrote it — reproduced against real published history: update one merged the edit, update two lost it. Present since ARC-038 shipped in `0.32.0`. The recorded hash is now the vendor content's, so later updates merge again against the right base; the "could not fetch the merge base" branch keeps the recorded hash for the same reason.
- ✓ **A same-version `spell update` restores missing tracked files** instead of stopping at "Already up to date." — the remedy after porting a customized shim's edits into the canonical spell: delete the old file, commit, run `spell update`, and the generated shim comes back. Only files that are tracked, absent and vendor-owned are written; `initOnly` files (EF-17) and user-owned `skipExisting` files (`TODO.md`, `.mcp.json`, `journal/.gitkeep`) keep their version-change-only backfill, so a file you deleted on purpose does not return on every run.
- ✓ **Four long-broken links now resolve:** `spell-brainstorm`'s `../../../TODO.md`, `spell-arcane-version`'s bare `.arcane.json`, and the two `development-methodology.md` links that pointed at `../.github/prompts/…` from inside `.arcane/governance/`.

### Notes

- ◌ Run `spell update` from a committed, clean working tree (it refuses to run otherwise).
| Your install | What happens |
|---|---|
| `0.32.0` or later, spells untouched | Every prompt, command and skill is replaced by its shim and `.arcane/spells/` appears with the 41 canonical files. Nothing to do. |
| `0.32.0` or later, a prompt or command hand-edited | That file is kept exactly as you left it and named in the summary; it keeps working in its client. To converge: move the edit into `.arcane/spells/<id>.md`, delete the old file, commit, run `spell update` again. |
| Before `0.32.0` (no recorded file hashes) | Files are overwritten, as they always were for such installs — commit first, then recover any local edit from git history and port it into `.arcane/spells/<id>.md`. |
- ◌ Governance content under `.arcane/governance/` is unaffected. A consumer on an older CLI sees no change until it updates.
- ◌ CS-03 of the Codex Support program (`docs/plans/codex-support/`). The user-level install tier (CS-04), the repository opt-out (CS-05) and agent delivery at the user tier (CS-06) follow as minor releases on this contract.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v1.0.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.39.0...v1.0.0)

## [0.39.0] - 2026-09-09

Adds OpenAI Codex as a third client target, and opens the Codex Support program.

### Added

- + **Every spell now generates a Codex skill** — `.agents/skills/<id>/SKILL.md` beside the existing Copilot prompt and Claude command, all three rendered from the one canonical `.github/prompts/<id>.prompt.md` source ([ARC-039](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-039--build-time-spell-compiler-generated-client-stubs-and-shared-prose-fragments)). Codex has no `@include`, so the skill body tells the agent to read the prompt at its path and follow it as the complete workflow — a mechanism verified against the real Codex CLI before it was designed in ([#221](https://github.com/codemagicianhq/arcane/pull/221)).
- + **[ARC-044](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-044--client-architecture-files-first-state-contract-and-a-local-presence-channel) — client architecture:** a versioned `spell state --json` export and a local presence channel; files remain the only source of truth, the export is derived and additive-only ([#218](https://github.com/codemagicianhq/arcane/pull/218)).

### Fixed

- ✓ **Two more full-suite timeout flakes budgeted** (`session-continuity`, `adr-reference-gate`), with the remaining 34 heavy tests surveyed ([#217](https://github.com/codemagicianhq/arcane/pull/217)).

### Notes

- ◌ **The Codex Support program opened** (`docs/plans/codex-support/`, CS-00, [#220](https://github.com/codemagicianhq/arcane/pull/220)): its plan, PRD, delegation record, and the skill-discovery smoke tests that decided the shim design above.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.39.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.38.3...v0.39.0)

## [0.38.3] - 2026-09-06

Closes the Show Report program.

### Changed

- ~ **Vendored arcane-ui v2.1.7's compiled template** — the pull request was opened automatically by arcane-ui's own pipeline (SR-07) because the compiled template changed ([#216](https://github.com/codemagicianhq/arcane/pull/216)).
- ~ **Show Report closed at SR-08** — verdict GO, with two recorded deviations ([#214](https://github.com/codemagicianhq/arcane/pull/214)).

### Fixed

- ✓ **`hub-retrofit`'s 24 CLI-roundtrip tests had no timeout overrides** on vitest's 5-second default while each drove a real init/update roundtrip ([#215](https://github.com/codemagicianhq/arcane/pull/215)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.38.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.38.2...v0.38.3)

## [0.38.2] - 2026-09-06

### Fixed

- ✓ **Reports read "1 commit" and "1 item" at a count of one.** arcane-ui 2.1.4 re-vendored, consuming the singular flags added in `0.38.1`; the fix needed both sides ([#213](https://github.com/codemagicianhq/arcane/pull/213)).
- ✓ **Two heavy tests given real timeout budgets**, closing a flake found by reading the pre-push hook's log rather than retrying it ([#213](https://github.com/codemagicianhq/arcane/pull/213)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.38.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.38.1...v0.38.2)

## [0.38.1] - 2026-09-06

### Added

- + **`buildShowReportView()` supplies `cast[].isSingular` and `parkedIsSingular`.** Mustache can branch on a name's truthiness but never on a value, so `{{commits}} commits` cannot pick its noun form — the flag has to come from this side ([#212](https://github.com/codemagicianhq/arcane/pull/212)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.38.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.38.0...v0.38.1)

## [0.38.0] - 2026-09-06

Replaces the interim report template with arcane-ui's real compiled build, behind a gate that renders it.

### Added

- + **`check:report-template`, a gate that actually renders the template.** `check:report` only proves the committed reports match a regeneration; a template whose tags name fields that do not exist still regenerates byte-identically, because it is consistently wrong ([#209](https://github.com/codemagicianhq/arcane/pull/209)).
- + **Gate rules for the provenance label and flag pluralisation**, both user-visible text in every report ([#210](https://github.com/codemagicianhq/arcane/pull/210)).

### Changed

- ~ **The v0 interim template is replaced by arcane-ui 2.1.3's compiled build (SR-06).** It took four arcane-ui builds to pass the gate ([#211](https://github.com/codemagicianhq/arcane/pull/211)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.38.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.37.0...v0.38.0)

## [0.37.0] - 2026-09-05

### Changed

- ~ **BREAKING: `show-report.json`'s `colophon` block is now `provenance`, and `schemaVersion` goes 1 → 2.** "Colophon" is a publishing term, not a software one; `naming-conventions.md` requires the established industry term where one exists ([#208](https://github.com/codemagicianhq/arcane/pull/208)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.37.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.36.1...v0.37.0)

## [0.36.1] - 2026-09-05

### Added

- + **`rowCount` per section and a top-level `parkedCount` are precomputed**, because mustache cannot count a list and the compiled template needs "N items" labels ([#207](https://github.com/codemagicianhq/arcane/pull/207)).

### Changed

- ~ **The SR-06 gate is hardened**, and the approved SR-05a design lands as the build spec ([#205](https://github.com/codemagicianhq/arcane/pull/205), [#206](https://github.com/codemagicianhq/arcane/pull/206)). [ARC-043](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-043--show-report-rows-carry-no-emoji-category-selects-the-mark) accepted ([#204](https://github.com/codemagicianhq/arcane/pull/204)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.36.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.36.0...v0.36.1)

## [0.36.0] - 2026-09-04

### Changed

- ~ **BREAKING: `ShowReportRow.glyph` is removed from schema v1 — category selects the mark instead of a per-row emoji.** The first design review against real data killed the emoji and exposed three generator defects only a real corpus could surface ([#203](https://github.com/codemagicianhq/arcane/pull/203)).
- ~ **The arcane-ui cross-repo brief for SR-05a/SR-05b is recorded**, and the session handoff refreshed after running four items stale ([#201](https://github.com/codemagicianhq/arcane/pull/201), [#202](https://github.com/codemagicianhq/arcane/pull/202)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.36.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.35.1...v0.36.0)

## [0.35.1] - 2026-09-04

### Added

- + **SR-04 — `## For the record` in both `spell-create-pull-request` templates.** An epic's reader-facing sentence is now authored while the work is fresh rather than reconstructed later from commit subjects; the heading is omitted entirely when the PR is not one epic of a tracked program ([#200](https://github.com/codemagicianhq/arcane/pull/200)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.35.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.35.0...v0.35.1)

## [0.35.0] - 2026-09-03

Show Report's data pipeline, renderer and `spell report` command — in the first build of them that actually reached npm (see Notes).

### Added

- + **SR-01 — the report data pipeline:** plan, queue, ledger and decisions parsers, the schema v1 model, and a git-derived version span and cast ([#194](https://github.com/codemagicianhq/arcane/pull/194)).
- + **SR-02 — renderer, v0 template, and the `check:report` gate.** One five-character escaper per tag; `descriptionHtml` is the only triple-mustache field, re-admitting only code spans and https links ([#197](https://github.com/codemagicianhq/arcane/pull/197)).
- + **SR-03 — the `spell report` command.** The generation core moved to `src/modules/show-report/generate.ts` so the shipped command can use it; `scripts/` is not bundled into the published package ([#198](https://github.com/codemagicianhq/arcane/pull/198)).
- + **[ARC-042](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-042--show-report-compiled-template-distribution-model-and-program-decisions) accepted** ([#196](https://github.com/codemagicianhq/arcane/pull/196)).

### Fixed

- ✓ **`publish.yml` checked out a shallow clone while `ci.yml` fetched full history.** Show Report's golden-parity test derives the version span and cast from git history; in the shallow clone those fields vanished, the test reported the omission as drift, and the publish job failed minutes after CI had passed on the same commit. `fetch-depth: 0` now matches across the three workflows, `check:report` says "cannot verify in a shallow clone" instead of failing, and `spell report` warns that the span and cast will be omitted ([#198](https://github.com/codemagicianhq/arcane/pull/198)).

### Notes

- ◌ **`0.34.3` was tagged and released on GitHub but never reached npm** — it is the release the failure above broke. SR-01, SR-02 and the ARC-042 acceptance were cut as `v0.34.3` on 2026-09-03 and first published as part of `0.35.0` later the same day.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.35.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.34.2...v0.35.0)

## [0.34.2] - 2026-09-03

### Added

- + **`web-discoverability-standards` gains WD-16–WD-18** for AI retrieval agents, freshness, and measurement, wired into `spell-make-discoverable`. WD-16 separates a retrieval-class agent (never disallow when AI visibility is a goal) from a training crawler, which is an explicit, separate decision ([#193](https://github.com/codemagicianhq/arcane/pull/193)).

### Fixed

- ✓ **Doc drift across the HIGH/Medium/Low findings** of a `spell-check-drift` run ([#192](https://github.com/codemagicianhq/arcane/pull/192)); `@humanfs/node` bumped 0.16.7 → 0.16.8 ([#188](https://github.com/codemagicianhq/arcane/pull/188)).

### Notes

- ◌ **The Show Report program opened** (`docs/plans/show-report/`, SR-00, [#191](https://github.com/codemagicianhq/arcane/pull/191), [#192](https://github.com/codemagicianhq/arcane/pull/192)): plan, PRD, [ARC-042](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-042--show-report-compiled-template-distribution-model-and-program-decisions) drafted, and its delegation record.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.34.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.34.1...v0.34.2)

## [0.34.1] - 2026-09-02

Closes the Lessons Hardening program (LH-13).

### Fixed

- ✓ **RCA-001 recorded, and the RCA artifact path moved `governance/rcas/` → `docs/rcas/`** — the original location would have created a second root-level tree. It names the shared root cause behind five Lessons Hardening patterns: static tree-state facts written as prose that nothing re-derives ([#174](https://github.com/codemagicianhq/arcane/pull/174)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.34.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.34.0...v0.34.1)

## [0.34.0] - 2026-09-02

### Added

- + **The org-token denylist can be supplied from outside the repository** ([ARC-041](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-041--a-local-out-of-repo-supply-channel-for-the-org-token-privacy-denylist)). When `ARCANE_ORG_TOKENS` is unset, `$ARCANE_ORG_TOKENS_FILE` or `~/.arcane/org-tokens` is read instead, with a structural in-repo refusal rather than a `.gitignore` convention ([#184](https://github.com/codemagicianhq/arcane/pull/184), [#185](https://github.com/codemagicianhq/arcane/pull/185)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.34.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.9...v0.34.0)

## [0.33.9] - 2026-09-02

### Added

- + **`universal-agent-rules` gains advisory rules 25–27**, each grounded in a real incident. Rule 25: never quote a denylisted token, even when documenting its removal — name the class, not the instance ([#183](https://github.com/codemagicianhq/arcane/pull/183)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.9) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.8...v0.33.9)

## [0.33.8] - 2026-09-02

### Added

- + **A follow-up promotion gate (`check:followups`).** Scans recent journals, the active plan, `TODO.md` and the verification ledger for deferral phrases carrying no tracker token, so findings stop being buried in closure prose ([#182](https://github.com/codemagicianhq/arcane/pull/182)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.8) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.7...v0.33.8)

## [0.33.7] - 2026-09-02

### Added

- + **A shipped-state staleness scan (`check:stale-claims`).** Class A fails the build when an `ARC-NNN (Status)` parenthetical in a living doc disagrees with `DECISIONS.md`; Class B reports the softer cases ([#181](https://github.com/codemagicianhq/arcane/pull/181)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.7) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.6...v0.33.7)

## [0.33.6] - 2026-09-02

### Added

- + **A stable-locator citation grammar plus `check:citations`** — path, `path#anchor`, or `path ("unique quoted phrase")`; a bare `path:NNN` is never sufficient in a living doc ([#180](https://github.com/codemagicianhq/arcane/pull/180)).

### Fixed

- ✓ **`expandFragment()` now throws on a start/end marker indentation mismatch** instead of silently re-indenting the span from the start marker alone ([#179](https://github.com/codemagicianhq/arcane/pull/179)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.6) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.5...v0.33.6)

## [0.33.5] - 2026-09-02

### Fixed

- ✓ **`check:version-bump` reported a false "no bump required" before commit.** The default mode diffs only `merge-base..HEAD`, blind to uncommitted work — exactly what `spell-bump` Step 1 runs against. New `--staged` and `--working-tree` modes, wired into pre-push ([#178](https://github.com/codemagicianhq/arcane/pull/178)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.4...v0.33.5)

## [0.33.4] - 2026-09-02

### Changed

- ~ **README's spell, agent and governance-doc counts are derived from the registry**, not hand-maintained. The spell count alone moved 33 → 41 inside one program ([#177](https://github.com/codemagicianhq/arcane/pull/177)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.3...v0.33.4)

## [0.33.3] - 2026-09-02

Opens the Lessons Hardening program (`docs/plans/lessons-hardening/`), which turns the previous program's recurring failure patterns into gates.

### Changed

- ~ **CI evaluates coverage thresholds.** `vitest.config.ts` configured 80% global / 95% critical-path, but CI ran bare `npm test` and never checked them ([#176](https://github.com/codemagicianhq/arcane/pull/176)).
- ~ **Test-suite resilience helpers with enforced conventions** — shared fixture-dir create/remove with retry for the Windows `ENOTEMPTY` window, and an end to line-wrap-fragile assertions ([#175](https://github.com/codemagicianhq/arcane/pull/175)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.2...v0.33.3)

## [0.33.2] - 2026-09-01

### Fixed

- ✓ **Two stale statements found by `spell-check-drift`**, both claiming the customization/override model was unbuilt and that `arcane update` overwrites an edited standard silently — untrue since ARC-038 shipped in `0.32.0` ([#169](https://github.com/codemagicianhq/arcane/pull/169)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.1...v0.33.2)

## [0.33.1] - 2026-09-01

### Changed

- ~ **Become Current's Phase 5 definition-of-done closure.** Of 9 unchecked `TODO.md` items, the 4 that were small and not operator-blocked were implemented — among them ARC-035 decision 4, the closed-PR push warning, now shipped to every consumer tier except `blocked` — and the rest consolidated into a new "Parked — Needs Operator" section and queue item Q-011 ([#168](https://github.com/codemagicianhq/arcane/pull/168)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.33.0...v0.33.1)

## [0.33.0] - 2026-09-01

Implements Become Current's last epic (BC-32): the build-time spell compiler that ARC-039 proposed.

### Added

- + **A build-time spell compiler ([ARC-039](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-039--build-time-spell-compiler-generated-client-stubs-and-shared-prose-fragments)).** `.claude/commands/` stubs and shared prose fragments are generated from each spell's own frontmatter at build time and held to parity by a gate, replacing hand-maintained stubs ([#167](https://github.com/codemagicianhq/arcane/pull/167)).

### Fixed

- ✓ **A real client name reintroduced by the closure note about removing it** — the second [ARC-031](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-031--fictional-venture-names-for-examples-and-a-repository-wide-privacy-gate) catch in a day ([#166](https://github.com/codemagicianhq/arcane/pull/166)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.33.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.32.4...v0.33.0)

## [0.32.4] - 2026-09-01

### Fixed

- ✓ **A real client name in governance content replaced with a fictional venture ([ARC-031](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-031--fictional-venture-names-for-examples-and-a-repository-wide-privacy-gate)).** The token is private and configured only in CI, so no local check could have caught it before push ([#165](https://github.com/codemagicianhq/arcane/pull/165)).
- ✓ **28 tests failed in any git worktree without its own install/build.** Ten test files hardcoded a `process.cwd()`-relative path to `dist/index.js` or `node_modules/tsx`; resolution now climbs the ancestor chain, bounded to the `arcane-cli` package ([#163](https://github.com/codemagicianhq/arcane/pull/163)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.32.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.32.3...v0.32.4)

## [0.32.3] - 2026-09-01

### Fixed

- ✓ **8 of 15 rows in `spell-make-discoverable`'s Phase 2 audit table cited a `WD-nn` ID that tested a different claim than the same-numbered rule.** Baked in at authoring, not later drift ([#161](https://github.com/codemagicianhq/arcane/pull/161)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.32.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.32.2...v0.32.3)

## [0.32.2] - 2026-09-01

### Changed

- ~ **`cicd-standards.md` split into vendor-neutral Core Principles and an Azure DevOps Profile, with a D2 vendor gate** ([ARC-038](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-038--content-preserving-updates-and-vendor-neutral-governance-content) decisions 2–3), closing the vendor-neutral backlog item first filed on 2026-07-14 ([#159](https://github.com/codemagicianhq/arcane/pull/159)).
- ~ **Become Current Phase 4 cleanup** — branch dispositions, consistency fixes, ledger reconciliation ([#160](https://github.com/codemagicianhq/arcane/pull/160)).

### Notes

- ◌ **`0.32.1` was never published.** Its bump commit exists (`ac1a3d0`), but the release-drift job received an `HTTP 500` from GitHub's Releases API while creating `v0.32.1`, so no tag, no Release and no publish followed. The `cicd-standards.md` change above first reached npm as `0.32.2`, 25 minutes later.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.32.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.32.0...v0.32.2)

## [0.32.0] - 2026-09-01

### Added

- + **`arcane update` preserves your edits ([ARC-038](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-038--content-preserving-updates-and-vendor-neutral-governance-content) Batch A).** Each installed file records a SHA-256 hash at write time and is three-way merged on update; files predating the field keep the old overwrite behavior. Adds an orphan report and `--prune` ([#158](https://github.com/codemagicianhq/arcane/pull/158)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.32.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.31.0...v0.32.0)

## [0.31.0] - 2026-09-01

### Added

- + **A consumer-facing secrets pre-commit hook installer ([ARC-037](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-037--secret-and-org-leak-detection-pre-commit-scan-plus-repository-wide-ci-backstop) Batch B).** The pre-push install and collision-guard machinery is generalized to be hook-name-agnostic and independent of `push_policy`; existing callers are unchanged ([#157](https://github.com/codemagicianhq/arcane/pull/157)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.31.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.30.0...v0.31.0)

## [0.30.0] - 2026-09-01

### Added

- + **Secret detection for this repository and in CI ([ARC-037](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-037--secret-and-org-leak-detection-pre-commit-scan-plus-repository-wide-ci-backstop) Batch A).** One shared credential-pattern set backs the copy-time scan, a new repository-wide backstop, and `spell doctor --leaks` ([#156](https://github.com/codemagicianhq/arcane/pull/156)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.30.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.6...v0.30.0)

## [0.29.6] - 2026-09-01

### Added

- + **[ARC-023](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-023--normative-controls-require-inline-enforcement-contracts) enforcement annotations, batch E** (`git-conventions.md`), closing the sweep ([#154](https://github.com/codemagicianhq/arcane/pull/154)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.6) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.5...v0.29.6)

## [0.29.5] - 2026-09-01

### Added

- + **[ARC-023](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-023--normative-controls-require-inline-enforcement-contracts) enforcement annotations, batch D** (`agent-policies.md`) ([#153](https://github.com/codemagicianhq/arcane/pull/153)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.4...v0.29.5)

## [0.29.4] - 2026-09-01

### Added

- + **[ARC-023](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-023--normative-controls-require-inline-enforcement-contracts) enforcement annotations, batch C** (5 docs) ([#152](https://github.com/codemagicianhq/arcane/pull/152)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.3...v0.29.4)

## [0.29.3] - 2026-09-01

### Added

- + **[ARC-023](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-023--normative-controls-require-inline-enforcement-contracts) enforcement annotations, batch B** (9 docs) ([#151](https://github.com/codemagicianhq/arcane/pull/151)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.2...v0.29.3)

## [0.29.2] - 2026-09-01

### Added

- + **[ARC-023](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-023--normative-controls-require-inline-enforcement-contracts) enforcement annotations, batch A** (8 docs). Every normative rule now declares `Enforcement: <mode>` — executable check, structured spell gate, verified external platform policy, or honestly-downgraded advisory prose ([#150](https://github.com/codemagicianhq/arcane/pull/150)).
- + **Delivery-channels smoke tests** covering `node_modules` traversal and symlink following ([#149](https://github.com/codemagicianhq/arcane/pull/149)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.1...v0.29.2)

## [0.29.1] - 2026-09-01

### Changed

- ~ **The `Agent` commit trailer splits into `Agent` / `Persona` / `Role`, plus `Model-Source`.** One trailer conflated runtime identity with persona identity, and `Role` had no defined source; `Role` now derives only from a real roster entry ([#148](https://github.com/codemagicianhq/arcane/pull/148)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.29.0...v0.29.1)

## [0.29.0] - 2026-08-31

### Added

- + **`spell-verification-ledger`** — extracts the structured `{claim, method, result, correction}` record that `spell-close-session` used to throw away. A corrected result is framed as the point, not something to hide ([#147](https://github.com/codemagicianhq/arcane/pull/147)).

### Changed

- ~ **`spell ward` guidance names personal identifiers, not just org names.** The gate had found a username in a branch name in a public repo, because whoever seeded the denylist thought only in org terms ([#146](https://github.com/codemagicianhq/arcane/pull/146)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.29.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.28.1...v0.29.0)

## [0.28.1] - 2026-08-31

### Added

- + **`universal-agent-rules` rule 23 — diff before deleting a duplicate.** A near-identical pair is usually a drifted copy carrying unique content on one side ([#145](https://github.com/codemagicianhq/arcane/pull/145)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.28.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.28.0...v0.28.1)

## [0.28.0] - 2026-08-31

### Added

- + **`compliance-standards.md` (CS-01–CS-12) and `spell-compliance`** — GDPR, CCPA/CPRA, SOC 2 and HIPAA obligations mapped to concrete SaaS artifacts, plus a read-only self-assessment spell. Arcane's first regulatory coverage ([#144](https://github.com/codemagicianhq/arcane/pull/144)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.28.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.27.0...v0.28.0)

## [0.27.0] - 2026-08-31

### Added

- + **`mobile-release-standards.md` (MR-01–MR-14) and `spell-eas-store-deploy`** — the EAS Build + Submit pipeline for the App Store and Google Play, distilled from two real dogfooding runs ([#143](https://github.com/codemagicianhq/arcane/pull/143)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.27.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.26.2...v0.27.0)

## [0.26.2] - 2026-08-31

### Added

- + **A canonical home for research reports** at `docs/research/<topic-slug>.md`, with a required `sources` field and `spell-todo` routing their findings into the backlog ([#142](https://github.com/codemagicianhq/arcane/pull/142)).
- + **A registry-driven spell catalog generator.** The README list had drifted — the registry held 38 spells while the README said "34" and "36" in different places ([#141](https://github.com/codemagicianhq/arcane/pull/141)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.26.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.26.1...v0.26.2)

## [0.26.1] - 2026-08-31

### Added

- + **An MCP fail-fast rule and config scaffold.** One abnormal failure marks a server down for the session — no blind retries, fall back to the documented CLI, report the downgrade. Written after an ops session lost an hour to two consecutive 30-minute hangs ([#140](https://github.com/codemagicianhq/arcane/pull/140)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.26.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.26.0...v0.26.1)

## [0.26.0] - 2026-08-31

### Added

- + **`spell-scry`** — clears a candidate name before it ships: an outward four-check pass plus a mandatory repo-local collision pass that runs *first*, citing the real ARC-028 workspace incident as the reason ([#138](https://github.com/codemagicianhq/arcane/pull/138)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.26.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.25.0...v0.26.0)

## [0.25.0] - 2026-08-31

### Added

- + **`spell ward`** — a denylist scan reusing the existing org-token lint engine rather than reimplementing matching, tree-walking and dedup ([#137](https://github.com/codemagicianhq/arcane/pull/137)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.25.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.24.1...v0.25.0)

## [0.24.1] - 2026-08-31

### Changed

- ~ **`spell-full-cycle` gains cross-epic coordination**, including re-verifying a handed-in, pre-diagnosed root cause against current source before accepting it into the PRD ([#135](https://github.com/codemagicianhq/arcane/pull/135)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.24.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.24.0...v0.24.1)

## [0.24.0] - 2026-08-31

### Added

- + **Delegation for solo-operator mode.** A repo with no agent roster had nowhere to record a standing grant, so grants were made ad hoc and forgotten; `.arcane/delegations.json` makes them explicit, structured and git-tracked ([#133](https://github.com/codemagicianhq/arcane/pull/133)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.24.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.23.0...v0.24.0)

## [0.23.0] - 2026-08-31

### Added

- + **`spell-sync-pull-request`** — a recovery path for a PR that has fallen behind its target. `spell-create-pull-request` and `spell-ship` both detected a conflicted branch and refused, with no way to tell a mechanically-safe conflict from a genuinely ambiguous one ([#131](https://github.com/codemagicianhq/arcane/pull/131)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.23.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.14...v0.23.0)

## [0.22.14] - 2026-08-31

### Added

- + **`spell doctor` verifies platform branch and merge policy against what governance says (BC-17).** Paper-versus-enforced drift had already bitten this repository once, found only by reading a ruleset's raw JSON by hand. A new `platform-policy` module keeps pure `evaluate*` functions — unit-tested against this repo's own real ruleset in both its healthy and its historically drifted shape — apart from thin `gh api` / `az repos policy list` fetchers. The GitHub path queries Rulesets, never the classic branch-protection endpoint alone (which still answers "Branch not protected" for a repo with active Rulesets), and detects the `required_linear_history` × `allowed_merge_methods` interaction that silently blocks merge commits. The Azure DevOps path is implemented from the documented API shape only, not live-verified ([#129](https://github.com/codemagicianhq/arcane/pull/129)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.14) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.13...v0.22.14)

## [0.22.13] - 2026-08-31

### Added

- + **A spell routing layer (BC-16).** Agents were never told spells are the mandatory path for lifecycle operations — a session followed the git conventions correctly and still committed ad hoc instead of invoking `spell-commit-work`. `CLAUDE.md`, `.github/copilot-instructions.md` and `AGENTS.md` now carry a generated routing section ahead of the roster table, every `.claude/commands/spell-*.md` gained a `description:` with "Use PROACTIVELY" wording — the lever that makes Claude Code self-select a spell — and `universal-agent-rules.md` gains rule 22 ([#127](https://github.com/codemagicianhq/arcane/pull/127)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.13) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.12...v0.22.13)

## [0.22.12] - 2026-08-31

### Added

- + **Session handoff durability (BC-15, [ARC-040](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-040--session-handoff-durability-pointer-never-sole-carrier)).** The close-session handoff block is overwritten at every close and consumed at every open; one overwrite lost an unfinished task. `spell-close-session` now registers unfinished work on a durable, tracking-mode-aware surface (`TODO.md`, or the tracker work item) before writing the handoff, whose Notes field is formally pointer-only; `spell-open-session` runs a durability check and surfaces Last completed step, Blockers and Notes — fields close-session wrote but nothing had ever read back ([#125](https://github.com/codemagicianhq/arcane/pull/125)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.12) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.11...v0.22.12)

## [0.22.11] - 2026-08-31

### Changed

- ~ **Generated state diagrams, Tier 3 harmonization (BC-14 R11, [ARC-036](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-036--generated-state-diagrams-deterministic-mermaid-for-computed-spell-state)).** `spell-explain-concept`, `spell-architect` and `spell-scope` repoint their independently restated Mermaid prescriptions to universal rule 8 as the single source, classified as agent-authored design output rather than generated state; `spell-security-review` gains the trust-boundary flowchart the PRD assumed it already had. Closes BC-14 ([#123](https://github.com/codemagicianhq/arcane/pull/123)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.11) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.10...v0.22.11)

## [0.22.10] - 2026-08-31

### Added

- + **Generated state diagrams for four more spells (BC-14 R10).** `spell-review-batch` (a GO/NO-GO flowchart), `spell-manifest` (a routing flowchart), `spell-full-cycle` (a phase `stateDiagram-v2`) and `spell-close-session` (the session's own commit `gitGraph`, tied to its real per-commit verification) — each built from data the spell already gathers, each behind an applicability guard. Mermaid's `timeline` type was deliberately avoided: its own docs mark it experimental ([#121](https://github.com/codemagicianhq/arcane/pull/121)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.10) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.9...v0.22.10)

## [0.22.9] - 2026-08-31

### Added

- + **Branch/PR topology diagrams in `spell-commit-work` and `spell-create-pull-request` (BC-14 R9).** One shared `gitGraph` built from the `git log origin/<target>..HEAD` both spells already run; no new git command is introduced ([#119](https://github.com/codemagicianhq/arcane/pull/119)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.9) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.8...v0.22.9)

## [0.22.8] - 2026-08-31

### Added

- + **`spell status` renders the version-drift diagram the prompt already described (BC-14 R8).** `status.ts` had never actually compared the manifest version to the installed package's. A new `diagram-generator` module produces the same `gitGraph` as `spell-open-session` from the same three inputs, so CLI and prompt agree by construction: aligned plain text on a TTY, a fenced Mermaid block when piped ([#117](https://github.com/codemagicianhq/arcane/pull/117)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.8) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.7...v0.22.8)

## [0.22.7] - 2026-08-31

### Added

- + **Generated state diagrams, Tier 1 (BC-14 R1–R7, [ARC-036](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-036--generated-state-diagrams-deterministic-mermaid-for-computed-spell-state)).** Universal rule 8 gains the convention, and `spell-open-session`'s two-axis version check emits a canonical `gitGraph` when either axis drifts — built only from values actually known, and suppressed entirely when both axes are current ([#114](https://github.com/codemagicianhq/arcane/pull/114), [#115](https://github.com/codemagicianhq/arcane/pull/115)).

### Notes

- ◌ Three ADRs were drafted in this release and implemented in `0.30.0`–`0.33.0`: [ARC-037](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-037--secret-and-org-leak-detection-pre-commit-scan-plus-repository-wide-ci-backstop) secret and org-leak detection ([#106](https://github.com/codemagicianhq/arcane/pull/106)), [ARC-038](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-038--content-preserving-updates-and-vendor-neutral-governance-content) content-preserving updates and vendor-neutral governance ([#108](https://github.com/codemagicianhq/arcane/pull/108)), and [ARC-039](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-039--build-time-spell-compiler-generated-client-stubs-and-shared-prose-fragments) the build-time spell compiler ([#110](https://github.com/codemagicianhq/arcane/pull/110)). The [ARC-029](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-029--best-practice-first-solution-selection-standard) acceptance brief was prepared ([#112](https://github.com/codemagicianhq/arcane/pull/112)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.7) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.6...v0.22.7)

## [0.22.6] - 2026-08-31

### Added

- + **GitHub as a first-class `external_provider` (BC-09).** `ExternalProvider` becomes `"ado" | "github" | "jira" | "other"`, and `spell-bug`, `spell-plan`, `spell-scope`, `spell-suggest-feature` and `spell-full-cycle` gain real `gh issue` branches beside their `az boards` ones, every flag checked against the live CLI's `--help`. Not a reversal of [ARC-032](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-032--persisted-tracking-configuration-tracking_mode-and-external_provider-in-the-manifest), which dropped a `"github"` value that nothing read — this one ships with behavior behind it ([#104](https://github.com/codemagicianhq/arcane/pull/104)).
- + **`spell <unrecognized>` now says so (BC-08).** It fell through to the welcome screen with exit code 0, because the root action claims dispatch before Commander's unknown-command event can fire. It now prints the unrecognized name, the `/spell-<name>` guidance and the real command list — generated from `program.commands`, not a hand-written count that had already gone stale — and exits 1 ([#102](https://github.com/codemagicianhq/arcane/pull/102)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.6) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.5...v0.22.6)

## [0.22.5] - 2026-08-31

### Added

- + **A doc-ID link integrity gate (BC-06).** `check:adr-references` now detects "cross-repo-hazard" links — same-repo links to this repository's `DECISIONS.md` cited from a file that ships to consumers, where `src/assets/DECISIONS.md` is an empty starter template and the link dead-ends or resolves to the wrong document. Four live instances were found and fixed ([#98](https://github.com/codemagicianhq/arcane/pull/98)).

### Fixed

- ✓ **Shipped spell prompts cite ADRs as bare IDs, not full URLs.** The first commit of the change above converted the hazards to canonical GitHub URLs; CI's org-token portability gate rejected it, because a full URL bakes the project's own GitHub org into content that ships byte-for-byte into every consumer repo. The rule is now: a bare, unlinked ID in shipped prompts and instructions; links only in governance docs ([#98](https://github.com/codemagicianhq/arcane/pull/98)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.4...v0.22.5)

## [0.22.4] - 2026-08-31

### Fixed

- ✓ **Roster integrity batch (BC-04).** `spell agents init/sync` now exit non-zero when a rostered role's definition genuinely fails to resolve, instead of passing CI silently; [ARC-012](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-012--generated-distributable-artifacts-require-a-parity-guard)'s parity guard now covers `.github/agents/*.agent.md`, and its first run found `mercurio.agent.md` still shipping a literal `[object Object]` from a defect whose source YAML had been fixed in PR #45 but whose generated snapshot never was ([#94](https://github.com/codemagicianhq/arcane/pull/94)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.3...v0.22.4)

## [0.22.3] - 2026-08-31

### Added

- + **Content-verified branch deletion (BC-03).** `git-conventions.md` gains the canonical procedure: provider PR status first when available, otherwise `git cherry` patch-id equivalence plus a resulting-content check for `+`-flagged commits, because a squash merge or an independently re-authored commit carries already-landed content under a different patch-id. `spell-close-session` gains a real idempotent sweep step. Run here for real, it found two "unmerged" branches whose content was byte-identical to `main` ([#92](https://github.com/codemagicianhq/arcane/pull/92)).

### Fixed

- ✓ **`copy-assets` prunes `dist/assets/` before copying (BC-02).** A deleted source file (`spell-eas-ios-deploy.prompt.md`) had survived every direct `tsx scripts/copy-assets.ts` run as an orphan. Found while fixing it: the script called `main()` unguarded at module scope, so importing it from a test rebuilt the real `dist/assets/` as a side effect and raced `init.test.ts`'s built-CLI subprocesses ([#90](https://github.com/codemagicianhq/arcane/pull/90)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.2...v0.22.3)

## [0.22.2] - 2026-08-31

Opens the Become Current program (`docs/plans/become-current/`) — an autonomous full-cycle loop through the intake backlog, which runs through `0.33.2`.

### Added

- + **[ARC-035](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-035--auto-merge-requires-a-clear-review-round) — auto-merge requires a clear review round (BC-01).** A new "Review round clear" CI job blocks on an outstanding, un-dismissed `CHANGES_REQUESTED` review rather than on approval count, since GitHub blocks self-approval and this repository's author and reviewer are routinely the same identity; `spell-review` and `spell-review-batch` post and later dismiss that formal state. The closed-PR push warning ships for this repository's own pre-push hook only — recorded as a verified gap rather than claimed ([#88](https://github.com/codemagicianhq/arcane/pull/88)).
- + **[ARC-036](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-036--generated-state-diagrams-deterministic-mermaid-for-computed-spell-state) — generated state diagrams**, promoted from a PRD ([#84](https://github.com/codemagicianhq/arcane/pull/84)) and implemented across `0.22.7`–`0.22.11`.

### Fixed

- ✓ **The pre-push hook aborted under husky's `sh -e`** whenever `git symbolic-ref` (detached HEAD) or `gh pr view` (no PR yet) exited non-zero — taking `npm test` down with it. Both substitutions are now guarded ([#88](https://github.com/codemagicianhq/arcane/pull/88)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.1...v0.22.2)

## [0.22.1] - 2026-08-25

### Fixed

- ✓ **`cicd-standards.md`'s Azure DevOps branch-policy table said the opposite of [ARC-009](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-009--session-naming-and-pr-lifecycle-reliability-policy) and `git-conventions.md`** — "squash merge or rebase (no merge commits)" where both sanction merge (no fast-forward) and rebase-and-fast-forward while disallowing squash. Found while checking a remembered ADO restriction against two real repositories, one of which had already drifted into mixed merge strategies because the rule lived only in prose ([#79](https://github.com/codemagicianhq/arcane/pull/79)).

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.22.0...v0.22.1)

## [0.22.0] - 2026-08-25

Adds web discoverability and external-verification governance, plus a spell that applies them.

### Added

- + **`web-discoverability-standards`** — how a web property becomes retrievable by search-engine crawlers and by the AI assistants that answer from a search index. 15 rules (`WD-01`–`WD-15`): server-rendered per-route metadata over both a full SSR pipeline and a client-side head library; a real not-found status instead of an always-200 catch-all; runtime-resolved environment values, never build-time; never routing crawler traffic through user-traffic side effects; a sitemap that reuses the app's own visibility rule; a robots-exclusion allow-rule that must be declared to escape a broader disallow; crawl control and index control as two mechanisms that close different gaps; DNS-apex registration, instant-notification coverage, and why search-index presence is the real AI-retrieval lever; two independent escaping treatments for untrusted metadata; and why an image generator can't reproduce exact type or logos.
- + **`external-verification-standards`** — rules for confirming a write actually took effect in a system you don't control: a console, a pipeline, a DNS zone, any third-party API. 6 rules (`EV-01`–`EV-06`): persisted state is proved only by re-reading it, never by the interface that accepted the write; a green pipeline exit proves the pipeline ran, not that the live system reflects the change; when a system's own readout disagrees with intent, escalate rather than retry blind; comparison-critical values must never carry embedded commentary; enumerate before writing to shared external state, and prefer additive over replace; rule out real causes before attributing a fresh "not found" to propagation lag.
- + **`spell-make-discoverable`** — audits and fixes a web property's discoverability against both standards docs above, citing rule IDs rather than restating them. Read-only by default; every outward-facing action (a DNS write, a console submission, a crawl-notification ping) is confirmed individually with current state printed first, and nothing is written without an explicit approval gate. Joins the `spells-build` component group.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.22.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.21.1...v0.22.0)

## [0.21.1] - 2026-08-24

Names ARC-028's central concept and moves the record to **Accepted**, closing the last open item from the 2026-08-15 concurrency spike.

### Changed

- ~ **[ARC-028](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-028--concurrency-and-isolation-model-for-parallel-work) is Accepted.** Its container concept is a **session workspace** — one session workspace = one instance of one isolation primitive (primary checkout · linked worktree · full clone), and the unit a control center renders as a tile. Every implementation item this repository owns was already shipped in `0.21.0`; the record was held at `Proposed` solely for the name.
- ~ **The name was resolved by the Naming Test, not the four-check.** `naming-conventions.md` holds that a universe name must be *earned by the absence of an established industry term*. No such absence exists: four independent tools already call this a workspace (git worktree · VS Code workspace · Codespaces · OpenClaw workspace), and that convergence is evidence the word is right rather than evidence it is taken. The concept takes **no lore word** — the first ARC naming decision to land that way. The vetted candidates (Grotto, Cloister, Vestry, Oratory) stay on the record unused.
- ~ **`git-conventions.md` gains "Where Work Runs — Session Workspaces"** under Branch Discipline, defining the noun at the point a reader first meets the primitives. Mechanical git vocabulary is deliberately unchanged — `worktree`, `primary checkout` and `clone` remain correct in every command, path and error message, per ARC-028 item 10's own rule that the product noun never replaces git terms in technical payloads.

### Notes

- ◌ **The term is qualified because the bare word was already taken — internally.** A check at pick time found `workspace` load-bearing in two other Arcane senses: the agent sandbox root (`workspace-{agent}` in `agent-approved-paths.md` and `agent-policies.md`) and the shipped, validated schema fields `openclaw.workspace_root` / `workspace_prefix` (`src/types.ts`, `src/modules/agent-schema.ts`) that consumers already set. The second is sharper than it looks: Arcane ships one of the four colliding meanings the ADR set out to disambiguate. Taking the bare word would have used one noun for three things — the internal-collision class that flagged **Cabinet** against the cockpit's File Cabinet — so `session workspace` was adopted instead, with no rename and no schema change.
- ◌ **Four-check disposition, recorded rather than skipped:** a generic industry term cannot be appropriated from a coiner, so checks 1–3 do not bind and the trademark caveat is moot. Check 4 (first association) does bind, and its answer — the overloaded set itself — is exactly why the qualifier is mandatory rather than stylistic.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.21.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.21.0...v0.21.1)

## [0.21.0] - 2026-08-23

Completes every [ARC-028](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-028--concurrency-and-isolation-model-for-parallel-work) follow-up this repository owns, and files one new intake finding.

### Added

- + **[EF-35](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-35.md)** — secret-handling policy is stated in five governance documents but no detection mechanism exists anywhere: no scanner on the commit path, the push path, or in CI, and nothing configuring GitHub's own secret scanning. Routed to an ADR rather than implementation, because the real decision is where the check binds and what it may block — and it must extend ARC-034's pre-push hook rather than compete for `core.hooksPath`.

### Changed

- ~ **Governance now distinguishes the primary checkout from a linked worktree** (ARC-028 R1/R8). `git-conventions.md` previously told every session to `git checkout main` after merge and `git branch -d` the topic branch. From a linked worktree both **fail** — git refuses to check out one branch in two worktrees, and refuses to delete a branch still attached to one. The session-branch close, the docs-workflow fast-forward merge, the Magus+ self-merge step, and Post-Merge Cleanup are each scoped to the primary checkout, with the worktree path spelled out beside them: push → PR → `git worktree remove` from the primary vantage point. Both refusals were verified against real git rather than assumed, and the text says explicitly that they are the guardrail ARC-028 leans on, not an obstacle to force past with `-D`.
- ~ **`spell-open-session` selects the isolation primitive before anything is written.** Repo-state management → primary checkout; primary occupied → linked worktree; unattended automation → full clone; otherwise the do-nothing default. Overlapping footprints override the choice and serialize (R4), because isolation hides collisions until merge review rather than preventing them.
- ~ **`spell-close-session` no longer ends a worktree session by checking out trunk.** It detects the primitive with `git rev-parse --path-format=absolute --git-common-dir` vs `--git-dir` and forks: the primary path is unchanged, the worktree path reports the worktree and branch for removal from another vantage point and verifies the merge against the remote-tracking ref instead. `--path-format=absolute` is load-bearing — without it `--git-dir` is absolute and `--git-common-dir` relative from any subdirectory, so every primary checkout reads as a worktree.
- ~ **`spell-implement`, `spell-full-cycle` and `spell-ship` scope their trunk-sync and cleanup steps too.** All three began with an unconditional `git checkout main`, which fails in a linked worktree — and in `spell-implement` and `spell-full-cycle` it is step 0, before any work, whose only stated failure branch covers a `pull` failure rather than the `checkout` that actually fails. In `spell-ship` it fails *first* in the cleanup block, leaving the remote-branch deletion half-done.
- ~ **`agent-policies.md` no longer contradicts `git-conventions.md`.** It carries a near-duplicate of the Agent Workflow whose Magus+ step and ff-only recovery block were left unscoped, so the two governance documents gave opposite instructions on the same question. A Magus+ agent in a worktree reading the wrong one would attempt a local ff-merge that git refuses.
- ~ **The worktree refusals are stated conditionally, because they are conditional.** They hold when a working tree actually holds trunk. A bare repository with worktrees attached — a common agent-fleet layout — usually has none, and there both commands succeed; the prompts now check `git worktree list` rather than asserting the failure, and name the bare repository as the removal vantage point instead of a primary checkout that does not exist.
- ~ **`spell-full-cycle` requires a footprint comparison before running epics concurrently**, naming shared sequences (migration numbers, generated indexes, lockfiles) as the axis people miss. Backed by the recorded evidence: a four-epic parallel run produced two duplicate migration numbers and two conflicting imports, invisible until human review; a serialized three-epic re-run produced zero.
- ~ **`threat-model.md` no longer marks credential exposure "Mitigated".** The listed mitigation was entirely storage conventions with nothing verifying them; the row now states that detection is not implemented and says to rotate any credential that reaches a commit.

### Notes

- ◌ **A repository-wide check now enforces the scoping**, rather than tests that only assert about the files a pass happened to touch. It fails if any distributed prompt or governance document contains a trunk checkout without primitive scoping nearby. The first pass at this work shipped green while three spells still carried an unconditional `git checkout main` — one in a file that same change edited — because every test was a positive assertion and nothing asked "is there anywhere else?".
- ◌ ARC-028's naming four-check ran and **Chamber failed it** — OpenChamber (9.1k★, "an agentic development environment" organised around Sessions), cirruslabs/chamber (agent isolation in VMs), and Chamber YC W26 all occupy the same audience, with segmentio/chamber owning first association. The naming rollout stays parked; vetted alternatives are recorded in the ADR. ARC-028 remains Proposed for that reason alone — every implementation follow-up this repository owns is now done, and the cockpit rendering contract belongs to a different repository.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.21.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.20.2...v0.21.0)

## [0.20.2] - 2026-08-23

More push-safety fixes, from a review that attacked the shipped `0.20.1` rather than reading it. **Two of these let a single ordinary command deliver the full history while `spell doctor` reported the repository blocked.** If you use `push_policy: "blocked"`, upgrade and re-run `spell doctor`.

### Fixed

- ✓ **The pre-push hook did not exist in any linked worktree.** `core.hooksPath` was written as the relative literal `.arcane/hooks`, and git resolves a relative hooks path against *each worktree's own top level* — but the hook file is untracked and exists only in the checkout that created it. So every linked worktree inherited the config and had no hook, meaning `git push <url>` (the bypass only the hook covers) succeeded in one ordinary command, no `--no-verify` needed. This was not an edge case: Arcane's own methodology (ARC-028 R3) sends concurrent sessions into linked worktrees, so the control was absent exactly where the tool tells you to work. `core.hooksPath` is now absolute and anchored on the common git directory, so every worktree resolves to the one real hook.
- ✓ **`spell init` in a subdirectory installed the hook where git never looks.** `--is-inside-work-tree` is true from anywhere in a repository, so initialising inside a monorepo package wrote the hook under that package while pointing repository-wide `core.hooksPath` at a path git resolves from the root. The hook layer was absent throughout the repository, `doctor` reported it in place, and the repository's own `.git/hooks` stopped firing as collateral. The hook is now always installed at the repository root.
- ✓ **Taking `core.hooksPath` silently disabled hooks in git's default directory.** The R7 collision guard only looked for a competing `core.hooksPath`, so a repository with ordinary `.git/hooks/*` — no hook manager, no config key to collide with — had every one of them switched off without warning. That is the exact harm R7 exists to prevent, reached by the one route it was not watching. Installation now refuses and names the hooks it would have displaced (git's inert `.sample` templates are ignored).
- ✓ **A push URL contributed by an `include`d config file defeated the block and was reported as covered.** Git labels such a value as `local` scope, so the outer-scope refusal never fired and `--replace-all` could not remove it. Rather than enumerate another special case, applying the block now **re-reads what git actually resolves afterwards** and fails unless the result is exactly the sentinel.
- ✓ **A partial unblock closed its own retry path.** `spell unblock-push` returned early on `push_policy: "open"`, which is precisely what a partial lift had already written — so the failed attempt made the command refuse to finish the job. It now gates on whether the controls are actually in force.
- ✓ **A stale marker could delete a genuine push URL.** `git config --unset-all` exits 5 for an absent key; letting that throw skipped the bookkeeping cleanup, and a surviving "there was no push URL here" marker made the next block record nothing and the restore after that remove a real URL while reporting success.
- ✓ **`core.hooksPath` set at worktree scope is now removable**, and a push URL at worktree scope is treated as overridable rather than foreign — a repository can write both itself.
- ✓ **The remedy string for an unparseable scope no longer suggests `git config --unknown`**, which is not a command.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.20.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.20.1...v0.20.2)

## [0.20.1] - 2026-08-23

Fixes defects in `0.20.0`'s push-safety controls, found by a verification review that exercised them against real repositories rather than reading the code. **If you set `push_policy: "blocked"` on `0.20.0`, re-run `spell doctor` after upgrading** — it will tell you whether that repository is actually covered.

### Changed

- ~ **A blocked push now names its own remedy.** With both layers active the URL fails first and the hook never runs, so the only text git prints is the scheme name. It is now `arcane-push-blocked-run-spell-unblock-push`, turning a dead end into an instruction.
- ~ **The `guarded` reminder prints each remote's push URL**, not just its name. Catching a wrong remote is the reminder's entire job, and `origin` alone says nothing about where it points.
- ~ **Config scope is read rather than inferred**, via `git config --show-scope`. A `core.hooksPath` set at *system* scope, or per-worktree, was previously described to the operator as "set globally" — sending them somewhere that did not have it.
- ~ ARC-034 asserted that no single bypass gets through, three lines above the paragraph documenting the case where one does. That property holds only for remotes covered at the time the policy was applied, and now says so.

### Fixed

- ✓ **A push URL configured outside the repository defeated the block entirely, while `doctor` reported it covered.** `remote.<name>.pushurl` is multivalued and git collects values across system, global and local scope — so writing the sentinel locally **appended** to git's list rather than replacing the live URL, and because the outside value sorts first git **delivered the push** and only then failed on the sentinel. Exit code 128, history already gone, `spell doctor` green. A local write cannot subtract an outside value, so applying the policy now refuses for that remote and names the scope to fix, and `doctor` reads the effective URLs across every scope rather than only this repository's.
- ✓ **`blocked` could silently leave remotes pushable.** `0.20.0` recorded each remote's original push URL under `arcane.originalPushUrl.<remote>`, and three ordinary git configurations broke it — every one of them leaving remotes live in a repository the operator had just been told was blocked:
  - A remote name that is legal for git but illegal as a trailing config key (`my_remote` — that segment must be alphanumeric or `-`) made `git config` fail. The error aborted the whole loop, so **every remote after it in git's ordering was never touched**.
  - Trailing config-key segments are case-**insensitive**, so remotes `origin` and `Origin` collided on one key. One original was lost, and unblocking pointed one remote at the other's URL — the wrong-remote push this feature exists to prevent, arriving through its own recovery path.
  - `git remote rename` orphaned the record. Unblocking then restored nothing while reporting success, and `doctor` reported `open` over a still-blocked remote. The record now lives at `remote.<name>.arcaneOriginalPushUrl`, inside the remote's own section: git accepts any legal remote name there, subsection names **are** case-sensitive, and `git remote rename` moves the whole section including keys git has never heard of. Applying the block is also fault-isolated per remote now — one remote that cannot be covered is reported, never allowed to abandon the rest.
- ✓ **A mirror remote with two push URLs defeated the block entirely.** `git remote set-url --push` refuses such a remote outright, which aborted the run with both mirrors still pushable. The sentinel is now written with `git config --replace-all`, and both URLs are restored on unblock.
- ✓ **A blocked remote with no prior `pushurl` got one pinned to it.** Unblocking wrote the fetch URL into a new `pushurl` key that had never existed, so a later `git remote set-url` changed fetch only and pushes kept going to the old location. Restore now removes the key when there was none.
- ✓ **`doctor` reported a neutered hook as enforcement.** It checked the hook file existed but not its contents, so a zero-byte file — or one edited down to `exit 0` — passed while real pushes succeeded. It now compares the body, and on POSIX also requires the execute bit, since git silently skips a hook without it.
- ✓ **`doctor` reported an enforced hook as missing.** `core.hooksPath` was compared by exact string, so `.arcane/hooks/`, `./.arcane/hooks`, and an absolute spelling were all called foreign even though the hook demonstrably fires. Comparison is now path-normalised (case-folded only on Windows — folding on POSIX would make the collision guard fail open).
- ✓ **`spell uninstall` left a blocked repository unable to push, with no way back.** It deleted `.arcane.json` while leaving the hook and sentinel URLs in force, so `spell unblock-push` no longer recognised the repository and recovery meant hand-editing git config — after being told the uninstall succeeded. It now refuses and points at `unblock-push`, keyed on whether the controls are **actually** installed rather than on what the manifest declares.
- ✓ **`spell unblock-push` could leave the hook in force while reporting success.** Removing a `core.hooksPath` set at *worktree* scope was attempted with `--local`, which cannot touch it, and the hook file was never deleted. It now unsets at the scope the value lives in, deletes the hook file, verifies the result, and reports a partial lift as a **warning** rather than a success with footnotes underneath.
- ✓ **Records written by `0.20.0` are no longer applied blind.** `0.20.0`'s flat key was case-insensitive and survived `git remote remove`, so restoring from it could point a remote at another remote's URL, or at a target the operator had moved away from — reported as a clean success. Such a record is now applied only when the remote is still carrying Arcane's sentinel and no two remote names differ only by case; otherwise the recorded value is printed for you to apply by hand.
- ✓ **The hook-manager collision guard failed open when git could not be asked.** Any error other than "not set" — an unparseable config, a permission error, a git too old for `--show-scope` — was read as "nothing is configured", and installation proceeded over a hook manager it had simply failed to see. It now refuses and says so.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.20.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.20.0...v0.20.1)

## [0.20.0] - 2026-08-23

Implements the push-safety design accepted in [EF-09](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-09.md), recorded as [ARC-034](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-034--push-safety-for-sensitive-repositories).

### Added

- + **`push_policy`** — `open` (default), `guarded`, or `blocked`. Strictly additive: every existing repository behaves exactly as before. Asked once at `spell init`, backfilled by `spell update`'s retrofit.
- + **`blocked` installs two layered controls** — a `pre-push` hook *and* a sentinel push URL on every configured remote, not just `origin`. Both are needed, and they cover each other's blind spot: `--no-verify` skips hooks so only the URL catches it, while `git push <url>` and second remotes never consult the first remote's URL so only the hook catches those. The fetch URL is untouched, so a blocked repository can still pull. **Known gap:** the URL layer only covers remotes that exist when the policy is applied — a remote added later is covered by the hook alone. `init` warns about this, and `doctor` reports any remote whose push URL is still live.
- + **A hook-manager collision guard, at any config scope.** `core.hooksPath` is a single exclusive slot — Git reads one hooks directory, never several — so installation refuses rather than silently disabling an existing Husky, Lefthook, or pre-commit setup. The effective value is read with `git config --get`, which respects local > global > system: an earlier implementation read only the local scope and was blind to a **global** `core.hooksPath`, the standard way organisations deploy hook managers, so it reported success while disabling them. (Arcane's own repository uses `.husky/_` for lint, typecheck and the test suite.)
- + **`spell unblock-push`** — the only way to lift a block. Interactive terminal only, requires the repository name typed back, records the change with a timestamp, and offers no "just this once" mode.
- + **A `doctor` check that verifies enforcement, not just declaration.** A manifest claiming `blocked` while the controls are absent is reported as such — a protection that is only asserted is worse than none, because it gets trusted. That includes checking the hook **file** exists, not only that `core.hooksPath` points at it: deleting the file leaves the config intact and pushes succeed. A `blocked` repository with no remote is likewise not reported as fully protected. For `guarded` repositories the reminder fires regardless of remote state, rather than going silent the moment any remote (possibly the wrong one) is configured.

### Notes

- ◌ The controls resist an **accidental** push — wrong remote, muscle memory, an unsupervised agent — not a determined operator, and `core.hooksPath` does not travel to a fresh clone. ARC-034 states the limits plainly rather than implying a guarantee, because a control believed to be stronger than it is produces exactly the carelessness it was meant to prevent.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.20.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.19.0...v0.20.0)

## [0.19.0] - 2026-08-23

Completes docs mode. Records the decisions in [ARC-033](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-033--docs-mode-subject-root-content-sensitivity-and-capability-scoped-spell-components), which amends ARC-020 for the third time — ARC-020 itself stays Proposed, since its broader scope is genuinely still open. Closes [EF-03](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-03.md), [EF-04](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-04.md), [EF-07](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-07.md), [EF-10](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-10.md), [EF-11](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-11.md), [EF-12](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-12.md).

### Added

- + **`subject_root`** — describes a repository that *is* one subject rather than a portfolio of ventures. Independent of `business_root` and may coexist with it. **`"."` is supported**, meaning the repository root itself is the subject tree: an existing archive can come under governance without being restructured first. `null` records "asked, no single subject root", distinct from never having been asked. Validated by shape, since the value is resolved against the repo root and handed to spells — absolute, drive-relative, UNC and `..`-traversal values are rejected.
- + **`content_sensitivity`** — `standard` (default, today's behaviour) or `sensitive`. In sensitive repositories agents cite document paths rather than contents in journals, decisions, commits and PRs, and retain no screenshots of repository contents. Declared once per repository, because content-based classification of general documents has no reliable signature. This constrains what agents *write down*; it is not an access control.
- + **`spell-adopt-docs`** — dry-run-first adoption of an existing document tree: inventory, propose a written mapping, get approval, then apply in separately-revertable phases. Never deletes a document, never overwrites a file, and stops at the first collision rather than attempting partial recovery.
- + **`records-conventions.md`** — superseded documents keep their path and gain a tombstone header naming their replacement. No archive directory (moving breaks every inbound link, and the reader arriving by a stale link is exactly the one you need to redirect) and no shipped retention schedule (periods are jurisdiction- and contract-specific; absence of a known period is recorded as "unknown, therefore do not delete").
- + **Repository baseline** — the docs profile emits a `.gitattributes`/`.gitignore` pair covering LF normalization and binary document formats, as user-owned `skipExisting` files. A repository with its own already has an intentional policy. Git LFS is documented as an opt-in decision, not configured by default.
- + `RegistryComponent.sourceOverrides` — lets an installed dotfile be stored under a plain source path. A nested `.gitignore` inside an npm tarball can exclude sibling files from the published package, and a nested `.gitattributes` would apply its rules to Arcane's own source tree.

### Fixed

- ✓ `git-conventions.md` said docs repositories require a pull request while `cicd-standards.md` recorded ADR-048's docs-only exception. The exception governs; the policy table is corrected.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.19.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.18.0...v0.19.0)

## [0.18.0] - 2026-08-23

### Added

- + **`docs` profile** ([EF-04](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-04.md), docs-mode PRD MH-01) — a fifth installable profile for documentation and records repositories. Installs session, capture, PR-delivery, planning and meta spells plus core governance; deliberately excludes implementation, test-coverage, stack-expert, deployment, PRD-enchantment, adversarial code review, asset tooling and hub-venture workflows. `tracking_mode` defaults silently to `internal` for this profile, alongside `governance-only` and `methodology`. Retained spells complete their core workflow without source code, tests, CI, or an external tracker. Two carry a known caveat, stated rather than glossed: `spell-architect` and `spell-scope` each produce a complete document on their own, but their downstream consumer (`spell-implement`) is not installed here, so a docs repo uses them as design-note tools rather than as the front of a build chain.

### Changed

- ~ **Spell components are now capability-scoped.** The monolithic `spell-prompts` (34 spells) and `claude-commands` (34 wrappers) components were split into eight groups — `spells-session`, `spells-capture`, `spells-delivery`, `spells-review`, `spells-planning`, `spells-build`, `spells-venture`, `spells-meta` — so a profile can select spells by capability. **No spell file was renamed or moved**; grouping lives in the registry only, and every file stays flat in `.github/prompts/` and `.claude/commands/`. Each component now carries *both* client formats of the same spell. The two were never independently selectable (every profile that took one took the other), and pairing them makes it structurally impossible for a spell's Copilot prompt and Claude wrapper to diverge across profiles. **Existing installs migrate automatically on `spell update`** — no questions, no action required. A manifest listing either legacy name (or both, which is the common case) converges on the same seven components, deduped. Without this, `update` would have hit `ComponentNotFoundError`, preserved the dead entry, and silently stopped updating that repo's spells forever.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.18.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.17.1...v0.18.0)

## [0.17.1] - 2026-08-23

### Fixed

- ✓ `correctUnbornMasterDefault` no longer treats an *unreadable* `refs/heads/main` as an absent one. Both `rev-parse --verify` and `show-ref --verify` return the same nonzero status for a corrupt ref as for a missing one (verified empirically), so the previous bare `catch` could repoint HEAD onto a branch that still held real history — the exact history-splice hazard its own R1 guard exists to prevent. Now uses `for-each-ref`, which separates healthy / corrupt / absent via stdout+stderr, declines the correction on a broken ref, and reports `blockedReason: "target-unreadable"` so `spell init` can warn instead of silently doing nothing.
- ✓ `scripts/check-version-bump.ts` no longer prints a spurious `fatal: path 'package.json:package.json' does not exist` line on any CI run that touched a distributable path (runs that touch none short-circuit before reaching it). `getVersion` already appends `:package.json`, so the first operand of its `||` fallback built a doubled path that could never resolve — the fallback was doing all the work. Its `execSync` helper now pipes stderr rather than inheriting it, so a failure this helper deliberately swallows can't surface as a scary CI error.
- ✓ `vitest.config.ts` now excludes `**/.claude/**`. Linked worktrees live under `.claude/worktrees/<name>/`, each with a complete `test/` directory, so `npm test` from the primary checkout discovered and ran every test file a second time per live worktree. (`defaultExclude` is spread back in — Vitest replaces this array rather than merging it.)
- ✓ `package-lock.json`'s own `version` fields were stale at `0.16.1`, six bumps behind `package.json`. Resynced; no dependency resolutions changed.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.17.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.17.0...v0.17.1)

## [0.17.0] - 2026-08-22

### Added

- + `tracking_mode`/`external_provider` persist in `.arcane.json` on exactly `profile`'s contract ([ARC-032](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-032--persisted-tracking-configuration-tracking_mode-and-external_provider-in-the-manifest), amends [ARC-020](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-020--canonical-repository-configuration-schema), [EF-14](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-14.md)): asked once at `spell init` (silent `internal`/`null` default for docs-only profiles, asked interactively for `full`/`lite`), backfilled via a new `MANIFEST_RETROFITS` entry on `spell update` for pre-existing installs.

### Fixed

- ✓ `spell-open-session`/`spell-plan` now resolve tracking configuration from root `.arcane.json` → the committed self-hosted source manifest → PRD frontmatter → ask, instead of asking every session — this repo's own checkout previously asked every time despite `src/assets/.arcane.json` already declaring `tracking_mode: internal`, because the prompt explicitly refused to read it.
- ✓ `ExternalProvider`'s type corrected from `azure-devops | github | gitlab | jira` (never actually used anywhere) to `ado | jira | other`, matching ARC-011 and both consuming prompts.
- ✓ Seven spells hardcoded `ventures/` instead of resolving `{BUSINESS_ROOT}` from `.arcane.json`'s `business_root` field ([EF-08](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-08.md)): `spell-check-drift`, `spell-commit-work`, `spell-open-session`, `spell-plan`, `spell-todo`, `spell-summon-venture`, `spell-save-idea`. `spell-check-drift` and `spell-todo` each needed more fixes than the intake's now-stale line citations found; `spell-summon-venture` and `spell-save-idea` weren't in the intake's citation list at all -- found by an adversarial-review completeness sweep, not the original diagnosis.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.17.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.6...v0.17.0)

## [0.16.6] - 2026-08-22

### Changed

- ~ Accepted [ARC-022](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-022--fail-safe-ci-path-filter-policy) and wired it into `cicd-standards.md` ([EF-22](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-22.md)): the .NET and Node.js pipeline templates switch from include-based (or unfiltered) path triggers to a narrow, fail-safe exclude list, so a new code directory can no longer silently bypass CI. The Terraform and Markdown-lint templates stay correctly include-scoped for their narrower technology-specific purpose, widened to also cover their own pipeline definition file. New explicit rule against using commit message/author/branch name as a CI trust signal, and new guidance on keeping Azure DevOps branch-policy path filters aligned with YAML trigger scope.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.6) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.5...v0.16.6)

## [0.16.5] - 2026-08-22

### Fixed

- ✓ Ships ARC-028's R7 rail as standing operational governance ([EF-33](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-33.md)): a new "Same-Vantage-Point Check" section in `git-conventions.md` requires independently confirming a worktree/branch path from the *current process's own filesystem* before any irreversible worktree/branch operation, since `git worktree list` can truthfully report a live, healthy worktree as `prunable` when read through a bridged/remote mount. Railed into `spell-commit-work`, `spell-close-session`, and `spell-ship`'s branch-deletion steps, plus `spell-open-session`'s worktree-list/stale-branch reads. `agent-policies.md`'s Multi-Agent Concurrency Rules gains the working-tree dimension (ARC-028 item 11a). Not CI-testable per the intake's own scope (cross-mount filesystem visibility can't be reproduced on one runner); shipped with string-assertion coverage on the governance text itself. ARC-028 remains Proposed — only two of its follow-up items are complete.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.4...v0.16.5)

## [0.16.4] - 2026-08-22

### Fixed

- ✓ `spell-close-session` gained a structured pending-verification mechanism ([EF-21](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-21.md)): a new step requires actively checking the status of every async operation dispatched during the session (CI runs, deployments, publishes) before the journal, TODO.md, or handoff are written, classifying each into `dispatched` / `pending` / `succeeded` / `failed` / `unverifiable` — only `succeeded` work may be described as complete anywhere. The handoff template gained a `Pending Verification` field; `spell-open-session` now actively re-checks any non-`succeeded` item from the prior handoff instead of relaying it as still-current fact.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.3...v0.16.4)

## [0.16.3] - 2026-08-22

### Fixed

- ✓ `spell init` now distinguishes not-a-repository / unborn / ready Git states instead of a blind uncommitted-changes count ([EF-05](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-05.md)): an unborn repo on `master` (the reported Git for Windows `init.defaultBranch` default-leak) is safely repointed to `main` via `symbolic-ref` before any commit exists; any other deliberately-chosen branch name is left untouched; a directory with no repository at all gets an explicit `git init -b main` next-step instead of a silent gap. `spell-close-session` gained a matching "not a repository" classification, checked first and failing closed with the same guidance.
- ✓ `spell init` and `spell doctor` now address `pull.rebase` governance drift ([EF-32](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-32.md)): init sets the repository-local value to `true` when nothing is set locally (never overriding an explicit local `false`, which is surfaced as a warning instead), and doctor's new `checkPullRebase` independently warns (non-blocking) whenever the effective value isn't `true`.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.2...v0.16.3)

## [0.16.2] - 2026-08-22

### Fixed

- ✓ `src/modules/git.ts` now routes every production Git invocation through a single non-interactive execution contract ([EF-20](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-20.md), [EF-13](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-13.md)): closed stdin so an interactive prompt can't block indefinitely, `GIT_TERMINAL_PROMPT=0`/`GCM_INTERACTIVE=Never` to suppress credential prompts, `GIT_OPTIONAL_LOCKS=0` to avoid stranding an optional lock on filesystems that reject unlink, and a command-class-scoped timeout that throws a typed `GitTimeoutError` instead of hanging. `inspectGitRepository`/`countUncommittedChanges` are unchanged externally.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.1...v0.16.2)

## [0.16.1] - 2026-08-22

### Fixed

- ✓ Widened the org-token build gate from a portability check (package-derived tokens in `src/assets/.github/prompts` only, unchanged) into two layers: portability, and a repository-wide privacy layer scanning docs, tests, and decision records against a denylist supplied via the `ARCANE_ORG_TOKENS` CI secret (unset = inert, so forks and local builds are unaffected). Established the Ordovica/Tidewright/Overshore fictional venture family as the canonical placeholder set for all examples (ARC-031).
- ✓ Replaced a hardcoded `codemagicianhq/arcane` literal in `spell-feedback`'s upstream-routing step with `{ARCANE_UPSTREAM_REPO}`, resolved from the installed package's own repository field, so forks/renames route correctly and the org-token lint no longer flags the spell itself.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.1) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.16.0...v0.16.1)

## [0.16.0] - 2026-08-22

### Added

- + **`role`/`business_root`** on `ArcaneManifest` (explicit opt-in only, never inferred): `spell init` asks whether a repo is a venture hub on interactive installs; `spell update` gains a general manifest-retrofit mechanism that asks about any field the installed version predates, once. Answering "hub" offers to scaffold `ventures/registry.json` from existing venture folders.
- + **`spell-manifest`** — a new hub-gated spell that batch-triages `status: new` entries out of hub-side `IDEAS.md`/`TODO.md` books to a consumer repo, a PRD scaffold, a tracker item, a demoted todo, another venture's book, or public disclosure (gated per-entry on the literal word "disclose", keyed off destination visibility rather than destination type). Spell count 33 → 34.
- + Venture-targeting phrasing for `spell-save-idea`/`spell-todo` (hub-only; refused in consumer repos), and hub-role/registry-consistency detectors in `spell-check-drift`.
- + `spell-feedback` upstream-routing: framework-shaped feedback is genericized and offered as a GitHub issue against Arcane itself, gated by the same disclosure discipline.
- + Full decision record: [ARC-030](https://github.com/codemagicianhq/arcane/blob/v1.24.1/DECISIONS.md#arc-030--venture-idea-lifecycle-hub-role-registry-and-spell-manifest-promotion).

### Changed

- ~ **BREAKING:** `spell-bootstrap-business` is renamed to `spell-summon-venture` with no compatibility alias (ARC-008 clean-break precedent) — its behavior changed substantively (hub gate, per-venture books, registry entry), so an alias would have promised behavior that no longer exists. Use `spell-summon-venture`.

### Fixed

- ✓ Pre-commit hook test runs no longer inherit `GIT_DIR` and corrupt the real repository ([EF-34](https://github.com/codemagicianhq/arcane/blob/v1.24.1/docs/intake/batch-001/EF-34.md)): test git fixtures are now hermetic, `pre-commit` is fast-checks-only (lint + typecheck), and the full suite moved to `pre-push` with its own environment scrub.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.16.0) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.9...v0.16.0)

## [0.15.9] - 2026-08-21

### Fixed

- ✓ `spell agents init`/`sync` no longer silently drops the `mobile-dev` role: an unquoted colon-space in a `behavioral_rules` item made the bundled template parse as a YAML mapping and fail validation, skipping the agent from every client output with a zero exit code. Every shipped agent template is now covered by a validation regression test.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.9) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.8...v0.15.9)

## [0.15.8] - 2026-08-03

### Changed

- ~ Refine `spell-commit-work`'s execution-authority resolution table and related guidance.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.8) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.7...v0.15.8)

## [0.15.7] - 2026-08-03

### Added

- + Install-once `README.md` and `project.md` orientation stubs for new repositories.

### Fixed

- ✓ Resolve spell governance links through the single installed `.arcane/governance/` layer.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.7) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.6...v0.15.7)

## [0.15.6] - 2026-08-03

### Added

- + Ship an offline legacy framework decision reference and fail CI for missing or malformed distributed ADR citations.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.6) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.5...v0.15.6)

## [0.15.5] - 2026-08-03

### Added

- + Define Arcane-vendored commit provenance with human authorship and programmatically derived vendor trailers.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.5) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.4...v0.15.5)

## [0.15.4] - 2026-08-03

### Fixed

- ✓ Make close-session remote synchronization provider-neutral and skip all remote operations for local-only or read-only sessions.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.4) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.3...v0.15.4)

## [0.15.3] - 2026-08-02

### Fixed

- ✓ Keep local-only `spell-commit-work` checkpoints on trunk when no authenticated supported remote merge path exists.
- ✓ Determine authorship before concern grouping and split every mixed-author batch into one-author commits.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.3) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.15.2...v0.15.3)

## [0.15.2] - 2026-08-02

### Added

- + Registry-driven self-host parity commands with a blocking CI check and negative drift coverage.
- + Separate reporting for real content drift and line-ending-only differences.

### Changed

- ~ Root dogfood copies under `.github/`, `.arcane/`, and `.claude/` are generated from canonical `src/assets/` sources.
- ~ ARC-027 supersedes ARC-006's non-executable `spell update` self-refresh model.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.15.2) · [Compare](https://github.com/codemagicianhq/arcane/compare/v0.14.0...v0.15.2)

## [0.14.0] - 2026-07-12

Initial public release.

[Release on GitHub](https://github.com/codemagicianhq/arcane/releases/tag/v0.14.0)
