Skip to content
Like what we’re building? Star on GitHub

Migrating to v8 ​

v8 is the pruning release of iterion: one cut, one breaking release, 8.0.0, after which each capability has one way to do it. Everything v8 removes is listed on this page, with its remedy, and declared once in the registry pkg/removed that every typed refusal reads. The plan and its units live in epic #3527.

v8 is not released. The current line is 7.x, and the changes that do not break anything ship there first (phase 1). This page states decisions: a row says removed in 8.0.0 because that is what is decided, not because the name is already gone. Until 8.0.0 ships, every name below still works unless its row says otherwise, and each section links the record that says what main executes today.

The summary is the 8.0.0 release body: when 8.0.0 is cut, it replaces the notes release-it generates from the commit messages, with its links made absolute. Nothing copies it automatically today; the release of 8.0.0 does it by hand.

Summary ​

  • claw is the only harness. The Tier A backends codex, pi, kimi, grok and opencode are removed; a node that names one is refused with a typed diagnostic that names claw as the remedy (backends, ADR-178). claude_code stays in v8 as a frozen bridge and leaves in v9.
  • Retired names are refused, never ignored. A removed DSL construct, claw tool, environment variable, bot, diagnostic code or CLI flag answers a typed refusal that links its section of this page (how to read a refusal).
  • Named losses. What leaves without a like-for-like replacement is listed under named losses, which every breaking unit keeps complete — among them the cloud run history, runs left waiting for a human at the cut, the deliverables: property, the claw cron_*, team_* and lsp tools in local mode, and the secrets.forfait exception kept until v9.
  • Behaviour changes shipped in 7.x as fixes carry a migration note too (behaviour changes).

How to read a refusal ​

A surface that meets a retired name — the compiler, the launch validators, the CLI, an environment reader, the catalogue — refuses it with a typed diagnostic. The refusal names four things, all read from one registry entry:

  • the kind and the name (backend codex);
  • the release that removes it (8.0.0);
  • the remedy, one sentence saying what to use instead;
  • the anchor of its section on this page, as a link: https://github.com/SocialGouv/iterion/blob/main/docs/migrations/v8.md#backend-codex.

Follow the link: the section says what replaces the name, what is lost with it, and which unit removes it. A retired name never falls back silently to something else, and it is never re-bound to a new meaning: a retired backend keeps a tombstone that refuses it, and a retired diagnostic code is never given to a new diagnostic (ADR-178).

The registry ​

pkg/removed holds one table per area — backends today; DSL constructs, claw tools, environment variables, bots, diagnostic codes and CLI flags each add theirs with the unit that removes them. An entry is Removed{Kind, Name, RemovedIn, Remedy, Anchor}; Link turns it into the URL above, and Lookup finds the entry a refusal renders. The package is a leaf: it imports nothing from iterion, so the compiler and every other layer may read it.

Its tests hold the table to this page: every kind has its ## section below; every entry's anchor is a heading nested under its own kind's section, never the section itself, and that heading names the entry in inline code (### Backend `codex` ); every entry has a remedy, a name with no blank or invisible character and a release no earlier than 8.0.0; no two entries share an anchor or declare the same name twice under one kind; and the package imports only the standard library. The wording of a remedy on this page is kept in step with its entry by review. Adding a removal is therefore two edits in one change: the entry in the area's table, and its heading in the area's section here.

The rule for a breaking change ​

  • A commit or pull request whose subject carries ! (feat(backend)!: …) carries the breaking-change footer of Conventional Commits (its specification section), which names its anchor on this page, and the same change adds the page's row and the registry entry. A breaking change with no section here is not ready to land.
  • The summary above is the 8.0.0 release body, and every breaking unit keeps it true.
  • No ! lands before the major hold opens for v8; fixes that cannot wait for the major ship from the release line.

Enforced by review, not by a file check. The rule is not decidable from the tree: a pull request's title and body live on GitHub, the repository ships no pull request template, and release-it reads the commit messages of git history, which no test of a checkout can hold. The review loop reads it (merge and gate); what the tree does hold is the registry's side — every entry has a remedy and a resolving anchor here.

Backends ​

ADR-178 retires the Tier A backends in v8 and freezes claude_code as a bridge until v9. The retirement is decided, not executed: the five names are still registered, compile and run on main, and the typed refusal everywhere ships with unit L3-04 (#3455); stored records naming them are cleaned first (L3-03). What main executes today is the record's decided and executed table.

BackendRemoved inRemedy
codex8.0.0backend: claw with an OpenAI model; the ChatGPT subscription stays on claw through chatgpt_forfait.
pi8.0.0backend: claw with the same provider and model.
kimi8.0.0backend: claw with a Moonshot model on a metered key.
grok8.0.0backend: claw with an xAI model on a metered key.
opencode8.0.0backend: claw with the provider and model opencode was routing to.

Two library pieces leave with the five: the generic CLI-agent seam (CLIAgentBackend, CLIAgentProtocol) and the permission hook have no consumer once Tier A is gone and are deleted (plan decision L3-f). A future harness comes back through delegate.Backend and its own record.

Backend codex ​

Use backend: claw with an OpenAI model. The ChatGPT subscription stays reachable on claw through the chatgpt_forfait credential (OAuth kind codex, CODEX_HOME): its routes move to claw first (lot L2), a hard prerequisite of the unregistration. Lost: the codex CLI's own agent loop and tool set, and the vendored codex SDK fork; image-to-image through images: goes with images:.

Backend pi ​

Use backend: claw with the same provider and model. Lost: pi's agentic prompt, its context-file loading, its extension and SDK.

Backend kimi ​

Use backend: claw with a Moonshot model on a metered key. Lost: the Kimi CLI subscription — its quota does not reach claw.

Backend grok ​

Use backend: claw with an xAI model on a metered key. Lost: the Grok CLI subscription, likewise.

Backend opencode ​

Use backend: claw with the provider and model opencode was routing to. Lost: opencode's own agent, and any account only the opencode CLI can serve.

claude_code is not removed by v8: it stays the declared subscription bridge and retires in v9, after the gates ADR-178 lists.

DSL constructs ​

Nothing in the registry yet. The DSL removals are lot L4 (#3538); the rewrite that moves a v7 source to v8, iterion fix --to v8, ships in the last v7 (#3570).

Claw tools ​

Nothing in the registry yet. The claw tools cron_*, team_* and lsp leave with unit L1-12 (#3138); see the named loss below.

Environment variables ​

Nothing in the registry yet. The retired variables are classified by the typed environment registry, unit L5-06 (#3571), in lot L5 (#3539).

Bots ​

Nothing in the registry yet. The catalogue pruning is lot L7 (#3541); a bot leaves only after the inventory of what references it (#3577).

Diagnostic codes ​

Nothing in the registry yet. The delegate-only codes leave with the Tier A backends (lot L3, #3537) and the codes of retired DSL constructs with lot L4 (#3538). A retired code stays reserved: it is never given to a new diagnostic.

CLI flags ​

Nothing in the registry yet. The retired CLI flags are units of lot L6 (#3540).

Named losses ​

What v8 takes away without a like-for-like replacement, named so nobody discovers it after the cut.

Cloud run history ​

v8 keeps one cloud storage layout (unit L6-16). At the cut, the cloud run history of v7 is dumped, archived in place, and destroyed after a soak of seven days; the window's runbook (unit L6-24) carries both steps. The local store is never destroyed: it becomes a read-only archive-v7/ (unit L6-17), which a v7 binary still reads through --store-dir. Lost: the cloud history of every run before the cut, once the soak ends.

Exact runs: the residuals of the cut ​

ADR-181 (Proposed) makes the v8 cut the drain of legacy runs, and names three residuals that this page records:

  • A binary built before P15 that still holds the old credentials. The boot floor fences only binaries built from P15 on; an older one is kept out by the rotation of the Mongo and S3 credentials alone. Once the store is reopened, no pre-P15 digest is ever redeployed.
  • A local binary older than v7.26 pointed at a fresh v8 store. It predates the slices of the series that landed in v7.26.0, and no fence of the series reaches it.
  • A resumable legacy run. On a migrated store, resume and fork of a legacy run are typed refusals: relaunch it on v8.

The compatibility matrix and the rollback paths the record also places here land with the units of its series.

The deliverables: property ​

deliverables: leaves in v8 (unit L4-10, #2690); no bot of the shipped catalogue declares it. A tool that hands a produced file to the run prints the [iterion] attachment= line instead (a tool node hands over a file it produced). Lost: the declared list of files and its compile-time checks (C317, C318).

Runs waiting for a human at the cut ​

A run paused on a human gate (paused_waiting_human) or left failed_resumable before the cut belongs to the v7 storage epoch, and v8 refuses to answer, resume, rewind or fork a pre-epoch run, with a typed refusal (unit L6-14): relaunch it on v8 instead (ADR-181). The cut gate therefore requires that queue at zero (#3934), as the preflight census counts it (L6-02): each such run is answered, or its transcript exported, before the cut, or it carries a named exemption of a stated number of days. Lost: a run still waiting for its answer at the cut — v8 cannot continue it.

secrets.forfait until v9 ​

v8 holds the pods to no vendor API key in their environment. The residual process secrets (the secrets KEK ITERION_SECRETS_KEY, the JWT secret, Mongo, S3, SMTP) are not vendor keys and stay. One vendor credential stays too, as a named exception: the chart's secrets.forfait, the manually managed subscription secret the runner mounts so claude_code runs on the subscription (forfaits). It leaves in v9 with claude_code.

cron, team and lsp in local mode ​

claw's cron_*, team_* and lsp tools leave in v8 (unit L1-12): a node that declares one is refused at compile time. Since v7.38.0 every call to them already answers a typed refusal on every host, and the compiler warns (C159), because nothing read their state back: a cron entry no scheduler fired, a team nothing read, an lsp with no language server. Lost: the in-run registries those tools kept in local launches and the REPL. The remedies: a durable schedule through the platform (a team schedule, or scheduling locally) for cron_*; the node's own output or a workspace file for team_*; the project's own tooling through bash (go vet, tsc, pyright, cargo check) for lsp.

Behaviour changes shipped in 7.x ​

A fix that refuses something it used to accept is a behaviour change, even when it ships without ! in 7.x. Each gets its row and its migration note here.

UnitChangeShippedMigration note
L1-12 pre-refusal (#3595)claw's cron_*, team_* and lsp tools answer a typed refusal on every host instead of a success that did nothing, and the compiler warns (C159).v7.38.0cron, team and lsp in local mode: a platform schedule, the node's output or a workspace file, the project's own tooling through bash.
L6-06 (#3575)Cloud launches honour ITERION_RELIABILITY_MODE (and its alias) instead of stamping legacy whatever it says.v7.35.0Cloud launches: a migration note — census with iterion reliability report --cloud, and ITERION_RELIABILITY_LEGACY_TENANTS as the per-tenant escape.
L2-07 (#3566)A bot manifest that cannot be decoded refuses the launch, naming the tenant, the slug and the version; the listings show the error.Not yetBefore the roll: a census of the undecodable manifests in production, and a temporary per-tenant allowlist for the stragglers; the note lands with the fix.