# Changelog
One entry for each release. A release is the tag `v<version>` in this repository, and the crate on crates.io
(`cargo add commandagi`) from 0.6.10. The Python and TypeScript SDKs carry the same minor version. A version
promises nothing about the next one: read this file before you change the tag you pin.
## 0.6.10 (2026-11-24)
Added
- `commandagi::client`: the platform client, with no dependency (requests go through `curl`, or a `Transport` of your
own): `CommandAGI::from_env()`, `threads()` (`create`, `send`, `events`, `get`, `list`, `kill`, `delete`), `launch()`
of a world you drive and its `Session` (`controls`, `act`, `describe`, `sim()` with `run`, `pause`, `step`, `speed`,
`reset`, `ik`, `pose`, `grip`, `stop`), frames (`observe`: the `cam-head` JPEG; `observe_channel("depth")`: the
16-bit PNG; `frames`, `observe_changed`) and `call(tool, json)` for any platform tool.
- The crate is on crates.io: its metadata (homepage, documentation, keywords, categories), and examples (`threads`,
`drive_a_sim`, `readme`).
Changed
- `git.rs` points a cloud folder's request at `client::Curl`.
- The patch number is ahead of the Python and TypeScript SDKs (0.6.9): only the Rust crate changed.
## 0.6.9 (2026-11-23)
Added
- Connectors: an entry's `picture` (the source's own picture of it: a url, absolute or under the base, on a declared
host; its files inherit it), and the template filter `|fit:<px>` (of a list of images, the narrowest at least px wide).
- 3D documents: `<replaceFace face surface>`; `<trimSurface toolBody>` (trim by another surface; `tool` is now
optional); `<untrimSurface edges>` (fill the opening an open edge bounds).
- 3D documents: surfaces (`surface` on `<extrude>`, `<revolve>`, `<sweep>`, `<loft>`; `<trimSurface>`,
`<untrimSurface>`, `<extendSurface>`, `<stitch>`, `<offsetSurface>`; `<thicken bodies>`), construction geometry
(`<datumPlane method>` with midplane, two edges, axis and point, three points, tangent, along an edge and
perpendicular; `<datumAxis>`; `<datumPoint>`; an axis `{ type: "datum", axis }` and a point `PointRef`), a tapped
hole (`<hole style="tapped" thread threadDepth threadKind>`), and the history's groups and rollback marker on the root
(`<part groups rollback>`).
- `commandagi::design::scene_agents`: the agents a design's scene attaches to its robots or their joints:
`check_scene_agents`, the same as the TypeScript SDK's `scene-agents.ts`.
- `commandagi::design::scene_people`: a person in a scene: the human avatar's look, the humanoid policy, the goal, motors and assist
commands, `HUMANOID_JOINTS` and their checks, the same as the TypeScript SDK's `scene-people.ts`.
- `commandagi::design::factory`: a station's `energy_j` and `cell`, as the TypeScript SDK's.
- `commandagi::design::factory`: a factory in a design's scene, the `flow` system: `check_flow_system` and
`machines_for`, the same as the TypeScript SDK's `factory-flow.ts`.
- `storefront().banner(…)` and `company().banner(…)`: the banner of the profile, a ref to a picture (relative to the file,
or an address) or a colour (`#1f6feb`). A file that names none keeps the colour its name gives.
- `storefront().checkout(…)`: who completes a relisted purchase, `agent` (the holder buys or books it for the person, and its price holds)
or `seller` (the person is sent to the seller's own checkout; no hold). Any other value is refused.
Changed (a company file that wrote `compliance().industries(…)` needs an edit)
- Classification (`classification.rs`; CommandAGI's docs/formats.md § classification): `company()`, a company's `product()`
and a `products::product()` take `codes` (standard codes as `scheme:code`: business schemes naics, nace, isic, sic, anzsic, jsic;
product schemes unspsc, gs1, hs) and `tags` (free words, lower case, trimmed). A code of an unknown scheme or out of its
scheme's grammar is refused by name; a product takes product schemes only. `compliance().industries(…)` is removed: write the
codes on the company (`company([…]).codes(["naics:541370"])`); the register reads the company's business codes.
`business::company_of` returns `Result<Json, String>`.
Changed (a song written before this needs an edit)
- The sound kernel's presets `nylonGuitar`, `steelGuitar`, `electricBass`, `harp`, `grandPiano`, `pianoFelt`, `violin`, `viola`, `cello`, `doubleBass`, `marimba`, `vibraphone`, `glockenspiel`, `flute`, `clarinet`, `saxophone`, `trumpet`, `electricPiano` and `pipeOrgan` are tones measured on real instruments, of the kind `measured`. A song that names
one with the kind it had (`instrument().kind("string").preset("violin")`) is refused by name: write `instrument().kind("measured").preset("violin")`, or the preset alone
(`instrument().preset("violin")`). The fields of the kinds they were (`bow`, `hardness`, `bore`, `operators` …) are not theirs; the fields
of `measured` are `brightness` (dB an octave), and factors on what was measured: `attack`, `decay`, `release`,
`noise`, `vibrato`.
- `voice_remove()` and `voice_isolate()` take `method` `"model"` (the default: a trained separation model, where the place that runs the song has
it) or `"classical"` (it was `"combined"`); `"center"`, `"melody"` and `"repet"` stay. Where no model runs, `"model"`
is the classical method.
- A song's meter is `song().meter(…)` (it was `song().time_signature(…)`); `time_signature_of` is `meter_of`. A meter may be written in groups (`"2+2+3/8"`).
- A track's instrument is `instrument().kind(…).preset(…)` of the sound kernel, and an effect's fields are the kernel's.
`synth()` and `sampler()` are removed: write `instrument().kind("subtractive").oscillators(json(r#"[{"shape":
"triangle"}]"#))` (or a preset: `instrument().preset("grandPiano")`) and `instrument().kind("sampler").zones(json(
r#"[{"src": "media/tone.wav", "root": 69}]"#))`. The five effects with fields of their own take the kernel's:
`gain().gain_db(…)`, `filter().hz(…)`, `delay().time(…)` (seconds), `reverb().rt60(…)`, `eq().bands(…)`. An effect
node's spec is `{"kind": …, fields as written}`, with no default added. `WAVES`, `.wave(…)`, `.transpose(…)`,
`.root(…)` and `.time_beats(…)` are removed; `.oscillators(…)` and `.zones(…)` are added.
Added (media)
- The sound kernel's instrument kind `measured`: an instrument as the tones measured on a real one. It names one of
the kernel's tables (`instrument().kind("measured").table("cello")`), or holds its own `held` and `tones`.
- A song's effects `voice_remove()` (the lead voice taken out of a recording: an instrumental) and `voice_isolate()`
(the voice kept alone), the sound kernel's two outputs of one separation; a field without a method is set by name
(`voice_remove().attr("method", "melody")`).
- The sound kernel's instrument kinds `wavetable`, `granular`, `stack` and `fx`, and the drum machines as a `drums`
instrument's `kit` (`"808"`, `"909"`), are `instrument().kind(…)` with their fields: `.sound(…)`, `.layers(…)`,
`.table(…)`, `.position(…)`, `.position_envelope(…)`, `.unison(…)`, `.spread(…)`, `.filter(…)`, `.semitones(…)`,
`.tone(…)`, `.drive(…)`, `.glide(…)`, `.pitch_envelope(…)`, `.pitch_decay(…)`, `.lfo_rate(…)`, `.lfo_depth(…)`,
`.warp(…)`, `.warp_amount(…)`, `.fm_ratio(…)`, `.source(…)`, `.root(…)`, `.density(…)`, `.scan(…)`, `.freeze(…)`,
`.jitter(…)`, `.pitch_spread(…)`, `.pan_spread(…)` and `.reverse(…)` (any other field is `.attr(name, value)`). An
instrument with no kind names the kinds in its refusal.
- A song's `note()` may say its expression, passed to the sound kernel as written: `.articulation(…)`,
`.pitch_curve(…)`, `.amp_curve(…)` and `.timbre_curve(…)` (points `[seconds, value]` over the note's own time) and
`.params(…)` (the per-note values its instrument reads). Its pitch may be a number with a fraction (a note read
from a recording).
- A song's structure and performance: its `key`, `style`, `seed`, `form`, `rules` and `tuningHz`, and `player()`, `instrument().kind(…).preset(…)`, `motif()`, `section().harmony(…)`, `voice()` with `notes()`, `use_().motif(…).transform(…)`, `counterpoint()`, `accompany()`, `harmonize()`, `drums()` and `rest()`, `phrase()`, `tempo()`, `ending()`, `groove()`, `room()`, `bus()`, `send()` and `master()`.
`song_structure` names every tag, its attributes and what it holds. Each element is one `score.<tag>` node with its
attributes as written; the CommandAGI music app reads them as a score, performs it and renders it.
- The sound kernel's other effect kinds by tag: `pitchShift`, `harmonizer`, `autotune`, `shimmer`, `bitcrush`, `ringMod`,
`frequencyShift`, `waveshape`, `tapeStop`, `stutter`, `reverse`, `lofi`, `granular`, `spectralFreeze`, `haas`, `autopan`,
`rotary`, `denoise`, `declick`, `dehum`, `dcBlock`, `polarity`, `loudnessMatch`, `clipper`, `dynamicEq`, `upwardCompressor`
and `expander`. An audio clip's `stretch` (0.25 to 4: its span that many times as long at the same pitch),
`stretchMode` (`vocoder` or `wsola`) and `reverse`.
- An effect's `sidechain`: the name of a track, a player or a bus whose sound the effect listens to (a pad ducked
by the kick). The sound kernel's `duck` (down by its amount while the key sounds) and `vocoder` (its sound played at
the key's level in each band).
- The sound kernel's instruments on a track (an instrument with a `kind`) and its 21 effect kinds by tag (`gain`,
`pan`, `width`, `eq`, `filter`, `compressor`, `multiband`, `limiter`, `gate`, `transient`, `deesser`, `saturate`,
`exciter`, `delay`, `chorus`, `flanger`, `phaser`, `tremolo`, `vibrato`, `reverb`, `convolve`); a track's `place`,
`out` and sends.
Added
- `commandagi::design::storefronts`: `storefront([offers().listings(…).read(…), offer().name(…).kind("service"|"good")
.price("25.00 USD").unit(…).codes([…]).tags([…])]).name(…).venue(…).seller(…).seller_record(…).seller_id(…).url(…)
.source(…).hold(…)`: the storefront document of `<name>.storefront.rs` (CommandAGI's docs/formats.md § a storefront in
code). The holder is the account whose Drive holds the file, never an attribute.
- `commandagi::design::business`: `.website(..)` on `company()`, and `address()`, `stock()` and `owner()` with
`ProfileAttrs`, the company's legal profile, read as the document's `website`, `addresses`, `stock` and `owners`.
- `commandagi::design::scripts`: `publish().rule(..).when(..)`, the script's own records folded into plain files by a
rule of the ontology, by program (`PUBLISH_RULES`: `capital`); a script's `publishes` is always a list.
- `commandagi::design::market`: an option contract is one `sym` in one spelling, `AAPL 2026-12-18 C 200` (the
underlying, the expiry, C or P, the strike, and `x<multiplier>` only when it is not 100). `option_symbol` writes it,
`parse_option` reads it (an `OptionContract`), and a `sym` with a space spelled any other way is refused by name. An
`order()` and an `amend()` may say `.effect("open" | "close")`.
- `commandagi::design::opportunities`: an opportunity (`<name>.opportunity.rs`) and an experiment
(`<name>.experiment.rs`), the same documents as the TypeScript SDK's `.opportunity.tsx` and `.experiment.tsx`
(`opportunity`, `contact`, `action`, `evidence`, `move_`, `draft`, `experiment`, `arm`, `objective`, `decision`;
`.ref_()` is `ref`). Each refusal is by name.
- `commandagi::design::products`: a product, `<name>.product.rs`, the same document as the TypeScript SDK's
`<name>.product.tsx` (`product`, `variant`, `discount`; `.price_cents()`, `.compare_at_cents()`, `.stock()`,
`.options()`, `.weight_grams()`, `.amount_cents()`, `.starts_at()`, `.ends_at()`, `.usage_limit()`). A physical
product with stock and a pre-order `deposit`, or a digital product with each variant's `file`; a discount takes a
`percent` or an `amount_cents` off, by its `code`, in a window. Each refusal is by name.
- `commandagi::design::carts`: a buyer's cart at one seller, `Carts/<seller>.cart.rs` (`cart`, `item`, `offer`;
`.seller()`, `.sku()`, `.listing()`, `.qty()`). A cart names no price.
- `commandagi::design::connectors`: a remote API as a folder tree, `<name>.connector.rs`, the same document as the TypeScript
SDK's `<name>.connector.tsx` (`connector`, `credential`, `licence`, `folder`, `request`, `here`, `each`, `dir`, `file`;
the attributes `in`, `as` and `is` are `in_`, `as_`, `is`). A connector that would make an impolite or unreadable
request is refused with why.
- A fact a company or a brand does not know is `facts::unknown("<why>")`, and one it knows only roughly
`facts::about(<value>)`. Any attribute takes either, a required one too.
- `product()` (`.maker()`, `.seller()`) and `relationships()` in a `company()`; `compliance().horizon(…)`;
`ip_asset().claimants([…])`.
- A brand's `site().url(…).host(…).project(…)` for a site hosted elsewhere; `domain().transfer_lock(…)`;
`mailbox().address(…).kind(…)`.
- A script (`scripts.rs`, a `<name>.script.rs` anywhere in a Drive) replaces a monitor: `script([...])` holds
`source()`, `tail().of(..).when(..)` (a script file, a run's `records.jsonl` or a series such as `fred:DGS10`, never
a folder: `tail_ref_problem`), `derive()`, `wake()` (`.when(..)`, a record predicate, or `.every(..)`, never both),
`discover()` and `judge()`; a source, a tail and a derive say `.stream(..)`, which `script_with_defaults` fills as
`records`. The same document as the TypeScript SDK's `scripts.ts` (one golden fixture, `tests/script_wake.json`).
- A script's `param().id(..).type_(..).label(..).default(..).required(..).choices(..).accept(..)` (`SCRIPT_PARAM_FIELDS`,
`SCRIPT_PARAM_TYPES`: file, device, world, unit, channel, run, stream, number, string, choice) makes it a template;
its document's `params` is always a list, and `script_with_defaults` fills `label`, `default`, `choices` and
`accept` as null and `required` as true. A choice names its choices; a param declared twice is refused. A
placeholder `${name}` as a whole value passes a tail's, a derive's port's and a discover's file checks
(`tail_ref_problem`, a discover's `class`): its copy fills it. The same as the TypeScript SDK's `scripts.ts`.
- A session names the scripts that read through it: `session([uses().script("<ref to a script file>")])` (document
`uses: [{"script": …}]`, `session_with_defaults` `uses: [<ref>, …]`), in place of `uses().monitor("<folder>")`.
goes when the platform reads scripts only.
- A company's deals (`company_deals.rs`, re-exported by `business`): `deal().id().title().counterparty().stage()
.value().currency().expected().closed().owner().since().source().note()` in a `company()`, its sales pipeline. The
company document gains `deals` only when the file writes one. The same in the TypeScript and Python SDKs (one golden
fixture, `tests/company_deals.json`).
- A board's `fab()` states the house's other least dimensions, as KiCad's board setup states them:
`.min_via_diameter()`, `.min_hole_clearance()` (copper to a hole), `.min_hole_to_hole()` and
`.min_edge_clearance()` (mm), and `.via_in_pad()` (true or false: the house fills and caps a via in a pad, so a
net's via may stand in its own pads). The same in the TypeScript and Python SDKs.
- A definition's declared bounds and interlocks (`ontology.rs`): `bound().channel().field().min().max().max_rate()
.max_speed()` folds into its channel's `bounds`, and `interlock().name().channel().requires().why()` into the
definition's `interlocks`; a world's `interlock().unit()` guards one of its units by another's state. The host's
admission gate holds them for every channel, driver or not. A `bounds` or `interlocks` attribute is refused.
- A company's governance, compliance, IP and insurance (`company_governance.rs`, re-exported by `business`):
`seat()`, `compliance()`, `obligation()`, `evidence()`, `ip_asset()`, `assignment()` and `policy()` in a
`company()`, and `vote()` in a `paper()` (which gains `body`, `threshold` and `quorum`); their attributes are
`GovernanceAttrs`. The same in the TypeScript, Python and Rust SDKs (one golden fixture, `tests/company_governance.json`).
- `company([...])` takes `subsidiary().file(..).ownership(..)` (each its own company file, by ref) and
`paper([signature()..., version()...]).kind(..).file(..).status(..)`; a paper is `paper()`, not `document()`, the
name of a file's root function. The document gains `subsidiaries` and `papers`, absent when the file names none. The
same in the TypeScript and Python SDKs (CommandAGI's docs/company-substrate.md).
- `body().material(…)` is a physically based material: a `preset` (now with `anodized-aluminum`, `stainless-steel`,
`abs`, `pbt`, `pc`, `petg`, `pla`, `glass`, `pcb`) and the fields it changes (`ior`, `transmission`, `thickness`,
`clearcoat`, `clearcoatRoughness`, `anisotropy`, `emissive`, `emissiveIntensity`, `texture`), checked against the
schema's `BodyMaterial`. The same in the TypeScript, Python and Rust SDKs (one golden fixture, `tests/materials.json`).
A material given as a string is refused: it is an object.
- `<wake agent maxSpend>`: a wake names an agent of the account (the thread seats it and the wake goes to it) and bounds what
one wake may spend on model calls, in US dollars. The same in the TypeScript, Python and Rust SDKs (one golden fixture).
- `contact().id().a().b().collide().friction().restitution().report(…)`: a contact pair of a 3D document
(`dynamics.contacts`), the same in the TypeScript, Python and Rust SDKs (one golden fixture): its sides named as a
check names bodies (no `b`: the floor), its own friction and restitution, and what a run records of it.
- A scout's `kernel` check takes a part's whole spec, the same in the TypeScript, Python and Rust SDKs (one golden fixture): a size as
deviations, a range or an ISO 286 class by name (`{ nominal: 30, class: "H7" }`, checked against the SDK's own class
tables); `holes` as groups (`count`, `diameter`, `through`, `depth`, `axis`, `at`, `position`); `mass` with its density;
`gap`; `gaps`, a gap for each named pair of bodies; and `faces`, the distance between two named flat faces (`{ body?, at,
normal? }`, as a PMI anchor names a face), for a wall's thickness or a step's height. A malformed one is refused by name.
- `rod()` and `port()`: a rod (a wire, a lead, a string, a hair, a flat flex) is a 3D feature with its section, its material (a
rods row: a wire's layers) and its ends held at ports or on bodies; a port is where a rod's end can be held (a pad,
a socket, a breadboard's row of them), the document's `ports`. A placement's `ends` holds its file's rods' ends.
Changed
- `check().sweep(json(r#"{"joints": ["X", "Z"], "step": 10}"#))` names the joints it moves (was `joint`). Several joints are
swept as a grid, and a loop a swept joint closes is solved at each pose. The same as the TypeScript SDK.
Added
- A workflow step waits for an approval: `step([…]).approval("agent:reviewer role:release-manager")` names who may
give it: a principal (`agent:<id>`, `person:<id>`), a role (`role:<name>`) or the holder of a grant that covers an
address (`grant:<address>`). A note step takes none. The same as the TypeScript SDK.
- `commandagi::design::monitors`: `judge().id("claims").of("task").rubric("./rubric.md").model("fireworks/glm-5p3")`, a
judge of the monitor's thread: when a turn (`of("turn")`) or a task's turn (`of("task")`) ends, the model reads the
trace with the rubric and its verdict is a record of the thread. `judges` is always a list. The same as the
TypeScript SDK.
- A tactile skin on a face of a body: `tactile().id("pad").body("Jaw").at([-20, 0, 20]).normal([1, 0, 0]).along([0, 1, 0]).rows(4).cols(4).pitch(5)`
(the document's `tactile` list). The same as the TypeScript SDK.
- A scout's case may be checked by the kernel: `check(json(r#"{"kernel": {"as": "plate.3d.tsx", "expect": {"volume": 13928.8,
"bbox": [60, 40, 6], "bodies": 1, "holes": 4}}}"#))` builds the answer as a solid and holds its measures;
`"as": "divider.sch.tsx"` reads it into its netlist and holds `parts`, `nets` and `connections`. The same as the
TypeScript SDK.
- `joint().requires(json(r#"{"j_lid": 100}"#))`: a joint moves only while other joints sit at a pose (a value, or a range
`[from, to]`), and `check().sweep(json(r#"{"joints": ["j_lift"], "with": {"guard": 60}}"#))` holds other joints at a
value. The same as the TypeScript SDK. For microfab: IC1-22 and PCBC-24 are closed; ROUTER-12 (the whole machine's
check at fine sweep steps) does not reproduce: the router at steps 5 / 5 / 2 runs whole in 107 s with the same
verdicts as at 20 / 10 / 5.
- `commandagi::design::schematic`: a part says KiCad's reference when another part has it too, `part("POLY_2").reference("POLY")` (said only when it is not the name). `commandagi::design::pcb`: `component().library(…)` takes a footprint id with no library nickname as KiCad wrote it, `.footprint("POLY")`. The same as the TypeScript SDK.
- `commandagi::design::records`: a calibration's `joint()` may carry its measured travel `.min()`/`.max()` (the bus's raw values, min < max) and `.reversed(true)`; `calibration()` takes `.by()` and `.at()` (who measured it and when). The same documents and refusals as the TypeScript SDK.
- `commandagi::design::infra`: a VPN exit, a logged-in state and a vantage as `exit.rs`, `session.rs` and `vantage.rs`, the same
elements and documents as the TypeScript SDK's `exit.tsx`, `session.tsx` and `vantage.tsx`, with the same refusals.
`exit_with_defaults`, `session_with_defaults` and `vantage_with_defaults` fill what a file does not say. The
CommandAGI platform runs only the TSX files: its monitors read `vantage.tsx` and `session.tsx`, and `make infra-plan`
reads `exit.tsx`.
- `commandagi::design::threed`: the `curve` element and the methods its fields and a sweep's take: `start_tangent`,
`end_tangent`, `tangents`, `tangent_scale`, `frame`, `up`, `guide`, `twist`. A `.3d.rs` now writes
`curve().id("lead")…` and `sweep().path(json(r#"{"curve": "lead"}"#))`, as Python and TypeScript do. The entry of
0.6.7 named this element and no version had it.
- A machining setup's `machine` states its own travel: `travelMm` (`travel_mm` in Python and Rust), `[x, y, z]` in mm. A
stated travel holds a setup that names no unit, and the unit's definition does not replace it.
- A supplier's price break takes `unitPriceHigh`, an estimate range with `unitPrice` its low end, as the TypeScript and
Python SDKs do: `{"quantity": 10, "unitPrice": 9.15, "unitPriceHigh": 9.6}`. A high end under `unitPrice` is refused,
and the refusal says the same words as theirs.
- An `override_([]).artboard(…)` takes `.no_keys(["opacity"])`: the clip's keys of those properties do not show on
that artboard. An `override_()` in an `effect()` holds `keyframe().param(…)`s, that artboard's own keys of the param, and
takes `no_keys` of params.
- A part states its steady `draw` (`draw="120 mA"` or `"1.2 W"`, a KiCad property `Draw`). A system's load that states
no current or power names a circuit part (`part="ee/main.circuit.ts#U1"`), and `commandagi check` reads the part's draw.
- A link budget: `quantity="rf-link"` with `frequency` (Hz) and `range` (m) on the budget, and contributions in `dBm`
(with `end="tx"`, the power sent, or `end="rx"`, the receiver's sensitivity) and in `dB` (gains +, losses -). The
check adds the free-space path loss and passes when the margin is at least the limit (dB).
- An interface states its `<channel format dir medium dialect transport>`; `commandagi check` holds a definition or a
unit side's channel to each field it states.
- A data sheet: `sheet([]).name(…).source(…).query(…).format(…)` reads a file beside the workbook, an http(s) URL or
`surface:<id>`, as the TypeScript SDK's `<sheet source>` does; it holds no cells, columns or rows.
- A video's `clip().link(…)`: two clips of one video file with the same `link` are its picture and its sound, patched
to two tracks at once. A video file on an audio track is its sound (a clip of kind `audio`); a still there is refused.
- A drawing's compound shape is `compound([…]).op(…)` (`unite`, `minus`, `intersect` or `exclude`): it holds its shapes
and draws their Pathfinder result live, so each shape stays editable. It replaces `boolean`, which a drawing no longer
reads; a file that wrote `boolean([…]).op("subtract")` writes `compound([…]).op("minus")`.
- A camera unit's calibration takes `camera().channel(…).intrinsics(json(…)).extrinsics(json(…)).residual(json(…))`
with `.robot(…)`, `.marker(…)`, `.run(…)`, `.reality(…)`: the lens, the camera in the world, the residual and the run
that measured it with its reality (the TypeScript SDK's `<camera>`).
- A board's `<component>` takes `locked` (KiCad's footprint lock, `true` or left out), so a KiCad board's locked footprints keep the
lock through the code and back to a `.kicad_pcb`.
- A schematic's code part takes `.suppressed(true)`: a suppressed part is not run and declares nothing (the graph's
disabled node).
- A board's `trace()` takes `.rule(…)`, its routing rule: "45", "90" or "any" (the default). A value off these three is
refused.
- A market recording (`<name>.market.rs`, `commandagi::design::market`): `market([…])`, one element per record in time
order (`note`, `quote`, `trade`, `book` with `bid`/`ask`, `news`, `position`, `fill`, `order`, `order_update`,
`cancel`, `cancel_update`, `amend`, `amend_update`, `account` with `holding`/`open_order`/`problem`). Every field is
text; a price or a quantity is decimal text (`"185.09"`) and a number is refused by name. `market([])` declares
`{records: []}`, as `empty()` does.
- A step-response study's `tune().joint(…).kp([low, high]).kv([low, high])`: the bounds the validation planner may
search a joint's gains in when the study fails; what it finds is proposed as an edit of the unit's calibration.
- A study of kind `step-response` (`.units("rad-s")`, `STEP_RESPONSE_UNITS`): `step().id(…).joint(…).from(…).to(…)`
(each solved alone), `gains().joint(…).kp(…).kv(…)` (the gains to try on a joint), `response().duration(…).dt(…).band(…)`;
a `criterion()` names the `.step(…)` it reads. Its `part` is a `definition.tsx` or a unit of a world (`world.tsx#<uid>`).
- A unit's calibration (`<name>.calibration.rs`, `commandagi::design::records`): `calibration([…]).device(…).serial(…).note(…)`
with `joint().name(…).zero(…).kp(…).kv(…).run(…)` and `rezero().joint(…).zero(…).at(…).by(…).reason(…)`, the unit's
re-zeros oldest first. A world unit names it by `.calibration(…)`.
- A side places the interface's frame by `rotation` (degrees, counter-clockwise) and `face` (`back`: read from the
mating part, the frame mirrored through its y axis, so a hole or pin placed on it is mirrored too).
- A painting's or a photo's `mask([]).of("Name")` names a layer the stack shows, by its `name`, and wires the masked node to it; the element holds no layer of its own.
- `El::attr("name", value)` sets any attribute by its TypeScript name, so a field no module trait lists (a port of a
node type of your own, a media effect no spec names) compiles: `node().id("blur").attr("cutoff", 4)`. The getter is
`attr_of`; `with_attr` stays the same call.
- `.sch_style(…)`: a placement's De Morgan body style, which selects the pins and body the library draws for it. 1 is the default and writes nothing.
- `commandagi::design::scouts`: the scouts' two documents, the same as the TypeScript SDK's `scouts.ts` (docs/scouts.md
in the CommandAGI repository):
- `scout([case()…, configuration()…, workload([...])…, judge()…]).budget(…)` (`<name>.scout.rs`): one comparison of
configurations on the cases of each workload, scored by a check (`exact`, `oneOf`, `number`, `contains`, `regex`,
`json`, `letter`, `literal`, `tool`, `program`) or by a judge panel, with the verdict's rules (`budget`, `repeats`,
`margin`, `relative_margin`, `error_floor`, `min_calls`, `min_cases`, `resamples`, `alpha`, `seed`, `max_cases`). A
case's `.from_(…)` is `public`, `synthetic` or `own-run`; nothing else may be a case. This crate has no regex
engine, so a `regex` check's pattern is text here and is compiled by the run.
- `replacement([layer([capability([evidence()])])]).product(…).as_of(…)` (`<name>.replacement.rs`): what replacing a
product would cost, by layer and capability, with the decision and the economics.
- A monitor source names the connected account it reads as (`<source connection="gmail@jacobfv123@gmail.com">`); the api worker reads it (`via="worker"` only).
- `<component refRot={90}>`: how far a part's reference text is turned where it sits, in degrees, in the footprint's own frame (the placer turns a text it has no upright place for).
- A world unit declares `tilt_deg`: how far its front is raised above level, in degrees (positive up; absent is
level). A video channel declares its lens as `fieldOfViewDeg`, `frameAspect` and `lensAtMm`, which the world view and a
world's coverage test read alike.
Added
- A load states its `duty`: the share of time it draws (`duty={0.25}`, a number in (0, 1]). A power budget takes
its average draw; a peak budget takes the whole draw at the peak. A load's `inrushCurrent` (A) is its peak at
switch-on when it is more than its peak draw.
- An agent declares its `supervisor` (`<agent supervisor="agent:lead">`, `agent:<id>` or `person:<id>`): a thread's
membership takes it at join, and a person's supervise of that member overrides it.
- An interface's `<param>` states a number with its unit, or a text a channel states (a `format`, a `dialect`,
a `transport`: `<param id="framing" value="8N1" />`) and then no unit. A side's `params` maps such a field
to it, and the check compares the texts: a definition's channel and a firmware `#define` alike.
- A side states where the interface's frame sits on it with `rotation` (degrees counter-clockwise) and `face`
(`top`, or `bottom` for the side seen from the mating board, whose frame is mirrored): a 3D deck turned a
quarter turn, or read from underneath, matches the same hole pattern.
Changed (a document written for 0.6.8 may need an edit)
- `compound([…]).op("zork")` is refused at declaration, in the draw graph's words: `compound.op is unite, minus, intersect or exclude,
not "zork"`. It used to declare and then fail to draw. An `op` that is not a string was drawn as `unite` and is
refused too. No `op` is still `unite`.
- A board holds its copper to what it has: a `trace()`, `arc()`, `via()` or `pour()` on a layer that is in
neither the board's layer table (`BOARD_LAYERS` when it gives none) nor a conductor of its `stack()` is refused at
declaration ("the board has no copper layer X.Cu (it has F.Cu, B.Cu)"). A via whose two ends are one layer is refused.
A board with inner copper states it, in `layers` or a `stack()`.
- `commandagi::design::evals`: a metric's `probe` names a task file (`{"kind": "task", "task": "<ref>"}`, an
`alignment`'s `reference.task`) or another metric file (a `composite` input's `metric`) by ref; a probe that names
one by node id (`taskId`, `metricId`) is refused with why, as the platform's routes and reader refuse it.
Fixed
- A part's `eda.part.` type hashes each pin's label (`1 A` for a pin with a name), as the format's rule says and as
the TypeScript and Python SDKs do. It hashed the number alone, so a circuit with named pins declared other sockets
than the same circuit in `.sch.tsx`. `part_type_for` takes each pin's name. A name is trimmed as JavaScript trims.
- 3D: a placed file's `<joint>`s come with it, as `<placement id>/<joint id>` at any depth (`dock_a/palletLift`,
`bay_1/dock_a/palletLift`). Each is placed as the file's bodies are (its anchor, axis and references), with its
`fixed` chain, so a sweep in any document above moves what the joint moves in its file:
`sweep={{ joint: "dock_a/palletLift" }}`. No level restates a joint (CORE-58, IC1-20, PCBC-22, ROUTER-02). A joint
whose `a` or `b` the placement leaves out (`omit`) goes with it; a `moves` entry that moves only its `a` along the
joint (a latch closed, a lid opened) shifts its `limits` by that value, so the sweep still stops where the file
says. Needs a host of this version (`commandagi check` links the placed files).
Removed
- `domain().mail()`: a domain receives mail when the brand names a `mailbox()` at it.
- The monitors vocabulary (`commandagi::design::monitors`, `monitors.rs`: `monitor()`, `follows()`,
`monitor_with_defaults`): scripts (`commandagi::design::scripts`) replace it. A session's `uses().monitor(..)` is
`uses().script(..)`.
## 0.6.8 (2026-10-23)
Added
- `commandagi::design::monitors`: `derive()` (an operator over other monitors' records, a folder per port) and
`discover()` (each thing a monitor's records name gets a folder and a thread of its own; its `into` is written
`into_`); a monitor's `same_as`, a source's `vantage` and a follow's `where_`. A monitor's document always has
`derives` and `discovers`. The same as the TypeScript SDK's `<derive>`, `<discover>`, `sameAs`, `vantage` and `where`.
- `commandagi::design::twod`: `engrave().id(..).src("logo.png").x_mm(..).y_mm(..).width_mm(..).height_mm(..).dpi(..)
.dither("ordered")` in a `nest([...])`, an image burned on the first sheet (with `.power_pct()`, `.min_power_pct()`,
`.feed_mm_min()`, `.passes()`). The same as the TypeScript SDK's `<engrave>`.
- `commandagi::design::threed_props`: `CurveProps { tangents: Some(vec![SplineTangent { at, direction }]),
tangent_scale, .. }`, a spline's direction at an inner point (the spline is C1 there) and how hard every given
tangent holds (1 is the natural spline). `PathPatternProps { path: {"curve": ...} }` places its copies along a curve
in space, and `align_to_path` turns each by the curve's rotation-minimizing frame. A sweep's `twist` now turns the
profile on top of the Frenet and up frames too.
- `commandagi::design::threed`: `product().id().name().part_number().compliance(…).shipping(…)`, the product as it is
sold (its certifications, tariff heading, packed size and mass; the document's `products`); `make.stock`
(the stock a made part uses, bought by its own offers); a process chemical's `shutoff`. The same as the TypeScript
SDK's `<product>`.
- `commandagi::design::threed`: `permitted()`, `fastener()` and `library()`, the elements the TypeScript and Python
SDKs already had, with their attributes (`.process()`, `.edge_dir()`, `.clamped()`, `.receiver()`, `.washer()`,
`.nut()`, `.grip()`, `.fit()`, `.min_engagement()`, `.torque()`, `.part_number()`, `.match_()`, `.sizes()`).
- `commandagi::design::evals` (`commandagi.design.evals`): an eval and a metric in code, `<eval>` with `<case>`
children and `<metric>`, the same documents as the TypeScript SDK's `evals.ts`. A case names its task file (`task`,
a ref) or says its `instruction`; `metrics` and `acceptanceMetric` are refs; `frozen` is the digest the eval is
frozen at. In Rust: `eval([case()…])` and `metric()`, with the attributes in snake case (`.acceptance_metric(…)`).
- `commandagi::design::pcb`: `group().side("any")` lets the placer turn each part over where that costs less, and
`group().edge(…).mating(…)` holds the group's parts against a board edge (`"left"`, `"right"`, `"top"`, `"bottom"`),
their `mating` side (in the footprint's own frame) out; `mating` needs `edge`.
- `commandagi::design::pcb`: `component().ref_at([x, y])`, where the part's reference text sits (mm, in the
footprint's own frame); the layout moves each reference off copper and off the others and writes it here.
- `commandagi::design::pcb`: `bus().name(…).nets(…).pitch(…)`, nets that run together: where their tracks run side by
side they are parallel, `pitch` (mm) apart centre to centre. The same element as the TypeScript SDK's `<bus>` and
the Python SDK's `bus(name, nets, pitch)`.
- `commandagi::design::threed`: `.corner(…)` on a `fastener`, the direction from the axis to a corner of each hexagon
of the stack (a hexagon head, a nut). Absent, it is the model's X (its Y when the axis is within 26° of X). An
assembly that places the file turns it with the placement, so one assembly placed at two turns is one STEP product.
- The materials data has the fastener grades `A2-70`, `A4-70`, `8.8` and `12.9` (each row's source says where its
numbers were read): a screw whose stack names one of them has a mass.
Changed (a document written for 0.6.7 may need an edit)
- `commandagi::design::evals`: an eval's `.objective(..)` and its `.scoring(..)` weights name metric files by ref, as
`.metrics(..)` does: `{"kind": "metric", "metric": "Lap time.metric.tsx"}`, a linear term's `metric`, and weights
keyed by ref. An objective that names a metric by node id (`metricId`) is refused with why. The same as the
TypeScript SDK's.
Fixed
- `commandagi::design::threed`: a 3D document names every refused element in one run, one line each in the file's
order, as the TypeScript and Python SDKs do. It stopped at the first (IC1-02).
- The T-slot sections have the maker's 45° web again: `cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030).
0.6.6 had it, but 0.6.7's standards data was generated from tables that never took the fix (5.6 and 8.5), so
HFS5-2080's ix was 5.04 % over MISUMI's again. The repository's tables now hold it: each section's area, ix, iy and
mass are within 3.1 % of MISUMI's, and the repository's test holds 5 %.
- Silent failures are errors (microfab 0.6.6). The vocabulary's descriptions say so; what reads a document does it:
- CORE-59: `<externalPart omit moves>` take a placed file's id for everything placed under it (`omit={["pallet"]}`
is `pallet/*`, its `<item>`s too), and an entry that names nothing of the file is an error that names it.
- CORE-63: an `<accept check>` or a `<permitted check>` that is no check of the document is an error
(`accept-unknown-check`, `permitted-unknown-check`); a `<permitted body>` that names no body is one too
(`permitted-unknown-body`). A circuit's `<accept check>` of no check is an ERC error.
- CORE-64: a placement's `quaternion` is a unit quaternion: within 1e-5 of unit length (6 decimals) it is read as
the rotation it rounds; further off it is refused, so a placement never scales a part.
- LABS-27: `commandagi task approve | decline` is a person's own act: refused from an agent's shell or with an
agent's key, and typed at a terminal; the record names the person.
## 0.6.7 (2026-10-23)
Added
- `commandagi::design::threed`: the `curve` element, a curve in space (a spline through points with optional end
tangents, a polyline with bends, a helix), and a `sweep` along it (`path` `{ "curve": … }`) with `frame` and `twist`,
the same fields as the TypeScript SDK's `<curve>` and `<sweep>`. Needs a 3D service of this version.
- `commandagi::design::mounts`: a thread's mounted tasks as `mounts.rs` in its run folder,
`mounts([mount().label(…)…])`, the same document as the TypeScript SDK's `mounts.tsx`. A mount names one task
(`task`), or a list (`folder`, `project`, or a query: `assignee`, `labels`, `status`); a mount that names both, or
nothing, is refused.
- `commandagi::design::systems`: a device definition is a side of an interface
(`side().kind("definition").channel(…).params(…)`). `load()` takes `peak_current` and `peak_power`; a power
`budget().peak(true)` counts each load at its peak. `peak` on any other budget is refused.
Fixed
- 3D: each face of the view cube carries the name of its view (Front showed "Back"); a thread cuts its whole groove
(it removed half a turn); a hole of a sketch (a circle inside a rectangle) is a region of its own, so a profile can
extrude the disc alone. Needs a 3D service of this version.
- PCB: after Lay out, the board view shows the copper that the layout added, with no reload.
In the host (`@commandagi/host` 0.6.7)
- Agent CLIs as instances: a host runs each CLI (Claude Code, Codex, Gemini CLI) and every fork of one found along the
search path of the thread's folder (`agents/<folder>/agent.tsx`), each with its own model and a named sign-in.
`commandagi agents signin <name> --cli claude-code|codex|gemini-cli` runs the CLI's own login into a config folder of
its own; `--save-to-account` keeps the sign-in in your account, sealed, and `--from-account` brings it to another
computer. A sign-in at its limit gives its turn only to another provider, never to another sign-in of the same
provider. `agents.sandbox` (`os` or `off`) replaces `agents.approvals`; `agents.models` is gone (each instance has
its model).
- A thread with several agent members works a mounted task list in parallel: `commandagi agents start --mount <M>
--member <A> …`, `agents join|leave` and `agents tasks`. A claim is a compare-and-set write of the task file,
recorded first in the thread's `tasks` stream. Each task gets its own git worktree and branch, which the host never
merges. `agents.concurrency` bounds the turns of each sign-in; a dead claim is released. An agent may be a member of
several threads.
- The task loop on the host: the `mounts.tsx` (or `.py`, `.rs`) in a thread's run folder starts each agent turn with
the open mounted work, and a write of a mounted task wakes the loop.
- Site hosting: `commandagi sites deploy|list|logs|rollback|domains|env|build`. A push deploys each branch (the
production branch to `<slug>.commandagi.app`, any other branch to a preview). A framework site (Vite, Astro,
SvelteKit, Next static export, CRA) is built by `commandagi sites build` on a computer of the account.
- Interfaces: a device definition's channel is a side of an interface; the check holds the channel's fields (baud) to
the interface's parameters.
- Test plans: each step's `verifies` is read back, and a requirement that it names must name the step.
`commandagi testplan check|run|history|results`.
- Firmware rollouts refuse a rollback: a release below a unit's `minSecurityVersion` goes to no unit, and the wave
halts. `commandagi rollout check|start|advance|retry|rollback|status|close`.
- Budgets: a power budget with `peak` counts each load at its `peakCurrent` or `peakPower`; data and data-rate units
(`bit` … `TB`, `bit/s` … `GB/d`); the contributors of a cost budget are the roll-up's lines. A release refuses a
pinout or footprint check that names a part from memory.
On the platform
- A thread's mounted tasks: `GET|POST|DELETE /threads/:id/mounts` and the tools `mount_tasks`, `unmount_tasks` and
`list_mounts`. Each turn carries the open mounted work, and the thread continues with the next task until the work is
done, bounded by no-progress turns, its budget and its run state. A task is named by its drive and its id: an id
found in two other drives is refused (`409 ambiguous_task`) with each address.
- Agent sign-ins kept in the account (`agents signin --save-to-account`), sealed outside the Drive; a person's key only.
- Sites deploy from a push, with a preview for each branch, env for each target, rollback and deploy logs
(`deploy_site { fromFolder, target }`, `site_deploy_log`).
- An API key never mints a key or seats an agent wider than itself, and every Drive write (a git write too) needs the
key's edit scope.
## 0.6.6 (2026-10-22)
Added
- `commandagi::git`: the folder git calls, and a client of this computer's host (no new dependency); for a cloud
folder `Call::platform` gives the request to send with your own HTTP client.
Fixed
- The T-slot sections have the maker's 45° web between two slot cavities: 1.5 mm in the 5 Series (MISUMI's drawing
prints it) and 2.0 mm in HFS6-3030 (measured on its drawing), where 0.6.5 drew 1.7 and 2.5 mm. So
`cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030). 0.6.5 said each section was within 5 % of MISUMI's;
HFS5-2080's ix was +5.04 %. Now each section's area, ix, iy and mass are within 3.1 % (the straight walls have no
radii or fillets), and the repository's test holds 5 %.
In the host (`@commandagi/host` 0.6.6)
- The FEA kernel picks its solver for each level from the level's size and the memory it has: PaStiX on every core
when it fits, SPOOLES on one thread when it does not. The level's line says which ran and why. `COMMANDAGI_FEA_MEMORY`
(for example `96g`) sets the kernel container's memory. A 2.18-million-node level needs about 73 GB with SPOOLES and
108 GB with PaStiX.
- The workbench speaks Japanese, Brazilian Portuguese, French, German, Arabic (right to left) and Indonesian, beside
English, Spanish and Simplified Chinese.
- `commandagi git <op>` works on a folder of this computer or a cloud folder (`cloud://home/<uuid>/…`): status, log,
diff, commit, checkpoint, branch, switch, checkout (a commit as a detached HEAD), merge, remotes, fetch, pull, push,
and fork (cloud). A remote's credential names an account of the host's secret store and is given to git for one
call; it is never written into `.git/config`. A synced folder and its cloud folder share one history.
On the platform
- A cloud file or folder that was renamed or moved is still reached at its old path; the answer names the current one
(`x-commandagi-moved-to`). A git remote that names an old folder keeps working.
- `pcb_layout` on a board larger than the platform runs in place becomes a job (`pcb_layout_status`); no layout ends in
a Worker resource error any more.
## 0.6.5 (2026-10-22)
The items still open after 0.6.4 (the microfab team's ids in brackets). `@commandagi/host` 0.6.5 carries the checks.
Changed (a document written for 0.6.4 may need an edit)
- A `<fastener at>` is a point on the screw's axis, on or above the first clamped part: the rebuild seats the stack on
the face its washer or head bears on (a counterbore's floor, a top face, a countersink), and builds every piece
there; `grip` is measured from the seat. A stack that finds no seat stays at `at`, and `head-not-seated` says why
(PCBC-06).
Added
- Board fills read KiCad's thermal spoke angle (45° for a round pad, 90° otherwise), relieve heatsink vias as KiCad
does, and hold a spoke to the pad's width and the zone's least width: the team's axis node now has KiCad's 5 GND
pieces (EDA-27).
- `<group near maxDistance>` is a hard rule of the placer; a wide net necks to its class's `minWidth` only where full
width does not fit, and `pcb_layout` names each neck. The axis node lays out complete: KiCad 0 errors, 0
unconnected, 0 parity (EDA-20).
- A planar face of many edges is triangulated by the kernel itself: the 1136-hole breadboard's mesh in 2.5 s, not 30 s,
the same mesh (CORE-23).
- A syntax error in plain code names `file:line:col` and its token in every runner (the command line, the platform, the
page; Python too).
- The T-slot profiles are drawn as the catalog draws them: each section's area, moments and mass within 5 % of MISUMI's
(the table also gains `cavity_floor_width`, and HFS6-3030 its corner holes).
## 0.6.4 (2026-10-22)
The fixes for the microfab team's re-test on 0.6.3 (66 open items; the ids in brackets are theirs). The vocabulary below
is the same in the three SDKs, in each language's spelling; `@commandagi/host` 0.6.4 carries the checks.
Changed (a document written for 0.6.3 may need an edit)
- A placed assembly keeps its own `<permitted>`, `<library>`, `<accept>` (`body` and `other`) and names under the
placement: a dock that passes alone passes where it is placed. A placement's id selects its members in `bodies`,
`against` and `pair` (`dock`, `dock/MF-SH-VEE-20`) (CORE-51, CORE-52, CORE-54). A placed file of several parts keeps
each as `<placement>/<id>`.
- Every file resolves its imports from its own folder, in every command; the folder a run reads is `--folder`, else the
file's git repository (CORE-48, CORE-50). A `<part>` or `<assembly>` inside another document says to place its file.
- `commandagi diff` prints its lines; `--json` or `--out FILE` gives the JSON (CORE-45).
- An accept of a check that ran and covers nothing warns (`accept-unused`); a whole-part finding (`mill.material`) has
no place, so a body + rule accept covers it (CORE-47). `--only` leaves out the other checks' accepts (IC2-18).
- One finding per hole, cup or region, each with its own size (CORE-46). A washer is what bears on a clamped part
(IC2-14).
- A bill line of fastener pieces is named by its designation, a roll-up line by its part number (CORE-29).
- `route` says `complete: false` while a net has islands, pours counted (EDA-23); `route`/`layout` `--out` names the
board written, the input is left (EDA-22); copper too near the edge is an error (EDA-25); a part with no sheet
position is in ERC (EDA-21).
Added
- `<check sweep={{ joint, samples | step }}>`: interference and clearance over a joint's limits, each finding at its
joint value with where it starts and ends (PCBC-14); `<accept maxVolume>` (PCBC-18).
- `<externalPart omit moves>`: one placed file with parts left out or moved; a frame placed in every station (IC1-19,
IC1-14, PCBC-20).
- `engineering.envelope` and `mountingHoles` for a bought part drawn as its envelope (IC2-13); `<library sizes>`, one
table of sizes, part numbers and prices (CORE-29); a library screw's mass (CORE-44).
- STEP files hold one product per part used N times, nested sub-assemblies, and the library's part numbers (CORE-20,
CORE-53, IC2-19); `threed observe` names bodies as the checks do (CORE-39).
- `<slice device>`: a resin setup names its printer (CORE-42). A through hole is drilled from both declared setups
(CORE-40). A run of primitive cuts is one boolean: 473 cut cylinders check in 2.7 s, not 21 s (IC2-15).
- Studies: results are streamed (a 2.18M-node study, 1.2 GB of results, runs to its verdict: CORE-55); a container
ends with its host; stress beside a converging re-entrant edge is read (CORE-56); `spring` and `pin` supports
(IC1-15); `--keep field` (PCBC-19); `study check` refuses what `study run` refuses (CORE-41).
- `COMMANDAGI_THREED=cloud` on the command line, and every report says where its kernel ran (CORE-43, IC1-18,
IC2-16). Times per check and per feature (IC1-09, PCBC-15). A long hole table continues on further sheets
(IC1-17); a misplaced view is named (IC2-17). A wrong bracket is reported at its token (IC1-16).
- `diff`, `release status --diff` and a task's check read flows, systems, requirements and interfaces (LABS-21); a
release checks its flows (LABS-22); `make.ratePerHourHigh` (LABS-23); `<visit tool minutes>` in a flow step
(LABS-24); `commandagi task propose | approve | decline` offline (LABS-13); `live-miss` (LABS-14); `"unknown"` for
HS code, origin, hazmat, ECCN and datasheet (PCBC-16).
- Boards: pours read KiCad's own fill settings (EDA-27, in part); plane vias from the router (EDA-23); `pins
--install-hook` (EDA-26); RXD0/TXD0 GPIO numbers (EDA-12); `.3d.py` relative imports (PCBC-17).
In this SDK
- `check()` and `accept()` elements, with `sweep`, `max_volume`, `against`, `other`, `reason`; the reader reads a
`library` element (`El::new("library")`), as the TypeScript and Python readers do.
## 0.6.3 (2026-10-21)
The fixes for the microfab team's report on 0.6.2 (110 issues; the ids in brackets are theirs). The vocabulary below
is the same in the three SDKs, in each language's spelling; `@commandagi/host` 0.6.3 carries the checks.
Changed (a document written for 0.6.2 may need an edit)
- One face query for 3D documents, checks and studies: a study's `type` is `geometry`, `nearest` is `farthest` with
the direction reversed, `radius` and `area` take `{ min, max }`; `at` names the face that holds a point (CORE-24,
PCBC-12, IC2-08).
- A finding names a body by the id the document gives it (`<body id>`, else the feature that made it); the rebuild's
`body_0` is `rebuildId` (CORE-13). A covered finding's `severity` is `suppressed`, its own in `coveredSeverity`
(PCBC-03).
- `commandagi check` prints a compact report (verdict, each check, findings grouped by rule); `--json` or `--out FILE`
gives the whole report (IC2-12, PCBC-04).
- A `bodies` entry that names no body is an `unknown-body` error: a check of nothing never passes (LABS-02).
- Copper joins where it is drawn, and a pour joins the pads and vias of its net it covers; `from`/`to` are optional
(EDA-03, EDA-06). A part on the bottom flips its pads, paste, mask, silk and courtyard as KiCad does (EDA-04). An
unrouted net on a board with copper is an error (EDA-05).
- An unknown material is a warning of the process check (CORE-11).
Added
- Placed parts carry what their file states: engineering, mass, part number, fasteners; a placed assembly keeps its
members as `<placement>/<id>`. Check, `threed bom`, `threed observe`, STEP and `diff` agree (CORE-01 to -04, -09,
-20, -26, -27). Bill lines and logistics findings are one per part number with a quantity (LABS-16, IC1-11).
- A `.3d.tsx` imports sibling `.ts`, `.tsx` and `.json` files; a `.3d.py` reads its folder and imports sibling modules
(CORE-05, CORE-06). Syntax errors name the author's line and column (IC1-01); every refused element in one run
(IC1-02).
- `commandagi --version` with no key; `check --only ID`, `--timeout S` and a timeout that says so; `release --dry-run`
and `.releaseignore`; a release also holds the folder's requirements, systems and interfaces (SETUP-01, IC1-09,
LABS-19, LABS-20, CORE-28). `commandagi layout | route | fabricate <board>` run on this computer (EDA-17).
- Faces: a hole on a face split in two, a pick by a point on the face, a pick among the bodies a feature consumes, an
ambiguous pick that names its faces (CORE-08, IC2-02, IC2-03, LABS-05). A counterbore deeper than its size's
(CORE-10); `m2.5` threads (IC2-04); a clearance pair the kernel cannot measure is its own finding (CORE-19).
- Every ISO 286 class (IT01 to IT18, A to ZC) to 3150 mm, and ISO 2768-1 (IC2-05, CORE-17, IC1-06); a fit between two
sizes of different nominals (CORE-16); a fit's `pair` covers its press fit's clash (CORE-18); `against` on
interference and clearance (CORE-25, LABS-03); `<accept other>` for a part modelled inside another, an accept sized
to its finding (PCBC-09, IC1-10); `<hole spare>` and `<permitted diameter>` (IC1-04).
- The mill check judges each face from the setup that reaches it (`make.setups`, or the fewest sides), drilled holes as
drilled, a plate turned on the table, the machine's materials (CORE-07, -12, -14, -15, -21, -34). The resin printer
prints: SLA printability (drain, cups) and slicing (CORE-32); `commandagi slicer slice X.slice.tsx` (CORE-33).
- Drawing sheets: hole callouts from the hole features (depth, blind, FAR SIDE), a hole table from a datum corner, no
overlapping callouts, the release's REV (CORE-22, -31, -36, PCBC-10).
- Studies: inverted elements straightened, each level's reason on its line, `<solver timeout>`, `--keep finest`, a
fixture on a region (CORE-37, IC2-10, PCBC-11, IC1-15).
- Budgets of any quantity and unit (flow, area, volume …), a priced `<item ref>` to a design with its lead-time path,
a diff that names every logistics change, process flows (`.flow.tsx`), cost ranges, µm and nm, `other` processes,
`<library>` data for fastener pieces, `<fastener material partNumber>`, a `chemicals` check (LABS-06 to -12, IC1-03,
IC1-05, IC1-12, IC2-11, PCBC-13). HFS5-2060 and HFS5-2080 in the T-slot table (CORE-35).
- Boards: pinless parts (EDA-02), four-layer net-class rules (EDA-07), KiCad parity on no-connect pins, datasheets and
back-side text (EDA-08 to -10), interface sides that read a sheet, a board or a `.sch.py` (EDA-14), a fabrication
BOM by part number (EDA-19), `near` as a hard rule of the placer (EDA-20).
- Speed: a 1136-hole plate checks in about 5 s (was 4 min 54 s); a 206-body assembly in 45 s (was 4 min 41 s)
(LABS-04, IC2-06).
In this SDK
- `netclass()` states the rules a four-layer board needs: `.min_width()` (the narrowest track; `.width()` is what the
router lays), `.edge_clearance()` and `.hole_clearance()` (the least gaps to the board edge and to a hole),
`.inner(json(r#"{"clearance": 0.15, "width": 0.15}"#))` (the rules on inner copper layers) and `.min_spokes()` (the
fewest thermal spokes a pad needs to a pour). `commandagi check` holds the board to them and `commandagi export
kicad` writes them into the project and its `.kicad_dru` (microfab EDA-07).
## 0.6.2 (2026-10-16)
No change in this SDK's code. The release carries `@commandagi/host` 0.6.2, which `commandagi check` and the local 3D
service run:
- A STEP export writes a body's part number: `<body engineering={{ partNumber: "PN-1001" }}>` is the id of the
body's `PRODUCT` (`PRODUCT('PN-1001','Plate',…)`, as AP242 and AP214 hold it), and the export's `products` list it.
- The `sourcing` check reports `part-number-collision`: two parts under one part number that differ in process,
material, finish, description, designation, manufacturer or MPN. Before, the cost roll-up merged them silently and
priced the second as the first. Shape is not compared.
## 0.6.1 (2026-10-15)
Added
- Agents (`commandagi::design::agents`): a harness (`harness.rs`: `harness().kind(…).label(…).provider(…).runs([…])`)
and an agent (`agent.rs`: a base names its `.harness(…)`, a fork its `.parent(…)`), the same elements as the
TypeScript SDK's `agents.ts`. A realtime harness says what its model takes and gives live: `.realtime(json(r#"{"in":
[…], "out": […], "audio": {…}, "fps": …, "hz": …, "minutes": …}"#))`.
- Test plans (`commandagi::design::testplans`): a `<name>.testplan.rs` holds the steps that test one serial-numbered
unit, never the results: `testplan([…]).title(…).device(…)` with `condition()`, `fixture()` and `step()`, the same
elements as the TypeScript SDK's `testplans.ts`.
- Firmware (`commandagi::design::firmware`): a release (`<name>.firmware.rs`: `firmware([…]).version(…).image(…)
.sha256(…).sbom(…).device(…)` with `supports().revision(…)`) and a rollout (`<name>.rollout.rs`: `rollout([…])
.firmware(…).world(…).channel(…).canary(…).waves([…])` with `health()` and `target()`), as the TypeScript SDK's
`firmware.ts`. A `sha256` that is not 64 lowercase hex digits is refused.
- A world's unit states its `.serial(…)` and its hardware `.revision(…)`.
- Tolerances. `parameter().tolerance(json(…))` takes `{"upper", "lower"}` (mm), `{"class": "H7"}` (an ISO 286 class or
`ISO 492 bore|outside|width`) or `{"basic": true}`; a tolerance given two ways is refused. `design::tolerances`:
`tolerance_limits(nominal, &tol)` and `fit_of(&hole, &shaft)`, the classes read from the shipped tables
(`standards_data.json` `tolerances`). A 3D document's `check` takes `hole`, `shaft`, `intent` (a fit) and `chain`,
`limit`, `method`, `samples`, `seed` (a stack-up).
Added (a design's logistics, CommandAGI's `docs/formats.md` § logistics, as the TypeScript SDK's)
- A schematic part's logistics: `.suppliers(…)`, `.alternates(…)`, `.datasheet(…)`, `.lifecycle(…)`,
`.compliance(…)`, `.shipping(…)`, each written as KiCad properties of the part (`LCSC Part`, `LCSC Terms`,
`Datasheet`, `RoHS`, `HS Code` …) in the TypeScript SDK's forms; `commandagi::design::part_fields` writes them and
`part_fields()` reads them back. `attrs` may not name a property that an argument says.
- A circuit's `check()` takes `options` (a logistics check's, `{"quantities": [10, 100]}`), kept in `meta.checks`.
- A board's `fab()`: the fab house and its terms, its capabilities, finish, mask, silk, assembly, test, compliance and
shipping, as one board fact. One per board.
- A 3D document's `item()` (`items`) and `assemble()` (`assemblySteps`); `body().engineering(…)` takes the logistics
fields and no longer `vendor` or `cost`. The schema reader knows the patterns of a currency, a country and a date.
Added (the vocabulary the TypeScript and Python SDKs have)
- A hardware release and a change (`release()`, `change()`), and the release a unit or an instance was built from. A
definition names its firmware and revision; `firmware()` also declares the channels a firmware gives.
- Systems (`commandagi::design::systems`): requirements, a system's budgets (a cost budget names the design whose
logistics roll-up it reads, `.design(…)`) and an interface.
- Studies (`commandagi::design::study`), with the flow kind (`fluid`, `inlet`, `outlet`, `flow_mesh`; units m-kg-s).
- `check()` and `accept()` in a `.sch.rs` and a `.pcb.rs`, kept in the graph's meta (0.6.0 refused them).
- Drawing sheets: section and detail views in the schema; a `sheet()` with a section view and no section, or a bad
detail, is refused.
- A part's pinout and pads are checked: `.pinout_verified`, `.footprint_verified` and `.package_dimensions` are part
fields. A material grade states its Poisson's ratio where its source states one.
## 0.6.0 (2026-10-15)
The crate calls no platform tool, so the removal of `pcb_autoroute`, `pcb_optimize_routing` and
`pcb_optimize_placement` from the platform (the Python and TypeScript SDKs' `eda.autoroute`) changes no code here. A
document that a Rust program declares is laid out by the platform's layout tools (`pcb_layout`, `pcb_place_group`,
`pcb_route_nets`).
Added
- A schematic part states its engineering data: `.part_number(…)`, `.manufacturer(…)`, `.mpn(…)`, `.rating(…)` and
`.attrs(…)` on any part but a ground. Each is one KiCad property of the part (`CommandAGI IPN`, `Manufacturer`,
`MPN`, `Rating`, and each `attrs` entry by its own name), so the BOM and the board's footprint carry it.
`PART_FIELDS` names them.
- Declared checks in a 3D document: `check()` (`interference`, `clearance`, `holes`, `fasteners`, `edges`,
`symmetry`), `accept()` (one finding that is right on purpose, with its reason) and `permitted()` (the findings that
a process or a purpose permits), and `fastener()`: a screw of the fastener library with its washer and nut, and what
it clamps into what. Each is checked against the schema, as in the TypeScript SDK.
- A board's layout constraints, each a board fact: `netclass()`, `diffpair()`, `group()`, `keepout()`, `thermal()`,
`objective()` (`commandagi::design::pcb`; CommandAGI's `docs/eda-layout.md`), as the TypeScript SDK's elements.
- A circuit's checks: `check()` and `accept()` in a schematic and a board (`commandagi::design::schematic`, `pcb`),
kept in the graph's `meta` (`checks`, `accepted`) as the TypeScript SDK's `<check>` and `<accept>`; a wrong field
is refused by name.
- `commandagi::design::study`: a study (`.study.rs`), the question of an analysis of a part: `study()`,
`material()`, `fixture()`, `load_case()`, `force()`, `pressure()`, `mesh()`, `solver()`, `criterion()`,
`revise()`, the same document as the TypeScript SDK's `study.ts` and the Python SDK's `commandagi.design.study`.
The `structural` kind; a tag of another kind and a wrong field are refused by name.
- The materials data (`standards_data.json`) carries a grade's `poissonsRatio` where its source states one (ten of
the 23 grades).
Changed
- The schema reader checks the two `pattern`s the 3D schema now carries (a text that is not blank, an id of
`A-Z a-z 0-9 _ . -`). It refuses any other pattern by name; it never skips one.
- An example of a task proposal names a simulated run of the world it asks for (`worlds/shop/runs/…`), not a run of
a second world.
## 0.5.1 (2026-10-15)
Changed
- The README names the local 3D kernel's package: `npm install -g @commandagi/host`, then `commandagi threed
install`. The crate's code did not change; the version moves with the Python and TypeScript SDKs.
## 0.5.0 (2026-10-14)
The first release with the design layer. 0.5.0 was prepared on 2026-10-13 and not published; this entry holds all of it.
Added
- `commandagi::design::threed`: `body().engineering(…)` (material grade, process, finish, vendor, cost), `joint()`
(`fixed`, `revolute`, `prismatic`, `cylindrical`, `planar`, `screw`, `spherical`, `universal`), `mate()`, `sheet()`
(an engineering drawing sheet) and `hole().size("M4 close fit")`, each checked against the schema as in the
TypeScript SDK. A joint's kinds changed name: `hinge` is `revolute`, `slider` is `prismatic`, `ball` is
`spherical`; joints and mates are their own elements, not fields of the `dynamics` and `assembly` slots.
- `commandagi::design::standards`: `material`, `mass_grams`, `hole_size`, `sized_hole`, `standard_row`: the same
tables as the TypeScript and Python SDKs, each with where its rows were read.
- 3D documents: a hole's `positions` and `sketch`; faces and edges chosen by a query, `{"kind", "select": {…}}`,
beside the pick; a part is built in the order of its elements (a feature that names no `consumes` follows every
body-making feature written before it).
Changed
- A union's refusal names the field at fault (`edges/0/select/vertical: is not one of its fields`).
The first tagged release. The crate was `0.1.0` in its manifest from its first commit (2026-10-05) and through the 56
commits to this one.
- `commandagi::design`: a document declared in Rust, one module for each vocabulary: `schematic`, `pcb`, `threed`,
`fab`, `office`, `twod`, `media`, `ontology`, `business`, `tasks`, `monitors`, `records`, `postal`, `pdf`.
- `commandagi::abi`: what the CommandAGI code sandbox calls in the compiled WebAssembly module.
- `map/`: the source map of a document's file (each element's call and its arguments), computed with `syn`, for the
editors' write-back.
- No dependencies, no build script, no procedural macros.
- `README.md`, `LICENSE` (MIT, as `Cargo.toml` states) and this file.
Not in this crate (README § What the crate does not have): the platform client, live sessions, the 3D kernel's client
and the command line.