---
title: Changelog
description: Notable changes to the ARCNM API, SDKs and developer platform. The reference is generated from the OpenAPI spec; this page records the changes behind it.
---

# Changelog

Notable changes to the ARCNM API, SDKs, and developer platform. The API
reference is [auto-generated from the OpenAPI spec](./api/index.md), so it
always reflects the live API; this page records the changes behind it.

> The public OpenAPI spec at
> [`/api/v1/openapi-public.json`](https://api.arcnm.io/api/v1/openapi-public.json)
> is the machine-readable source of truth — any change to the API surface
> appears there first.

---

## 2026-12-02 — A receipt dates its supply on the German calendar

**Changed (pay per call)** — `document.supply_date` on a pay-per-call
receipt (`GET /pay/receipts/{purchase_id}`, the paid answer's `receipt`,
and each refund's correction) is the date of the supply in Germany
(Europe/Berlin), no longer in UTC. A sale at 23:30 UTC on 31 October is
dated 1 November. REST and MCP answers carry the same document.

---

## 2026-12-02 — A supplier search confirms nothing about a file

**Changed (pay per call)** — an offer's `terms.statements` state `By
paying you confirm the file is not export-controlled.` only where the
offer carries a file: a calculation and a supplier match (with or without
its drawing). A supplier search carries no file and no longer states it.
REST and MCP offers state the same. See
[Pay per call](./pay-per-call.md#what-an-offer-states).

---

## 2026-12-02 — Pay per call takes no VAT ID

**Removed (pay per call)** — the `vat_id` parameter of `POST /pay/price`
(query, form field and JSON body) and of the `price_parts` MCP tool, and
the `vat_id` field of `POST /pay/receipts/{purchase_id}`. Every
pay-per-call sale is taxed as a sale to a buyer that gave no VAT ID; the
price is unchanged. Sent anyway, `vat_id` is listed in the offer's
`ignored` (`not a parameter of this endpoint`) on `POST /pay/price`, and
refused with `422 invalid_text` on `POST /pay/receipts/{purchase_id}`;
`price_parts` no longer lists it and does not pass it on: the offer it
answers with lists it in `ignored` with the same words as REST. A receipt's
tax document no longer has `buyer.vat_id`. `invoice_to`, the name and
address an invoice states, is unchanged. See
[Pay per call](./pay-per-call.md#the-five-mcp-tools).

**Changed (pay per call)** — a name a pay endpoint does not take gets the
same answer over REST and MCP. `search_suppliers` and `match_suppliers`
refuse an argument they do not take with `422 atlas_unknown_value`, as
their routes do; before, they set it aside and made an offer.
`POST /pay/price` with `offer_id` and no file, and
`GET /pay/price/{purchase_id}`, now list a query name they do not take in
`ignored` (`not a parameter of this endpoint`), as `price_parts` and
`get_result` do; before, they dropped it without saying so. A purchase that
still owes an amount lists what the read set aside in its offer's `ignored`.

---

## 2026-12-02 — A pay-per-call offer states its own price

**Changed (pay per call)** — the price clause in an offer's
`terms.statements` is the offer's own: the price of one unit of what it
sells, VAT included, and the ways this offer is paid. A supplier search
states `EUR 0.09 per supplier search`, a supplier match `EUR 0.19 per
supplier match for a STEP file` or `EUR 0.49 per supplier match for a STEP
file with its drawing`; before, each stated the calculation's price. A
supplier offer also states when an answer is charged, and a calculation
offer under the card minimum states from what count a card pays. The
amounts, the signature and what is charged are unchanged. See
[Pay per call](./pay-per-call.md#what-an-offer-states).

---

## 2026-12-02 — Archived environments stay out of follows and alerts; role refusals say why

**Changed** — An archived environment is left out of
`GET /environments/follows` and of a catalogue listing's `in_workspace`
(and the MCP `find_environments` lines built from it), as
`GET /environments` leaves it out; `GET /environments/follows` takes the
same `include_archived` to list its follow too. Its calculations no
longer count towards a `cost_impact` or `driver_move` alert.

**Changed** — `PATCH /memberships/{id}` and `DELETE /memberships/{id}`
refuse with a specific 403 code instead of `forbidden`: `last_owner` (the
organization's only owner), `member_role_above_yours` (an admin changing or
removing an owner) and `role_above_yours` (an admin making someone an
owner). See [Errors](./errors.md).

**Added** — The follow state (`GET /environments/{env_id}/subscription`)
has `updated_to_version`: the version the last update applied, while its
revert window is open. After a release that changed no value moves the
follow onto a newer version, `applied_version` names the newer one and
`updated_to_version` the update a revert undoes.

---

## 2026-12-02 — A material family price follows the costing date

**Changed** — Where your environment prices from its region's reference
values, a new calculation whose grade no price of yours or of your
environment's version covers now prices at the reference value of the
grade's material family on its costing date (aluminium, copper alloys,
thermoplastics), as steel and stainless already did, and lists that
reference value among the values it read. A stored calculation keeps its
price. In `GET /calculations/{calculation_id}/diff/{other_calculation_id}`
an exchange rate that moved is listed once, as its currency pair, and a
calculation bound to a grade no longer lists a material reference value
its price did not use.

---

## 2026-12-02 — A version alert names your environment

**Changed** — In an alert delivery of a `version_published` rule
(`GET /alerts/deliveries/{delivery_id}`, and the `versions` of the
`environment.version_published` webhook), each event's `environment_id` and
`environment_name` now name **your** environment that follows the version,
not the environment it was published on; the new `environments` lists every
one of your environments that follows it (two copies of the same source,
for example). Such a delivery carries no `totals` and no `calculations`: a
new version moves no calculation by itself. A version that waits for your
decision is announced when it is published, not at the next hourly
evaluation.

---

## 2026-12-02 — Archive an environment you cannot delete

**Added** — `POST /environments/{env_id}/archive` retires an environment
that calculations were priced in, and `POST /environments/{env_id}/restore`
brings it back (MCP: `environments_archive_environment`,
`environments_restore_environment`). An archived environment stays on
record and readable, and its calculations stay readable, comparable and
exportable. While archived it:

- is read-only: every change to it, its rates, machines, tools,
  subcontractors, raw material, tuning, calibration, follow and versions is
  refused with 409 `environment_archived`;
- prices no new calculation, run or re-price (409 `environment_archived`;
  a bulk re-price skips the source with reason `environment_archived`);
- is left out of `GET /environments` unless `include_archived=true`;
  `GET /environments/{env_id}` still answers, with `archived_at` set;
- does not count against your plan's environments, fleets or countries;
- applies no new version of what it follows and raises no notification
  for one.

Restoring checks your plan as a new environment does and is refused the
same way when it is full (402 `entitlement_exceeded`, 403
`country_slot_requires_admin`). The default environment cannot be archived
(409 `default_environment_cannot_be_archived`).

**Added** — Every environment on the list and on `GET /environments/{env_id}`
carries `calculation_count` (the calculations priced in it) and
`archived_at`.

**Changed** — `DELETE /environments/{env_id}` refused because calculations
were priced in the environment now answers the code
`environment_has_calculations` (was `conflict`), with the count in
`details.calculations` and archiving as the way to retire it. When the
environment is already archived, the message says it stays on record
while calculations refer to it (same code and details).

---

## 2026-12-02 — A copy of an installed environment follows what its source follows

**Changed** — `POST /api/v1/environments/{env_id}/clone` of an environment
that follows a catalogue environment or a listing now gives a copy that
follows it too: the same upstream, `policy`, `channel`, `auto_apply` and
`notify`, on the version the source has applied (a pinned copy is pinned
there). The copy prices a part as its source does on the day it is made.
Before, the copy followed nothing and priced what it does not state at its
region's current reference values. An update waiting on the source and its
undo window are not copied. A copy of an environment that follows nothing
is unchanged.

---

## 2026-12-02 — A version that waits for your decision is announced at once

**Added** — `AlertRulePublic.update_modes` (`GET /alerts/rules`): a
`version_published` rule can hear only the follows in some update modes —
`automatic`, `ask` (a new version waits for a person's decision) or
`fixed`; `null` means every follow, as before. Read-only.

**Changed** — An organization's first follow now creates four default
alert rules instead of three. New versions of the environments you follow
are split in two: follows in *Ask me first* get an alert as soon as a
version is out — `immediate`, in the app and by email — and *Automatically*
and fixed follows keep the weekly digest. Organizations that already have
the weekly default get the immediate rule beside it, with the same
recipients, and their weekly rule narrows to `automatic` and `fixed`. Both
rules stay editable like any other; a follow with notifications off still
hears nothing. A version alert now names each environment and version.

---

## 2026-11-30 — Results at the trade's precision; paid calculations not rate-limited

**Changed** — A calculation's results reach an integration at the precision
the trade states them — on the HTTP API (API key), in the answers of the MCP
tools that return results (the default, `calculations`, `parts`, `folders`
and `nesting` toolsets) and in every webhook:

| Figure | Stated to |
|---|---|
| Money — costs, prices, savings, deltas, `analytics.cost_decomposition` | the currency's minor unit (two decimals for EUR) |
| Times in seconds (`*_s`) | the hundredth of a second |
| Shares and percentages (`*_share`, `*_pct`) | four places — most are fractions, so two decimals of a percent |
| A cost-sheet line's `exact` | four decimals |
| Masses (kg), lengths, areas, roughness | three decimals |
| Rates per hour or kg, factors, ratios, counts | as computed |

Tools and routes that read or write your own data — environments, setup,
catalogue, calibration — return it exactly as stored. The stored
calculation and every figure computed from it keep full precision.

**Changed** — Starting a calculation (`upload-and-quote`, `quote`, `run`,
`batch`, `bulk-retry`) no longer draws the heavy-operation weight from the
per-minute rate budget: it counts nothing on Pro, Scale and Enterprise and
one request on Free; only the per-key ceiling of 1,200 requests a minute
applies. An Enterprise agreement's rate limit is the limit on every path:
a figure above 1,200 raises the per-key ceiling to it, and an agreement
that states none is unlimited (it was held to 600 a minute, and its API
keys to 1,200). [Rate limits](./rate-limits.md) now states
every limit as enforced: the budget is per API key and per fixed minute,
and MCP tool calls draw from it.

---

## 2026-11-29 — API version 2026-11-29: the legacy surface is removed

**Version** — `X-API-Version` is **`2026-11-29`** (it was `2026-04-24`):
the first new version of the API. Everything below ships under it, and
so do the environment entries further down this page: 2026-11-28;
2026-11-24 "ARCNM environments are countries"; 2026-11-20 "Two
namespaces" and "Names that cannot mislead"; the four of 2026-11-19;
and 2026-11-18 "Provisional platform environments", "A rate's
`valid_to` …", "Detach …", "Find the environment …" and "Coverage of
available environments …". Each breaking change among them is listed
here. `/changelog.json` names the version an entry shipped under. See
[Versioning](./versioning.md).

**Removed**

- `GET /environments/presets` and `POST /environments/clone-preset`,
  with their `Deprecation`, `Sunset` and `Link` headers, and their MCP
  tools `environments_list_presets` and `environments_clone_preset`. List
  the ARCNM environments with `GET /catalogue/environments` and install
  one with `POST /environments/from-catalogue`, which follows its
  releases. A retired preset is read by its id
  (`GET /catalogue/environments/{id}`) and installed no more.
- `engine` on `POST /calculations`, `POST /calculations/upload-and-quote-json`
  and `POST /calculations/batch` (with `engines`): a request names no
  engine — it was always read as the one there is. A body that still
  sends one is refused `422`; the `engine` form field of
  `POST /calculations/upload-and-quote` is ignored.
- `served_from_cache`, `false` or `0` for every calculation since the
  result cache was removed on 2026-11-18: on each cell of
  `GET /calculations/batches/{batch_id}/comparison` and
  `POST /calculations/comparison`, on the answers of
  `POST /calculations/batch` and
  `POST /calibration/imports/{import_id}/price`, and on the MCP tool
  `import_history`.
- `offset` on `GET /environments` and `GET /machine-library`: page with
  `cursor` (`X-Next-Cursor`, `Link`). An `offset` sent is ignored.
- The region alias `GLOBAL`, the name `WORLD` had before the region
  catalogue: a region field or filter that sends it is refused `422`
  `region_unknown`, and `GET /regions/GLOBAL` is `404` `region_unknown`.
  Send `WORLD`.

**Deprecated**

- `empty` on `POST /environments`: send `source: "empty"`. The field
  still answers until its sunset: `empty: true` starts the environment
  as `source: "empty"` does, `empty: true` with another `source` is
  refused `422`, and `empty: false` changes nothing. A successful
  response to a request that sends `empty` carries
  `Deprecation: @1795910400` (2026-11-29),
  `Sunset: Tue, 01 Jun 2027 00:00:00 GMT` and a `Link` with
  `rel="deprecation"` to this changelog; a refusal (a `422`, for one)
  carries none of them. After 1 June 2027
  a body that sends `empty` is refused `422`, as every unknown field of
  a request body is.

**Breaking — renamed fields** — A field whose name said `eur` while its
figure is in another currency is renamed: `eur` goes, the unit stays, and
a sibling `currency` (or `rate_currency`) names the money. The old names
are not served, and a request body that still sends one is refused `422`,
as every unknown field of a request body is. The database and the
seeded parameter names keep their spelling. MCP tools follow the REST
shapes.

| Schemas | Old | New |
|---|---|---|
| `EnvironmentDetail` (`GET /environments/{id}`, the economics `PATCH`, `PUT /environments/{id}/logistics-profile`), `EnvironmentEconomicsUpdate` | `default_labour_rate_eur_per_h` | `default_labour_rate_per_h` |
| | `overhead_fixed_eur_per_part` | `overhead_fixed_per_part` |
| | `energy_eur_per_kwh` | `energy_price_per_kwh` |
| | `space_eur_per_m2_y` | `space_cost_per_m2_y` |
| | `freight_eur_per_part` | `freight_per_part` |
| | `duty_eur_per_part` | `duty_per_part` |
| | `packaging_eur_per_part` | `packaging_per_part` |
| | `scrap_credit_eur_per_kg` | `scrap_credit_per_kg` |
| | `ordering_cost_eur_per_order` | `ordering_cost_per_order` |
| `MachineDefinitionCreate`, `MachinePatch`, `MachinePublic`, `SetupMachine` | `hourly_rate_eur` | `hourly_rate` |
| | `burden_rate_eur` | `burden_rate` |
| | `setup_rate_eur` | `setup_rate` |
| | `programming_rate_eur` | `programming_rate` |
| | `rate_operator_eur_per_h` | `rate_operator_per_h` |
| `AttachMachineRequest` | `hourly_rate_override_eur` | `hourly_rate_override` |
| | `rate_operator_eur_per_h_override` | `rate_operator_per_h_override` |
| `CalculationTuningPublic`, `CalculationTuningUpdate` (and the names `reset` takes) | `eur_per_fastener` | `price_per_fastener` |
| | `filler_wire_eur_per_kg` | `filler_wire_price_per_kg` |
| | `shielding_gas_eur_per_m3` | `shielding_gas_price_per_m3` |
| | `weld_inspection_order_minimum_eur` | `weld_inspection_order_minimum` |
| | `weld_ndt_eur_per_m` | `weld_ndt_price_per_m` |
| | `weld_visual_inspection_eur_per_m` | `weld_visual_inspection_price_per_m` |
| `SubcontractPriceSet` (`PUT /environments/{id}/rates/subcontract/{operation_kind}`) | `unit_rate_eur` | `unit_rate` |
| | `lot_minimum_eur` | `lot_minimum` |
| | `order_fee_eur` | `order_fee` |
| `AssemblyRouteStepOut` (`GET /calculations/{id}/assembly-route`), `PublicAssemblyRouteStep` (a calculation's `analytics.assembly.route`) | `lot_minimum_eur` | `lot_minimum` |
| `FolderSummaryPublic` (`GET /folders/summary`, `/folders/{folder_id}/summary`) | `total_annual_spend_eur` | `total_annual_spend` |
| | `effective_annual_cost_eur` | `effective_annual_cost` |
| | `potential_savings_eur` | `potential_savings` |

`MachinePublic.rate_currency` names the currency of `hourly_rate` and
`rate_operator_per_h` (EUR while the rate is the machine library's, else
the environment's), and `SetupMachine` (`GET /environments/{id}/setup`)
carries it too. A folder summary's totals are in its `currency` (null when
the scope holds several), its `reported` totals in `reporting_currency`.
Kept, because they are euros: the machine library's
`nominal_hourly_rate_eur` and `nominal_rate_operator_eur_per_h`,
`VDI3258Inputs`, a catalogue tool's `price_eur`, an alert's
`min_impact_eur` and `annual_impact_eur`, and
`NestingPotential.saving_eur_min` (only quotes priced in EUR). Kept until
the currency of an organisation's own figures is stated: a crib tool's
`price_eur` and a subcontractor capability's `lot_minimum_eur` and
`order_fee_eur`.

**Changed (breaking, described in the entries below)**

- ARCNM's environments are its 44 countries; the six subdivision presets
  are retired into their countries (2026-11-24).
- Country slots: an install, a duplicate or a region change past the
  plan's countries is `402` `entitlement_exceeded` with
  `details.feature: "arcnm_countries"` (2026-11-28).
- Unknown regions, levels and drivers answer `region_unknown`,
  `level_unknown` and `driver_unknown`; `nothing_to_revert` is `409` and
  `channel_not_offered` `422` (both were `404`); a copy of the default
  environment in another currency is `422` `baseline_currency_mismatch`
  (2026-11-28).
- `maximum` is gone from `MachinePatch`, `MachineDefinitionCreate`,
  `AttachMachineRequest`, `WageGroupRateSet` and the money fields of
  `EnvironmentEconomicsUpdate` and `CalculationTuningUpdate`: their
  ceilings hold euro equivalents in the environment's currency; machine
  rates, `price_eur` of an environment's tools and the platform figures an
  installed environment shows are in its currency (2026-11-28).
- One name per environment: `409` `environment_name_taken` (2026-11-19).
- A rate's `valid_to` is the first day it no longer applies (2026-11-18).
- A listing title that is a region's Spanish or Italian name is
  `publication_title_reserved` (2026-11-28).

**Changed (country slots)** — A new country is an owner's or admin's to
take, signed in or through an OAuth grant of theirs, which carries their
role, or an API key's they minted with the new `countries:write` scope
(API keys only; no other scope implies it). Anyone else — any other API
key, a member — installs only in the countries your organization prices
in: an install
(`POST /environments/from-catalogue`) or a region change
(`PUT /environments/{id}/identity`) into a new one answers `403`
[`country_slot_requires_admin`](./errors.md#country-slot-requires-admin)
with `details.country`, `details.countries` (the ones you price in) and
`details.install_url` (Environments, Available, in the app), on every
plan. Past the plan's countries an owner or admin still gets the `402`.

**Changed (currency, breaking)** — An environment's `currency` is the one
its own figures are stated in, and a change of it converts none of them:
`PUT /environments/{id}/identity` with another `currency` is refused with
`409`
[`environment_currency_in_use`](./errors.md#environment-currency-in-use)
while the environment states money in its current one — economics, a
machine of its fleet with a rate of its own, tuning money, a rate or stock
price in that currency (`details.stated` names the kinds). It used to be
accepted and read every such figure as the new currency's money, or stop
applying it. An environment that states none restates as before. To show
results in another currency, set `presentation_currency` (below).

**Changed (comparison currency)** — The comparison
(`GET /calculations/batches/{batch_id}/comparison`,
`POST /calculations/comparison`) strikes deltas, wins and basket totals in
one `reporting_currency` — the new query parameter, else the organization's
`reporting_currency`, else EUR. Each priced cell carries `reported`: its
figures in that currency at the reference plane's rate of its own costing
date as known when it was priced (`fx`: `rate`, `valid_from`, `tier`),
beside its own figures in its own `currency`. A cell in another currency is
no longer `currency_mismatch`; `mixed_currency` stays a fact. A cell no rate
translates is `fx_unavailable` and takes no part in a delta, a win or a
basket. A matrix priced in one currency other than the reporting one now
states its deltas and baskets in the reporting currency. A code that is not
ISO 4217 is refused `422` [`currency_unknown`](./errors.md#currency-unknown).

**Added** — `POST /environments/from-catalogue` admits a `setup:write`
credential (an API key, an OAuth grant), so an agent installs a country
the way the app does. `GET /drivers/{key}/history` pages by `cursor`.
`presentation_currency` on every environment (null = its `currency`), set
with `PUT /environments/{id}/identity`: a calculation that names no
`currency` is quoted in it — `POST /calculations`, `/quote`,
`/upload-and-quote(-json)` and `/batch`, each cell of a grid in its own
environment's — translated once at the end, with the result in the
environment's currency kept beside it; a requested `currency` still wins.
It changes no figure the environment states, and one the environment has
no exchange rate to is refused `422` `currency_not_configured`.
`reporting_currency` on the organization (null = EUR), set with
`PATCH /organizations/current`: the currency its comparisons answer in;
not ISO 4217 is `422` `currency_unknown`.
`GET /calculations/{id}` states the calculation's currencies:
`environment_currency`, the one it was computed in (its environment's own
when it ran), beside `currency`, the one it is quoted in; and `fx`, every
exchange rate it converted a figure at, once per currency pair, with
`rate`, `tier` (the environment's own rate, the followed version's or the
market reference rate), `valid_from`, `recorded_at` and `used_for` —
`quote`, `platform_figures` (the platform's figures set in euros),
`platform_material_price`, `purchase_price`, `reference_value`. Both are
null and empty on a calculation priced before they were recorded. Each
labour and energy figure of a catalogue listing's `preview` (and `figures`)
carries `reported` — the figure in the caller organization's reporting
currency at today's reference rate — and `fx_unavailable`. `GET /folders/summary` and `/folders/{folder_id}/summary`
carry `reporting_currency`, `reported` (the money totals in it, over parts
priced in any currencies) and `fx_unavailable`.

**MCP 5.0.0** — `create_environment` with `start_from: "preset"` installs
the ARCNM country environment `source_id` names through
`POST /environments/from-catalogue`: it follows the latest release and
applies each one when asked, takes the country's slot and provisions your
tool crib, as Install in the app does; a new country answers
`country_slot_requires_admin` with the route's details.
`environments_list_presets` and `environments_clone_preset` are gone, and
`import_history` no longer carries `served_from_cache`. `create_environment`
takes `presentation_currency` (its `currency` is the one the environment
states its figures in), and it and `get_environment_setup` answer it.
`get_calculation` answers `environment_currency` and `fx`.
`get_environment_setup` and `edit_environment` use the renamed fields
above (`hourly_rate`, `scrap_credit_per_kg`, …), and
`get_environment_setup` answers each machine's `rate_currency`.
`find_environments` carries each preview figure's `reported`;
`compare_environments` answers `reporting_currency`, each part's
`reported_offer_prices` and `fx_unavailable_environment_ids`, and names a
winner across currencies (it used to say the deltas were suppressed).

---

## 2026-11-29 — Imported numbers are read in one declared format per file

**Changed (imports), breaking** — every import that reads a table
(`POST /calibration/imports` with `csv` or `data_source_id`,
`POST /import/machines`, `/import/tools` and `/import/stock-items` and their
previews, `POST /setup/imports`, and the MCP tools `import_history` and
`import_setup_data`) reads a file in one format, and infers nothing from its
cells. The delimiter is a comma, a semicolon or a tab, read from the header
row: the one that splits it into the column names the import reads. A header
that reads as well at two of them, or a file whose first ten rows name no
column, is refused with the reason; the pipe is no longer read. A CSV's
decimal mark is `decimal_mark` when you send it; otherwise the comma in a
semicolon-separated file (Excel writes a CSV with the semicolon where the
decimal mark is a comma) and the point in a comma- or tab-separated file. An
Excel file's numbers are numbers, and its text cells are read with the point.
A number is an optional sign, digits, and optionally the decimal mark and
digits. A cell with anything else — a thousands separator (`1.234,56`,
`1,234.56`, `1 234`), the other decimal mark, a currency sign or unit, a
percent sign, brackets, a trailing minus or an exponent — refuses its row,
and the reason names what was found and what to do; nothing of a refused row
is stored. Before, the last point or comma was the decimal mark, so `1.000`
and `1,000` both read as one (as one thousand in the whole-number columns of
the machine and article imports), currency signs and spaces were dropped,
and a stock format's size was settled by which reading its range admits. In
JSON `rows`, a number sent as a string is read with the point by the same
rule (`"85.50"` reads; `"85,50"` and `"1_000"` are refused with 422). A row
with more values than the header has columns — a value holding the
delimiter without quotes, such as `1,5` in a comma-separated file — is
refused on its row instead of being read with its cells shifted; blank cells
past the header still import. A quote left open makes the file unreadable
(422) instead of a server error.

**Changed (calibration), breaking** — a JSON row of `POST /calibration/imports`
(and of `import_history`) needs `lot_size`. A row without one was taken as a
lot of 1, which puts the whole set-up cost on one piece; it is now refused
with 422 naming the row, as a csv line without a lot is refused.

**Added** — `decimal_mark` (`auto`, the default: the mark the delimiter
implies; `point`; `comma`) on those imports and MCP tools, for `csv` and
`data_source_id`; with `rows` it is refused. A `.csv` upload of a list
`POST /setup/imports` reads itself (material prices, subcontractors,
subcontract prices, stock formats, cutting data) needs it stated, because the
upload is read back as rows without its delimiter.

**Changed (uploads)** — `GET /uploads/{id}/table` splits a CSV by the same
rule, at the first line holding a comma, a semicolon or a tab, with each
non-blank cell counted as a name: a tie is refused, and a pipe-separated file
is one column. Before, the delimiter (the pipe among them) was sniffed from
the data. A numeric Excel cell is answered as its plain digits
(`10000000000000000`, never `1e+16`).

**Fixed (setup)** — a JSON number or a numeric Excel cell in a text column
(an article number) is kept as its plain digits (`4711.5`, `0.0000001`,
`10000000000000000`), never with an exponent.

## 2026-11-29 — A job nest is laid out the same on every run; a stale save is refused

**Changed (nesting)** — every job nest is now laid out from fixed seeds,
with no search on the clock, so the same job gives the same sheets and the
same price on every run, whatever the load on our machines. `formats`
narrows what a run may buy and nothing else; `deterministic` is still
accepted and changes nothing. `group_budget_s` is now only the computing
time a material and thickness may take: a group that needs longer fails
as `budget_exceeded` instead of being laid out differently. Mixed jobs that
the search used to lay out tighter can cost a few per cent more; single
parts and stored job nests do not change.

**Added (nesting)** — `POST /nest-runs/{id}/groups/{gid}/revisions` takes
an optional `base_revision`: the revision your layout was made from. Sent,
the layout is stored only while that revision is still the active one;
otherwise the call answers 409 `nest_revision_moved` and stores nothing, so
a second tab or a colleague's save is never replaced unseen. Left out, a
layout is stored as before.

**Fixed (nesting)** — in a material and thickness whose parts differ in
outline tolerance, a layout posted back unchanged is no longer refused for
clashes on a sheet nobody touched: each sheet is checked at the allowances
its parts were nested at.

**Added (nesting)** — every sheet of the `POST …/layout-check` answer states
`edge_margin_mm` and `spacing_mm`: how far from the sheet's edge and how far
apart its parts must stay, the widest of the parts placed on it (null for a
sheet the job nest cannot cut from). A layout stored before and posted back
unchanged now passes the check: it allows the 0.047 mm a stored outline's
rounding can cost, and no more.

---

## 2026-11-28 — Country slots, typed region codes, machine money in the environment's currency

`POST /environments/clone-preset` and `GET /environments/presets` are
removed under version 2026-11-29 (above).

**Changed (errors)** — Region codes are read in any case (`de-by` is
`DE-BY`). An unknown region, region level or driver answers its own
`error.code` instead of `not_found` / `unprocessable_entity`:
`region_unknown` (`404` on `GET /regions/{code}`,
`GET /regions/{code}/drivers` and `GET /drivers/{key}/history`; `422`
where a region is a filter or a field — the available environments,
market events, environment and logistics routes), `level_unknown`,
`driver_unknown` (`422` for the `drivers` filter, `404` for the `key` of
`GET /drivers/{key}/history`). `message` and
`details.reason` are unchanged. `POST /environments` with
`source: new_account_default` stores the resolved region code, as the
other sources do.

`POST /environments` with `source: baseline_copy` (the default) copies
your default environment's machine rates and other rates, which are in its
currency: a `currency` other than the default's is refused with `422`
`baseline_currency_mismatch` (`details.source_currency`,
`details.requested_currency`), and nothing is created; one sent without
`currency` is in the default's own. They used to be copied and read as the
other currency's money. To price in another
currency, install that country's ARCNM environment
(`POST /environments/from-catalogue`). The MCP tool `create_environment`
(`start_from: "copy_of_default"`) answers with the same code and details.

**Added (regions and the regional screen)** — A provisional reference
value says so outside the available environments too:

- `provisional` (the reason, or `null`) on each
  `GET /regions/{code}/drivers` value, and on each line of the MCP tool
  `get_region_drivers`;
- on `GET /calculations/{id}/regional-screen`, `provisional` on each
  driver cell and `provisional_cells` on each region.

The screen also takes `regions`, a comma list of codes or aliases in any
case, whatever their level: it screens exactly those and answers each —
one that states no reference values of its own as
`{code, unavailable_reason: "not_priced"}`; an unknown code is `422`
`region_unknown` with `details.regions`; an empty list is the default
screen. A calculation whose environment names a region that states
nothing (a copy still bound to `DE-BY`) marks the nearest priced region
(`DE`) as `is_calculation_region` and names it in
`base_region.answered_by`. A driver's `unit` names the dimension;
`currency` names the money.

**Added (regions)** — Regions are named in Spanish and Italian too:
`name_es` and `name_it` (additive, beside `name_en` and `name_de`) on
`GET /regions` and `GET /regions/{code}`, and on each region and the
`base_region` of `GET /calculations/{id}/regional-screen`. The names are
CLDR's ("Alemania", "Germania"; "Baviera"). A listing title that is a region's Spanish or Italian name,
alone or as "‹country› · ‹region›", is refused with `details.reason`
`publication_title_reserved`, as its English and German ones are.

**Changed (machines)** — Machine rates are billed in the environment's
currency, and the fields now say so (renamed under version 2026-11-29,
above: `hourly_rate`, `rate_operator_per_h`, …).

- `MachinePublic` carries `currency` (additive): on an environment's
  machines the environment's; on `GET` / `PATCH /machines/{id}` the one
  currency of the environments holding the machine today, or `null` for
  none or several.
- The 100 000 per hour ceiling on a stated machine rate
  (`PATCH /machines/{id}`, `POST /environments/{id}/machines`, the
  master-data import) holds the rate's euro equivalent at the reference
  exchange rate; a currency without one is bounded as euros. The public
  schema drops `maximum: 100000` on `MachinePatch`,
  `MachineDefinitionCreate` and `AttachMachineRequest`. A weaker currency
  can now state real rates (247 500 KRW/h); for a currency stronger than
  the euro the local ceiling is slightly lower (about 86 000 GBP/h). An
  over-ceiling rate keeps the `422` validation shape
  (`less_than_equal`).
- A machine whose rate is the machine library's — ARCNM's country fleets,
  an install's, a machine added from the library with no rate of your own
  (or the type's rate sent back with no `rate_operator_per_h_override`
  beside it) — holds it in euros, as the library states it, and a
  calculation converts it, and the operator wage inside it, into the
  environment's currency at the exchange rate of its costing date; so do
  the library figures a machine with no rate of its own prices. Nothing is
  stored converted: a new rate on one of your machine types
  (`PATCH /machine-library/{id}`) reaches each machine that inherits it as
  the type states it, and a rate you set on the machine stays yours, as
  before. `MachinePublic` carries `rate_currency` (additive): the currency
  of `hourly_rate` and `rate_operator_per_h` — EUR while the rate is
  the library's, else `currency` — and, on
  `GET /environments/{id}/machines`, `fx_per_eur`: what a calculation
  costed today converts it at. `GET /environments/{id}/effective-rates`
  carries `catalogue_eur_per_h` per machine (additive), the euro figure its
  rate converts. Where the environment converts the library's figures but
  no exchange rate converts its currency, such a machine prices nothing:
  its `health` is `unresolvable` with `fx_unresolved` in `health_error`,
  and a calculation leaves it out.
- `GET /machine-library` takes `env_id`, one of your environments: each
  entry then also carries `env_hourly_rate` and `env_rate_operator_per_h`,
  what a machine added from it prices at in that environment today, in its
  currency (null without `env_id`, or where no exchange rate converts the
  type's rate). Additive; an integration reads them on its own types only,
  as it reads their nominals. An unknown environment is `404`.
- The other ARCNM euro figures such an environment prices with are
  converted at the rate its machines are: a catalogue tool's price (its
  wear line, and the edge life weighed against the machine hour), ARCNM's
  money parameters (a saw blade, the weld wire and shielding gas, the
  fasteners, the weld inspection rates, the subcontract reference rates)
  and its reference scrap prices, which an environment outside the euro
  used to pass over. A price you state is used as stated; your own
  environments outside the euro, and euro ones, price as before.
- `POST /environments/from-catalogue` provisions your organisation's tool
  crib first when it has none, as signing up does: an install made before
  it priced every tool at the engine's fallback. So does an agent
  payment's copy of an environment.
- What such an environment shows, and what its job nests and sheet-nest
  previews price, is now what it prices with; each used the euro figure:
  `price_eur` of `GET /environments/{id}/tools` (the name keeps its
  `_eur`; the value is in the environment's currency, as the field now
  says), the platform figures of `GET /environments/{id}/tuning`,
  `/effective-rates` and `/assumptions`, the platform reference rows of
  `GET /environments/{id}/rates/scrap`, the stale-scrap and
  far-from-platform findings of `/audit`, a job nest's scrap credit and
  the cut-to-size fees of the sheet-nest preview. Your own environments
  outside the euro, and euro ones, show what they showed.

**Changed (labour, overhead and economics money)** — Labour, fixed
overhead and the stated economics are bounded the same way. A labour hour
of 30 000 KRW, Viet Nam's reference energy price of 2 171 VND/kWh and
Korea's reference floor space of 110 000 KRW per m² and year are no longer
refused:

- The 10 000 ceiling on `labour` and `overhead_fix` in
  `PUT /environments/{id}/effective-rates`, and on a wage group's rate
  (`PUT /environments/{id}/rates/labour-groups/{wage_group}`), holds the
  figure's euro equivalent at the reference exchange rate. The public
  schema drops `maximum: 10000` on `WageGroupRateSet`; an over-ceiling
  wage-group rate keeps the `422` validation shape (`less_than_equal`),
  and the effective-rates refusal names the window in the environment's
  currency. The variable overhead stays a fraction, at most 1.
- `PATCH /environments/{id}/economics`: the money windows — energy
  (1 000 per kWh), floor space (100 000 per m² and year), packaging,
  freight and duty (100 000 per part), scrap credit (100 000 per kg),
  `fai_cost` (100 000 per lot), the EOQ holding cost (10 000 per kg and
  year) and the ordering cost (100 000 per order) — are euro figures held
  at their equivalent in the environment's currency. The public schema
  drops their `maximum` on `EnvironmentEconomicsUpdate`; an over-window
  value keeps the `422` validation shape (`less_than_equal`). The
  fractions keep their bounds.
- `PUT /environments/{id}/tuning`: the six money knobs — filler wire
  (200 per kg), shielding gas (500 per m³), the M8 bolt (100), visual and
  lab weld testing (1 000 per metre) and the lab's order minimum
  (100 000) — are in the environment's currency, their windows euro
  figures held at their equivalent there. The public schema drops their
  `maximum` on `CalculationTuningUpdate`; an over-window value keeps the
  `422` validation shape (`less_than_equal`). `GET …/tuning` states each
  one's window as `max` on `TuningKnob` (additive, null on every other
  knob).
- `GET /environments/{id}/assumptions` states each money field's window
  beside its value: `max` on `AssumptionEconomicsField` (additive), in the
  environment's currency, on the money fields only — the economics fields
  above, the labour rate and the fixed overhead.
- `GET /environments/{id}/factors` (MCP `get_cost_factors`) states `min`
  and `max` of the factors bounded in euros — every money factor but the
  scrap price (`material.scrap_eur_per_kg`, a bound in any currency) — in
  the environment's `currency`, as it states their values.
  `POST /calculations/{id}/preview`,
  `POST /calculations/{id}/assembly-preview` and a kept what-if
  (`POST`/`PATCH /calculations/{id}/scenarios`) check an adjustment of one
  of them there, and an `out_of_band` refusal publishes its `band` there.
  Every other band, and every band of a euro environment, is unchanged.

**Added (billing)** — Country slots: a plan prices new calculations in a
number of ARCNM countries — Free 3, Pro 10, Scale and Enterprise every
country ([Pricing](./pricing.md#plan-limits)). An environment that reads
ARCNM's regional reference values (installed from Environments, or a
duplicate or detach of one) holds its country's slot; reading,
comparing, screening and replaying any country stay free.

- An install, a duplicate or a region change
  that would add a country past the limit answers `402`
  `entitlement_exceeded` with `details.feature: "arcnm_countries"`,
  `used`, `limit`, `countries` and `upgrade_url` (the `message` is
  English); nothing is written. Creation only: a downgrade keeps every
  environment.
- The MCP tool `create_environment` answers a plan limit with the route's
  own error (`entitlement_exceeded`, its `details` without `upgrade_url`)
  and a `source_id` that names nothing as `not_found`; it answered both as
  `422` with `details.reason` `setup_refused`.
- `GET /billing/v3/overview` carries an `arcnm_countries` row; the
  environments row leaves each country's first environment to its slot.
  `GET /pricing` tiers carry `limits.arcnm_countries` (`null`: every
  country).

**Changed (follows)** — What a follow reports and does:

- `pending` (`GET /environments/{id}/subscription`,
  `GET /environments/follows`) is a newer version that changes something.
  A channel behind the applied version offers nothing, and a release whose
  content equals the applied version's is never pending and not counted
  in `versions_behind`; a follow tracking a channel is moved onto it
  silently, with no notice and no `config_revision` bump.
- `previous_applied_version` and `revertable_until` are reported only while
  the 72-hour window is open.
- A follow reads only the listing it was installed from: a retired
  listing's followers are never moved onto a new listing of the same
  environment.
- With `auto_apply`, a release reaches a follow whatever its age — a follow
  switched to automatic later, a listing reinstated after a suspension. An
  update you took back is not applied automatically again until you apply
  those values yourself.
- `GET …/subscription/diff` reads what your environment states as pricing
  reads it: its own rows, then its parent environments', only rows in its
  currency, and one row per overhead side and subcontract operation. Such
  a row is `upstream_moved_overridden`, never a conflict.
- `POST …/subscription/apply` refuses `state_value` without a finite
  `value`: `422` with `details.reason` `resolution_value_required`.
  `POST …/subscription/revert` also takes back the rows the update wrote
  for its `keep_mine` / `state_value` resolutions; a row you edited since
  stays.
- A `version_published` alert reaches a follow only for a version of its
  own listing that changes what it applied. The default alert rules are
  created on an organization's first install ever, never again after you
  deleted them.
- Two refusals that answered `404` answer their own `error.code`, with a
  sentence as `message` (a `404` now means the environment or the version
  you addressed does not exist):
  - `POST …/subscription/revert` with nothing to undo — the follow was not
    updated since it was installed, or its last update was already
    undone — is `409` `nothing_to_revert` (was `404` `not_found` with
    `message` `nothing_to_revert`);
  - `track_channel` on a channel the listing does not offer
    (`PUT /environments/{id}/subscription`,
    `POST /environments/from-catalogue`) is `422` `channel_not_offered`,
    and `details.channels` lists the channels it does offer (was `404`
    `not_found` with `message` `version_not_found`).

  A version id that names no version is still `404` with `message`
  `version_not_found`; `revert_window_closed` is unchanged.

**Added (available environments)** — `GET /catalogue/environments` takes
`view`: `card` serves what a card draws — each listing's `preview` is
`null` and `figures` carries its labour and energy figures, machine count
and materials priced — about 2.1 kB a listing instead of 2.9 kB. The
default, `full`, is unchanged; `GET /catalogue/environments/{ref}` serves
the whole preview.

**Changed (available environments)** — ARCNM's listings sort by their
region's English name under `sort=name` and in the default order. A
retired preset that was never released is read by its id as
`status: retired` with `current_version: null` (it answered `404`). An
address that starts with `arcnm-` is ARCNM's: `GET /catalogue/environments/arcnm-…`
always opens ARCNM's listing, and publishing a listing at such an address
is refused (`409`, `details.reason` `slug_reserved`).

**Changed (pay per call)** — An ARCNM environment's version on
`GET /pay/environments` and on a result is the label of its current
release (for example `2026.11`), and a purchase in a country is priced on
that country's reference values.

**Added** — `stale` on a value's `provenance` in
`GET /environments/{env_id}/assumptions`: true when the reference value is
past its refresh deadline today — for a value derived from a published
statistic, once two prints of its newest input are missing; for any other,
once it is older than twice the cadence it is refreshed on — the same rule
as `stale` on `GET /regions/{code}/drivers` and a calculation's
`reference_freshness`. Null when the value states no date. A stale value
still prices.

**Changed (catalogue parts)** — A purchase price per piece is no longer
capped at 10 000 000: any finite price up to 10¹² is taken, in the
calculation's currency (the part's own for a part's `purchase_price`) — a
5 000 EUR motor, or the same motor at 150 000 000 VND, which the old
ceiling refused at about 330 EUR. The bound is the numeric guard of a
money field, so `maximum` is `1000000000000` on `purchase_price`
(`PartCreate`, `PartUpdate`) and on `purchased_unit_price` of
`PATCH /calculations/{id}/components/{component_key}`, and the range of
`purchased_unit_prices` (`PATCH /calculations/{id}/components`,
`PATCH /prechecks/{precheck_id}`) is 0 to 10¹². NaN, Infinity and
anything past the bound are `422`, as before. `POST /parts` keeps the
`purchase_price` it is sent — it answered `201` and stored none — and,
like `PATCH /parts/{id}`, refuses a price or a `make_or_buy` other than
`make` on a part whose `attributes` mark it an assembly's component:
`409`, `details.assembly_component`.

**Changed (catalogue parts)** — An assembly's components are told apart on
three more facts before any component calculation starts, and
`procurement.basis` on a row of `GET /calculations/{id}/bom` takes three
more values (a precheck's rows the last two: a precheck's split reads no
drawing):

- `parts_list` — the assembly drawing's parts list codes the component's
  row F (made), K (bought) or V (stock); `match` is the letter. It outranks
  the names and the geometry; your own sourcing statement and a STEP file
  that states make or buy part by part still outrank it. A drawing added
  after the components were dispatched still only marks the made rows its
  list buys (`bought_by_parts_list`), as before.
- `shop_number` — a sprocket, pulley or disc its name reads as a catalogue
  part, whose product id is a number of the assembly's own numbering: drawn
  and made here (`decision` `make`, `match` the number).
- `cad_library` — the CAD system's standard-part library placed the part
  (its product id is the library's key, `match`), and its names decide
  nothing: a catalogue part.

The name reader knows more machine elements (profile rail guides,
telescopic slides, ball screws, locking assemblies, rubber-metal mounts,
encoders, couplings, a tube clamp's series weld plates), twelve more makers
and Festo's `DSBC`, `KMEB` and `KD3` type keys; a body read by its noun as a
bolt, nut or washer and wider than ISO 7089's M64 washer (115 mm) is no
longer one. Components move from made to catalogue part and back
accordingly; calculations priced before keep their rows.

---

## 2026-11-26 — The spec and the responses carry only what an integration receives

**Removed, breaking for `platform_value`** — `platform_value` on the rows of
`GET /environments/{env_id}/factors` is no longer in the OpenAPI spec or in
the response. An API key read a value there on a row the environment states
itself (`source` `your_override` or `inherited`): the platform's value
beside its own. `lot_curve` on the rows of
`GET /calculations/{calculation_id}/bom`, `params.platform` on the findings
of `GET /environments/{env_id}/audit`, and `drivers`, `residual`,
`material`, `retired_drivers` and `provenance` on
`GET /calibration/environments/{env_id}/calibration-report` never carried a
value for an API key or an agent; they are gone from the spec and the
response as well. The calibration report carries `env_id`, `calibrated`,
`inherited_from` and `note`; the per-driver detail is shown in the app.

**Changed** — a response no longer carries, as `null`, a key its schema in
the OpenAPI spec does not declare. This touches calibration status, the
calibration results and cutting data; every declared field is unchanged.

**Changed** — the `scope` parameter of `GET /stock-items` and the `scope` of
`POST /calibration/outcomes` list only the values an API key or an agent may
send. Any other value is refused as before.

## 2026-11-26 — A quote's price band follows the calibration it applies

**Changed (calibration), bands change at the next calibration** — a price
band is now fitted on parts. Each held-out part counts once, at its worst
lot, however many lot sizes it was priced at, so a band covers a new part's
price at every lot as stated. A 90 % band needs at least 9 held-out parts;
with fewer, that lot range gets no band of its own. `holdout_pct` holds out
exactly that share of the parts, rounded and never more than half. Stored
bands stay as they are until the environment is calibrated again.

**Changed (calibration)** — the band on a quote follows the calibration the
quote applies. An environment that prices on its parent's calibration shows
the parent's band, and an environment whose calibration is switched off
shows none. In `GET /calibration/environments/{env_id}/status`,
`accuracy.coverage` is the coverage of the band quotes carry, the parent's
when it is inherited.

**Fixed (calibration)** — the nightly accuracy check behind `drift_alerts`
checks exactly the bands quotes carry. A part counts once per band, scored
on its newest actual; before, a part with several orders counted as a miss
when any one of them fell outside. An actual sent without a lot size is
scored at the lot of the quote it came from, and an environment served the
platform's band is scored on the prices that band was fitted around. A
healthy band raises an alert on about 1 % of nightly checks. One alert stays
open per set of bands until they pass again or are no longer served, and
`drift_alerts` lists open alerts only.

**Added (calibration)** — `POST /calibration/imports/{import_id}/calibrate`
answers `replayed`, `target_alpha` and `holdout_pct`. Calibrating an import
that is already calibrated returns its stored result (`replayed: true`) and
applies none of the parameters sent: the two fields name what the fit used,
and `message` says so when the ones sent differ. Before, the replay answered
as if the new parameters had been applied. A fit stored before this change
replays with both fields `null`.

**Fixed (calibration)** — `GET /calibration/environments/{env_id}/next-best-evidence`
and the `calibration-next-best-evidence` MCP tool read the rows the latest
calibration was fitted on when that calibration came from an import. An
environment calibrated from imports was asked for its first actual costs.

**Changed (calibration)** — `POST /calibration/imports` reads more header
spellings: `Teil-Nr.`, `Teilnummer`, `Los`, `actual_unit_cost`,
`actual_unit_price`, `Stückkosten`, `cost`, `Kosten` and `annual_forecast`.
`columns` in the answer says which header was read as what, before anything
is priced. Where the rows need more calculations than the plan has left,
`message` says that the included calculations cover part of them and the
rest are paid from the prepaid balance, or wait until it is topped up; it
read "12 of your 4 remaining calculations".

---

## 2026-11-26 — Environment setup answers for every environment it touches

**Changed (MCP), breaking** — `edit_environment`: an `op: "machine"` change
to a machine that other environments use too lists them in
`affected_environments` and is applied only with `scope: "organization"`.
Without it that change is refused (`organization_scope_required`), naming
the other environments. Before, the change reached every environment using
the machine without saying so.

**Changed (API)** — `POST /calculations/quote` with several environments
lists every environment asked for in `environment_runs`. One that cannot
quote the part reads `status: "skipped"` with `reason:
"environment_unquotable"` and `calculation_id: null`; nothing is created or
billed for it. Before, it was left out of the list.

**Changed (MCP)** — `get_environment_setup` shows what a child environment
prices with: its own values and the ones it inherits (economics, labour,
overhead, raw material and subcontract prices), with `parent_chain` and,
per value, the environment it comes from (`economics_inherited_from` and
the `inherited_from` of each rate). A value the environment inherits is no
longer listed in `gaps`.

**Fixed (MCP)** — `edit_environment` answers a machine value that is not a
number with `422`, naming the field and its unit (`values.hourly_rate_eur
is a number in EUR per hour`). A number written as text, such as `"95"`,
is still read as that number. Before, a value in words failed the whole
plan with an internal error. The input schema now lists the overhead
buckets and kinds it accepts.

**Fixed (MCP)** — `create_environment` with a name that is taken answers
`409 conflict`, the message starting with `name:`. A refused row of
`import_history` names its row and field. `import_history` with an
`import_id` that is not yours answers not found (`404`), as
`GET /calibration/imports/{import_id}` does, instead of `422`, and says
`replayed: true` when it answers with a calibration that already ran.

**Changed** — `POST /environments/{env_id}/raw-material/prices`: a price
that is already the item's price from that day on is counted in the new
`unchanged` and writes nothing. `edit_raw_material`'s answer to a copy
names the environment it changes.

---

## 2026-11-26 — Find a calibration import again and resume its parked calculations

**Added** — `GET /calibration/imports?env_id=…`: an environment's
calibration imports, newest first, a page at a time. Filter with `status`
(for example `pricing`, the imports whose calculations are still running
or parked on billing); page with `limit` (1–100, default 20) and
`offset`. The answer carries `items`, `total` (the imports that match,
all pages), `limit` and `offset`; each item carries its counts,
`parked_calculations` among them. The call changes nothing.

**Changed** — `POST /calibration/imports/{import_id}/price`: pricing an
import again also starts its calculations that are parked on billing,
once billing allows them. The answer counts them in the new `resumed`,
and those billing still holds in the new `still_parked`; `accepted` and
`parked` count only the calculations this call created. Before, a repeat
call priced only unpriced rows and a parked calculation waited until the
billing block lifted.

---

## 2026-11-26 — Calibration status and effective rates describe what prices apply

**Changed** — `GET /calibration/environments/{env_id}/status`: `accuracy`
now measures the calibration this environment's prices apply, its own or
the one it inherits, and names it: `calibration_run_id` is the run
measured and `inherited` is `true` when that run is a parent
environment's. Before, it was this environment's newest run, so an
environment whose own calibration was switched off showed that retired
run's accuracy beside the parent it now prices on, and time adjustments
learned from cost sheets (which carry no accuracy) made it `null` while
the earlier price correction still applied. It is now `null` only when no
calibration applies or its run carries no measurement. The
`get_calibration_status` MCP tool returns the same.

**Changed** — `GET /environments/{env_id}/effective-rates`: an environment
with no machine that prices today answers `200` with its empty state
instead of `422 no_machines_in_environment`. The new `empty_reason` says
why (`no_machines_configured`, `no_machines_active`,
`no_machine_could_be_evaluated`) and nothing else is filled. A client
that treated the 422 as "no machines yet" reads `empty_reason` instead.
`PUT` on such an environment still answers 422.

**Fixed** — `GET /environments/{env_id}/effective-rates`:
`calibration_inherited_from` names what the parent supplies exactly as the
calibration status does; `applies_to` listed only `unit_cost` even where
the parent's learned time factors are inherited too. The new
`inherited_from` returns the status's full list.

---

## 2026-11-26 — Calibration answers say what did not move

**Changed** — `POST /calibration/environments/{env_id}/adjustments`: when
the re-fit runs but leaves a time factor where it was (too few parts
stated, or no gain over noise), `message` names it, as finalize does:
`setup lever for process:milling refused: 1 of 3 parts needed`. A part
whose machine, route or features the re-fit asks to check is named the same
way (`part <id> is a lower-layer suspect`). Before,
such a response read `learned: true` with an empty `refused` and no
message, so nothing showed that the factor had not moved. `learned` keeps
its meaning: the re-fit ran.

**Fixed (MCP)** — `import_history` with an `import_id` and no `apply`
returns the import's counts (`rows_received`, `rows_usable`,
`calculations_free`, `calculations_remaining`, `distinct_lot_sizes`) as
`GET /calibration/imports/{id}` does; they were `null`. An import that has
calibrated its environment reads `step: "calibrated"`, and its guidance
says it is finished: `apply=true` returns the stored result of that
calibration and meters no new run, and newer actuals go in a new import.

---

## 2026-11-26 — A remnant keeps its sheet's rolling direction

**Fixed (nesting)** — a remnant booked when a job nest is released now keeps
the rolling direction of the sheet it was cut from. A rest left narrower
along the sheet's length than across it was read as rolling along its own
longer side, so a grain rule on a later job nest turned parts on that
remnant against the metal. A job nest now reads the direction from the
remnant, so a grain rule lays parts along the metal's rolling direction, and
scrapping part of a stack keeps the direction on both rows. Remnants booked
before this change, and remnants you add yourself, are read as rolling along
their length. Stored runs keep their results.

---

## 2026-11-25 — A child environment inherits its parent's calibration

**Changed (calibration), prices move** — an environment that has a parent
environment and no active calibration of its own now prices on its parent's
calibration (or the nearest ancestor's that has one). Until now a
calibration applied only to the environment it was run on, and a child of a
calibrated environment priced uncalibrated. Rates, machines and stated
values were already inherited; calibration now follows the same chain.

- **The price correction whole, from one environment.** The correction of
  the price is read as one set from one environment; nothing from two
  environments' price corrections is combined.
- **Learned times, factor by factor.** A learned time factor (set-up,
  cycle time, programming of one process) that the child has itself
  replaces the parent's for that process only; the parent's other time
  factors stay in force for the child.
- **It says when the two no longer belong together.** A price correction
  is fitted on prices made with the times of the environment it was fitted
  in. Where a child prices on its parent's correction and on a time factor
  of its own, `inherited_from[].time_factors_replaced` counts those
  factors. Calibrating the child fits a correction to its own times.
- **Your own calibration replaces the inherited one.** Calibrating a child
  compares your actuals with its prices before any calibration, so the
  result replaces what the child inherited and is not multiplied onto it. A
  parent at ×1.25 and a child whose history says ×0.9 gives a child at ×0.9.
- **Switching off falls back.** `POST
  /calibration/environments/{env_id}/deactivate` on the child returns it to
  the parent's calibration; on the parent it returns both to none. The
  status says beforehand which it will be (`falls_back_to`). The call
  switches off the environment's own calibration only: on an environment
  that merely inherits one it answers `409 no_active_calibration`. An
  environment cannot yet state "no calibration although my parent has one".
- **It says where the calibration comes from.** `GET
  /calibration/environments/{env_id}/status`, `GET
  …/calibration-report`, `GET /environments/{env_id}/individualization`
  carry `inherited_from` (the parent's `env_id` and `name`, `applies_to`:
  `unit_cost`, `time_levers`, and `time_factors_replaced`), empty when the
  calibration is the environment's own. `GET /environments/{env_id}/effective-rates`
  carries `calibration_inherited_from`. `is_calibrated` and `calibrated` are
  true for an environment that prices on an inherited calibration;
  `last_fit_at`, `accuracy` and the run list stay the environment's own.
- **Stored results are unchanged.** A calculation keeps the price it was
  given. Calculating it again in a child of a calibrated parent gives the
  calibrated price from now on; there is no switch back to the earlier
  behaviour. When this change shipped no environment had an active
  calibration, so no child environment's prices moved with it.

**Changed (MCP)** — `get_calibration_status` answers `inherited_from` and
says in `guidance` when an environment is calibrated through its parent.

**Fixed (calibration)** — drift alerts on an environment calibrated by one
factor per process. The nightly check compared the corrected band with
uncorrected prices there, so a healthy environment got a coverage alert
every night (shown as `drift_alerts` on its status) and real drift could
go unseen. It now scores the prices the environment's quotes carry, also
when the calibration is inherited.

**Changed (calibration)** — `POST /calibration/imports` checks row labels
when the history is sent. A `bin` that names no process a price is
corrected in — also one that only looks like it, such as
`process:brackets` — is refused with `422 calibration_no_process_bin`
before an import exists or anything is priced; `details.label` names it
and `details.accepted` lists the labels that are read. Before, such rows
were priced and dropped from the fit without a word when other rows of the
history were labelled correctly.

**Changed (calibration)** — `POST …/calibrate` while another request is
pricing the import, before its calculations show as running, answers
`409 import_not_settled` with `details.retry_after_s`: calibrate again
after that many seconds (at most 60). A price request that ended without
answering no longer blocks the import for five minutes, and a price step
of any length keeps the import to itself until it answers.

**Fixed (calibration)** — a price request that arrived while a fit of the
same import was being refused could start calculations for an import that
was stored as failed a moment later. The refusal is now stored before the
import is released.

---

## 2026-11-25 — A calibration reports what it applies

**Changed (calibration), breaking** — `POST /calibration/imports/{id}/price`
starts calculations only for a count you confirmed. A call without
`expected_calculations` confirms none: if the import needs new calculations,
nothing is priced and the answer is `409 calculations_changed` with
`details.calculations_required`. Until now a call without the field started
whatever the import needed. Send the `calculations_required` the import
disclosed. An import that needs no new calculation is priced as before.

**Changed (calibration)** — the same rows sent again
(`POST /calibration/imports`) return the earlier import only while it still
says what the environment does. They start a new import (`created: true`)
when the earlier one failed or was cancelled, when you state another
`basis`, when the environment's rates or settings changed since its fit, or
when its calibration is no longer the one the environment applies (switched
off, reverted, replaced by a later run). Before, the finished import came
back and `POST …/calibrate` replayed its stored result, so a history sent
after a rate change was neither priced again nor fitted again.

**Changed (calibration)** — a price commit and a fit of the same import no
longer overlap. `POST …/calibrate` while the import is being priced answers
`409` with `details.reason` `import_not_settled`; `POST …/price` while the
fit runs waits for it and answers `409` with `details.reason`
`import_already_finished`, and starts no calculation.

**Changed (calibration)** — rows labelled with a `bin` that names no process
(anything but `process:<discipline>`) are refused with `422
calibration_no_process_bin` when no row of the history reaches a process a
price reads. Such a history was fitted, counted as a calibration run and
reported, and changed no price. The same holds for time statements: a
cycle, setup or programming time under such a label. `details` carries
`observations` and, when the rows state labels of their own, `labels` and
`label`. A refused import keeps the code in `failure_code` (a new value of
that field) and the figures in `failure_params`. The same refusal is
answered by `POST /calibration/environments/{env_id}/teach`, `/finalize`,
`/auto-calibrate` and `/auto-calibrate-from-erp`; it was
`unprocessable_entity` before.

**Changed (calibration)** — `GET /calibration/environments/{env_id}/status`
and `GET /environments/{env_id}/individualization` no longer report
`is_calibrated: true` for a correction stored under a label no price reads.
`GET /environments/{env_id}/effective-rates` shows the per-process factor
whenever that is what a price is multiplied by, also when a rate was set by
hand at ×1.0; it showed "per driver" with no factor then.

**Added (calibration)** — the result of `POST …/calibrate` says what the fit
left out, as figures: `rows_not_fitted` counts the rows per cause
(`unresolved`, `no_dataset`, `invalid`, `pricing_failed`, `unpriced`,
`partial_price`, `assumed_price`, `no_matching_calculation`), and `matched`
plus those counts is the number of rows you sent. `block_evidence` says how
many stated cost-sheet rows were recorded and which were refused, by code.
`message` stays, in English, for a log line.

**Added (calibration)** — a failed import with `failure_code`
`no_comparable_prices` carries the same per-cause counts in
`failure_params`. A row in state `pricing_failed` carries `reason_code`
(`calculation_failed`, `calculation_cancelled`, `calculation_timed_out`,
`calculation_missing`) beside its English `detail`.

**Changed (calibration)** — the report after a fit is computed by the rule
the next price uses. For a part priced without cost lines the report's
"after" figures now include the limits a price applies to a per-process
correction; before, the report could state an accuracy the next price did
not reach. `effective_rates.overall_by_process` lists the per-process factor
before and after (`1` when the process had none).

**Changed (MCP)** — `import_history` answers with the same facts as the
API: `rows_left_out` (row, part number, state, `reason_code`),
`failure_code` and `failure_params` on a failed import,
`parts_partial_price` and `parts_assumed_price` in the plan, and
`rows_not_fitted` and `block_evidence` after the fit.

---

## 2026-11-25 — An environment holds its raw material

**Changed (environments)** — a costing environment now states its raw
material: the stock formats (sheet, plate, bar, tube and section lengths) a
calculation chooses from, and the stock items (bars, tubes and sections by
shape and size) a price stated for an item can apply to. The sizes of bars,
tubes and sections still follow the standard size series. Until now every environment of an organization used everything
the organization could use. Nothing changes for an environment that exists:
it holds exactly what it used before, and a calculation prices as it did.
Nothing changes for a new environment either: it starts with the standard
set a new environment started with before, and your own rows.

What does change: a standard format or item published later is no longer
used by an existing environment on its own. It is counted as new for that
environment (`new_items`, `new_formats`) until you add it or mark the list
as reviewed.

**Added (environments)** — `GET /environments/{env_id}/raw-material` (the
counts), `GET …/raw-material/items` and `GET …/raw-material/formats` (the
rows, each with `in_environment`, with filters), `POST …/raw-material/add`
and `POST …/raw-material/remove` (a selection by id, or `all: true` with
filters: a shape, a standard, a material group, a search), `POST
…/raw-material/copy` (from another environment, optionally replacing),
`POST …/raw-material/reviewed`, and `POST /raw-material/add` (one selection
into several environments). Every write takes `dry_run`, is all-or-none and
idempotent, and needs `setup:write`; the reads need `parts:read`. A removal
is dated, never a delete: a calculation made before keeps what it was costed
with.

**Changed (environments)** — an environment keeps at least one stock format
of every kind it calculates with. Removing the last one, replacing its list
with one that holds none, hiding it for your organization or retiring it is
refused with `409 stock_format_last_in_environment`, which names each
environment and kind in `details.environments`: add another format of that
kind to the environment first. `GET /environments/{env_id}/raw-material`
answers `format_kinds_empty`, the kinds an environment holds no format of; a
sheet or a bar is then calculated in the standard formats you have not
hidden. `POST /environments` with `source: "empty"` starts with your raw
material like every other source: `empty` means no tools and no machines.

**Changed (environments)** — removing a row and adding it back on the same
day leaves the environment as it was. Stopping an own stock item or
retiring an own stock format also takes it out of its environments, so
creating it again joins the environments that create names. A `dry_run`
leaves no entry in the audit log.

**Changed (environments)** — `kg_per_m` in `GET …/raw-material/items` is
answered for your own items; for a standard item it is `null` for an API
key or an agent's grant. `POST …/raw-material/add` answers
`items_sharing_section`: how many items now have the same shape, material
and dimensions as another item the environment holds. `POST
…/raw-material/prices` and `…/prices/clear` answer `in_environment`: how
many of the selected items the environment holds. A price for an item it
does not hold applies once the item is added.

**Added (catalogue)** — `GET /stock-formats?include_suppressed=true` can
answer `resolution: available`, a new value beside `priced`, `suppressed`
and `closed`: a standard format your organization can use that is in no
environment until you add it (`POST /environments/{env_id}/raw-material/add`,
by id or in bulk by filter). The default list is unchanged.

**Changed (calculations, nesting)** — `stock_format_id` on a calculation and
`formats` on a job nest name formats the costing environment holds. A
format your organization can use that the environment does not hold is
refused with `422 stock_format_not_in_environment`, which names the
environment; add the format to it, or name one it holds. A calculation that
exists is not affected.

**Added (stock)** — what you state on a standard item is managed through
the API: `POST /stock-items/standard/stocked` (in stock, for several items),
`PUT /stock-items/{platform_item_key}/override` (article number, supplier
reference, lead time and the rest) and `POST` / `DELETE
/stock-items/{platform_item_key}/hide`. Each answers the item's designation
and your statement. Your article list imports in one call: `POST
/import/stock-items/preview`, `POST /import/stock-items` (with
`expected_plan_digest` to write exactly the previewed plan) and `GET` /
`PUT /import/stock-items/header-map`; over MCP, `import_setup_data` with
`kind: stock_items`. See
[What you state on a standard item](./mcp.md#what-you-state-on-a-standard-item).
A standard item's dimension table is read in the app: the standard list, the
lookup by designation, the copy and its comparison answer `403
first_party_required` to an API key or an agent's grant.

**Added (environments)** — `POST /environments/{env_id}/raw-material/prices`
states one base price for several stock items at once, and `POST
…/raw-material/prices/clear` ends the prices the environment states itself
for them.

**Added (stock)** — `attach_to_environment_ids` on `POST /stock-items` and
`POST /stock-formats`: the environments your new item or format joins. Left
out, it joins every open environment; `[]` joins none.

**Added (MCP)** — `get_raw_material` and `edit_raw_material` in the `setup`
toolset, and the two bulk price tools in `environments`. See
[Raw material of an environment](./mcp.md#raw-material-of-an-environment).

**Added (stock)** — your own raw-material items are managed through the API:
`GET /stock-items/schema` (the shapes an item can be), `POST /stock-items`,
`GET` and `PATCH /stock-items/{item_key}`, and `POST
/stock-items/{item_key}/stop`. The writes need `setup:write`. Over MCP they
are five tools of the `catalog` toolset — see
[Your own raw-material items](./mcp.md#your-own-raw-material-items).

**Changed (setup)** — `POST /environments/clone-preset` as an organization's
very first call now returns an environment that holds the organization's
tools; it used to hold none.

**Changed (setup)** — a `rate` change that states the value already in force
plans as `unchanged` and writes nothing, so a changeset can be sent again.

**Changed (MCP)** — the setup tools answer a refusal of the caller with the
API's own code: `insufficient_scope`, `role_read_only` or `rate_limited`,
and a preset or environment that is not yours with its `…_not_found` code.
Until now these arrived as `unprocessable_entity`.

**Changed (setup)** — the plan of a changeset (`POST
/environments/{env_id}/setup/changes/preview`, `edit_environment`) now tries
each write on the route that makes it and rolls it back. A value that route
refuses is `refused` in the plan, with the route's error code in the new
`code` field; until now it was `planned` and then `failed` on commit. The
commit's answer gains `written` and `failed`. A commit is still per change,
not all-or-nothing.

**Changed (setup)** — the changes of a changeset are tried in the order
sent, each on what the ones before it leave, as the commit writes them. A
change that is only valid after an earlier one in the same changeset (an
operator wage above the machine's rate, behind the change that raises the
rate) is no longer refused.

**Changed (rate limits)** — `POST
/environments/{env_id}/setup/changes/preview` counts as one heavy call,
like its commit, whatever the number of changes; the writes it tries are no
longer counted one by one. A setup call that runs out of budget, also in
one of its own reads, answers `429 rate_limited` with `Retry-After` — it
used to answer `422`. Over MCP the wait is in `details.retry_after_s`.

**Changed** — `valid_from` is optional on `POST /environments`: today
(UTC) when omitted. The MCP `create_environment` no longer sends it, so a
create retried with its `idempotency_key` after midnight UTC answers the
first environment instead of `idempotency_conflict`.

**Changed (setup)** — a viewer's `POST /setup/imports` and `POST
/environments/{env_id}/setup/changes` are refused with `403 role_read_only`,
like every other write. They used to answer `200` with every row `failed`.
The previews stay readable.

**Added (setup)** — `Idempotency-Key` is declared on the routes that create
or clone a costing environment, attach a machine and add a raw-material
item, and their MCP tools take `idempotency_key`, `create_environment`
included: a retried create answers what the first call made.

**Added (docs)** — [From nothing to a priced environment](./mcp.md#from-nothing-to-a-priced-environment):
the order of calls that sets a shop up with an API key alone.

## 2026-11-24 — ARCNM environments are countries

**Changed (environments)** — ARCNM publishes one costing environment per
country, the 44 the coverage check grades complete or provisional. The six
subdivision environments it published before are retired into their
countries: `DE-BY` and `DE-BW` into `DE`, `CZ-JM` into `CZ`, `US-IL` into
`US`, `VN-SG` into `VN` and `CN-SH` into `CN`. A region finer than a country
is your own environment; publish it if others should follow it.

- `GET /catalogue/environments`, the MCP tool `find_environments` and
  `GET /pay/environments` list the countries only. A `region` filter that
  names a subdivision (`DE-BY`) also lists its country's environment.
- A retired environment is read by its id with `status` `retired`; it has
  no address (`arcnm-de-by` names nothing), and in the agent lane its old
  id (`DE-BY`) names no environment. The agent lane's default environment
  is `DE`.
- An environment of yours that followed a retired one follows its
  country's, with the same policy, channel and pin. A pinned follow stays
  on its version and lists the country's versions as newer. Your copies
  are not changed.
- The six subdivisions have no reference values of their own:
  `GET /regions/DE-BY/drivers` answers from `DE` (`answered_by`,
  `inherited: true`). Calculations priced before keep their figures and
  replay unchanged.
- Field descriptions give `DE` as the example region.

---

## 2026-11-24 — Price a part with no account

**Added** — `POST /pay/price`, `GET /pay/environments` and the pay MCP
server at `https://api.arcnm.io/mcp-server/pay/mcp` (tools `price_parts`,
`get_result`, `preview_cost`) price a CAD file with no account and no key.
One made part in one environment is one calculation, at EUR 0.89 including
VAT, paid in USDC over x402, or by card from 6 calculations per payment. A
price check is free, and a calculation that fails is never charged. See
[Pay per call](./pay-per-call.md).

---

## 2026-11-23 — A paused balance says `wallet_locked`

**Added (billing)** — the block reason `wallet_locked`. When a payment on
your account is disputed or flagged by the card issuer, your prepaid balance
is paused: it pays for nothing and takes no top-up until support releases
it. A calculation past your plan's included volume then parks with
`coverage.reason` `wallet_locked`, whether or not the balance holds money,
and `coverage.upgrade_url` points to the support contact page instead of
the top-up. It said `wallet_empty` before. Once the balance is released,
the parked calculations start by themselves. The same reason is on a
precheck row's `held_reason`, on an assembly's unpriced components
(`reason_code`, `unpriced_reason`) and in the `details.reason` of
the `402 quota_exceeded` of
`POST /calculations/{id}/select-machine`. `coverage.reason` is now a
closed enum of four: `wallet_empty`, `wallet_locked`, `past_due`,
`run_spend_cap`.

**Added (billing)** — `GET /calculations/entitlement` and the MCP tool
`check_quota` return `wallet_locked` (boolean): `true` while the prepaid
balance is paused, so you can tell before a start that a run past the
included volume will park with that reason.

**Added (errors)** — codes for the refusals that were `http_error`:
`payment_provider_unavailable` and `payment_provider_refused` (`502`) when
cancelling or keeping a plan or a pack, or undoing a scheduled plan change,
fails at the payment provider; `cancel_failed_change_undone` (`502`) when a
cancellation undid the scheduled plan change and then failed, so the plan
renews as it is (`details.retry_helps`); and `pending_payment` (`409`,
was `conflict`) when a plan or package change still waits for its invoice
(`details.reason` stays). The English `message` is unchanged.

**Removed** — fields that always carried the same value:

- `GET /calculations/entitlement` and the MCP tool `check_quota` no longer
  return `hard_capped` (always `false`) or `wallet_overdraft_floor_cents`
  (always `0`). `wallet_overdrawn` and `wallet_overdraft_cents` stay: they
  say the balance is below zero after a refund or a dispute.
- `GET /pricing` no longer returns `hard_cap` on each tier (always `false`).
- `GET /billing/v3/overview` no longer returns `quota.hard_cap` (always
  `false`), `overage_settlement.overdrawn` (always `false`) or
  `overage_settlement.overdraft_floor_cents` (always `0`).

---

## 2026-11-23 — A parked calculation starts by itself

**Changed (billing)** — a calculation parked `blocked` no longer waits for
you to resume it once what parked it is gone. When a top-up is credited to
your prepaid balance, when a payment block on the subscription ends, or
when support lifts a pause on the balance, the parked calculations start
again, oldest first, as far as the balance reaches; the rest stay parked
and say why. Nothing is charged that a new start would not charge.
`POST /calculations/{id}/run` and `/calculations/bulk-retry` still resume
one yourself, and are the way after a plan upgrade. A parked component of
an assembly is not started this way (start it from its assembly,
`POST /calculations/{id}/components/calculate`), and a calculation parked
on its own `max_overage_cents` stays parked.

---

## 2026-11-23 — A part on hold for the balance says `wallet_empty`

**Changed** — `held_reason` on a row of a precheck (`GET /prechecks/{id}`)
says `wallet_empty` where it said `quota_exhausted`: your plan's included
calculations are used and your prepaid balance does not cover this part.
It is the word a calculation's `coverage.reason` and an assembly's bill of
materials already use, so one check covers all three. `run_spend_cap` is
unchanged.

---

## 2026-11-23 — No monthly spend cap

**Removed (billing)** — the monthly overage spend caps, per organization and
per API key, and their alert-only setting. Past your plan's included
calculations your prepaid balance is the ceiling, and a run's own
`max_overage_cents` states its price before anything is charged.

- `PATCH /billing/v3/overage-cap` is gone.
- `PATCH /billing/v3/api-keys/{id}` no longer accepts `spend_cap_cents_monthly`
  or `cap_action`; it sets `schema_profile_default` and `review_default`.
- `GET /billing/v3/overview` no longer returns `overage_cap`, nor
  `spend_cap_cents_monthly`, `cap_action` and `cap_percent_used` on each
  `api_keys[]` entry (`month_spend_cents` stays).
- `GET /calculations/entitlement` and the MCP tool `check_quota` no longer
  return `overage_cap_cents`, `overage_budget_remaining_cents` and
  `spend_cap_blocked`.
- The webhooks `billing.spend_cap_warning` and `billing.spend_cap_reached`
  are no longer sent.
- The coverage reasons `spend_cap` and `org_spend_cap` are no longer produced.

**Changed** — `remaining` on `GET /calculations/entitlement` (and in
`check_quota`) counts the calculations already running: it is what the next
start may still use without a charge.

---

## 2026-11-23 — Every part gets a price indication

**Changed** — **work your environment cannot do no longer leaves a gap in
the price.** Until now, work that none of your switched-on machines and
tools could do was left out of the price. It is now priced on a stated
assumption, the first of these that applies:

- a machine type from the platform's machine library, at its standard
  values, where your environment has no switched-on machine of that type;
- the standard tool of the feature's size, where your tool list has none
  (the seconds come from standard cutting data; that tool's wear is not in
  the price);
- the number of holes a call-out on the drawing states;
- another route, such as a casting made from stock;
- a raw part the drawing names, at its mass times the material's price
  per kg.

Only work none of these can take stays out of the price. In the app, such
a result reads **Indicative price** (German *Richtpreis*, Spanish *Precio
orientativo*): a price you can quote from, with every assumption listed
beside it.

**Added** — **`assumed[]` beside `unpriced[]`.** A result states its work in
two lists, each absent when it has no entry: on the public REST API under
`process_plan.assumed` and `process_plan.unpriced`, and through MCP's
`explain_cost` and `get_process_plan` as `assumed` and `unpriced`.

- `assumed[]`: work that is in the price on a stated assumption. Each
  entry has the fields of an `unpriced[]` entry (`reason`, `cause`,
  `violation`, `measurement`, `remedies`, …) plus `basis` (what it is
  priced on: `library_machine`, `standard_tool`, `standard_operation`,
  `alternative_route` or `material_value`) and `stand_in` (`name`,
  `class`, `rate`, `unit`, `mass_kg`, `amount`, `time_s`, where they
  apply). `remedies` says what makes that item exact.
- `unpriced[]`: work that is not in the price, with no number.

No item is in both lists. `price_completeness` is `partial` exactly when
`unpriced[]` is not empty. A `complete` result can rest on assumptions: if
you quote from the API, read `assumed[]` as well as `price_completeness`.

**Added** — **`n_assumed`**, the number of assumptions a price rests on.
It is on the calculation detail, the calculations list and the coverage
block. On an assembly it counts the components priced on assumptions, and
it is the same number on the BOM header, public REST and MCP.

**Added** — **state the raw part's price.** Where the drawing names a raw
part (a bought article, a weldment, a casting or a near-net blank), send
`stock_statement: {"raw_part_unit_price": <amount>}` in the costing
environment's currency when you create or re-run a calculation (`POST
/calculations`, `POST /calculations/quote`). The material line is then
that amount, and the raw part is in neither list. The calculation detail
returns the statement you made. A re-run keeps it unless you send another
amount, or `null` to clear it; `null` clears it through MCP too.

**Changed** — **a switched-off machine prices nothing.** A machine you have
switched off is treated as absent. Work only it could do is priced on the
platform's machine type, with `basis: library_machine`, and
`stand_in.own_switched_off` names your switched-off machines of that type.
Switch the machine on and the work is priced on your own machine.

**Added** — **new work the price covers:**

- gear teeth and racks, cut on a gear-hobbing or gear-milling machine,
  and internal profiles, cut on a broaching machine, where your
  environment has the machine and the tool; where it lacks one, the entry
  says which;
- long parts cut from lengths of a standard section, on saws, drills and
  long-bed machines;
- shells rolled from a cut sheet;
- parts recognised as a length of a listed section, billed by the length
  they use and your environment's prices for that item, with bar, plate
  and sheet routes compared; the components of an assembly are nested on
  shared bars;
- on drawings: the raw part the drawing names gets its own material line,
  and treatment alternatives, the revision table and "unpainted" are read.
  Treatment alternatives are priced once, at the cheapest that can be
  priced.

**Changed** — **prices move.** Parts that were partial or refused now carry
the work priced on assumptions. A raw part the drawing names is weighed as
the finished part plus the metal the route removes from it. A calculation
stored before this change is served as it was stored, with no `assumed`
entry and `n_assumed` 0.

---

## 2026-11-22 — Marking-out time on its own

**Added** — **`analytics.time_breakdown.marking_out_time_s`.** Where the
holes of a part are drilled on a machine without positioning, they are
scribed and centre-punched by hand first. That time is now stated on its
own, in seconds per unit, before the allowance factor, with its build-up
in `analytics.time_breakdown.derivations.marking_out`. It is part of
`deburr_time_s`, which is unchanged: the deburring alone is
`deburr_time_s` less `marking_out_time_s`. Don't add the two. The field is
absent where no hole is marked out and on calculations priced before this
change. No price or time moves.

---

## 2026-11-20 — Two namespaces: private names, one public title

**Changed** — In the app, a public listing's title is unique among
everything anyone can find under Environments, whoever publishes it — held
by listings that are listed or suspended at public visibility; a draft, a
link-only or a retired listing holds nothing. Publishing, editing (a switch
to public included) or submitting a listing under a title another
organization lists publicly answers `409 conflict` with `details.reason`
`publication_title_taken` and the new `details.scope` `public` (`publisher`
when another of your own listings carries it, as before), with
`details.suggested_title` "‹title› (‹your publisher name›)". A region's
name (English or German) or a title that reads like ARCNM is refused for
any listing with `details.reason` `publication_title_reserved`. Your
environments' names are unchanged: they stay unique within your
organization only, and publishing never renames one.

**Changed** — A publisher name is held the same way: only by another
organization's public listing that is listed or suspended. Its draft, its
link-only or its retired listing no longer makes `publisher_name_taken`
answer — for any listing of yours, a link-only one included, which may not
show a name another organization shows publicly. Submitting checks the
publisher name too.

**Changed** — Listings whose public title another organization listed
first, or whose title was a region's name or read like ARCNM, took
"‹title› (‹publisher name›)" or "‹title› — ‹publisher name›" once; each
has an `environment.publication.renamed` row in your audit trail
(`payload.field` `title`). Publishing is not open yet, so no published
listing was affected.

---

## 2026-11-20 — Names that cannot mislead

**Changed** — `409 environment_name_taken` names the environment that
holds the name as that one is spelled, and `details` gain
`existing_name` and `existing_id` (`name` and `suggested_name` stay).

**Changed** — A suggested or picked name counts instead of stacking: a
name ending in "(n)" continues its series ("Werk Nord (2)" taken suggests
"Werk Nord (3)", not "Werk Nord (2) (2)"), and a duplicate sent without a
`name` is "‹name› (copy)", then "(copy 2)", "(copy 3)" … — duplicating
"X (copy)" gives "X (copy 2)". The word is English: the API has no
locale, so send `name` to have the copy in another language. A four-digit
number in brackets is a year, not a series ("Plan (2026)" → "Plan (2026)
(2)").

**Changed** — In the app, a listing's publisher name can no longer be
ARCNM's own ("ARCNM", "Arcanum") or read like it, and no two
organizations show the same publisher name on listings that are not
retired: `409 conflict` with `details.reason` `publisher_name_reserved` or
`publisher_name_taken`. Listings that broke either rule before this
release took their organization's name once (the organization listed first
kept a shared name). Publishing is not open yet, so no published listing
was affected.

**Changed** — Every environment renamed when names became unique per
organization, and every listing retitled or renamed by these rules, has a
row in your audit trail (`GET /audit/`): `environment.renamed` or
`environment.publication.renamed`, written by the system, with the old
and the new name in `payload.from` and `payload.to`.

---

## 2026-11-20 — Past the plan, the prepaid balance pays

**Changed (billing)** — a calculation past your plan's included volume is
paid from your prepaid balance on every plan, and nothing is invoiced in
arrears any more. An Enterprise agreement on invoice terms is invoiced for a
balance, and the paid amount is credited to it. See [Pricing](./pricing.md).

**Removed** — the value `invoice` of `overage_settlement` on
`GET /calculations/entitlement` and in the MCP tool `check_quota`, and of
`overage_settlement.mode` in `GET /billing/v3/overview`. The field reads
`wallet`, or is empty when the plan bills no overage.

**Removed** — `next_invoice.overage_cents` in `GET /billing/v3/overview`.
Overage never reaches an invoice; it is reported in `overage`.

**Removed** — `bundled_feature_slugs` on each tier of `GET /pricing`, and
`available_tiers[].bundled_packs` in `GET /billing/v3/overview`. No plan
bundles an add-on, so both were always empty.

---

## 2026-11-20 — Reading a drawing is part of the calculation

**Removed** — **The `extraction.budget_capped` webhook event.** It fired
when a drawing read by a separately charged model hit its costing
environment's monthly budget. That charge is gone: whichever model reads
a drawing, the calculation's price is the whole price, and nothing caps
or bills the drawing on its own. The event is no longer in
`GET /webhook-endpoints/event-types` and is never sent; an endpoint that
subscribed to it keeps its other events. Wallet history keeps its rows of
the old charge (reason `parts.extraction.drawing.vlm`). See
[Pricing](./pricing.md), rule 1.

---

## 2026-11-19 — Stars: how many people starred an available environment

**Added** — Every listing of `GET /catalogue/environments` and
`GET /catalogue/environments/{ref}` carries `stars`: how many people
starred it in the app (the app's favourite is the star). Each person
counts once, whatever organizations they star it from; members of the
publishing organization do not count; ARCNM's own environments count
everyone. The number is exact and current — a star or an unstar shows at
once — and only the number is public: no field and no route says who
starred. A retired or suspended listing keeps its stars, and a new listing
of the same environment shows them.

**Added** — `sort=stars`: most stars first; ties go to the reviewed before
the unreviewed (`evidence_class`), then to a listing within
its declared update cadence (`freshness: current`) before an overdue one,
then to the newest release, then to the name.

**Changed** — The default order (`sort=relevance`) still lists the
platform's environments first, complete before provisional, by name; the
organizations' listings after them now follow the star ranking instead of
evidence class and name. With `q`, the order stays platform, verified
partners, community, and more stars break ties before the name. A cursor
issued before this release is refused with `400 invalid_cursor`; start the
walk again from the first page.

---

## 2026-11-19 — Working in the app no longer spends your rate-limit budget

**Changed** — A signed-in session in the ARCNM app counts its light
requests (reads and light writes) per person in an **interactive
bucket** of 1,200 requests a minute, and no longer draws your plan's
per-minute budget with them. Its heavy operations (runs, uploads,
re-prices, the regional screen, `include_total` counts, job nests) draw
the plan's budget as before. A session's light responses carry the
interactive bucket's numbers (`X-RateLimit-Limit: 1200`,
`RateLimit-Policy: "interactive";q=1200;w=60`); its 429 is
`rate_limited` with the message "Interactive rate limit reached …".
API keys, scoped OAuth grants, MCP calls and upload links are paced
exactly as before. See [Rate limits](./rate-limits.md).

**Changed** — `POST /calibration/imports/{import_id}/price` is a heavy
call against the per-minute budget (it enqueues one calculation per
(part, lot) pair, like `POST /calculations/batch`); it was weighted as a
read.

---

## 2026-11-19 — One name per environment

**Changed** — Every environment your organization holds — its own, a
duplicate, an installed one — now has a name no other of them has,
compared ignoring case and extra spaces ("Werk Nord" is "werk  nord ").
Before, the same name was accepted on another `valid_from` day.
`POST /environments`, `PUT /environments/{env_id}/identity`,
`POST /environments/{env_id}/clone` and `POST /environments/from-catalogue`
refuse a name another of them holds with **`409 environment_name_taken`**;
`details.name` is the name refused and `details.suggested_name` a free one.
A name the platform picks — a duplicate sent without a `name`, the default
environment provisioned on first use — takes the next free one ("‹name›
(2)", "(3)" …) instead of the random suffix it took before, and the response
names the environment by it. Names are stored trimmed, inner whitespace
collapsed. Environments that shared a name before this release were renamed
once, the same way: the default (else the oldest) kept its name. An
environment's id did not change, so calculations, versions and follows that
name it are unaffected.

---

## 2026-11-19 — "Environments", not "Environment Catalogue"

**Changed** — The surface where you find, install and follow environments
is called **Environments** in the app, and taking one is **Install**. The
public spec's descriptions and the summaries of the `/catalogue/environments`
reads and of `POST /environments/from-catalogue` say so, as do the MCP
descriptions of `find_environments` and `diff_environments` and this
documentation. Nothing an integration reads changed: paths, operation ids,
tags, fields (`in_workspace`), error codes
(`catalogue_environment_not_found`, `catalogue_publishing_disabled`), event
and notification names, and MCP tool names keep their names.

---

## 2026-11-18 — Provisional platform environments

**Added** — Environments lists the platform's regional
environments whose labour and/or energy reference value is still an
estimate not yet verified against its publisher, instead of leaving the
region out: Brazil, Canada, China, India, Indonesia, Japan, Malaysia,
Mexico, South Korea, Switzerland, Taiwan, Thailand and Vietnam
(`arcnm-br` … `arcnm-vn`). Every platform listing on
`GET /catalogue/environments` and `GET /catalogue/environments/{ref}`
carries `coverage_grade` (`complete` or `provisional`) and
`provisional_cells` — each provisional value's `driver_key`, `qualifier`,
`answered_by`, `reason` (`unverified_estimate`) and `source_summary`.
`coverage_grade` is a new filter on the list, which shows complete
platform listings before provisional ones. A calculation priced with a
provisional value carries the pipeline note `reference_provisional`
(`driver_key`, `qualifier`, `region_code`, `reason`), whether it read the
value from the version it follows or from the region;
`GET /environments/{env_id}/assumptions` marks it with
`provenance.provisional`, and `GET /calculations/{a}/diff/{b}` with
`provisional_from` / `provisional_to`. The MCP tool `find_environments`
reports each environment's `grade` and its provisional values, and says
in its guidance when a result is provisional. A listing becomes complete
with the release after a cited figure replaces the estimate.

---

## 2026-11-18 — A rate's `valid_to` is the first day it no longer applies

**Changed** — Every rate window is half-open, as membership windows
already were: a rate applies from `valid_from` up to, not including,
`valid_to`. A rate valid through 31 March states `valid_to` 2026-04-01, and
`POST /environments/{env_id}/rates` refuses a `valid_to` that is not after
`valid_from`. Rates stored before this release read one day later than they
did — the same days, written the new way — on `GET .../rates`, the scrap
prices and an environment version's rows. Send the day after the last day a
rate should price.

---

## 2026-11-18 — Detach an environment from the environment it follows

**Added** — `POST /environments/{env_id}/subscription/detach`: the
environment stops following and keeps, as its own and valid from today,
every value it inherited from the applied version (rates, economics fields,
cutting data, tuning, shop practice, the learning rate, and the regional
values a platform version pinned), so it prices exactly as it did before.
The answer (`DetachedEnvironmentPublic`) lists what was written. Afterwards
the subscription routes answer `404 subscription_not_found`; following
again is a new fork. Owner or admin only, like `apply` and `revert`; not an
MCP tool. See [Costing environments and
versions](concepts/costing-environments-and-versions.md).

---

## 2026-11-18 — Find the environment that follows an available environment

**Added** — `GET /environments` takes `upstream_env_id`: only your
organization's environments that follow that available environment
(installed with `POST /environments/from-catalogue`), newest first.
An id nothing in your organization follows answers an empty list. Use it
before installing, so the same environment is not installed twice. The
MCP tool `list_environments` takes the same argument.

**Added** — each item of `GET /environments` names the available
environment it follows as `upstream_env_id` (`null` when it follows none).
It is set on the list only; `GET /environments/{env_id}/subscription`
states the follow in full.

---

## 2026-11-18 — Coverage of available environments by process family

**Changed** — `GET /catalogue/environments` takes, as `process_family`,
the process families a machine stands under (`grinding`, `cutting`,
`forming`, `joining`, `additive`, `moulding`) beside the machine-class
families it took before (`milling`, `turning`, `laser_cutter`, …);
`422 process_family_unknown` lists both in `details.known`. A listing's
`capability_envelope` now summarises the machines a follower takes — the
switched-on ones — and its `size_class.max_part_envelope_mm` is the largest
work area among them: a saw's stock length is no part size, and a fleet
with no work area states `null`.

---

## 2026-11-18 — Two response fields state their closed sets

**Changed** — **two response fields are now enums in the OpenAPI spec.** The
values on the wire are unchanged.

- `learn_reason` on the adjustments result is one of `plan`, `metered`,
  `limit_reached`, `not_requested`, `refused`, `out_of_band` or
  `nothing_recorded`.
- `role` on a stored upload file is one of `cad_3d`, `drawing_2d` or
  `rfq_text`.

A client generated from the spec in a strictly typed language sees an enum
type where it saw a string. Regenerate it.

**Fixed** — **confirming an upload while its check runs** answers `pending`
at once. It used to wait, and could then drop the check's preview state.

**Fixed** — **when file storage is unreachable**, `POST /uploads/confirm`,
`POST /uploads/{id}/retry` and `POST /uploads/bulk-retry` answer `503`
`storage_unavailable` and change nothing; try again later. They used to
report a stored file as not arrived (`upload_not_received`).

---

## 2026-11-18 — Billing change: every calculation is paid

**Changed (billing)** — **from this release, an identical re-run is a new,
billed calculation.** Until now, running the same part again in the same
costing environment with the same configuration within the billing month
was answered from the first succeeded result, free, and an identical
quote sent while the first was still running joined it. Both are gone:
every calculation that succeeds is billed once, on every route —
`/calculations` + `/run`, `/quote`, `/upload-and-quote`,
`/calculations/batch` (each cell) and the assembly components. Failed
runs, cancelled runs and `4xx`/`5xx` responses stay free, and retrying a
*failed* calculation still bills it at most once. See
[Pricing](./pricing.md), rule 5.

**Changed (billing)** — **from this release, a component of an assembly
priced again where it stands is a billed calculation too.** Its own
calculation running again — `POST /calculations/{id}/components/{key}/run`,
a drawing that prices it again (`POST /calculations/{id}/drawings`,
`/drawings/{data_source_id}/assign`, `/components/{key}/drawing`, or
`POST /calculations/{id}/drawing` on the component), or a quantity, scrap
or material change (`PATCH /calculations/{id}/components/{key}`,
`PATCH /calculations/{id}/components`) — is billed once if it succeeds,
under the same component id. Until now only the component's first success
was billed and every later run in place was free. It answers to billing as
a new calculation does, your API key's own spend cap included: refused with
`402 quota_exceeded` where one would be, before anything runs and with the
component keeping its price, and past the included calculations its
overage price is held from your balance before it starts. A dry run
(`dry_run: true`) asks the same and refuses what the apply would.

Where an assembly's sheet parts were nested together on shared sheets,
any change to the components that run — one priced again, one made or
bought, excluded or taken back in, the rest calculated, or one deleted —
changes that nest: **every other component on those sheets is priced
again on its own sheet, and each is a billed calculation too.** The answer
lists them (`rerun_child_calculation_ids` on the component routes,
`child_calculation_ids` on `/components/calculate`), the dry run exactly
as the apply, and the whole call is refused where that many new
calculations would be. A deleted component is never refused: where its
nest's components may not be priced again, they keep their prices and the
assembly says its nest is stale. Putting the components back on shared
sheets afterwards is part of the run you paid for and bills nothing; it
takes only components whose inputs are the ones that run read.
Without a stored nest, buying, excluding or pricing a catalogue component
and the assembly's own re-total run nothing and bill nothing; a run in
place that fails bills nothing, and retrying it bills it at most once.

**Added** — **`drawings_follow`** on `POST /calculations/upload-and-quote`.
An assembly's drawings sent with `POST /calculations/{id}/drawings` right
after its upload used to race the split into parts: a pack that arrived
after it priced every part it matched a second time. Send
`drawings_follow=true` with the upload and the split waits for the
drawings (at most two minutes), so each part runs once, with its drawing —
one calculation per part. A pack sent later, as its own action, prices
again what it matches, a calculation each.

**Retries are protected by the `Idempotency-Key`.** Send the same key with
the same request within 24 hours and you get the first answer back, billed
once; without it, a resent request is a new calculation. The first answer
goes back only to a caller the route would still accept: a user who was
deactivated or removed from the organization since, or an API key revoked
since, gets the route's own `401` or `403` instead. See
[Idempotency](./idempotency.md).

**Added** — **`dry_run` and `calculation_ids` on
`POST /calculations/{id}/components/{key}/run`.** Pricing one component
again also prices again every other component on its nested sheets, each a
calculation of its own; the answer named only the one you asked for.
`calculation_ids` now lists every calculation the call queued, and
`?dry_run=true` lists the ones it would queue, and is refused exactly where
the run would be, without queuing or billing anything.

**Added** — **`dry_run` on `POST /calculations/{id}/components/{key}/drawing`
(query) and `POST /calculations/{id}/drawings/{file}/assign` (body).**
Giving a component its drawing prices it again, with every other component
on its nested sheets, a calculation each. A dry run lists them in
`rerun_child_calculation_ids` before anything is stored, attached, queued
or billed, and is refused exactly where the request would be.

**Added** — **`max_calculations` on the same three routes** (a query
parameter on `/components/{key}/run` and `/components/{key}/drawing`, a
body field on `/drawings/{file}/assign`). Send the count the dry run
named: when the request would now bill more, because another component
was nested with it since, it is refused with `409 reprice_set_changed`
and nothing changes; `details.calculations` and `details.calculation_ids`
name what it would bill now. Without it, the request bills its whole set,
as before.

**Changed** — a precheck of the bundled example part, before your
organization has run it, answers `free: 1` and `included: 0`: that first
run is not billed, so it no longer shows as taking one of your plan's
included calculations.

**Added** — **`idempotency_key` on the MCP tools `quote_part` and
`upload_and_quote`**, passed on as the `Idempotency-Key` header, and the
header declared on `POST /calculations/quote` and
`/calculations/upload-and-quote-json`. Those routes take any key, as before
and as every route does; a tool's `idempotency_key` is 1 to 128 letters,
digits, `.`, `_`, `:` or `-`, and a tool call with another value is refused
before it is sent. See [MCP for agents](./mcp.md).

**Deprecated** — **`served_from_cache`** on `POST /calculations/batch`
and on `POST /calibration/imports/{id}/price` (always `0` now), and on the
cells of `GET /calculations/batches/{id}/comparison` (`false` for every
calculation from this release; `true` only on an older cell the cache
answered). The fields stay, so nothing that reads them breaks. The
`calculation.succeeded` webhook no longer carries `served_from_cache`
(it was optional), and the precheck row fate `free` is no longer
returned.

**Deprecated** — **`per_part`** on the `/prechecks` answers is always
`true`. An assembly costs one calculation per different made part, the
rule every assembly started on this service has followed since it became
the default; there is no longer a mode that bills an assembly as one
calculation for all its parts. See [Pricing](./pricing.md), rule 1.

---

## 2026-11-16 — A part is charged the stock it uses

**Changed** — **a reusable rest is no longer charged to the part by
default.** The rest of a sheet, and the end a bar, a tube or a section
leaves past its part, is left out of the part's material where it is large
enough to be used again. Until now that needed the shop-practice answer
`credited`; an environment that had stated nothing was charged the whole
share of the sheet or bar. `remnant_value_factor` now defaults to 1.0
(it was 0.8): the rest is left out at the price of new stock.

Prices move only on parts that leave a reusable rest. Example: one part
cut from a 3000 × 1500 × 8 mm sheet leaves a rest strip of 484 × 1480 mm,
44.95 kg. At 2.50 per kg the part was charged the whole sheet, 706.50; it
is now charged 594.11. On a bar, a part that leaves an end of 300 mm or
more is charged the length it uses — the piece, the cut and the end the
clamp holds. Parts that fill their sheet or bar, and rests below the
reusable size, do not move.

`material_purchased_cost`, `remnant_credit` and `material_cost` keep their
meaning: `material_cost` = `material_purchased_cost` − `remnant_credit`.
On environments that stated nothing, `remnant_credit` and
`remnant_mass_kg` are now non-zero where a rest is reusable, and
`remnant_credit_stated` is true.

**Added** — **the answer `charged`** to the shop-practice question
`remnant_credit`: the part pays its whole share of the sheet or bar, as
before this change. **The answer `not_charged`** states the default on an
environment whose parent answers `charged`. To keep a discount on the rest,
state `remnant_value_factor` under `/environments/{id}/tuning`.

**Changed** — **remnant stock keeping is its own question, `remnant_stock`**
(answers `standard`, `kept`, `not_kept`). A job nest books the rests it
leaves when it is released, and offers the stock to later nests, only where
the environment, or one it inherits from, answers `kept` and the rest is
not charged to the part. The `remnant_credit` answer `credited`, which said
both, is gone: every environment that had answered it now reads
`not_charged` and `kept`, and its job nests keep stock as before. Without
stock keeping, a job nest chooses among its layouts on the sheets bought
less the scrap sold; with it, the rest's worth counts too. On a tie the
layout that buys less wins.

---

## 2026-11-13 — The error envelope in the spec, calibration fixes, re-runs keep their lot, review reasons for an assumed blank

**Added** — **`analytics.review.reason_codes` gains three codes that say
when a price rests on a blank nobody stated.** Each asks for a review; none
changes the price.

- `near_net_blank_assumed` — the part fills too little of its bounding box
  to be machined from a block, so it is priced on an assumed near-net blank
  bought to shape, and no stock form was stated. The material line bills
  that blank's metal only: making it (a casting, a burn-out, a rolled or
  bent strip) is not in the price. Params: `purchased_kg`, `part_kg`,
  `allowance` (the blank as a multiple of the part) and `skin_od_mm` (the
  circle a rolled or formed strip lies on; `null` on other parts).
  `analytics.pipeline_notes` carries a note of the same name with the same
  params. Stating the stock (`material_is_provided` with a
  `provided_stock_kind`) prices it without the review.
- `cast_blank_assumed_solid` — a cast-iron grade priced as machined from
  purchased stock, with no near-net blank stated (`grade`, `purchased_kg`,
  `part_kg`). The `cast_material_from_bar_stock` note now also appears on
  such a part priced on a near-net blank.
- `stated_sheet_not_followed` — the sheet size the calculation stated
  (`stock_format_mm`) cannot hold the developed blank, so the part was
  priced on your stock formats as if none had been stated (`stated_l_mm`,
  `stated_w_mm`).

**Added** — **`POST /calibration/environments/{env_id}/adjustments/withdraw`**
(`calibration:write`) takes a stored time statement of one part and time
plane back out of the environment's evidence. Nothing is deleted: the
statement stays on record with when it was withdrawn, by whom and the
`reason` you give, and no later calibration learns from it. The time
factors that were fitted on it are retired at once, without a re-fit and
without using a calibration run, so quotes priced afterwards no longer
apply them; the next time-factor re-fit (a learned adjustment or a
finalize) fits them again from the statements that remain, where enough
remain.

**Changed** — **Every error response in the OpenAPI spec is the error
envelope.** The spec declares `ErrorEnvelope` — `error.code`,
`error.message`, `error.details`, `error.doc_url` and `request_id` — as
the body of each 4xx and 5xx response, and as a `default` response on
every operation. The `HTTPValidationError` schema is gone: the API answers
every error in the envelope, a `422` included, and a client generated from
the spec now types it so. On a `422 unprocessable_entity`,
`error.details.errors` lists each refused field with its `loc`, `msg` and
`type`. See [Errors](./errors.md).

**Changed** — **The setup routes answer an environment that is not yours
with `404 environment_not_found`**, as `GET /environments/{env_id}` does:
`GET /environments/{env_id}/setup`,
`POST /environments/{env_id}/setup/changes/preview`,
`POST /environments/{env_id}/setup/changes`, `POST /setup/imports/preview`
and `POST /setup/imports` (they answered `422 setup_refused`). The machine
and tool imports (`POST /import/machines`, `POST /import/tools` and their
`/preview`) answer the same code where they answered `not_found`. The MCP
setup tools refuse with the same code.

**Changed** — **A cost driver's `reasons` are one fixed sentence per
reason the driver applies.** They are display text: branch on the
driver's `feature_kind`, never on a sentence.

**Changed** — **`part_number` must contain a character other than a
space** on `POST /calculations/upload-and-quote` and
`POST /calculations/upload-and-quote-json`. A number of spaces only is
refused with `422`; a number is never trimmed.

**Changed** — **A DXF flat pattern is recognised by its content at
upload**, whatever its file name: without `sheet_gauge_mm` or a material
it is refused with `422 dxf_gauge_required` or `dxf_material_required`
before anything is stored, as a file named `.dxf` is.

**Changed** — **A stated time is checked against the range its time factor
works in.** A fit refused as `calibration_actuals_out_of_band` names the
refused target metric in `details.metric`, and a failed import's status
carries it in `failure_params.metric`. A time metric is now checked
against 0.25–4×, the range a time factor is applied in, instead of the
0.5–2× of a unit cost: a prove-out stated at three times its predicted time
is learned, not refused. A unit cost keeps 0.5–2×.

**Changed** — **`POST /calibration/environments/{env_id}/adjustments`
refuses a time it cannot learn instead of storing it.** An adjusted time
further from its priced time than a time factor may correct (0.25–4×) is
answered in `refused` with the reason `out_of_band` and is not stored;
`message` names the time plane and the ratio, and `learn_reason` is
`out_of_band` when every adjustment was refused that way. A statement
stored earlier that is out of that range no longer stops the other time
planes from learning: the re-fit leaves that plane's factor as it is,
names it in `message`, and re-fits the rest. Finalize does the same.

**Changed** — **`POST /calibration/environments/{env_id}/teach` learns a
unit-cost row without a `bin` in the process its part is priced in.** Such a
row takes `process:<discipline>` from its part's current quote in this
environment. A part with no such quote, and a time row without a `bin`, are
refused with `422` before anything is fitted or counted against your
calibration runs. A calibration whose rows name no process a quote reads —
`/outcomes` rows without a `bin`, then `/finalize` — is refused with `422`
naming the fix, instead of finishing as a run that changes no price.

**Changed** — **Two writes ask for the scope of what they write.**
`PUT /environments/{env_id}/rates/labour-groups/{wage_group}` needs
`setup:write`, like every other rate write, and
`POST /calibration/environments/{env_id}/adjustments` needs
`calibration:write`, like teach and finalize. A key with `parts:write`
keeps both, because `parts:write` includes them.

**Changed** — **`POST /environments/{env_id}/rates/restore` keeps the rates
earlier quotes were priced at.** A stated rate that applied on an earlier day
now stays on record, ending yesterday, for every rate kind — not only scrap
prices — so a quote made before the restore can still be replayed at its
rate. A rate that starts today or later is removed, as before. The audit log
entry of the restore lists every rate it retired, with its figures.

**Changed** — **a re-run keeps its lot size and material supply.**
`POST /calculations` and `POST /calculations/quote` with
`derived_from_calculation_id` now keep the source calculation's
`lot_size`, `material_is_provided` and `provided_stock_kind` unless the
request states them, as they already kept its material, annual volume,
stock format and lot rule. To price a re-run at another lot, send
`lot_size`. The MCP tool `quote_part` follows the same rule.

**Fixed** — **`inputs_changed_since_run` no longer names a drawing the
calculation read.** A drawing attached moments after a calculation
started, and read by it, was reported as attached after the run.

**Fixed** — **The machine list and the effective rates carry only the
fields the spec lists.** `GET /environments/{env_id}/machines` and
`GET /environments/{env_id}/effective-rates` returned some unlisted
fields as `null`.

**Fixed** — **Deleting a drawing, a revision or a part also deletes the
page images rendered from that drawing.** A link to one issued earlier
stops working.

**Fixed** — **`GET /environments/{env_id}/individualization` counts only what
you changed.** A machine the default environment provides switched off
(a long-bed machine) no longer counts as switched off, and a machine you
added and removed again no longer counts as removed: on a new organization
every count is zero, and `POST /environments/{env_id}/machines/restore`
brings the removed and switched-off machine counts back to zero.

**Fixed** — **material references that name their standard first resolve.**
`AISI 1045`, `SAE 1045`, `SS304`, `UNS S30400`, `JIS SUS304` and
`AW-6082 T6` are looked up as the code of the standard they name, in
`material_ref`, `POST /materials/lookup` and `POST /materials/suggest`.

**Fixed** — **the reference says what `annual_volume` and the material
override do.** `annual_volume` drives the lot-size recommendation and the
holding cost; the quoted unit price spreads setup over `lot_size`.
`PATCH /calculations/{calculation_id}/material` applies before the first
successful run; a succeeded calculation answers
`409 calculation_already_succeeded`, and you re-price it with a re-run
that names it in `derived_from_calculation_id` and states the new
`material_ref`.

**Fixed** — **a STEP file with no solid body is refused, not priced.** A
file that holds only surfaces could come back priced, on a thickness the
file never stated. Its calculation now fails, at no cost, with an `error`
that starts `no_solid_body:` and says what to send instead: the part as
a solid, or its flat pattern as a DXF with `sheet_gauge_mm` and a
material.

---

**Docs** — The errors guide lists `user_session_required` (`403`): the
route is for a signed-in person, not an API key or an agent's grant.

---

## 2026-11-07 — Your own raw-material items

**Added** — **`GET /stock-items` and `POST /stock-items/validate`** on the
public API, and their MCP tools **`list_stock_items`** and
**`validate_stock_item`** in the `catalog` toolset (`parts:read`, read-only
and free). The list returns your organization's own raw-material items
(`scope=own`); the dry run checks one item's family and dims and returns
the designation, the section area and the nominal mass, or why the item is
refused, and stores nothing. The standard catalogue is not listed. The
`catalog` toolset has 64 tools. See [MCP for agents](./mcp.md).

**Added** — **stock formats of kind `section`**: a length you buy a profile
in (`section_family`, `material_group`, `length_mm`), and on a bar, tube or
section format an optional `stock_item_key` that binds the length to one
stock item.

---

## 2026-11-03 — MCP 4.2.1: a shorter default `get_calculation`

**Changed** — **`get_calculation` over MCP also leaves out the time
breakdown and the cost drivers by default.** On parts with many
operations, those two came to 43–46 kB of the 54–57 kB that 4.2.0
returned, past a client's 10k-token warning. Each has a tool of its own:
`get_process_plan` gives each operation's cycle time, `explain_cost` ranks
the top cost drivers, and `get_cost_drivers` (the `calculations` toolset)
lists them all. The default answer is now about 11 kB on those parts. `analytics_omitted`
names `time_breakdown` and `cost_drivers` when it leaves them out.
`include_analytics=true` still returns the whole object. The REST API and
the app are unchanged.

---

## 2026-11-03 — MCP 4.2.0: analytics by default, release a job nest

**Changed** — **`get_calculation` over MCP returns the analytics.** An
agent's read used to leave the whole `analytics` object out unless it
passed `include_analytics=true`. It now returns the object — the cost
decomposition, the price band, the cost drivers, the material, the
assumptions, the process plan and the review — without the bulk that has
a tool of its own: the lot-size curve (`optimize_lot_size`), the cost
sheet (`get_cost_breakdown`) and an assembly's BOM rows. The new field
`analytics_omitted` names what was left out, as dotted paths (`null` when
nothing was). On a sheet part that is about 15 kB in place of about
170 kB. `include_analytics=true` still returns the whole object, and
`include_analytics=false` none of it. The REST API and the app are
unchanged: without the parameter they return the whole object, and
`analytics_omitted` is `null`.

**Added** — **`release_nest_run`.** An agent can release a job nest that
has ended, as `POST /nest-runs/{run_id}/release` does: the remnants its
sheets are cut from leave stock, its reusable rests go in, what it saves
adds to the total saved by nesting, and its sheets are frozen. By default
it only reads the job nest and says whether it can be released and what it
saves; `apply=true` releases it (`parts:write` and the Nesting add-on). It
is annotated destructive and idempotent: a release cannot be undone, and
releasing a released job nest books nothing. The `nesting` toolset has 7
tools. See [MCP for agents](./mcp.md).

---

## 2026-11-03 — API automation

**Fixed** — **A semicolon CSV with a title line above its header is read.**
A German Excel export often starts with a title row ("Maschinenliste Werk
B") above the header. With semicolons as the separator, that file was
read as one comma column, so `POST /import/machines` answered `422`
"Missing required column(s)", and a decimal comma split a value in two.
The separator is now read from the first line that holds one. This applies
to machine, tool and setup imports, calibration history imports, and
`GET /uploads/{id}/table`.

**Fixed** — **A retried upload answers the first one.** An upload
retried under the same `Idempotency-Key` answered `409
idempotency_conflict`: the body counted by its exact bytes, and every
HTTP client draws a new multipart boundary per request. A
`multipart/form-data` body now counts by its parts — each part's field
name, filename, content type and the SHA-256 of its content, with the
fields in any order — so the same upload is the same request whatever its
boundary.
Another file, filename or field value is still `409
idempotency_conflict`. JSON and every other body still count by their
exact bytes. See [Idempotency](./idempotency.md#whats-in-the-fingerprint).

**Fixed** — **Uploads over 1 MB replay too.** A completed upload above
1 MB answered a retry `409` and never its response, so a client that lost
the `202` could not learn its calculation id. Every completed request now
replays its stored status and body with `Idempotent-Replayed: true`,
whatever its size — for `upload-and-quote` the same `202` with the same
calculation `id`. A retry while the first is still running still answers
`409 idempotency_in_flight`. See
[Idempotency](./idempotency.md#uploads-of-any-size).

**Fixed** — **An upload's fingerprint is tighter.** A field sent more
than once keeps the order of its values, so `costing_environment_ids`
`A, B` and `B, A` under one key are `409 idempotency_conflict`, not a
replay. An upload through an upload link is told apart by its link, so
the same key and file through another link is never answered with the
first link's response. A multipart body with more than 2,000 parts or a
part whose headers exceed 16 KiB counts by its exact bytes. See
[Idempotency](./idempotency.md#whats-in-the-fingerprint).

- **Added** — **A machine import reads the whole machine sheet.**
  `POST /import/machines` and its preview read every machine capability as
  a column of its own (`max_spindle_rpm`, `max_tool_diameter_mm`,
  `tool_interface`, `axes_simultaneous`, `axes_indexable`,
  `max_table_load_kg`, `tool_magazine_capacity`, `rapid_traverse_m_per_min`,
  `max_bar_diameter_mm`, `turret_stations`, `counter_spindle`, …), plus
  `vendor`, `model_no` and `qty`. German headers with a unit are read
  (`Drehzahl [1/min]`, `max. Werkzeug-Ø`, `Werkzeugaufnahme`,
  `Stangendurchlass`, `Revolverplätze`, `Gegenspindel`), as are decimal
  commas and `ja` / `nein` / `x`. A title above the header is skipped. A
  value the machine cannot take is a row error that names its column. `qty`
  is shown in the plan, and each row is still one machine. See
  [Machine lists](./mcp.md#machine-lists).
- **Added** — `as_library_instance` on `POST /import/machines` creates each
  new machine as an instance of the platform's standard type for its class,
  holding only the capabilities your columns state. Each such row names its
  type in `library_entry_id`, and the plan digest tells the two modes apart.
- **Added** — Machine and tool import reports list the header cells they do
  not read in `unmapped_columns`. `import_setup_data` now passes them on for
  machines and tools too, where it answered an empty list before.

- **Added** — **One field says "done", whatever the resource.**
  `GET /calculations/{calculation_id}`, `GET /nest-runs/{run_id}` (and every
  job-nest body that states its status, the list rows included) and
  `GET /calculations/{calculation_id}/bom` gain `terminal` (true once it has
  ended) and `outcome` (`success`, `failure`, `cancelled` or `blocked`; null
  while it has not ended). Stop polling when `terminal` is true; `status`
  is unchanged.
- A bill of materials is `terminal` once the assembly and every component
  calculation have ended: a component priced again makes it false until
  that component ends.

**Added** — **Release a job nest over the API.**
`POST /nest-runs/{run_id}/release` (`parts:write`) releases a job nest that
has ended, the same release the app makes: the remnants its sheets are cut
from leave stock, its reusable rests go in, what it saves counts toward the
total saved by nesting, and its sheets are frozen. Releasing a job nest that
is released already answers its released state and books nothing. See
[Cut a job nest](./recipes/cut-a-job-nest.md).

**Changed** — **`confidence.state` reads `green` only for a price you can
send unreviewed.** On `GET /calculations/{id}`, a calibrated price is now
`green` / `high` only when its range (`unit_cost_interval`) is no wider than
30 % of the price, its calibration was checked on at least 10 held-out
actuals, and the calculation is not flagged for review.
- Otherwise it reads `amber` / `medium`, and `reason_code` names why:
  `calibrated_needs_review`, `calibrated_no_interval`,
  `calibrated_wide_interval` or `calibrated_small_holdout`.
- Only the label changes: no price moves, and `basis` and `calibrated` read
  as before. An uncalibrated price stays `grey`.

- **Added** — **Webhooks for job nests, assemblies and calibration runs.**
  Subscribe to `nest_run.solved` and `nest_run.failed`, `assembly.settled`
  (on an assembly's first total and again after each re-total) and
  `calibration.run.completed` (teach, finalize, revert). Each fires once,
  when the resource reaches that state, and commits with it. See
  [the event catalog](./webhooks.md#event-catalog).

**Added** — **A machine reads back the capabilities you stated.** Machine
rows now carry `capability_overrides`: the values you stated over the
machine-library entry, exactly as stored. That covers
`GET /machines/{machine_id}` and the fleet rows of
`GET /environments/{env_id}/machines`. The machine library's own values
stay out of an API key's or an agent's answer, as before.

**Changed** — **A percentage sent as a whole number is refused, and a rate
written twice is one row.** `PATCH /environments/{env_id}/economics` takes
every `*_pct` field as a fraction: 0.08 is 8 %. A value above the field's
maximum now answers `422` with `details.reason` `percent_as_fraction`, and
the message names the fraction meant. The material overhead,
administration and selling surcharge and profit mark-up used to accept up
to 10, so an 8 meant as 8 % was priced as 800 %; they now accept at most
1.0. `production_overhead_pct` can exceed the wages it is charged on and
keeps 10.0. `GET /environments/{env_id}/factors` reports the same bounds.
`POST /environments/{env_id}/rates` replaces a row of the same kind, key,
`valid_from`, `valid_to` and currency instead of adding a twin, and
answers `200` with the new row; a subcontract quote is replaced only by
the same quote on the same terms. A new row still answers `201`.

**Added** — **The organization's default costing environment.**
`PUT /environments/{env_id}/default` makes an environment the one a
calculation that names no environment is priced in, and `DELETE` on the same
path clears it (`setup:write`). Every create path follows it:
`POST /calculations`, `/quote`, `/calculations/batch`, `/upload-and-quote`
and upload links. A default whose environment is deleted or not in force
today is skipped, and the auto-provisioned environment applies. Setup
writes and machine and tool imports that name no environment go to the same
environment, and so does the MCP `import_history` tool: a history sent
without an environment calibrates it. The environment list and `GET /environments/{env_id}` mark it
with `is_default`.

**Added** — **`GET /whoami`: who the calling credential is.** Its
organization (id, slug, name), its kind (`api_key`, `oauth_grant` or
`session`), an API key's name and prefix (never its secret), its `scopes` and
`effective_scopes`, the plan, and the default costing environment with its
source (`organization` or `baseline`). Any credential may call it, whatever
its scopes; over MCP it is `whoami_whoami` in the `account` toolset.

**Changed** — **MCP 4.1.0.** The tools generated from the routes above join
their toolsets: `whoami_whoami` (`account`), and
`environments_set_default_environment` and
`environments_clear_default_environment` (`environments`). Every new field
above reaches the generated tools as it reaches REST. Nothing is renamed or
removed.

**Fixed** — **An assembly's `calculation.succeeded` is delivered.** An
assembly's total was announced with `calculation.succeeded` after its result
was saved, in a step that was never saved itself, so a subscriber heard every
part finish but never the assembly. It is now recorded with the result, beside
`assembly.settled`, with the same payload as before.
- A direct upload's confirm checks what a ranged read shows: a STEP that ends before `END-ISO-10303-21;` answers 422 `cad_file_truncated`, a PDF with no `%%EOF` in its tail 422 `drawing_unreadable`. A PDF damaged inside or password-protected ends `rejected` with `failure_reason` `drawing_unreadable`, shown by the next confirm and `GET /uploads`; a retried upload is checked the same way. A drawing that does not open, sent beside other files (a precheck's drawings, an assembly's drawing pack, upload-and-quote's drawing), is left out and listed in `skipped_files` with its code, and the other files are taken; a request whose only file is that drawing still answers 422.

**Added** — **Shop-practice answers in a setup changeset.** The setup changes
routes and the `edit_environment` tool take a `shop_practice` change: `values`
maps a question key to an answer, as `GET /environments/{id}/shop-practice`
lists them — for example `inspection_gdt_sampling: full` to re-check
geometric tolerances on every part. It plans current → new like every other
change and writes through `PUT /environments/{id}/shop-practice`; an unknown
question or answer is refused by name.

## 2026-11-03

**Changed** — **MCP 4.0.0: calibrate from your history.** The
`calibration` toolset gains `import_history` and `get_calibration_status`.
- `import_history` takes a history import one step per call: create it
  (nothing spent), price it with the count you confirm, then calibrate.
- `get_calibration_status` reads the accuracy, the drift alerts and the
  latest runs.

Five generated tools they replace are no longer listed:
`calibration_import_create`, `calibration_import_status`,
`calibration_import_calibrate`, `calibration_environment_status` and
`calibration_environment_run_history`. Their REST routes are unchanged. See
[Moved in 4.0.0](./mcp.md#moved-in-400).

**Added** — **A calibration history from a file, with a confirmed spend.**
- `POST /calibration/imports` takes the history as `csv` text or as a
  confirmed CSV / Excel upload (`data_source_id`, with `sheet`), beside
  `rows`.
  - Columns are matched by name, German ERP headers included.
  - The answer adds `columns` (each column read and your header for it),
    `lines_unreadable` and `unreadable` (the line your file shows, and why).
  - Naming an upload needs `uploads:read`.
- `POST /calibration/imports/{id}/price` takes `expected_calculations`: the
  most new calculations you confirm it may start. If it would start more,
  nothing is priced and the answer is `409 calculations_changed`, with the
  count in `details.calculations_required`. A row once served free whose
  cached price has since lapsed counts as new. Without the field it prices as
  before.
- A price call made while another call is pricing the same import starts
  nothing and answers `409 pricing_in_progress`. Read the import, then price
  it again once that call has answered.
- `GET /calibration/imports/{id}` adds `parked_calculations`: the part of
  `pending_calculations` parked on billing. Those run once your plan allows
  them, not by waiting; resume them in the app.

**Added** — **Setup and calibration have scopes of their own.**
`setup:write` covers every write to a costing environment and to what it
prices with — machines, the machine library, tools, materials and their
prices, stock formats, subcontractors, rates, economics and the master-data
imports. `calibration:write` covers every calibration write, the
calibration imports included. Those routes now name the narrower scope in
`403 insufficient_scope`. `parts:write` still covers both, so no existing
key or grant loses a write. A key made with only `setup:write` starts no
calculation; one made with only `calibration:write` starts only those a
calibration import disclosed before its price step. Both appear on the
OAuth consent screen, unchecked until the person ticks them.

**Added** — **A grant lists the toolset it names.** Over MCP, a grant that
names `setup:write` lists the `setup` toolset, and one that names
`calibration:write` the `calibration` toolset, without an `X-MCP-Toolsets`
header. So an OAuth client that sends no custom header, such as a directory
install, reaches them. A `parts:write` grant lists what it listed.

**Added** — **The `setup` toolset: build your costing environment from your
own lists.** Four MCP tools:

- `get_environment_setup` reads what an environment holds and the gaps that
  leave prices on platform references.
- `import_setup_data` imports a whole list. It handles machines, tools,
  material prices, subcontractors, subcontract prices, stock formats and
  your own cutting data, from JSON rows, CSV text or an uploaded CSV / Excel
  file.
- `edit_environment` changes single settings in one changeset.
- `create_environment` starts a new environment.

The import and the edit plan first and write only with `apply=true` and the
plan's `plan_digest`. When the list or the environment changed since the
plan, nothing is written. See
[Setting up your shop](./mcp.md#setting-up-your-shop).

**Added** — **The same setup over REST.** Each setup tool is a REST route,
so an integration without an agent does the same:

- `GET /environments/{env_id}/setup` reads the setup and its gaps
  (`parts:read`).
- `POST /setup/imports/preview` plans a list and writes nothing
  (`parts:read`). `POST /setup/imports` writes it (`setup:write`). Both take
  the list as `rows`, `csv` or `data_source_id`.
- `POST /environments/{env_id}/setup/changes/preview` plans a changeset
  (`parts:read`). `POST /environments/{env_id}/setup/changes` writes it
  (`setup:write`).

A commit needs the plan's `plan_digest` as `expected_plan_digest`. When the
plan moved since, it writes nothing and answers `409 plan_changed` with the
new digest in `details.plan_digest`. A refusal names its reason (`422`,
`details.reason: setup_refused`). A commit is one heavy request against your
[rate limit](./rate-limits.md), however many rows it writes. Over MCP the
four tools keep their names; the routes are not listed again as generated
tools.

**Added** — **Machine and tool imports read Excel, and confirm their plan.**
`POST /import/machines` and `POST /import/tools`, and their previews, take a
confirmed upload as `data_source_id`, a `.csv` or `.xlsx` file, with `sheet`
to pick a worksheet. Naming an upload needs `uploads:read`. They also still
take `csv` text.

- **Row numbers:** an error names the row the spreadsheet shows.
- **Plan confirmation:** every report carries a `plan_digest`. A commit that
  sends it back as `expected_plan_digest` writes nothing and answers `409
  plan_changed` when the import would now do something else.
- **Encoding:** a CSV that is not UTF-8 is read as Windows-1252, the
  encoding a German Excel saves CSV in.

**Added** — **`GET /uploads/{data_source_id}/table`** reads a confirmed CSV or
Excel upload back as rows of text, one worksheet at a time, in pages of up to
2,000 rows. It needs `uploads:read`.

**Changed** — **Your own calibration accuracy is served.** `GET
/calibration/environments/{env_id}/status` answers `accuracy` (the latest
run's before/after holdout error, coverage and row count) and
`drift_alerts` (each as `code`, `severity` and `detected_at`) to API keys
and agents too. `GET /calibration/environments/{env_id}/runs` answers every
run's `status`, `target_metric`, `fitted_at`, `accuracy` and
`reverted_from_run_id`. The fitted values themselves stay in the app.

**Changed** — **A tool's own cutting data is on the agent surface.** `PUT
/tools/{tool_id}/parameters` and `DELETE
/tools/{tool_id}/parameters/{parameter_id}` are MCP tools now
(`tools_upsert_tool_parameters`, `tools_delete_tool_parameter`, in the
`catalog` toolset, 62 tools). The platform's own cutting data stays
app-only.

**Changed** — **A damaged or cut-off file is refused at upload, and every
price says how its drawing was read.** Every way a file comes in, `POST
/uploads/confirm` included, answers `422 cad_file_truncated` for a STEP file
that does not close with `ENDSEC;` and `END-ISO-10303-21;`, `422
cad_file_not_step` for one with no `HEADER` or `DATA` section, and `422
drawing_unreadable` for a PDF that does not open, is password-protected or has
no page; nothing is stored, queued or billed. A JSON upload may state each
file's SHA-256 (`cad_sha256`, `drawing_sha256`, a precheck drawing's
`sha256`, and `drawing_sha256` on the `attach_drawing` tool); a file that
arrives with another digest is refused `422 checksum_mismatch`. Upload answers
echo the server's `sha256`: `files[]` on upload-and-quote, `sha256` on a
precheck and its drawings, an attached drawing and a confirmed upload. A
calculation and `explain_cost` answer `drawing_read` — `status` (`read`,
`unreadable`, `left_out`, `none`), `method` (`text_layer`, `ocr`) and
`reason_code` — and `explain_cost` names the `part_number` and
`revision_code` it priced. The material note names the reference price that
applied and points at `assumptions.material_price_per_kg`.

**Changed** — **Geometric tolerances are re-checked on a sample of the lot.**
After the full first-article check, form and position frames are re-checked
on the ISO 2859-1 sample of the lot (general inspection level II, normal
inspection, single sampling), never below the share of plain dimensions your
environment samples, instead of on every part. The inspection derivation
states `gdt_share` and `gdt_share_basis` (`iso_2859_1_level_ii`,
`plain_sample_share` or `full`). To keep re-checking every part, answer the
shop-practice question `inspection_gdt_sampling` with `full` (`PUT
/environments/{env_id}/shop-practice`).

## 2026-11-02

**Added** — **A cost sheet's time adjustment is learned from where the part
ran.** `POST /calibration/environments/{env_id}/adjustments` stores the
setup, run and programming times stated on a priced calculation's cost sheet
(`calculation_id`, one row per time plane with the priced and the adjusted
seconds) as evidence for its environment, attributed to the processes and
machines that calculation was priced on, and re-fits the environment's time
factors from all stored evidence. A newer adjustment of the same part and
time replaces the older one. The re-fit is a calibration run like the other
calibration writes, unmetered on plans that re-fit on their own; the
response says whether it ran (`learned`, `learn_reason`) and which planes
were refused and why. The MCP `apply_adjustment` tool now saves a moved
base-seconds knob through it, in one request per call: it posted a
`/teach` row naming no process, so every process in the environment learned
the time alike.

**Fixed** — **A selection-policy history in the stored shape is read.**
`POST /calibration/environments/{env_id}/policy/calibrate` reads a
candidate's unit cost under `provisional_unit_cost_eur` as well as
`unit_cost`; read only as `unit_cost`, such a history scored no machine and
the first policy of the grid was activated. A history where no candidate
states the figure the policy ranks by is refused with `422` before a
calibration run is spent.

## 2026-11-01

**Added** — **A part no machine in the environment makes says so, and what
to do.** Its `selection_failure` carries `verdict: "not_manufacturable"` and
`remedy_code`: `enable_machine` (a switched-off machine here makes it), then
`add_machine_class` (no machine here performs the work), then
`buy_recommended` for a part a shop normally buys, with `normally_bought`
saying why (`gear`, `casting`, `forging` or `catalogue_part`); no price comes
with it. While a machine in the environment could not be evaluated, the
verdict is `null`, no purchase is recommended, and the reason names that
machine. Such a run draws no calculation. An assembly component with the verdict is listed in
`completeness.unpriced[]` with the same fields.

**Fixed** — **A machine whose `vdi_3258` states its `shift_model` stays in
the fleet.** `new_machine.capabilities` on `POST /environments/{env_id}/machines`
and `default_capabilities` on `POST /machine-library` stored the
`annual_hours_T_G` derived from the shift model beside it. The stored cost
structure then broke its own "exactly one of" rule, and the machine was
reported unresolvable and planned on by no calculation. The `vdi_3258` is now
stored, and read back, as it was sent; the hours are derived when it is read.

**Fixed** — **A machine type's cost structure saved in shift mode prices.**
Saved from the rate calculator's shift mode, `default_vdi_3258` states a
`shift_model` and no `annual_hours_T_G`, and the fleet of every environment
with a machine of that type failed to load, so no calculation in it could
run. The hours are now derived from the shift model when the structure is
read, as the rate calculator derives them; a structure that states hours
prices exactly as before. A structure no rate can be read from leaves only
its own machines unresolvable, with a reason that names the input, and the
machines list (`health`) and the environment audit report those machines.

**Fixed** — **A cost structure is stored as it validated.** `default_vdi_3258`
on `POST /machine-library` and `PATCH /machine-library/{entry_id}`, and a
`vdi_3258` in any capability write, is stored with each input as the number
it validated as (`"180000"` as `180000.0`), and without the
`annual_hours_T_G` derived from a `shift_model`, also when `annual_hours_T_G`
is sent as `null`. A machine type created in shift mode now takes its next
save, and a structure stored with both is accepted when the two are sent back
unchanged. A `default_vdi_3258` whose run hours come to zero or less is
refused with 422, as the rate calculator refuses it.

**Changed** — **An input a cost structure does not declare is refused by
name.** A `vdi_3258` or its `shift_model` in any capability write, and
`default_vdi_3258` on `POST` and `PATCH /machine-library`, answer 422 naming
the input by its path (`vdi_3258.shift_model.weeks_per_yer`) instead of
dropping it and pricing on its default. A non-finite number
(`Infinity`) in a cost structure is refused the same way. An input stored
before this rule and sent back unchanged still saves.

**Changed** — **A capability key no field declares is refused wherever a
matrix is read, and no stored machine is locked out by one.** A machine's
capability matrix refused an unknown key only on write, so one stored before
that validated and its value never reached a price. The keys stored that way
have been moved, with their values, into an `_unrecognised` object on the same
matrix, and each machine prices exactly as it did. `_unrecognised` is in no
response; a capability write that sends it answers `422` naming it, and a
write that changes other keys keeps it as stored. A
`PATCH /machine-library/{entry_id}` that sends back a key the entry stored
before is refused like any other unknown key. A matrix that holds an unknown
key all the same (written outside the API) leaves only its own machine
unresolvable, and the machines list's `health_error` names the key.

**Changed** — **A machine capability the API does not know is refused by
name.** `capability_overrides` on `POST /environments/{env_id}/machines` and
`PATCH /machines/{machine_id}`, and `default_capabilities` on `PATCH
/machine-library/{entry_id}`, answer `422` naming each key that is not a
machine capability (`max_spindle_rmp` for `max_spindle_rpm`). They used to
answer `2xx` and drop the key, so its value never reached a price. A retired
key keeps its own `422`. What is stored is the value as validated: a
`max_spindle_rpm` sent as `"12000"` is stored, and read back, as `12000`,
and `certifications` is stored sorted. `new_machine.capabilities` and
`POST /machine-library` already refused unknown keys.

## 2026-10-30

**Added** — **Drawings go to their parts before a calculation starts, over
MCP too.** `POST /prechecks/{precheck_id}/drawings/json` is the JSON twin of
the multipart `POST /prechecks/{precheck_id}/drawings`: drawings as base64,
optionally given to one `component_key` (or `assembly`), answered with the
precheck. `attach_drawing` is now a default MCP tool (18 default tools) and
attaches before the run as well as after it: with `precheck_id` and a row's
`component_key` it places a drawing the precheck holds, or stores a new file
with it, so an assembly and its drawings can be sent with `precheck_part`,
each drawing placed on its part whatever the files are called, and the
calculation started with `upload_and_quote` — nothing is billed before the
start. With `calculation_id` it does what it did before, except that a file
sent as `drawing_file_b64` now needs its `drawing_filename`. Like the other
destructive tools it plans by default — it reads the precheck or the
calculation and attaches nothing — and attaches only with `apply=true`.
`POST /calculations/{calculation_id}/drawing` refuses a drawing held by a
precheck that has not started (`drawing_in_precheck`, 409): that precheck
deletes it when it is discarded or expires. The generated tool
for `POST /calculations/{calculation_id}/drawing` keeps its generated name,
`calculations_assign_drawing`, in the `calculations` toolset.

## 2026-10-29

**Added** — **A stored drawing becomes a specific part's drawing.** `POST
/calculations/{calculation_id}/drawing` attaches a drawing to the part a
calculation prices, whatever the two files are called — a confirmed upload
by `data_source_id`, or the file itself as `drawing_file_b64` — and prices
the part again with it as a new calculation on the same revision,
environment and lot (`new_calculation`), through the same path as a quote:
an identical earlier run answers it unbilled. The same drawing again
answers `changed` false and runs nothing; `run` false attaches without
pricing; a component of an assembly is priced again in place
(`rerun_calculation_id`). Over MCP the route is the `attach_drawing` tool
in the `calculations` toolset.

## 2026-10-28

**Added** — **Sourcing per assembly component.** Each bill-of-materials row
states `sourcing` — `make` (priced by its own calculation), `catalogue` (at
its purchase price) or `excluded` (left out of the price) — and
`procurement`: made or bought, as the CAD file states it. `PATCH
/calculations/{calculation_id}/components` changes the sourcing of one or
more rows. A made component that still has no price states `rest`, and
`POST /calculations/{calculation_id}/components/calculate` prices it within
the same assembly. The bill of materials states `component_ceiling`, the most
component calculations one assembly runs.

**Changed** — **Money figures are stated to the currency's minor unit** (two
decimals for EUR), unit prices below one euro included: a calculation's unit
cost, offer price and lot total, its cost-sheet lines, an assembly's
bill-of-materials lines and roll-up, and what-if deltas. Each figure is
rounded once, a bill-of-materials line is its quantity times the unit price
as stated, and a breakdown adds up to its total:

- every cost-sheet line also states `exact`, its unrounded figure;
  `cost_decomposition` stays unrounded;
- an assembly's roll-up states `rounding`: what its rounded terms leave of
  its rounded unit cost, so the terms add up to it;
- in a what-if (`POST /calculations/{calculation_id}/preview`), a cost
  category the adjustment does not change keeps its figure, and its `delta`
  is 0.

## 2026-10-20

**Changed** — **MCP server 3.2.0: one calculation per manufactured part,
upload links, and answers that say what they refuse.** The entries of
2026-10-18 below are this release; the registry entry, the server card and
`initialize` report 3.2.0. Also in this release:

- A multi-body STEP file whose bodies carry different colours is two or more
  parts — an assembly — even where the bodies meet face to face over a whole
  face (a flange welded on the end of a frame). Bodies of one colour that
  share whole faces stay one part.
- A part's 3D model and the per-face model behind the exploded view are built
  for every file size again (the preview child's address-space cap is gone, a
  resident-memory cap replaces it), and they appear on the page the moment
  they are built; the assembly page shows a 3D tile per component.

## 2026-10-18

**Changed** — **An assembly uses one calculation per different part.**

One calculation still prices one part in one costing environment, and
only when that part comes back with a price. An assembly prices each of
its different parts. Twelve copies of one bracket are one calculation.
A bought catalogue part, such as a standard screw, is not one. If the
assembly is larger than what you have left, the largest parts that fit
are priced and the assembly price stays unpublished until the rest is
priced. Run it again when you have more. Parts already priced the same
way this month are free. Files in one drop run in the order you see
them. The count is known once the file has been read.

**Added** — **Upload links: files from someone without an account, and
exactly the calculations they create.**

- `POST /upload-links` issues a link to the upload page that works without
  signing in, for 30 minutes and for up to `max_uploads` parts (1 to 20), into
  the costing environment and folder you name. `DELETE
  /upload-links/{upload_session_id}` ends it. See
  [Uploading files → Upload links](./uploads.md#upload-links), including what
  a link can and cannot do.
- Every calculation an upload through a link creates carries the link's
  `upload_session_id`, and `GET /calculations?upload_session_id=` lists
  exactly those — a colleague's runs at the same time are not among them.
- The MCP tool `get_upload_link` now issues such a link and answers its
  `upload_session_id` and `expires_at`, with a new `max_uploads` argument.
  Because the link lets a person start billable calculations, the tool is a
  write (`destructiveHint` `false`): it needs `parts:write`, and a read-only
  server does not issue one. `list_calculations` takes `upload_session_id`.
- A link ends with its issuer's sign-ins: signing out of all devices,
  recovering the account or withdrawing an app's access ends every link the
  person issued. Every upload through a link counts against the
  organization's per-minute rate limit, as an upload of its own does, and an
  organization has at most 50 links open at once.
- New error codes for the upload page: `upload_link_invalid`,
  `upload_link_closed` and `upload_link_unavailable`; and
  `upload_link_too_many_open` when issuing a link past the open-link cap.

**Changed** — **Requests that cannot be honoured are refused by name, and
answers say what they leave out.**

- `GET /calculations` takes `limit` from 1 to 500 and answers `422` outside
  that range. It used to clamp silently to 1–200, so a caller asking for
  more got a page it had not asked for; values 201–500 now return that many
  rows. Page sizes of 100 and 200 are unchanged.
- A malformed id — in a path, in `ids`, in `compare_calculations` — answers
  `422` with the field and the value named, before anything is looked up. It
  used to answer `404` as if the object did not exist.
- `compare_calculations` with three or more ids ranks the ones it finds and
  lists the unknown ids in `not_found` instead of failing the whole call; a
  pair with an unknown id is still refused. `incomparable_reasons` names
  `material_mismatch` and `different_part` when two options price different
  materials or different parts.
- A calculation list sorted by `offer_price` pages through every row; it used
  to stop after the first page of a nullable sort.
- `explain_cost`'s `top_drivers` lists the cost categories first — setup,
  subcontract, material, machining, each with its share of the unit price and
  one row for the rest — and the top features after them. A sheet part with
  no features gets the categories alone.
- The default `get_cost_breakdown` answer (`max_depth` set) omits keys a line
  holds nothing in; `max_depth: null` is unchanged, byte for byte.
- Both `environment_id` and `environment_ids` on `/calculations` and `/quote`
  answer the same flat `422` as the upload routes.

---

## 2026-10-16

**Changed** — **MCP server 3.1.0: bigger and compressed uploads, compact
answers, assemblies that add up, and calls that refuse what they cannot
honour.**

- **Uploads.** One `upload_and_quote` call now carries up to 12 MB: a STEP file
  up to the 5 MB CAD limit plus a drawing. A gzip-compressed file is accepted;
  a STEP shrinks about five times, so the call costs an agent a fifth of the
  characters. A call over the limit answers a JSON-RPC error that says how to
  send the file instead.
- **Unknown arguments are refused.** Every tool's input schema is closed
  (`additionalProperties: false`). A misspelt argument, such as `lotsize` for
  `lot_size`, is refused by name with the closest real one, and nothing runs.
- **Compact answers.** `preview_cost` returns the headline before and after,
  the change per cost category and the lines that moved; `detail: "full"`
  returns the whole sheet. `get_cost_breakdown` returns the cost sheet two
  tiers deep (`max_depth`, default 2, `null` for the whole tree), and a cut
  node says how many lines sit beneath it (`children_hidden`).
- **Assemblies.** `get_cost_breakdown` and `explain_cost` state an assembly's
  cost categories so that they add up to its price; the running totals
  (Herstellkosten, Selbstkosten, Angebotspreis) are no longer listed among
  them. `assembly_completeness.unpriced_steps` names the route steps priced at
  nothing, such as joining without weld evidence. A `preview_cost` refused on
  an assembly names what works instead.
- **Re-pricing.** `quote_part` with `derived_from_calculation_id` keeps the
  source calculation's material and annual volume unless you send them.
- **Currency.** A `currency` that is not an ISO 4217 code is refused with
  `currency_unknown`, and one the costing environment has no exchange rate for
  with `currency_not_configured`, before anything is created.
- **Errors.** A CAD file over the upload limit answers with the `error.code`
  `cad_3d_file_too_large`.

The re-pricing, currency and error-code changes apply to the REST API as well
(`POST /calculations`, `POST /calculations/quote`, the upload routes).

---

## 2026-10-14

**Changed (breaking)** — **MCP server 3.0.0: a default list of 15 tools that
take a part from its CAD file to a priced, explained result.** With no
`X-MCP-Toolsets` header, `tools/list` now returns 15 tools (12 reads, 3
writes) instead of 31:

| Job | Tools |
|---|---|
| Price a part | `upload_and_quote`, `get_upload_link`, `quote_part` |
| Follow or stop it | `get_calculation`, `list_calculations`, `cancel_calculation` |
| Read the result | `explain_cost`, `get_cost_breakdown`, `get_process_plan` |
| Improve and compare | `preview_cost`, `optimize_lot_size`, `suggest_cost_savings`, `compare_calculations` |
| Lookups | `list_environments`, `check_quota` |

- **New on the default list:** `upload_and_quote` prices a new part in one
  call, with the STEP file (or a DXF flat pattern) as base64 and an optional
  PDF drawing. It was `calculations_upload_and_quote_json` in the
  `calculations` toolset.
- **Moved to a toolset, name unchanged:** `presign_upload` and
  `confirm_upload` to `uploads`; `create_part`, `list_parts`,
  `list_part_revisions` and `attach_upload` to `parts`; `get_cost_drivers`
  and `compare_environments` to `calculations`; `get_environment`,
  `get_cost_factors` and `apply_adjustment` to `environments`; and
  `create_nest_run`, `start_nest_run`, `cancel_nest_run`, `get_nest_run`,
  `export_nest_layout` and `get_nesting_summary` to the new `nesting`
  toolset. A call to one of them without its toolset answers `not_found`.
  Send `X-MCP-Toolsets: all` to keep the 2.0 surface.
- **`explain_cost` ranks the drivers of an assembly too:** its components
  and its own joining, as `get_cost_drivers` does. Its `detail` argument
  lists the top 3 drivers, or 10 with `detailed`.
- **`get_upload_link` answers `issued_at`.** Pass it to `list_calculations`
  as `created_after` to find the calculations the person starts on the
  upload page.
- **Every default tool says what it costs and when to use it.** Every
  argument is described. `upload_and_quote` and `quote_part` are billable
  only when the calculation succeeds, `cancel_calculation` is free, and
  every other default tool is read-only and free.
- **OAuth clients learn the scopes the tools use.** The authorization server
  advertises `parts:read`, `parts:write`, `uploads:read` and
  `uploads:write`, and a `401` from the MCP endpoint names them in
  `WWW-Authenticate` (`scope="…"`). The user still chooses on the consent
  screen, and a client that requests no scope still gets read-only access.

**Changed** — **The registry entry names its public repository.**
`io.arcnm/arcnm` 3.0.0 points to
[arcnm/arcnm-mcp](https://github.com/arcnm/arcnm-mcp), which explains how to
connect each client and lists the default tools. The
[MCP guide](./mcp.md#cursor) now shows Cursor's own configuration format
(`url` and `headers` directly on the server, `${env:NAME}` for a variable)
and how to connect GitHub Copilot in VS Code.

**Fixed** — **MCP sign-in and prompts.** Disconnecting an MCP client now
revokes its token: the revocation endpoint refused every client that holds no
client secret, which is every client that registers itself. A client that
asks only for permissions that no longer exist is offered read-only access
instead of everything. The authorization-server metadata now lists the
revocation methods the server accepts and the signing algorithm for
`private_key_jwt`. The [prompts](./mcp.md#prompts) follow a calculation until
every final status, `cancelled`, `timed_out` and `blocked` included.

---

## 2026-10-12

**Changed** — **MCP server 2.0.1: what you can call is what you list.** The
`X-MCP-Toolsets` header now gates `tools/call` as well as `tools/list`: a
tool outside the toolsets a request selects answers `not_found`, exactly
like a name that does not exist, so the listed tools are the whole surface
a client can use. Select the toolset and the tool is listed and callable as
before. The server instructions and the descriptions of `explain_cost`,
`check_quota` and `export_nest_layout` were reworded to describe what each
tool answers, and generated descriptions now name the tool that performs an
operation instead of its REST route. Both follow the connector directories'
review rule that every operation a model may run is a listed tool with its
own description, schema and annotations.

**Changed (breaking)** — **MCP server 2.0.0: a default surface of 31 tools,
opt-in toolsets, short names.** `tools/list` now returns 31 default tools (21
reads, 10 writes) that cover a part from upload to a compared, explained and
nested price, instead of every tool at once. Every other tool sits in one
optional toolset — `uploads`, `calculations`, `parts`, `environments`,
`catalog`, `calibration`, `folders`, `account` — and keeps its generated
`<tag>_<operation>` name. To list more, send the **`X-MCP-Toolsets`** request
header with toolset names, comma-separated, or `all`; `default` is always
included, names are case-insensitive and an unknown name is ignored. The
header narrows the list only: a tool you did not list is still callable by
name, under the same scopes. In Claude Code:

```bash
claude mcp add --transport http arcnm https://api.arcnm.io/mcp-server/mcp --header "X-MCP-Toolsets: all"
```

The default tools have short `verb_noun` names without the `arcnm_` prefix.
There are no aliases: a call to an old name answers the protocol's
unknown-tool error. Rename your calls:

| Old name | New name |
|---|---|
| `arcnm_explain_cost` | `explain_cost` |
| `arcnm_cost_drivers` | `get_cost_drivers` |
| `arcnm_cost_breakdown` | `get_cost_breakdown` |
| `arcnm_cost_factors` | `get_cost_factors` |
| `arcnm_preview_cost` | `preview_cost` |
| `arcnm_apply_adjustment` | `apply_adjustment` |
| `arcnm_process_plan` | `get_process_plan` |
| `arcnm_optimize_lot_size` | `optimize_lot_size` |
| `arcnm_optimization_directions` | `suggest_cost_savings` |
| `arcnm_compare_calculations` | `compare_calculations` (now takes `calculation_ids`, 2 to 20) |
| `arcnm_rank_calculations` | `compare_calculations` with 3 to 20 `calculation_ids` |
| `arcnm_compare_environments` | `compare_environments` |
| `arcnm_check_quota` | `check_quota` |
| `arcnm_upload_link` | `get_upload_link` |
| `arcnm_nest_run_create` | `create_nest_run` |
| `arcnm_nest_run_start` | `start_nest_run` |
| `arcnm_nest_run_cancel` | `cancel_nest_run` |
| `arcnm_nest_run_status` | `get_nest_run` |
| `arcnm_nest_run_result` | `get_nest_run` (adds the result once the run has ended) |
| `arcnm_nesting_read` | `get_nesting_summary` |
| `arcnm_nest_savings` | `get_nesting_summary` (the total saved, beside the potential) |
| `arcnm_nest_run_export` | `export_nest_layout` with `run_id` |
| `arcnm_sheet_nest_export` | `export_nest_layout` with `calculation_id` |
| `uploads_presign` | `presign_upload` |
| `uploads_confirm` | `confirm_upload` |
| `datasets_attach_dataset` | `attach_upload` |
| `parts_list_parts` | `list_parts` |
| `parts_create_part` | `create_part` |
| `parts_list_revisions` | `list_part_revisions` |
| `calculations_list_calculations` | `list_calculations` |
| `calculations_get_calculation` | `get_calculation` |
| `calculations_quote` | `quote_part` |
| `calculations_cancel_calculation` | `cancel_calculation` |
| `environments_list_environments` | `list_environments` |
| `environments_get_environment` | `get_environment` |

`export_nest_layout` takes exactly one of `run_id` and `calculation_id`;
both or neither is refused with an error that says so.

**Removed from MCP** — seven generated tools left the MCP surface because a
default tool answers the same question. Their REST routes and the public
OpenAPI spec are unchanged:

| Removed tool | Use instead |
|---|---|
| `calculations_get_entitlement` | `check_quota` |
| `calculations_get_calculation_optimization` | `suggest_cost_savings` |
| `calculations_preview_cost` | `preview_cost` |
| `environments_get_environment_factors` | `get_cost_factors` |
| `calculations_get_cost_sheet` | `get_cost_breakdown` |
| `calculations_batch_comparison` | `compare_environments` with `batch_id` |
| `calculations_compare_environment_runs` | `compare_environments` with `calculation_ids` |

**Changed** — tool titles drop the "ARCNM " prefix ("Explain Cost").
`apply_adjustment` and the three `DELETE`s that end a hide (a tool-catalogue
article, a subcontractor preset, a standard stock format) are now annotated
`destructiveHint=true`: each changes state the tenant stated. See
[MCP](./mcp.md#default-tools).

## 2026-10-10

**Fixed** — **The notes behind a whole piece and a stated sheet size are
published.** `analytics.pipeline_notes` now carries
`stock_full_piece_charged` when a lot pays its last started sheet or bar
whole (`kind`, `pieces_charged`, `pieces_started`, `unused_kg`, `credited`,
`override` — `true` when the calculation's own `full_stock_charge` decided
it, not the environment's `full_stock_threshold`),
`stock_share_kept_by_override` when the threshold was reached and
`full_stock_charge` `share` kept the share (`kind`, `remainder`,
`full_from`), and `custom_format_surcharge` when a sheet size the
calculation stated carries the environment's format premium on the
Subcontract line (`pct`, `surcharge_eur`). The 2026-10-09 entries below
named these facts; the API dropped the notes until now.

## 2026-10-09

**Added** — **A lot pays a started sheet or bar whole once it fills most of
it.** For a lot, parts fill whole stock pieces — sheets, bars — and start one
more. Until now every lot paid its share of that started piece; now, once the
lot's parts fill the environment's **`full_stock_threshold`** of it (a
fraction of the parts the piece holds; the platform's default is 0.85, so
85 %), the piece is the lot's: the lot pays it whole, and the unused cells are
credited as scrap where scrap is credited. Below the threshold the lot pays
its share as before. A lot of whole pieces, or a piece that holds one part,
prices the same as before. The threshold is a tuning knob on the costing
environment (`GET`/`PATCH /environments/{env_id}/tuning`, `0.5` to `1.0`;
`1.0` turns the rule off), inherited down the environment chain like every
knob.

**Added** — **`full_stock_charge` on a calculation.** The per-calculation
word for the rule above, on `POST /calculations` and on the calculation's
detail and list rows: `auto` (the default) applies the
environment's threshold; `full` charges the started piece whole at any lot;
`full_no_credit` charges it whole with no scrap credit on the unused cells;
`share` charges only the lot's share at any lot. On a re-run
(`derived_from_calculation_id`) omitting it keeps the word of the
calculation re-run, as the sheet-format pin is kept. A word other than
`auto` is part of the calculation's identity, so two otherwise identical
runs under different words are two calculations.

**Added** — **Price a calculation on a sheet size of your own.**
`POST /calculations` takes `stock_format_mm` (`{length_mm, width_mm}`): the
part is laid out on that one sheet, cut to size by your supplier, and the
purchased stock says `format_source` `custom`. It cannot be combined with
`stock_format_id` or `nest_item_id`; a sheet the part does not fit falls
back to the usual choice and `analytics.pipeline_notes` says why. The size
is echoed on the detail and the list, is part of the comparison's
configuration, and a re-run (`derived_from_calculation_id`) keeps it unless
the request states `stock_format_mm` or `stock_format_id` — `null` included.
A sheet cut to size carries the supplier's cut-to-size fees
(`material_provision:cut_to_size`) on the Subcontract line, shared by the
parts one sheet holds; the `cut_to_size_provision` note names the split.

**Added** — **`custom_format_surcharge_pct` on `GET`/`PUT
/environments/{env_id}/tuning`.** The premium a sheet cut to an ordered size
carries on its metal over the same metal in a stocked format, as a fraction
(0.15 = 15 %). It is read by the app's sheet comparison when it proposes a
custom size — a proposal must beat the best stocked format after this
premium and the cut-to-size fees — and by a calculation priced on a sheet
size of its own, which books the premium on the Subcontract line beside the
cut-to-size fees (the `custom_format_surcharge` note names it). `reset`
accepts the name.

**Added** — **A sixth shop-practice answer, `rotation_step`.** `PUT
/environments/{env_id}/shop-practice` takes `rotation_step` (`standard`,
`step_45`, `step_30`, `step_15`, `free`): how far a job nest may turn parts
beyond quarter turns. Single-part calculations keep quarter turns and record
no such key; a stated grain direction keeps its two turns. No price moves.

**Changed** — **A direct upload says how to send the file, and where it
stands.** `POST /uploads/presign` answers `method` `PUT` or `POST` (now an
enum): `PUT` takes the file's raw bytes with the `headers` named, `POST` a
`multipart/form-data` form with every entry of `fields` and the file last,
as `file`. The guides said to PUT the file whatever `method` answered;
branch on `method` — a file sent the other way never arrives. `POST
/uploads/confirm` now answers `status`: `pending` while the file is checked,
`confirmed` once it can be attached. It answers `409` with `details.reason`
`upload_not_received` when no file has arrived (it answered success), and
`upload_rejected`, `upload_failed` or `upload_cancelled` for an upload it
cannot confirm (it queued it again and answered success). `POST
/parts/{part_id}/revisions/{revision_id}/datasets` answers `409
upload_pending` with `Retry-After` (and `details.retry_after_s`) while the
upload is checked — it answered `400` — and `409` with the reasons above
for an upload that will not be confirmed. Until it is confirmed, an upload
reserves its declared `size_bytes` of your plan's storage (the most its file
type allows when none is declared), and confirm checks the plan again on
the size that arrived (`402 entitlement_exceeded`). See
[Uploading files](./uploads.md).

## 2026-10-07

**Changed** — **`GET /environments/{env_id}` answers
`environment_not_found`.** An environment id that does not exist in your
organization, another organization's included, now answers [`404
environment_not_found`](./errors.md) with `details.costing_environment_id`:
the answer the calculation routes already give for the same id. It used to
answer `404 not_found`; the message is unchanged. If you branch on
`error.code` for this route, branch on `environment_not_found`.

**Changed** — **An assembly priced only in part is never ranked as a
price.** When a component of an assembly calculation does not price, the
assembly (`assembly_state` `partial`) states the cost of the components that
did: a lower bound, not a price. `GET /calculations` now returns its
`offer_price` as `null`, and `sort=offer_price` lists it last. On the
comparison (`POST /calculations/comparison`, `GET
/calculations/batches/{batch_id}/comparison`) its cell's `offer_price` and
`offer_total` are `null`, while `unit_cost` keeps the lower bound; the cell
still never wins, anchors a delta or counts toward a basket. In
`arcnm_compare_calculations` and `arcnm_rank_calculations` it carries the new
`assembly_partial` flag, no `offer_price`, no rank and no delta, and
`assembly_partial` is a new `incomparable_reasons` value. The list and the
agent tools used to state its partial total as the offer price, so it could
sort or rank as the cheapest option. Read the assembly calculation for the
components that did not price.

**Changed** — **An assembly states its components' changed inputs.** On an
assembly calculation, `inputs_changed_since_run` now also covers its
components: a file attached to a component, or a correction applied to it,
after the component was priced. `roles` lists every role changed on the
assembly or on any component, `latest_at` is the newest change, and
`corrections` is the sum of the components' corrections. A correction filed
on the assembly's own revision no longer counts: it does not change the
assembly's price.

**Added** — **Stop a job nest from MCP.** `arcnm_nest_run_cancel` is the
agent's stop button for a job nest it started, as `POST
/nest-runs/{run_id}/cancel` is for the API. By default (`apply=false`) it
only reads the job nest and says whether it can be cancelled; `apply=true`
(needs `parts:write`) cancels it: the materials and thicknesses already
nested keep their result, the others are cancelled, and every remnant it
holds goes back to stock. Cancelled before anything is nested, it gives its
run back to this month's allowance. A server running read-only refuses the
cancel. Calculations and uploads already had their cancel tools.

**Removed (breaking)** — **`queue_depth` from the calculation capacity, and
queue positions now count only your own calculations.** `GET
/calculations/capacity` no longer returns `queue_depth`: it counted every
customer's queued work, not yours. `queue_position` — on a run's response
and in the `429` when your plan's pending bound is full — now always counts
your organization's own queued and running calculations, this one
included, as it already did with fair scheduling on; its ETA is divided
from that position. Read your own backlog from `pending_count` and `queue`
on the capacity response.

**Removed (breaking)** — **The background-job list, and the `jobs:read` and
`jobs:cancel` scopes.** `GET /jobs` and `GET /jobs/{job_id}` are gone: they
listed the platform's own background work, which is not part of the API.
Follow what you started by its own handle instead — a calculation with
`GET /calculations/{calculation_id}`, an upload in `GET /uploads`, a job
nest with `GET /nest-runs/{run_id}`. `jobs:read` and `jobs:cancel` are gone
from the scope list, the key and consent screens, and the OAuth
`scopes_supported` metadata; `jobs:cancel` never unlocked a route. A key or
grant that already carries them keeps working for its other scopes; a
request for them is ignored and they are never granted again. Stop
requesting them. Stopping your spend is unchanged: cancel a calculation
(`POST /calculations/{calculation_id}/cancel`, `POST
/calculations/bulk-cancel`, `POST /calculations/batches/{batch_id}/cancel`)
or a job nest (`POST /nest-runs/{run_id}/cancel`) with `parts:write`, and an
upload with `POST /uploads/{data_source_id}/cancel` and `uploads:write`.

**Removed (breaking)** — **`job_id` and `enqueued_task` from the calculation
status, and `job_id` from the upload confirm.** `POST /calculations`, `POST
/calculations/quote`, `POST /calculations/{calculation_id}/run`, `POST
/calculations/{calculation_id}/cancel` and both upload-and-quote routes no
longer return `job_id` or `enqueued_task`: they named the background work
behind the run, which no route serves. The calculation's `id` is the handle;
every other field is unchanged. `POST /uploads/confirm` now answers
`data_source_id` — the upload's own id, as presign returned it — in place of
`job_id`. A client that read either field should read the calculation or
upload id it already holds.

**Changed** — **A job nest buys one larger sheet where it costs less than
smaller ones.** Where the parts of a material and thickness, or the copies
left over after their full sheets, fit one larger stocked sheet that costs
less than the smaller sheets they would otherwise take, a job nest now
cuts the larger sheet. It used to pick the cheaper format sheet by sheet —
two sheets where one larger sheet held every copy — and then stated no
saving for combining the orders. Job nests solved before keep their sheets
and figures, so nesting the same orders again can state a larger saving.
A part's calculation is priced as before. An assembly calculation nests
its sheet components by the same rule (see 2026-10-05), so its price can
now reflect the larger sheet.

**Changed** — **The comparison ranks on the price each calculation
quotes.** `POST /calculations/comparison` and `GET
/calculations/batches/{batch_id}/comparison` now strike the best cell,
`delta_vs_best`, `delta_vs_baseline`, `wins`,
`median_delta_vs_baseline_pct` and `basket_total` on the offer price: the
figure the calculation itself headlines (`analytics.offer_price`), with the
surcharges its environment states on the cost sheet. Each cell carries it
as `offer_price` (per part) and `offer_total` (per lot). `unit_cost` and
`total_cost` stay on the cell, stated before those surcharges. The matrix
used to rank on `unit_cost`, so an environment that states its overheads
and margin as cost-sheet rows could be named the cheapest while its own
offer was higher. Where no environment states surcharges, the two figures
are equal and no result moves. The MCP tools `arcnm_compare_calculations`
(new `offer_price_delta`), `arcnm_rank_calculations` (ranked on
`offer_price`, new `offer_price_delta_vs_best`) and
`arcnm_compare_environments` (new `offer_prices` per part) follow the same
rule; their unit-cost figures remain as the secondary basis. In
`arcnm_rank_calculations`, `unit_cost_delta_vs_best` and
`unit_cost_delta_vs_best_pct` are now measured from the offer-price
winner, so they can be negative: an option that costs less to make but
more to buy, because its environment states larger surcharges. On `GET
/calculations`, `offer_price` on a calculation priced before the offer
price was stored now falls back to its `unit_cost` instead of null — the
figure its own page headlines.

**Added** — **Sort the calculation list by offer price.** `GET
/calculations` takes `sort=offer_price`, which orders on each item's
`offer_price`: the price the calculation headlines and the comparison ranks
on. `sort=unit_cost` still orders on the cost before the cost-sheet
surcharges. Like `unit_cost`, the offer price is null until a calculation
is priced, so those rows sort last and `sort=offer_price` takes no
`cursor`.

**Added** — **Optimization directions say when their run predates a
change.** `GET /calculations/{id}/optimization` now carries
`environment_changed_since_run` and `inputs_changed_since_run`: the values
`GET /calculations/{id}` states for the calculation the savings derive
from. `arcnm_optimization_directions` reads them from that response.

**Changed** — **`calibrated` describes the price, as recorded when it
ran.** `confidence.calibrated` on `GET /calculations/{id}` and `calibrated`
on every comparison cell now read the same record: whether a calibration
moved that price when the calculation ran, a per-driver calibration
included. Both are `null` for a calculation priced before this was
recorded: unknown, not uncalibrated. The detail used to recompute it from
the environment's calibrations at read time, so it could disagree with the
comparison and change when a calibration was published or retired later.
Re-run a calculation to price it under the current calibration.
`calibration_mismatch` now has one meaning for every kind of calibration:
the cell and its row's baseline disagree on `calibrated`. Two calibrated
cells with different multipliers are no longer flagged; a per-driver
calibration beside an uncalibrated cell now is.

**Added** — **A cost-sheet machine row names the machine's class.** The
per-machine rows of the cost sheet (`label_id`
`calculations.cost_sheet.line.machine_group`) carry
`label_params.machine_klass` beside `label_params.machine`: the same class
the machine library publishes as `klass`. A bought-in or sawn route
carries `buy` or `saw` instead, which are not machine-library classes. Use
it to name a catalogue machine in your reader's language and to keep a
machine your shop named itself verbatim. A calculation priced before this
change carries the name alone until it is re-run.

**Changed** — **A what-if refuses when the environment changed after the
run.** `POST /calculations/{id}/preview` and a saved scenario's result
answer [`409 environment_changed_since_run`](./errors.md) (with
`details.latest_at`) when the calculation's own
`environment_changed_since_run` is set. The preview prices under the
environment as it is now while its baseline is the stored sheet, so even a
what-if that moved nothing reported the environment's change as its own
effect. Create and run a new calculation for the part revision; that one
can be adjusted.

**Changed** — **Corrections to a part count as a changed input.**
`inputs_changed_since_run` now also states `corrections`: how many
corrections were applied to the part revision's recognised geometry after
the run read its inputs, however they were applied (`roles` is empty when
only corrections changed). An identical calculation run after such a
correction is priced again rather than answered from the earlier run. A
what-if on the earlier calculation answers on the geometry that
calculation priced, or refuses with `inputs_changed_since_run` where that
geometry is not kept. `started_at` on a calculation
answered from an identical earlier one states when it was answered.

**Fixed** — **An identical repeat is free whichever way the file was
uploaded.** A file uploaded to a revision with `POST
/parts/{id}/revisions/{rid}/datasets/upload` was stored without the content
digest the other upload routes record, so an identical repeat on it ran and
counted against your quota again, and a drawing uploaded that way did the
same for its whole revision. It is now recorded on every upload route.

**Added** — **`language` on both upload-and-quote routes.** `POST
/calculations/upload-and-quote` (form field) and `POST
/calculations/upload-and-quote-json` take `language` with the same default
(`de`) and bound as `POST /calculations`; the form used to drop it. A part
created by either route gets the first revision code `POST /parts` gives a
new part (`A`); a revision added to an existing part keeps its
time-stamped code.

**Changed** — **The dataset `role` is a published enum.** `POST
/parts/{id}/revisions/{rid}/datasets` (`role` in the body) and `POST
…/datasets/upload` (`role` query parameter) take `cad_3d`, `drawing_2d`,
`mesh`, `rfq_text` or `other`; `POST /calculations/{id}/inputs` takes
`drawing_2d`, `mesh` or `rfq_text`. Any other value is the standard
[`422 unprocessable_entity`](./errors.md) instead of a `400`.

**Changed** — **`setup_cost` is the cost sheet's setup line times the
lot, and stored calculations are restated.** `setup_cost` on `GET
/calculations/{id}`, on every comparison cell, and in the MCP tools
`arcnm_explain_cost` and `arcnm_cost_breakdown` is now the setup line of
the calculation's cost sheet times its `lot_size`: in the calculation's
`currency`, with its calibration applied, on the same basis as
`unit_cost`. It is already part of `unit_cost` and `total_cost`; don't
add it on top. It used to be stated before calibration and before the
conversion into the calculation's currency, so on a calibrated
calculation, or one priced in another currency than its environment's,
it matched neither the setup line nor `currency`. Calculations already
stored are restated from their own cost sheet, so past values move: if
you copied `setup_cost` into an ERP or a report, read it again. A
calculation priced before the cost sheet was stored, whose figure was on
the other basis, now answers `null`; re-run it to get the figure.

**Changed** — **`finishing_time_s` is the finishing time as billed.**
`analytics.time_breakdown.finishing_time_s` now states the finishing
seconds per unit under the machine's allowance factor: the same seconds
the cost sheet's finishing line and the lot-size curve bill. It used to
state the time before that factor, so on a part with a finishing pass it
now reads higher by the allowance. The new `finishing_base_time_s`
carries the time before the factor — the figure `finishing_time_s` stated
until now. Calculations already stored are restated when read. If you
applied the allowance yourself, stop: read `finishing_time_s` as billed,
or `finishing_base_time_s` for the base time.

**Changed** — **A curve point's `direct_unit_cost` is on the `unit_cost`
basis.** On `analytics.lot_size_curve.points`, `direct_unit_cost` is now
the direct cost per unit at that lot size in the calculation's currency,
calibrated like `unit_cost`, with the setup amortised over the lot:
everything before overhead, so the gap up to `unit_cost` is the variable
and fixed overhead. At the ordered lot it equals
`cost_decomposition.direct_unit_cost`. It used to be stated before
calibration, so on a calibrated calculation it sat on another basis than
the `unit_cost` beside it. On calculations priced before this change the
field is left out rather than published on the old basis; re-run one to
get it.

**Changed** — **Folder summaries total in the currency their parts are
priced in.** `GET /folders/summary` and `GET /folders/{folder_id}/summary`
now total each quoted part on its own calculation: its spend is its
`unit_cost` times its annual volume, in the calculation's `currency`.
`currency` names the currency of the totals; it used to say `EUR`
whatever the parts were priced in, and it is `null` when nothing in
scope is quoted. The new `currencies` lists every currency the quoted
parts in scope are priced in. When it lists more than one,
`total_annual_spend_eur`, `potential_savings_eur` and
`effective_annual_cost_eur` are `null`: amounts in different currencies
are never summed. The `_eur` suffixes are kept for compatibility; the
values are in `currency`. Read `currency`, or `currencies`, before you
display or add up a total.

**Changed** — **The wallet balance on `GET /calculations/entitlement` is
nullable.** `wallet_balance_cents` and `wallet_overdraft_cents` are now
typed `integer | null` and are `null` for every API key and agent grant;
the guidance sentence no longer quotes the balance either. Only a user
signed in to the app sees the figures. `wallet_funded_calculations` and
`wallet_overdrawn` are unchanged and still tell an integration whether a
calculation will run. Treat both fields as nullable and read the run
decision from `remaining`, `over_quota`, `hard_capped` and
`wallet_overdrawn`, not from the balance.

**Removed** — **The `wallet:read` and `audit:read` scopes.** Neither
granted access to anything a key or agent grant can call: the wallet and
audit routes answer only a user signed in to the app. They are gone from
the scope list, the key and consent screens, and the OAuth
`scopes_supported` metadata. A key or grant that already carries them
keeps working for its other scopes; a request for them is ignored and
they are never granted again. Stop requesting them.

**Changed** — **Routes under a part revision answer the revision's 404.**
`GET /parts/{id}/revisions/{rid}/datasets` used to answer `200 []` for a
revision that does not exist in your organization, and `GET
/geometry/{rid}/faces-url` and `GET /geometry/{rid}/drawing-url` answered
`200` with status `no_dataset`. All three now answer [`404
not_found`](./errors.md) with the message `Part revision not found`, the
same answer as `GET /parts/{id}/revisions/{rid}`. So do the writes under
the revision (`POST …/datasets`, `POST …/datasets/upload`, `PATCH` and
`DELETE …/datasets/{link_id}`), including when `{id}` is not the
revision's part. An empty list or `no_dataset` now always means the
revision exists and has no such file. Query filters are unchanged: an id
in `?env_id=`, `?part_id=`, `?folder_id=` or `?part_revision_id=` that
matches nothing in your organization still lists nothing.

**Security** — **Every key and agent grant is held to its scopes.** A
missing scope answers [`403 insufficient_scope`](./errors.md) whichever
account created the key or consented to the grant; there is no longer an
exception for any account. A request that worked only through that
exception now gets the 403: add the scope to the key, or grant it again
with the scope.

**Security** — **A viewer cannot change data.** A member with the
`viewer` role — signed in, or through an agent grant they consented to —
now gets the new error code [`403 role_read_only`](./errors.md) (with
`details.role`) on every request that changes organization data. Reads,
and the few actions on the viewer's own state (marking their
notifications read, revoking their own grants), are unaffected. Give the
user the `member` role if they need to make changes.

**Changed** — **`/readyz` answers its status only.** The readiness probe
keeps its `200`/`503` status code and `{"status": …}` body, but no longer
returns per-dependency detail to anonymous callers. Probe on the status
code.

**Changed** — **Every failed MCP tool call answers the API's error
envelope.** An `isError: true` result now carries `{"error": {"code",
"message", "details", "doc_url"}, "request_id"}` as its JSON text: for a
generated tool, the body the REST route answered, unchanged; for a curated
`arcnm_*` tool, the route's `error.code` and `details.reason` with a message
written for the agent. It used to be prose, with the REST body quoted inside
it for a generated tool. An error result carries no `structuredContent`.
Parse the text and switch on `error.code`; code that matched the old prose
breaks. See [MCP](./mcp.md#errors-and-pages).

**Changed** — **Five MCP list tools answer a page.** `uploads_list_uploads`,
`environments_list_environments`, `tools_list_tools`,
`materials_list_stock_formats` and `machine_library_list_library` now answer
`{"data": [...], "next_cursor": ..., "has_more": ...}` and declare it as
their `outputSchema`. They used to answer `{"result": [...]}` and gave no way
to reach the next page. Read the rows from `data`, and pass `next_cursor`
back as `cursor` until `has_more` is `false`. Over REST these routes still
page in the `X-Next-Cursor` / `X-Has-More` headers.

**Removed** — **The multipart upload tools over MCP.**
`calculations_upload_and_quote`, `calculations_upload_inputs` and
`datasets_upload_dataset` are no longer MCP tools: an MCP client sends JSON
arguments, so each answered `422` on every call. Use
`calculations_upload_and_quote_json` with the file as base64, or
`uploads_presign`, a `PUT` of the file, `uploads_confirm`, then
`datasets_attach_dataset` with the file's `role`. The REST routes are
unchanged. See [MCP](./mcp.md#getting-a-cad-file-in-over-mcp).

**Changed** — **The identity tools are listed to a signed-in user only.**
`users_read_user_me` and `users_read_user_me_context` are no longer listed
to an OAuth grant with scopes; API keys already did not see them. Both
routes answer `403` to every API key and every scoped grant, so the listing
now matches what each credential can call. For the same reason an API key
with no scopes is listed only the tools that need no scope.

**Changed** — **Curated MCP prices say when they predate a change.**
`arcnm_explain_cost`, `arcnm_cost_drivers`, `arcnm_cost_breakdown`,
`arcnm_optimize_lot_size`, `arcnm_optimization_directions`, and each side of
`arcnm_compare_calculations` and `arcnm_rank_calculations` now carry
`environment_changed_since_run` and `inputs_changed_since_run`, the two
facts `GET /calculations/{id}` carries. When either is set, the tool's
guidance says so and tells the agent to run a new calculation of the part
revision before quoting the price. `arcnm_optimize_lot_size` also carries
the lot-size curve's `accuracy` and `exact_at_quantity`, and each curve
point its `offer_price`, as the API states them: the curve is exact at the
quoted lot and indicative at every other one.

**Changed** — **The lot-size scenarios value each side of the supply on its
own basis.** The buyer's scenarios (`buyer_stock`, `make_to_order` and the
buyer's half of `joint`) now price a piece, and value the buyer's stock, at
the purchase price after the supplier's discounts — the offer price less the
customer discount and the cash discount, as a buyer's purchase costing does —
instead of the offer price, which carries the customer-discount gross-up the
buyer never pays (+11.1 % at a 10 % discount). The stock the supplier holds
or still owns (`supplier_stock`, the work in progress under `make_to_order`,
the supplier's half of `joint`, and `consignment`) is valued at production
cost including material and production overheads — the lower bound HGB §255
allows for inventory, and the IAS 2 cost — instead of the manufacturing cost without them. Where the
environment states no costing scheme nothing changes. Where it states
discounts or overheads, the scenarios' per-piece figures, holding costs,
savings and recommended lots can move; the quoted price and every curve
point's `unit_cost` and `offer_price` do not. The lot-size optimum gains
`valuation_basis` — `purchase_price`, or `offer_price` on a calculation made
before (recalculate to restate it) — and `supplier_value_to_cost_ratio`;
`price_to_cost_ratio` is now what the buyer pays over manufacturing cost.
`arcnm_optimize_lot_size` states `valuation_basis` as well. The folder and
workspace summaries return `potential_savings_eur` and
`effective_annual_cost_eur` as null where the scope holds a part valued at
the offer price (a calculation made before) beside one valued at the
purchase price, as they already do across currencies; the annual spend still
sums.

---

## 2026-10-05

**Changed** — **An assembly's own job nest belongs to the assembly.** The
job nest an assembly calculation runs to nest its own sheet components
together is not listed by `GET /nest-runs`, which lists the job nests your
organization started. Reading it — `GET /nest-runs/{run_id}`, its cutting
files, its revisions, its rack labels — or changing it needs the Nesting
add-on; without it, each answers `addon_required` (402). Job nests you
started read exactly as before.

**Changed** — **What a job nest saves is measured against each part
alone.** Every sheet quote is priced on the part's true shape, so a job
nest's `saved` is now what nesting the orders' parts together saved
against cutting each part alone on its own true-shape nest: `alone` less
`nested`, on every line, order, job nest and in `GET /nest-runs/savings`.
The rectangular-blanks basis and the split are no longer served:
`rectangular`, `rectangular_kg`, `rectangular_sheets`, `saved_true_shape`,
`saved_true_shape_kg`, `saved_combining` and `saved_combining_kg` are gone
from `savings`, from a revision's `savings` and from the total. Job nests
stored earlier read the same way. A single line can still save — the job
nest may cut its last copies on a smaller sheet or a remnant.

---

## 2026-09-29

**Added** — `GET /calculations/{id}/regional-screen`: where the same part
would be cheaper, estimated from the calculation's stored cost shares over
every priced region's reference values — ranked, with the levers moved,
`relocated_share` and the measured p90 error of the estimate. A reference
value the platform may not redistribute is named but not served: the
lever or region that needs it says `licence_withheld`. Free; five
requests against the rate limit. `POST /calculations/{id}/reprice-preview`
now also states `measured_error_p90_pct` and `error_measured_at`.

**Changed** — A re-price (`POST /calculations/{id}/reprice`,
`POST /calculations/reprice`, and *Re-price affected* from an alert)
prices the same geometry its source was priced from instead of reading the
part again, so every difference is an assumption: the response says
`geometry_by_reference` (what was asked), the calculation detail
`geometry_origin` (what happened:
`extracted`, `served` or `by_reference`), the calculation diff
`same_geometry`. A source whose drawing, mesh or RFQ text changed since it
ran is refused with `422 reprice_inputs_changed` (a batch skips it with
reason `inputs_changed`); `re_extract: true` reads the new files.

**Added** — `GET /market/events`: the platform's market events — a
reference value that moved, a publisher revision, a source outage, the
release of an available environment's version — by window, region (with inheritance), driver, kind and
severity, keyset-paged. A value the platform may not redistribute is
listed by direction only. `422` with `details.reason` `kind_unknown` or
`window_invalid` for a filter it cannot apply, and `422` (`region_unknown`)
for a region that is not a cost region.

**Added** — `PATCH /environments/{id}/subscription {"notify": false}`
mutes `version_published` for one follow without versioning the
environment; a pinned follow hears every release of its upstream, a
channel follow the releases that moved its channel.

**Added** — `PUT /folders/{id}/logistics-profile`: a default logistics
profile per folder, resolved after the calculation's own and before the
environment's (`profile.source` `folder_default`). The landed cost gains
`lot_suggestion`: the effective landed cost per part at the ordered lot
and at the optimum, the annual saving of moving there and the band in
which it holds.

**Changed** — The `/catalogue/environments` paths take `{ref}`, an environment id **or a
slug** (`arcnm-de-by`); `GET /catalogue/environments` filters on `kind`
and `evidence_class`, and every listing carries `publisher_kind`, `slug`,
`listing_kind`, `evidence_class`, `licence`, `status`, `update_cadence`,
`freshness`, `conformance_score` and `followers`; version summaries carry
`publication_id`. `PUT /environments/{id}/channels/latest` and
`…/quarterly` are refused (`422`, `details.reason` `channel_reserved`):
those names belong to the releases of available environments. A `reference_values` entry of a
published snapshot no longer carries `recipe_version`.

**Changed** — `GET /catalogue/environments` is paged like every other
collection: `limit` (default 100, at most 500) and `cursor`, the position
in the `Link` / `X-Next-Cursor` / `X-Has-More` headers, in the list order
(platform listings, verified partners, community listings, each by name).
Every listing states `reference_coverage` (`own`, `inherited` or
`none`) and `reference_answered_by`: whether its region's reference values
are the region's own, an ancestor's (named) or the world fallback.

---

**Changed** — **Adjusting a job nest's sheets keeps your grain direction
and your mirroring rule.** `POST …/layout-check` now names every copy your
shop practice does not allow, per sheet in `against_shop_practice`: turned
off the grain direction the environment states (`reason`
`grain_direction`, with the turns that keep it in `allowed_rot_deg`), or
mirrored where the environment allows no mirroring (`reason`
`mirroring`). Such a layout is not `ok`, and `POST …/revisions` refuses it
with `nest_layout_invalid` (422). The rule is the one the job nest read
when it ran; where no grain direction is stated, any turn is accepted as
before.

**Added** — **How your shop cuts sheet, as five shop-practice answers.**
`PUT /environments/{env_id}/shop-practice` takes `grain_direction`
(`along_length` / `across_width`), `mirroring` (`not_allowed`),
`min_web_by_gauge` (`by_gauge`), `micro_joints` (`used`) and
`common_line_cutting` (`used`), each opt-in and `standard` today's
behaviour; `GET` reads them back through the parent chain like every other
answer. Two of them open tables on `GET`/`PUT
/environments/{env_id}/tuning`: `min_web_mm_to_3mm`, `min_web_mm_to_6mm`,
`min_web_mm_to_12mm`, `min_web_mm_over_12mm` (the minimum web per sheet
thickness bought; each starts at the web you already nest at) and
`micro_joint_width_mm`, `micro_joints_to_300mm`, `micro_joints_to_1000mm`,
`micro_joints_over_1000mm` (the tabs that hold a part in the skeleton; recorded
on the layout and in the cutting files, never priced). Where common-line
cutting is stated, `material_resolution.stock.common_line_length_mm` states
the cut one part shares with its neighbours, in mm per part, the sheet's
cutting files mark those cuts on a `CUT_COMMON` layer (SVG group and JSON plan
`sheets[].common_line` alike), and the JSON plan states `micro_joints` where
they are used. Nothing here changes a price until an environment states an
answer.

**Added** — **Stock formats for bar, plate and tube.** `GET /stock-formats`
takes `kind` (`sheet`, `plate`, `bar` or `tube`; one kind per list) and
`POST /stock-formats` states it, each kind with its own dimensions: a sheet
its `length_mm` × `width_mm` and gauge band; a plate its `thickness_mm` and
the largest plate cut to size (`length_mm` × `width_mm`); a bar its
`length_mm` and, optionally, the one `diameter_mm` it is stocked in (null for
every standard diameter); a tube its `length_mm`, `diameter_mm` (outside) and
`wall_mm`. A row stating another kind's dimension is refused with the field
named. Hide, retire and the "at least one format" rule work per kind, and
`stock_format_id` on every create body may pin a row of any kind. One
standard bar is listed under `bar`: 3000 mm, every diameter and material —
the length every turned part has been priced on, so nothing re-prices. A shop
that adds its own bar length, tube or plate rows sees them priced: a turned
part takes the stocked length that bills the least per part, a hollow one the
smallest stocked tube section that holds it, a plate ordered cut to size is
named by the row that covers it. The stock on a calculation carries the row
(`format_id`, `format_key`, `format_label`) and the alternatives with each
one's verdict, as a sheet's does; `stock_w_mm` is null on a bar and a tube,
and each alternative states `diameter_mm` and `wall_mm` where it has them.
Once you list your own bar rows (or hide the standard one), the list states
the lengths a bar is bought in: the bar length under `/tuning`
(`bar_length_mm`) prices a bar only where nothing on your list holds the part,
and the clamping end applies as before.
Unstated, every bar, plate and tube price is unchanged.

**Added** — **Quote a sheet part from its DXF flat pattern.** Upload a `.dxf`
in the CAD slot (`cad_file` on `POST /calculations/upload-and-quote(-json)`,
role `cad_3d` on `POST /parts/{part_id}/revisions/{revision_id}/datasets`)
with `sheet_gauge_mm` and a material, and the part is priced as a flat sheet
part cut to that pattern — nested on your stocked formats, the contours
cut, the skeleton scrap. Millimetre and inch files; one closed outer
contour per file, every other loop an opening; a file the import cannot
price is refused at upload with a `dxf_*` code that names why (see
[Uploading files](./uploads.md#dxf-flat-patterns)). `application/dxf` and
`image/vnd.dxf` are accepted at presign and on the CAD role. Such a quote
asks for a review: `analytics.review.reason_codes` carries
`extraction_degraded` with `notes: ["dxf_flat_pattern"]` — a flat part at
the stated thickness, with no 3D model, so no bends, forms or 3D
manufacturability checks.

**Added** — **Rack labels and a scan lookup for remnants.**
`GET /remnants/{remnant_id}/label` is a printable label (SVG at true size,
100 × 50 mm) with the piece's size, thickness, material, pieces, origin,
date and a Code 128 barcode of its code — the first 12 hex digits of its id.
`GET /remnants/by-code/{code}` answers the piece a scanned or typed code
names, in any state; `GET /nest-runs/{run_id}/remnant-labels` prints one
label per rest a released job nest put into stock. `lang=de|en` picks the
label's words and number format — `1.200 × 800 mm` or `1,200 × 800 mm`, as
the app writes a size.

**Changed** — **What a job nest saves, basis "each part alone".** The
"alone" basis now buys whole sheets of the stocked format that buys the lot
for the least at the part's own nest count on that format — never the
format the single-part quote chose for its lot-free share — so it never
exceeds the rectangular-blanks basis format for format, and the true-shape
saving is never negative on a line whose formats are kept.
`savings.by_line[].alone` names the format (`format_id`, `sheet_mm`).
Stored savings of earlier job nests are unchanged.

**Changed** — **A release books stock only while the environment credits
remnants.** While `credit_remnant` is unstated, a job nest is offered no
remnants and plans none, so its release consumes and creates none — it
still freezes the sheets and counts the saving. The job nest page and the
release dialog say which state the job nest stands under.

**Added** — **Adjust a job nest's sheets, and see what nesting saves.**
`POST /nest-runs/{run_id}/groups/{group_id}/layout-check` takes the whole
layout of one material and thickness — every sheet with the stock format or
remnant it is cut from and its placements — and answers what the cutter
would find: every pair of parts closer than the spacing with the gap
between them, every part in the margin, every line short or over its
quantity, every container the job nest cannot cut from, each sheet's
utilisation and rest; nothing is stored. `POST …/revisions` stores a layout
that passes as the material and thickness's next **revision** and makes it
the active one — the job nest's own layout is revision 1 — priced and
shared out exactly as the job nest's result is; `GET …/revisions` lists
them, `GET …/revisions/{n}` reads one with its placements, and the export
takes `?revision=n`. A calculation priced on a line records the revision it
read (`nest_revision`) and keeps it. **Savings** are public now: on every
job nest and in `GET /nest-runs/savings`, the sheet bought on rectangular
blanks, with each part nested alone and nested together — kg and money,
whole sheets everywhere — with `saved` split into true-shape nesting and
combining the orders' parts, per order too; the total counts released job
nests only and states the simulations' `potential` apart. The agent tools
`arcnm_nest_run_status` / `arcnm_nest_run_result` carry a job nest's saving
and `arcnm_nest_savings` the total. Refusals: `nest_run_group_not_found`,
`nest_run_revision_not_found` (404), `nest_run_not_editable`,
`nest_run_released`, `nest_run_remnant_unavailable` (409),
`nest_layout_invalid` (422). Nothing here changes a calculation's price.

**Changed** — **A job nest books stock only when it is released.** Solving
now reads the environment's remnants as candidates and plans which it
cuts; nothing leaves or enters stock until the shop releases the job nest
in the app, which consumes the planned remnants and puts the reusable
rests in stock in one step — a remnant no longer in stock refuses the
release by name. A released job nest is frozen. `remnants_held` on a job
nest is always empty from now on.

**Added** — **Cutting files from a job nest.**
`GET /nest-runs/{run_id}/export` writes the sheets of every solved material
and thickness of a job nest for the cutting machine: `format=dxf` (R2010 in
millimetres — one block per part, one insert per copy, on the layers
`SHEET`, `MARGIN`, `REMNANT`, `CUT_OUTER`, `CUT_INNER` and `LABEL`;
`exploded=true` writes plain closed polylines in place for a system that
reads no blocks), `format=svg`, or `format=json` — the nest plan (schema
v1): every part's contour and holes, every sheet's container, material,
thickness, allowances and placements. `sheet=all` answers every sheet (a
zip of one file per sheet with `plan.json` and `manifest.csv`, or the whole
plan); `sheet=<group>:<index>` one sheet's file. `GET /calculations/{id}
/sheet-nest/export` does the same for the sheet a calculation's own price
laid its part out on. Contours are within 0.2 mm of the unfolded flat
pattern; arcs are polylines. Your own layouts are yours to read: by API key
and through the agent tools `arcnm_nest_run_export` and
`arcnm_sheet_nest_export`, which answer the plan inline and DXF/SVG as
download links. Refusals: `nest_run_nothing_to_export` (409),
`nest_run_sheet_not_found` (404), `sheet_layout_not_found` (404). Nothing
here changes a calculation's price. See the recipe
[Cut a job nest](./recipes/cut-a-job-nest.md).

## 2026-09-28

**Added** — **Five regional-costing tools on the MCP server.**
`find_environments` (the available environments by cost region and
machine coverage), `get_region_drivers` (a region's reference values
at a date), `preview_reprice` (a free first-order estimate of what a
re-price would move), `get_landed_cost` (the delivered cost for a
destination) and `diff_environments` (what moved between two
versions), in the opt-in `regional` toolset (`X-MCP-Toolsets: regional`).
All five are read-only and free: they price, save and bill nothing. See
[MCP](./mcp.md).

**Added** — `GET /catalogue/environments` takes `process_family` (repeat
it; every family named must be covered). An unknown family is
`422 process_family_unknown`, more than eight is
`422 too_many_process_families`. `region` now folds an alias onto its
region and refuses an unknown code with `422` (`region_unknown`) instead of
answering an empty list.

**Added** — `centroid_lat` and `centroid_lon` on `GET /regions` and
`GET /regions/{code}`: the approximate centre of the region, null for a
macro region without one.

**Added** — `stale` on every value of `GET /regions/{code}/drivers`: true
when the value is past its refresh deadline at the requested date — for a
value derived from a published statistic, once two prints of its newest
input are missing; for any other, once it is older than twice the cadence
it is refreshed on. A stale value still prices.

**Added** — `GET /calculations/{id}/landed-cost` takes a
`destination_region` (with optional `origin_region`, `incoterm` and
`mode`) to price a destination without a saved profile; nothing is saved.
Naming it together with `logistics_profile_id` is
`422 logistics_profile_inline_conflict`; the terms without a destination
are `422 logistics_inline_requires_destination`. `profile.source` on every
landed cost says where the profile came from: `calculation`,
`environment_default`, `request` or `inline` (then `profile.id` and
`profile.name` are null).

**Added** — `GET /environments/{id}/versions/{a}/diff/{b}`: what moved
between two of your own versions (labels or ids, drafts included), in the
shape of the version diff of an available environment.

**Changed** — **One job nest at a time, and a ceiling on its time.**
`POST /nest-runs` refuses a start while a job nest of the organization is
queued or running (`nest_run_in_flight`, 409 — wait until it ends, or
cancel it), and a `group_budget_s` past what the organization may ask for
per material and thickness (`nest_run_budget_too_long`, 422; the default
ceiling is 300 s). A job nest's time is computing time: a material and
thickness ends on its budget however busy the platform is, rather than on
a wall clock that ran while it waited for a core. A job nest never buys
more sheet than cutting each of its parts alone would: where nesting the
parts together would not save, each part is laid out on its own sheets.
Nothing here changes a calculation's price. See [Errors](./errors.md).

**Added** — **Nest a backlog of sheet-metal parts together.**
`POST /nest-runs` nests several orders, materials and thicknesses at once,
on the sheets and the remnants your costing environment stocks: name the
calculations (each with an optional `quantity` — its lot size when
omitted — `order_ref`, `due` and `priority`), a `batch_id` or a
`folder_id`. The job nest runs in the background; `GET /nest-runs/{run_id}`
reads how far it has got and what it came to — the sheets of each material
and thickness with their utilisation, each line's and each order's share of
the sheets (`purchased`, less the `scrap_credit` the skeleton sells for and
the `remnant_credit` the reusable rests are worth back in stock, in total
and per copy), what a batch or folder left out and why, and the remnants it
used, holds and created. `allocation_rule` shares each sheet's cost by the
parts' area or equally. `POST /nest-runs/preview` answers what a job nest
would take — its lines and copies per material and thickness and the
remnant pieces of each in stock — without starting one; `GET /nest-runs`
lists your job nests and `POST /nest-runs/{run_id}/cancel` stops one. A job
nest cuts from your remnants before it buys a sheet: a remnant it cuts from
leaves stock, and the reusable rests its sheets leave go in. It never
changes a calculation's own price. Starting and previewing a job nest each
count as a heavy request against the [rate limit](./rate-limits.md).

**Added** — **Price a part at its share of a job nest's sheets.** The
calculation create bodies take `nest_item_id`, the `id` of a line of a job
nest (`items[].id`): the part's material is then its share of the sheets
the job nest cut it from, less its share of the credits, and everything
else is priced as usual. A part never pays more material this way than
nested on its own: where the shared sheets are only partly filled, it pays
its own share of a sheet, and the rest of the sheet counts as back in
stock.
`analytics.material_resolution.stock.layout_method` says so with a new
value, `shared_sheets`. A line that cannot price the calculation is refused
with [`422 nest_item_unresolved`](./errors.md), `details.reason` saying
why.

**Added** — **Remnant stock.** `GET /remnants` lists the remnants of your
environments, `POST /remnants` states one your shop holds, and
`POST /remnants/{remnant_id}/scrap` takes pieces of one out of stock. A
remnant is never deleted, so a job nest that used or left one still names
it.

**Added** — **Job nests over MCP.** `arcnm_nest_run_create` plans a job
nest by default and starts it on `apply=true` (it needs `parts:read` and
`parts:write`, and is annotated destructive, since a job nest takes the
remnants it cuts from out of stock); `arcnm_nest_run_status` says how far
it has got and `arcnm_nest_run_result` what it came to, each line with the
id a calculation names as `nest_item_id`. The generated `/nest-runs` and
`/remnants` tools are not on the agent surface. See [MCP](./mcp.md).

New error codes: `nest_run_not_found`, `nest_run_selection_not_found`,
`nest_run_items_unusable`, `nest_run_nothing_to_nest`,
`nest_run_selection_too_large`, `nest_run_line_too_large`,
`nest_run_too_many_copies`, `nest_run_not_cancellable`,
`nest_item_unresolved`, `remnant_not_found`, `remnant_not_in_stock` and
`remnant_unresolved` — see [Errors](./errors.md).

**Changed** — **A sheet part is bought at the count a nest holds.** Where
blank rectangles laid in both orientations fit more of them on a sheet
than rows of one orientation do, or where a part cut from a flat pattern
fits more copies of its own outline, the sheet is nested that way and the
part is bought at that count.
`analytics.material_resolution.stock.layout_method` says which, with two
new values: `mixed_rectangles` (blank rectangles in both orientations) and
`true_shape` (the part's own outline, nested). `rectangle_estimate` still
prices wherever no nest fits more parts. Less sheet is bought per part, so
the material cost, and the unit cost with it, falls on most of these
parts. `arcnm_cost_breakdown` reports the same `layout_method` in
`material_stock`.

**Added** — **Why a part was not nested to its own outline.**
`analytics.pipeline_notes` carries `sheet_nest_downgraded` when a part cut
from a flat pattern could not be nested to its own outline on the sheet it
is bought on, and a rectangle layout priced it instead. `reason` says why:
`outline_invalid` (its outline could not be read as one closed contour),
`nest_budget_exceeded` (the search for a layout reached its limit) or
`layout_invalid` (the nested layout did not keep the spacing or the edge
margin). `layout_method` names the layout that priced it.

**Changed** — **A calibration is fitted again, on this release's quotes.**
As on 2026-09-26, a calibration saved before this release no longer
applies: the environment quotes uncalibrated until its calibration runs
again. `POST /calculations/{id}/preview` refuses a calculation priced
before this release with
[`409 priced_under_earlier_model`](./errors.md).

---

## 2026-09-26

**Added** — **A calculation names the stock it bought, and where its
metal went.** `analytics.material_resolution.stock` states the stock a part
is bought as — its `kind` (`sheet`, `bar`, `block`, `tube` or `compound`),
the stock format and who chose it (`format_source`: `requested`,
`own_format` or `standard`; bar, block and tube stock is bought in standard
sizes), the size bought beside what the part measured (`measured_mm`,
`size_rounded_up`; neither is stated where the part's thickness was
estimated from its shape rather than measured), a tube's `wall_mm`, a
compound's `stock_pieces`, `parts_per_stock` and how that count was
arrived at (`layout_method`), the format a calculation asked for when it
did not price the part and why (`requested_format_label`,
`pin_unavailable_reason`), and the bed of the machine that bounded the
formats on offer (`machine_bed_l_mm`, `machine_bed_w_mm`) — and where its
metal goes: `purchased_mass_kg` = `part_mass_kg` + `scrap_mass_kg` +
`remnant_mass_kg`, in kilograms whatever the calculation's currency, with
`utilisation_net` (the part's area over the sheet area it used up: its
share of the sheet less a reusable remnant that goes back to stock) and
`utilisation_gross` (over its whole share) on sheet.
`analytics.cost_decomposition` adds `material_purchased_cost` and
`remnant_credit`: `material_cost` is the first less the second, so the two
restate it and are not added to the unit cost again. `scrap_credit` is a
cost-sheet row of its own that `herstellkosten` subtracts, and
`material_overhead` is charged on the net material — `material_cost` less
`scrap_credit` — never on the stock bought. `analytics.assumptions` says whether each credit applied
(`scrap_credit_stated`, `remnant_credit_stated`), the price each kind of
scrap was credited at (`scrap_prices`) and what a reusable remnant is worth
(`remnant_value_factor`); each entry of `scrap_prices` states the mass
of that scrap (`mass_kg`), so the credit is the sum of mass × price,
capped at the material cost. A price is the dated scrap price for that
kind of scrap, else the environment's flat return per kilogram
(`price_source` `env_setting`). The cost sheet's material lines and the
`improve_material_utilization` finding carry the masses they multiply —
the scrap credit's row the mass of the scrap credited
(`credited_scrap_mass_kg`), which is less than the stock's `scrap_mass_kg`
wherever some scrap is not credited — and `arcnm_cost_breakdown` returns,
as `material_stock` for every persona, the stock (its kind, format and who
chose it, size, what the part measured, a tube's wall, parts per stock and
a compound's `stock_pieces`, `layout_method`), its mass balance with
`utilisation_net`, and the material line's purchase and credits with the
two credit flags; the rest of the stock and the scrap prices are on the
calculation itself. A calculation priced before this release states its
stock and the masses bought and shipped, without the scrap and remnant
masses and without a bar's length, and a compound's body count as its
`stock_pieces`.

**Added** — **Credit your scrap and your remnants against the material
bought.** Two shop-practice questions switch the credits on:
`scrap_credit` (you sell the scrap your parts leave) and `remnant_credit`
(usable remnants go back into stock: a rest of a sheet, or the end a bar or a
tube leaves past its part once it is at least `bar_remnant_min_l_mm` long),
each answered `credited` or
`standard` on `PUT /environments/{env_id}/shop-practice`. An environment
inherits a parent's answer, and `GET` reports it with
`source: parent_environment` and the environment that states it
(`source_environment_id`, `source_environment_name`). What your scrap dealer pays is stated per
material and kind of scrap — `sheet_skeleton`, `chips`, `drop` — with
`PUT /environments/{env_id}/rates/scrap/{material_category}/{scrap_class}`
(`?grade_id=` prices one grade apart from its category) and ended with
`DELETE` on the same path; `GET /environments/{env_id}/rates/scrap` lists
your environments' prices in force today, each row with the key its price
was stated for (`stated_grade_id`: a grade with no price of its own is
priced by its category's, which is where that price is changed or ended),
whose price it is (`price_source`, `source_environment_name`), the date it
describes (`as_of`) and, for a published reference price, its age
(`age_days`; `stale` past 90 days); `credit_scrap_stated` says whether the
environment credits scrap at all. The three routes are exposed over MCP
like the material-price pair. A price starts today or later,
never earlier, so quotes already made keep the price they were costed at,
and each refusal has its own code in the [errors guide](./errors.md)
(`scrap_price_backdated`, `scrap_price_grade_category_mismatch`,
`scrap_price_not_found`). Rate
rows list `scrap` as a `kind`; `POST /environments/{env_id}/rates` and
`DELETE /environments/{env_id}/rates/{kind}/{rate_id}` refuse it
(`scrap_price_use_scrap_route`), and `DELETE /materials/grades/{id}` counts
a grade's scrap prices among the references that keep it. Where a kind of
scrap has no price of yours, a parent environment's applies, then a
published reference price where one exists; one with no price at all is
credited nothing. Until an environment answers `credited`, no quote
changes.

**Added** — **A credited material line shows what it is made of.** Where
an environment credits its remnants, the cost sheet's `material` line
(`GET /calculations/{calculation_id}/cost-sheet`, `analytics.cost_sheet`)
has two children — `material.purchased` and `material.remnant_credit`,
the credit signed negative so the children add up to the line — and
states its arithmetic as `formula_id` `purchased_minus_credits`. Where it
credits its scrap, the sheet carries the `scrap_credit` line: one negative
row below the unit cost, taken off before the material overhead and a
material scrap allowance are charged. Each row's `door` is where its
figure is changed: the material price, the remnant value factor on
`PUT /environments/{env_id}/tuning`, and for the scrap credit the scrap
price
(`PUT /environments/{env_id}/rates/scrap/{material_category}/{scrap_class}`,
with `material_category` and, where one kind of scrap was credited,
`scrap_class` in its `params`) or, where the environment's flat return per
kilogram priced it, the environment's economics. Their `label_params`
state the mass each row multiplies — `raw_stock_mass_kg`,
`credited_scrap_mass_kg`, `remnant_mass_kg` — with `scrap_eur_per_kg`
where one price applied and `remnant_value_factor`. Without a credit the
sheet is unchanged. `POST /environments/{env_id}/rates/restore` returns the scrap
prices to the platform's as well: none of the environment's own scrap
prices applies after it. `arcnm_apply_adjustment` saves no scrap price from
a cost sheet: it refuses one and names `environments_scrap_price_set`, the
tool that states it.

**Added** — **Sheet nesting settings.** `PUT /environments/{env_id}/tuning`
takes six sheet settings, and `GET` reports each beside its platform
default: `edge_margin_mm` (kept free on every side of a purchased sheet),
`skeleton_web_mm` (the web between two nested parts, without the cutting
gap, which is added to it), `cut_to_size_increment_mm` (the step a plate
ordered cut to size is bought in), and the size a leftover strip needs to
count as a reusable remnant (`remnant_min_l_mm`, `remnant_min_w_mm`,
`remnant_min_area_share`). `remnant_value_factor` says what any reusable
remnant, a rest of a sheet or the end of a bar or tube, is worth against new
stock. The remnant settings apply only where remnants are credited. `reset`
clears any of them by name.

**Added** — **Bar stock settings.** `PUT /environments/{env_id}/tuning`
takes the length you buy round bar in (`bar_length_mm`, 3,000 mm unless you
state another), the end of each bar its clamp holds, which no part is cut
from (`bar_clamp_remnant_mm`, 150 mm), and the shortest end a bar or a tube
leaves past its part that goes back into stock (`bar_remnant_min_l_mm`,
300 mm), and `GET` reports each beside its platform default. A turned part
carries its share of one bar of that length. Where remnants are credited, a
bar's end past its last part and the clamping end, or a tube's cut-off, that
reaches the minimum is credited like a sheet's rest: `remnant_mass_kg` and
`remnant_credit` state it. `reset` clears each by name. Until an environment
states them, no quote changes.

**Added** — **New codes that explain a material line.**
`analytics.pipeline_notes` carries `stock_beyond_ladder` when a part
measures past the largest standard size of its stock and is bought at its
own measurement (`kind`, `measured_mm`, `largest_rung_mm`, `bought_mm`),
and — only in an environment that credits sold scrap —
`scrap_price_unresolved` when a kind of scrap found no price and is
credited nothing (`material_category`, `scrap_class`) and
`scrap_price_stale` when a published reference price more than 90 days old
credited the part (`material_category`, `scrap_class`, `price_source`,
`as_of`, `age_days`). `GET /environments/{env_id}/audit` reports such stale
reference prices as the finding `scrap_price_stale`, whose `params` name
the material and the kind of scrap (`material_category`, `scrap_class`),
the day the oldest of them describes (`observed_on`), its age in days
(`age_days`) and how many prices it covers (`count`).
`analytics.review.reason_codes` gains `stock_format_not_stocked` when your
stock formats hold nothing in the part's thickness or material, so the
part is priced on a plate ordered cut to size (`kind`, `gauge_mm`,
`measured_gauge_mm`, `material_category`).

**Added** — **The currency conversion a calculation's amounts carry.** A
cost-sheet line states its masses and prices in the environment's rate
currency (`analytics.assumptions.rate_currency`) and its `amount` in the
calculation's currency. `analytics.assumptions.currency_factor` states the
factor between the two — 1.0 when they are the same — so on a calculation
in another currency a material row's mass × price × `currency_factor` is
its amount, and a line's time × rate the same way; on a calibrated
environment the amount also carries the calibration the line was charged
at. `arcnm_cost_breakdown` returns the same factor as `currency_factor`,
beside `currency`.

**Changed** — **Sheet and bar handling is shared among the pieces your
stock actually yields.** On a laser, plasma, waterjet, turret punch or
shear, one sheet exchange is now divided among the parts nested on the
sheet the calculation buys — the same format and count the material line
bills — instead of among the parts a sheet the size of the machine's bed
would hold; a plate ordered cut to size is one part per exchange. A saw
cutting a turned part's blank shares one bar clamping among the pieces cut
from the bar the material line bills. Load/unload time, and the unit cost
with it, moves on those parts — mostly up on sheet, where the bought sheet
holds fewer parts than the bed — and choosing another format with
`stock_format_id` now moves the handling as well as the material.
`analytics.time_breakdown.derivations.load_unload.parts_per_fixture`
describes the pieces that share one loading at the order quantity.

**Changed** — **A plate ordered cut to size carries the supplier's cutting
charge.** When no sheet format holds a part's blank and the plate is
ordered cut to size, the quote books the supplier's cutting service on
`subcontract_cost` — its minimum charge per plate and its charge per
order — as it already does for a blank no saw of yours can cut; the
`cut_to_size_provision` note says so, with `kind: "sheet"` on the plate.
Its new `at_floor` is `true` wherever the fee per piece is the service's
minimum charge rather than a price for the cut: on every plate, and on a
sawn blank whose cut would cost less. Unit costs rise on those parts.

**Changed** — **A calibration is fitted again, on this release's quotes,
before it applies to this release's prices.** This release prices material
differently, and a calibration corrects the prices it was fitted against,
so one saved before it is no longer applied: the environment quotes
uncalibrated until its calibration runs again.
`GET /calibration/environments/{env_id}/next-best-evidence` asks for that
run first (`recalibrate_after_model_update`). A run compares each actual
only with a quote this release priced, because a fit against an older
quote would correct a price the model no longer makes:

- `auto-calibrate` and `auto-calibrate-from-erp` report a part whose quote
  at that lot size predates this release in `unmatched_part_ids`, like a
  part never quoted, and refuse when no part is left — quote the parts
  again, then retry.
- `POST /calibration/imports` counts such a part in
  `calculations_required` and prices it before it fits. Posting a file
  again that you imported before this release starts a new import instead
  of returning the old one.
- `POST /calibration/environments/{env_id}/finalize` fits only the
  observations submitted since this release, says in `message` how many it
  left out, and refuses when none is left: submit them again through
  `POST /calibration/outcomes` with predicted values from today's quotes.
- `POST /calibration/environments/{env_id}/teach` refuses a part the
  environment has quoted only before this release, naming it.
- `POST /calibration/environments/{env_id}/runs/{run_id}/revert` restores a
  run's calibration without the adjustment calibration no longer makes (the
  material quantity, now modelled), and answers `409` when the run fitted
  nothing else, leaving the active calibration as it was. The app's full
  calibration report lists that adjustment under `retired_drivers`; an API
  key or an agent reads the report's status-only view, as before.

**Changed** — **A what-if needs a calculation this release priced.**
`POST /calculations/{id}/preview` refuses a calculation priced before this
release with [`409 priced_under_earlier_model`](./errors.md): its cost
sheet is what the earlier version charged, so a new price worked out today
would move by everything the release changed, not only by the factor you
moved. Create a new calculation for the part revision and run it; that one
can be adjusted. A scenario kept on such a calculation records the same
code in its `result.refused`, and `arcnm_preview_cost` refuses the same
way.

**Fixed** — **Tuning shows the figure a child environment is priced
with.** `GET /environments/{env_id}/tuning`, and the response of `PUT`,
showed a knob that only a parent environment states at the platform
default, while the child's calculations used the parent's figure. Every
knob now reads the way calculations read it: `source` is
`environment_override` for this environment's own value,
`parent_environment` for one it inherits, else `platform_default`, and
`platform_default` keeps showing the platform's own figure beside it.
Naming a knob in `reset` clears this environment's own value, so the
knob inherits again — the parent's figure where the parent states one.
`learning_rate` belongs to each environment and is not inherited.

**Fixed** — `PUT /environments/{env_id}/shop-practice` said that
`standard` restores the platform behaviour. It removes this environment's
own answer: where a parent environment answers the question, the parent's
answer applies, and the response returns it with `source`
`parent_environment`.

**Fixed** — **A calibrated calculation's cost breakdown is its cost
sheet.** On a calibrated environment `analytics.cost_decomposition` scaled
every line by one factor, the calibrated price over the uncalibrated one.
A calibration per cost driver charges each line at its own factor and
leaves material alone, so that single factor put the machine and labour
calibration on `material_cost`, `material_purchased_cost` and both credits,
and `angebotspreis` differed from `analytics.offer_price`; on an
environment calibrated by one factor on the whole price, `freight_cost`,
`duty_cost` and the totals above them carried a calibration they are never
charged. Every line is now the amount the calculation's cost sheet charges
for it, the surcharges and totals are the sheet's, and `angebotspreis`
equals `offer_price`. The outsourced steps' charges
(`secondary_route[].cost_per_part`, `process_plan.operations[]
.subcontract_per_part`) follow the subcontract line they make up, and
`arcnm_explain_cost` states the same breakdown. Uncalibrated calculations
are unchanged.

**Fixed** — **Every lot size is stated in the calculation's currency.** On
a calculation in another currency than its environment's,
`GET /calculations/{id}/cost-sheet?quantity=` answered a quantity off the
lot-size curve (`basis: restated`) in the environment's currency under the
calculation's: the sheet, the `point` beside it — whose `unit_cost` stood
above the sheet it explains — and `arcnm_cost_breakdown` at that
`quantity`. A restated quantity is now on the basis of the priced lot and
the curve points. Calculations in their environment's currency are
unchanged.

**Fixed** — `arcnm_cost_breakdown` with a `quantity` other than the priced
lot returned `offer_price` null. It now states that lot's offer price, the
figure `GET /calculations/{id}/cost-sheet?quantity=` returns as
`point.offer_price`.

---

## 2026-09-25

**Added** — **Stock formats: the sheets your shop buys.** `GET /stock-formats`
lists the sheet formats calculations price with — the standard formats and
your own — and every row says in `resolution` what calculations do with it
(`priced`, `suppressed`, `closed`); `?at=YYYY-MM-DD` reads the list as it
stood on an earlier date. `POST /stock-formats` adds a format of your own,
optionally bought only in a thickness band or one material category;
`PATCH /stock-formats/{id}` edits it, and a new size, band or material
starts a new version under the same `key`, so calculations priced on the
old one keep their numbers. A `label` is stored as it reads: direction
controls and zero-width characters are removed, and a label with nothing
left to read is refused (422). `DELETE /stock-formats/{id}` retires it. A
standard format your shop does not buy is hidden with
`POST /stock-formats/{id}/suppression` and shown again with `DELETE` on the
same path. `GET /stock-formats/{id}` reads any version, retired ones
included. Each refusal has its own code in the
[errors guide](./errors.md).

**Added** — **Choose the format a calculation is priced on.**
`stock_format_id` on `POST /calculations`, `/quote`, `/batch` and
`/upload-and-quote(-json)` prices the part on that format instead of the
one that uses the least material. An id that names no format your
organization prices with today is refused with
`422 stock_format_unresolved` before anything is stored; an id from an
older version of a format you still buy prices on its current version.
When the part cannot be cut from the chosen format — or is not cut from
sheet at all, being milled, turned or bought finished — the calculation is
priced as if none had been chosen, and `analytics.pipeline_notes` carries
`stock_format_pin_unavailable` with the reason. The calculation detail and
list echo `stock_format_id`, and a re-run with
`derived_from_calculation_id` keeps it unless the request states another
format — or `null`. A comparison cell pinned to another format than its
row's anchor is flagged `config_mismatch`.

**Added** — When your formats decide how a sheet part is bought,
`analytics.pipeline_notes` says why the part was priced as a cut-to-size
plate instead: `stock_format_not_stocked` (no format on your list is
bought in the part's thickness or material),
`stock_format_machine_holds_none` (the machine cannot load any of them) or
`stock_format_no_fit` (none is big enough). An organization that has
neither added a format nor hidden one gets none of these.

**Added** — The calculation detail echoes `material_is_provided`,
`provided_stock_kind`, `surface_treatments` and `language`, as it does
`region`, so a re-run built from it is asked what the first run was asked.

**Fixed** — **An agent's re-run is priced on the first run's inputs.**
`arcnm_apply_adjustment` with `recalculate=true` sent only the part, the
environment and the lot, so the new calculation fell back to the create
defaults: a customer-supplied part was billed its material, and the grade
the caller chose, the quote currency, the dataset and the language were
dropped. It now states them again from the calculation detail — the grade
only when the caller chose it — as the app's own re-run does, runs the new
calculation instead of leaving it an unpriced draft, and reports
`recalculation_status`. A refusal after the environment was changed is
returned under `refused`, beside the writes.

**Fixed** — The multi-environment form of `/quote`
(`costing_environment_ids`, one entry included) ignored
`derived_from_calculation_id` and `language`: its calculations recorded no
parent, accepted a parent outside your organization, did not keep the
parent's stock format, and were stored in German whatever was asked. It now
follows the same rules as `POST /calculations`, including `404` for a parent
that is not one of your calculations.

**Fixed** — The materials guide and the ERP-integration and bulk RFQ triage
recipes named the `422` for a material the catalogue cannot match
`material_not_resolved`; the API sends
[`material_unresolved`](./errors.md#material-unresolved). The triage recipe
also listed it among the reasons a calculation fails: an unmatched
`material_ref` is refused when the request is sent, and no calculation is
created.

---

## 2026-09-23

**Changed** — **A laser nozzle's own cutting data now prices the cut.**
Rows on a `laser_nozzle` (`PUT /tools/{id}/parameters`: `speed_m_per_min`
and `tau_pierce_s` per material family, sheet thickness in `size_mm`) are
read by the laser handler the way a plasma set's chart already was: the
row nearest the sheet thickness supplies the traverse speed and the pierce
time, an environment override still wins, and the cost driver carries the
reason `tool_cutting_data` naming the tool instead of
`material_bin_fallback`. Stainless steel has a seeded N₂ cutting ladder of
its own (1–20 mm), so a stainless sheet no longer prices on the mild-steel
O₂ tier.

**Changed** — **Cutting-data rows are validated against the tool kind.**
A parameter must belong to the kind's vocabulary (`V_c`/`f_z`/`f_r`/`a_p`/
`a_e` on machining tools; `speed_m_per_min`/`kerf_mm`/`tau_pierce_s`/
`pierce_max_mm` on laser, plasma and waterjet consumables) and `operation`
must be one the kind runs (`GET /tools/catalogue` → `tool_kind_operations`).
A row that fails answers `422` with the field named in
`error.details.errors[].loc`, the same shape as every other validation
error.

**Added** — `GET /tools/{id}/effective-cutting-data` shows a laser nozzle's
and a plasma set's family × thickness ladder (`size_mm` on each row) and
states `own_rows_priced`: `false` for kinds whose handler resolves its
process bin without the tool tier (insert holders, boring bars, thread
mills, waterjet nozzles), where a stored row is reference data.

---

## 2026-09-15

**Added** — **A material catalogue of 536 grades.** Carbon, alloy,
stainless and tool steels, cast irons, aluminium, copper, titanium,
nickel and magnesium alloys, polymers and composites, reachable under
1,913 designations from 53 standard systems — so `1.0038`, `S235JR`,
`St 37-2` and `Fe 360 B` resolve to one grade. Lookup is format-tolerant:
`1,0553`, `X5CrNi18 10` and `AISI304` bind like their canonical spellings.
Every metal grade carries its mechanical properties with their basis
(minimum, maximum, typical); `GET /materials/attribute-vocabulary` states,
per property, what the costing engine reads it for.

**Added** — **Your own materials, first class.** `POST /materials/grades`
registers a grade private to your organization; `POST
/materials/grades/{id}/designations` teaches the catalogue the spellings
your drawings print; `PUT /materials/grades/{id}/override` states your own
properties on a catalogue grade. All three reach pricing and drawing
binding alike.

**Added** — **The learning queue.** A title-block material string that
binds to nothing lands in `GET /materials/unmapped-designations` with a
count and ranked suggestions. Map it (`/map`, optionally under a
`designation` spelling when the text as read is not one) and it binds from
the next calculation on; dismiss what is not a material with `/ignore`.

**Added** — **Workpiece material groups.** Every grade maps to one of 62
ISO 513 groups (`GET /materials/workpiece-groups`); an environment's
cutting-data table now carries the group axis beside the material axis,
and `workpiece_group_code` is on every grade projection.

**Changed** — Editing your material master data (grades, designations,
overrides, queue mappings) versions every costing environment of your
organization, so the next run of an affected part is priced rather than
served from the calculation cache.

---

## 2026-08-13

**Added** — **Comparisons say when calibration is uneven.** Calibration
corrects prices in the environment it was fitted for, so a calibrated
environment and an uncalibrated one are not a like-for-like comparison —
and nothing in the costs shows it. Comparison cells now carry
`calibration_cost_offset` and `calibrated`; a cell corrected differently
from its row's baseline is flagged `calibration_mismatch`, each
environment reports `calibrated_cells`, and the matrix sets
`mixed_calibration`. Flags, not exclusions: the deltas are real and stay
in the comparison. `arcnm_compare_environments` carries the same caveat
into its guidance.

**Added** — `material_ref` on `POST /calculations/batch`, so every
calculation entry point accepts a free-form material reference.

**Added** — `region` and `currency` on
`/calculations/upload-and-quote(-json)`, matching `/quote` and `/batch`.

**Added** — `coverage` on the `/calculations/bulk-retry` response, so a
parked retry carries the same top-up payload a batch submit does.

**Fixed** — **One material contract everywhere.** The multi-environment
forms of `/quote` and `/upload-and-quote` resolved materials through a
laxer path than their single-environment forms, so the same
`material_ref` was rejected with one environment and silently ignored
with two; `/calculations/batch` never validated `material_grade_id` and
returned 500 for an unknown one. All entry points now answer identically
with `422 material_unresolved` plus ranked candidates.

**Fixed** — **Identical re-runs are free again.** The dedup key was
computed after the run recorded the material read from the drawing, so a
re-run of the same part could never match it and was billed a second
time.

**Fixed** — **Calibrating an environment retires its cached prices.**
Publishing a calibration left the dedup key unchanged, so identical
re-runs kept returning pre-calibration prices for the rest of the
billing window.

**Fixed** — `/calculations/bulk-retry` now serves an identical prior run
from the cache like `/calculations/{id}/run` does, instead of re-running
and re-billing it.

**Fixed** — `/calculations/batch` now honours `surface_treatments`,
`raw_material_strategy` and `language`, which it documented and dropped.

**Fixed** — `material_unresolved` is documented in the
[errors guide](./errors.md) and its `doc_url` resolves. The
quote-a-part recipe named a code (`material_not_resolved`) that the API
never emits.

---

## 2026-08-11

**Added** — **Multi-environment runs.** Pass `costing_environment_ids`
(up to 16, in comparison order) on `/calculations/quote`,
`/calculations/upload-and-quote(-json)` or `/calculations/batch` to
price each revision in every listed environment with one request — the
file is uploaded once, the runs share a `batch_id`, and the response
lists them in `environment_runs`. Each (revision × environment) cell is
one calculation against your plan quota; a grid the remaining quota
can't cover never runs in part — `/calculations/batch` rejects it whole
(`402 quota_exceeded` with `cells_requested`/`cells_available`), while
`/quote` and `/upload-and-quote(-json)` save the cells parked `blocked`
and the 402's `details` also carry `batch_id`/`parked_cells` so a
post-top-up retry resumes that batch.

**Added** — **Environment comparison.**
`GET /calculations/batches/{batch_id}/comparison` and read-only
`POST /calculations/comparison` return the parts × environments matrix
server-side: per-cell costs and times, the cheapest environment per
part (ties included), deltas vs the cheapest and vs your baseline
(anchored on your baseline environment when it is in the grid, else
the grid's first environment), per-environment wins and basket totals,
staleness and mixed-currency flags.

**Added** — `POST /calculations/batches/{batch_id}/cancel` cancels a
whole batch in one call; `GET /calculations` gains a `batch_id` filter
and list items now carry `costing_environment_id` and `batch_id`.

**Added** — MCP: curated read-only tool `arcnm_compare_environments`
and prompt `compare_environments`.

---

## 2026-06-01

**Added** — Public developer portal at
[arcnm.io/docs](https://arcnm.io/docs): quickstart, authentication,
concepts, recipes, SDKs, and a full API reference.

**Added** — The API reference is now **auto-generated from the public
OpenAPI spec** on every build, so it can never drift from the running API.
Each endpoint ships request/response schemas, enum values, multi-language
samples (cURL / Python / TypeScript), and example responses.

**Added** — Machine-readable docs for AI tooling: `llms.txt`,
`llms-full.txt`, per-page Markdown, and an interactive
[API explorer](./api-explorer.md).

**Changed** — Every public endpoint now declares a typed response model, so
the generated schemas are complete.
