commandagi 0.6.7__tar.gz → 0.6.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. commandagi-0.6.9/CHANGELOG.md +820 -0
  2. {commandagi-0.6.7 → commandagi-0.6.9}/PKG-INFO +30 -13
  3. {commandagi-0.6.7 → commandagi-0.6.9}/README.md +29 -12
  4. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/__init__.py +5 -4
  5. commandagi-0.6.9/commandagi/_generated.py +954 -0
  6. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/client.py +4 -3
  7. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/__init__.py +1 -1
  8. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/agents.py +38 -12
  9. commandagi-0.6.9/commandagi/design/brands.py +115 -0
  10. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/business.py +88 -8
  11. commandagi-0.6.9/commandagi/design/business_equity.py +32 -0
  12. commandagi-0.6.9/commandagi/design/business_finance.py +46 -0
  13. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/cad.py +56 -12
  14. commandagi-0.6.9/commandagi/design/carts.py +88 -0
  15. commandagi-0.6.9/commandagi/design/classification.py +139 -0
  16. commandagi-0.6.9/commandagi/design/company_deals.py +71 -0
  17. commandagi-0.6.9/commandagi/design/company_formation.py +39 -0
  18. commandagi-0.6.9/commandagi/design/company_governance.py +66 -0
  19. commandagi-0.6.9/commandagi/design/company_profile.py +48 -0
  20. commandagi-0.6.9/commandagi/design/connectors.py +310 -0
  21. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/eda.py +32 -14
  22. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/element.py +4 -1
  23. commandagi-0.6.9/commandagi/design/evals.py +248 -0
  24. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/fab.py +3 -3
  25. commandagi-0.6.9/commandagi/design/factory.py +170 -0
  26. commandagi-0.6.9/commandagi/design/facts.py +45 -0
  27. commandagi-0.6.9/commandagi/design/flows.py +276 -0
  28. commandagi-0.6.9/commandagi/design/infra.py +287 -0
  29. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/ir.py +10 -0
  30. commandagi-0.6.9/commandagi/design/logistics.py +304 -0
  31. commandagi-0.6.9/commandagi/design/market.py +242 -0
  32. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/media.py +480 -87
  33. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/office.py +73 -9
  34. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/ontology.py +124 -23
  35. commandagi-0.6.9/commandagi/design/opportunities.py +392 -0
  36. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/part_fields.py +115 -21
  37. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/pcb.py +218 -34
  38. commandagi-0.6.9/commandagi/design/people_ops.py +50 -0
  39. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/postal.py +12 -5
  40. commandagi-0.6.9/commandagi/design/products.py +278 -0
  41. commandagi-0.6.9/commandagi/design/records.py +273 -0
  42. commandagi-0.6.9/commandagi/design/routing.py +39 -0
  43. commandagi-0.6.9/commandagi/design/scene_agents.py +64 -0
  44. commandagi-0.6.9/commandagi/design/scene_people.py +415 -0
  45. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/schema.py +9 -0
  46. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/schematic.py +63 -32
  47. commandagi-0.6.9/commandagi/design/scouts.py +529 -0
  48. commandagi-0.6.9/commandagi/design/scripts.py +511 -0
  49. commandagi-0.6.9/commandagi/design/skills.py +127 -0
  50. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/source.py +12 -3
  51. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/standards.py +1 -1
  52. commandagi-0.6.9/commandagi/design/standards_data.py +14 -0
  53. commandagi-0.6.9/commandagi/design/storefronts.py +151 -0
  54. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/study.py +38 -6
  55. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/systems.py +77 -15
  56. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/tasks.py +3 -3
  57. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/threed.py +131 -26
  58. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/threed_elements.py +895 -225
  59. commandagi-0.6.9/commandagi/design/threed_schema.py +4 -0
  60. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/tolerances.py +1 -1
  61. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/twod.py +85 -33
  62. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/kernel.py +7 -6
  63. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi-sdk.schema.json +27 -28
  64. commandagi-0.6.9/examples/drive_a_sim.py +22 -0
  65. commandagi-0.6.9/tests/company_deals.json +55 -0
  66. commandagi-0.6.9/tests/company_formation.json +34 -0
  67. commandagi-0.6.9/tests/company_governance.json +670 -0
  68. commandagi-0.6.9/tests/company_profile.json +51 -0
  69. commandagi-0.6.9/tests/contacts.json +9 -0
  70. commandagi-0.6.9/tests/factory_operations.json +42 -0
  71. commandagi-0.6.9/tests/kernel_specs.json +1247 -0
  72. commandagi-0.6.9/tests/materials.json +199 -0
  73. commandagi-0.6.9/tests/pattern_operation.json +19 -0
  74. commandagi-0.6.9/tests/scene_agents.json +21 -0
  75. commandagi-0.6.9/tests/scene_people.json +147 -0
  76. commandagi-0.6.9/tests/script_wake.json +31 -0
  77. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_agents.py +26 -4
  78. commandagi-0.6.9/tests/test_brands.py +64 -0
  79. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_business.py +33 -2
  80. commandagi-0.6.9/tests/test_business_finance.py +32 -0
  81. commandagi-0.6.9/tests/test_carts.py +43 -0
  82. commandagi-0.6.9/tests/test_company_deals.py +48 -0
  83. commandagi-0.6.9/tests/test_company_formation.py +32 -0
  84. commandagi-0.6.9/tests/test_company_governance.py +38 -0
  85. commandagi-0.6.9/tests/test_company_profile.py +30 -0
  86. commandagi-0.6.9/tests/test_connectors.py +110 -0
  87. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_design.py +67 -1
  88. commandagi-0.6.9/tests/test_evals.py +106 -0
  89. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_fab.py +5 -5
  90. commandagi-0.6.9/tests/test_factory.py +41 -0
  91. commandagi-0.6.9/tests/test_flows.py +113 -0
  92. commandagi-0.6.9/tests/test_infra.py +110 -0
  93. commandagi-0.6.9/tests/test_logistics.py +237 -0
  94. commandagi-0.6.9/tests/test_logistics_plan.py +118 -0
  95. commandagi-0.6.9/tests/test_market.py +169 -0
  96. commandagi-0.6.9/tests/test_media.py +352 -0
  97. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_mounts.py +1 -1
  98. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_office.py +37 -0
  99. commandagi-0.6.9/tests/test_ontology.py +230 -0
  100. commandagi-0.6.9/tests/test_opportunities.py +112 -0
  101. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_pcb.py +119 -4
  102. commandagi-0.6.9/tests/test_people_ops.py +51 -0
  103. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_postal.py +7 -0
  104. commandagi-0.6.9/tests/test_products.py +104 -0
  105. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_records.py +58 -5
  106. commandagi-0.6.9/tests/test_routing.py +25 -0
  107. commandagi-0.6.9/tests/test_scene_agents.py +33 -0
  108. commandagi-0.6.9/tests/test_scene_people.py +37 -0
  109. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_schematic.py +61 -5
  110. commandagi-0.6.9/tests/test_scouts.py +226 -0
  111. commandagi-0.6.9/tests/test_scripts.py +207 -0
  112. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_sdk.py +10 -5
  113. commandagi-0.6.9/tests/test_skills.py +63 -0
  114. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_standards.py +1 -1
  115. commandagi-0.6.9/tests/test_storefronts.py +68 -0
  116. commandagi-0.6.9/tests/test_study.py +127 -0
  117. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_systems.py +43 -5
  118. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_testplans.py +1 -1
  119. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_threed.py +249 -14
  120. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_twod.py +94 -5
  121. commandagi-0.6.7/CHANGELOG.md +0 -450
  122. commandagi-0.6.7/commandagi/_generated.py +0 -954
  123. commandagi-0.6.7/commandagi/design/flows.py +0 -155
  124. commandagi-0.6.7/commandagi/design/monitors.py +0 -237
  125. commandagi-0.6.7/commandagi/design/records.py +0 -121
  126. commandagi-0.6.7/commandagi/design/standards_data.py +0 -14
  127. commandagi-0.6.7/commandagi/design/threed_schema.py +0 -4
  128. commandagi-0.6.7/examples/drive_a_sim.py +0 -19
  129. commandagi-0.6.7/tests/test_flows.py +0 -55
  130. commandagi-0.6.7/tests/test_logistics.py +0 -143
  131. commandagi-0.6.7/tests/test_media.py +0 -194
  132. commandagi-0.6.7/tests/test_monitors.py +0 -91
  133. commandagi-0.6.7/tests/test_ontology.py +0 -133
  134. commandagi-0.6.7/tests/test_study.py +0 -64
  135. {commandagi-0.6.7 → commandagi-0.6.9}/.gitignore +0 -0
  136. {commandagi-0.6.7 → commandagi-0.6.9}/LICENSE +0 -0
  137. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/cadquery.py +0 -0
  138. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/circuit_checks.py +0 -0
  139. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/documents.py +0 -0
  140. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/firmware.py +0 -0
  141. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/graph.py +0 -0
  142. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/mounts.py +0 -0
  143. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/pdf.py +0 -0
  144. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/solids.py +0 -0
  145. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/testplans.py +0 -0
  146. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/tsx.py +0 -0
  147. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/twod_schema.py +0 -0
  148. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/design/workbook_schema.py +0 -0
  149. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/gym_env.py +0 -0
  150. {commandagi-0.6.7 → commandagi-0.6.9}/commandagi/lerobot.py +0 -0
  151. {commandagi-0.6.7 → commandagi-0.6.9}/pyproject.toml +0 -0
  152. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_kernel.py +0 -0
  153. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_pdf.py +0 -0
  154. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_source.py +0 -0
  155. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_tasks.py +0 -0
  156. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_tolerances.py +0 -0
  157. {commandagi-0.6.7 → commandagi-0.6.9}/tests/test_tsx.py +0 -0
  158. {commandagi-0.6.7 → commandagi-0.6.9}/uv.lock +0 -0
@@ -0,0 +1,820 @@
1
+ # Changelog
2
+
3
+ One entry for each release. A release is the tag `v<version>` in this repository and the same version on PyPI. The
4
+ TypeScript and Rust SDKs carry the same version number. A version promises nothing about the next one (README
5
+ § Versions): read this file before you change the version you pin.
6
+
7
+ ## 0.6.9 (2026-11-23)
8
+
9
+ Added
10
+
11
+ - Connectors: an entry's `picture` (the source's own picture of it: a url, absolute or under the base, on a declared
12
+ host; its files inherit it), and the template filter `|fit:<px>` (of a list of images, the narrowest at least px wide).
13
+ - 3D documents: `<replaceFace face surface>`; `<trimSurface toolBody>` (trim by another surface; `tool` is now
14
+ optional); `<untrimSurface edges>` (fill the opening an open edge bounds).
15
+ - 3D documents: surfaces (`surface` on `<extrude>`, `<revolve>`, `<sweep>`, `<loft>`; `<trimSurface>`,
16
+ `<untrimSurface>`, `<extendSurface>`, `<stitch>`, `<offsetSurface>`; `<thicken bodies>`), construction geometry
17
+ (`<datumPlane method>` with midplane, two edges, axis and point, three points, tangent, along an edge and
18
+ perpendicular; `<datumAxis>`; `<datumPoint>`; an axis `{ type: "datum", axis }` and a point `PointRef`), a tapped
19
+ hole (`<hole style="tapped" thread threadDepth threadKind>`), and the history's groups and rollback marker on the root
20
+ (`<part groups rollback>`).
21
+ - `commandagi.design.scene_agents`: the agents a design's scene attaches to its robots or their joints:
22
+ `check_scene_agents`, the same as the TypeScript SDK's `scene-agents.ts`.
23
+ - `commandagi.design.scene_people`: a person in a scene: the human avatar's look, the humanoid policy, the goal, motors and assist
24
+ commands, `HUMANOID_JOINTS` and their checks, the same as the TypeScript SDK's `scene-people.ts`.
25
+ - `commandagi.design.factory`: a station's `energy_j` and `cell`, as the TypeScript SDK's.
26
+ - `commandagi.design.factory`: a factory in a design's scene, the `flow` system: `check_flow_system` and `machines_for`,
27
+ the same as the TypeScript SDK's `factory-flow.ts`.
28
+ - `Storefront(banner=…)` and `Company(banner=…)`: the banner of the profile, a ref to a picture (relative to the file, or
29
+ an address) or a colour (`#1f6feb`). A file that names none keeps the colour its name gives.
30
+ - `Storefront(checkout=…)`: who completes a relisted purchase, `agent` (the holder buys or books it for the person, and its price holds)
31
+ or `seller` (the person is sent to the seller's own checkout; no hold). Any other value is refused.
32
+
33
+ Changed (a company file that wrote `Compliance(industries=…)` needs an edit)
34
+
35
+ - Classification (`classification.py`; CommandAGI's docs/formats.md § classification): `Company`, a company's `Product`
36
+ and a `product` take `codes` (standard codes as `scheme:code`: business schemes naics, nace, isic, sic, anzsic, jsic;
37
+ product schemes unspsc, gs1, hs) and `tags` (free words, lower case, trimmed). A code of an unknown scheme or out of its
38
+ scheme's grammar is refused by name; a product takes product schemes only. `Compliance(industries=…)` is removed: write the
39
+ codes on the company (`Company(..., codes=["naics:541370"])`); the register reads the company's business codes.
40
+
41
+ Changed (a song written before this needs an edit)
42
+
43
+ - 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
44
+ 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
45
+ (`instrument(preset="violin")`). The fields of the kinds they were (`bow`, `hardness`, `bore`, `operators` …) are not theirs; the fields
46
+ of `measured` are `brightness` (dB an octave), and factors on what was measured: `attack`, `decay`, `release`,
47
+ `noise`, `vibrato`.
48
+ - `voiceRemove()` and `voiceIsolate()` take `method` `"model"` (the default: a trained separation model, where the place that runs the song has
49
+ it) or `"classical"` (it was `"combined"`); `"center"`, `"melody"` and `"repet"` stay. Where no model runs, `"model"`
50
+ is the classical method.
51
+ - 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"`).
52
+ - A track's instrument is `instrument(kind=..., preset=...)` of the sound kernel, and an effect's fields are the
53
+ kernel's. `synth` and `sampler` are removed: write `instrument(kind="subtractive", oscillators=[{"shape":
54
+ "triangle"}])` (or a preset: `instrument(preset="grandPiano")`) and `instrument(kind="sampler", zones=[{"src":
55
+ "media/tone.wav", "root": 69}])`. The five effects with fields of their own take the kernel's: `gain(gain_db=...)`,
56
+ `filter(hz=...)`, `delay(time=...)` (seconds), `reverb(rt60=...)`, `eq(bands=[...])`. An effect node's spec is
57
+ `{"kind": ..., fields as written}`, with no default added. `WAVES`, `SYNTH`, `ENVELOPE`, `SAMPLER` and
58
+ `SONG_EFFECTS` are removed.
59
+
60
+ Added (media)
61
+
62
+ - The sound kernel's instrument kind `measured`: an instrument as the tones measured on a real one. It names one of
63
+ the kernel's tables (`instrument(kind="measured", table="cello")`), or holds its own `held` and `tones`.
64
+ - A song's effects `voiceRemove()` (the lead voice taken out of a recording: an instrumental) and `voiceIsolate()` (the
65
+ voice kept alone), the sound kernel's two outputs of one separation; their fields are the kernel's (`amount`,
66
+ `method`, the weights, `width`, `low_hz`, `high_hz`, `percussion`, `latency`, `history`).
67
+ - The sound kernel's instrument kinds `wavetable`, `granular`, `stack` and `fx`, and the drum machines as a `drums`
68
+ instrument's `kit` (`"808"`, `"909"`), are `instrument(kind=...)` with their fields as keywords:
69
+ `instrument(kind="fx", sound="riser")`, `instrument(kind="stack", layers=[{"instrument": {"preset": "taiko"}}])`.
70
+ An instrument with no kind names the kinds in its refusal.
71
+ - A song's `note` may say its expression, passed to the sound kernel as written: `articulation`, `pitch_curve`,
72
+ `amp_curve` and `timbre_curve` (points `[seconds, value]` over the note's own time) and `params` (the per-note
73
+ values its instrument reads). Its `pitch` may be a number with a fraction (a note read from a recording).
74
+ - 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`.
75
+ `SONG_STRUCTURE` names every tag, its attributes and what it holds. Each element is one `score.<tag>` node with its
76
+ attributes as written; the CommandAGI music app reads them as a score, performs it and renders it.
77
+ - The sound kernel's other effect kinds by tag: `pitchShift`, `harmonizer`, `autotune`, `shimmer`, `bitcrush`, `ringMod`,
78
+ `frequencyShift`, `waveshape`, `tapeStop`, `stutter`, `reverse`, `lofi`, `granular`, `spectralFreeze`, `haas`, `autopan`,
79
+ `rotary`, `denoise`, `declick`, `dehum`, `dcBlock`, `polarity`, `loudnessMatch`, `clipper`, `dynamicEq`, `upwardCompressor`
80
+ and `expander`. An audio clip's `stretch` (0.25 to 4: its span that many times as long at the same pitch),
81
+ `stretchMode` (`vocoder` or `wsola`) and `reverse`.
82
+ - An effect's `sidechain`: the name of a track, a player or a bus whose sound the effect listens to (a pad ducked
83
+ by the kick). The sound kernel's `duck` (down by its amount while the key sounds) and `vocoder` (its sound played at
84
+ the key's level in each band).
85
+ - The sound kernel's instruments on a track (an instrument with a `kind`) and its 21 effect kinds by tag (`gain`,
86
+ `pan`, `width`, `eq`, `filter`, `compressor`, `multiband`, `limiter`, `gate`, `transient`, `deesser`, `saturate`,
87
+ `exciter`, `delay`, `chorus`, `flanger`, `phaser`, `tremolo`, `vibrato`, `reverb`, `convolve`); a track's `place`,
88
+ `out` and sends.
89
+
90
+ Added
91
+
92
+ - `commandagi.design.storefronts`: `Storefront(name=..., venue=..., seller=..., seller_record=..., seller_id=..., url=...,
93
+ source=..., hold=...)` with at most one `Offers(listings=..., read=...)` and any `Offer(name=..., kind="service"|"good",
94
+ price="25.00 USD", unit=..., codes=[...], tags=[...])`: the storefront document of `<name>.storefront.py` (CommandAGI's
95
+ docs/formats.md § a storefront in code). The holder is the account whose Drive holds the file, never an attribute.
96
+ - `commandagi.design.company_profile`: `Company(website=...)`, `Address`, `Stock` and `Owner`, the company's legal
97
+ profile, read as the document's `website`, `addresses`, `stock` and `owners`.
98
+ - `commandagi.design.scripts`: `publish(rule=..., when=...)`, the script's own records folded into plain files by a
99
+ rule of the ontology, by program (`PUBLISH_RULES`: `capital`); a script's `publishes` is always a list.
100
+ - `commandagi.design.market`: an option contract is one `sym` in one spelling, `AAPL 2026-12-18 C 200` (the
101
+ underlying, the expiry, C or P, the strike, and `x<multiplier>` only when it is not 100). `option_symbol` writes it,
102
+ `parse_option` reads it, and a `sym` with a space spelled any other way is refused by name. An `order` and an `amend`
103
+ may say `effect` (`open` or `close`).
104
+ - `commandagi.design.opportunities`: an opportunity (`<name>.opportunity.py`) and an experiment (`<name>.experiment.py`),
105
+ the same documents as the TypeScript SDK's `.opportunity.tsx` and `.experiment.tsx` (`opportunity`, `contact`,
106
+ `action`, `evidence`, `move`, `draft`, `experiment`, `arm`, `objective`, `decision`; `from_` is `from`, `approved_by`
107
+ is `approvedBy`). Each refusal is by name.
108
+ - `commandagi.design.products`: a product, `<name>.product.py`, the same document as the TypeScript SDK's
109
+ `<name>.product.tsx` (`product`, `variant`, `discount`; keywords in snake_case: `price_cents`, `compare_at_cents`,
110
+ `stock`, `options`, `weight_grams`, `amount_cents`, `starts_at`, `ends_at`, `usage_limit`). A physical product with
111
+ stock and a pre-order `deposit`, or a digital product with each variant's `file`; a discount takes a `percent` or an
112
+ `amount_cents` off, by its `code`, in a window. Each refusal is by name.
113
+ - `commandagi.design.carts`: a buyer's cart at one seller, `Carts/<seller>.cart.py` (`cart`, `item`, `offer`). A cart
114
+ names no price.
115
+
116
+ - `commandagi.design.connectors`: a remote API as a folder tree, `<name>.connector.py`, the same document as the TypeScript SDK's
117
+ `<name>.connector.tsx` (`connector`, `credential`, `licence`, `folder`, `request`, `here`, `each`, `dir`, `file`; the
118
+ attributes `in`, `as` and `is` are `in_`, `as_`, `is_`). A connector that would make an impolite or unreadable request is
119
+ refused with why.
120
+
121
+ - A fact a company or a brand does not know is `unknown("<why>")` (`{"unknown": …}`), and one it knows only roughly
122
+ `about(<value>)` (`commandagi.design.facts`). Any attribute takes either, a required one too.
123
+ - `Product(id, name, about, maker, seller, status, file)` and `Relationships(file)` in a `Company`;
124
+ `Compliance(horizon=…)`; `IpAsset(claimants=[…])`.
125
+ - A brand's `Site(url=…, host=…, project=…)` for a site hosted elsewhere; `Domain(transfer_lock=…)`;
126
+ `Mailbox(address=…, kind=…)`.
127
+ - Scripts (`scripts.py`; CommandAGI's docs/scripts.md): a `<name>.script.py` declares one `script(title, class_,
128
+ about, readme, same_as)` with `source(… stream)`, `tail(of, when, stream)`, `derive(… stream)`, `wake(when | every)`,
129
+ `discover(...)` and `judge(...)`. A tail, a derive's port and a discover's `of` name a file (a script, a run's
130
+ `records.jsonl`) or a series (`fred:DGS10`), never a folder (`tail_ref_problem`). A wake's `when` is a record
131
+ predicate. `script_with_defaults` fills `stream: "records"`. One golden fixture of a wake for the three SDKs,
132
+ `tests/script_wake.json`. Scripts replace monitors.
133
+ - A script's `param(id, type, label, default, required, choices, accept)` (`SCRIPT_PARAM_FIELDS`,
134
+ `SCRIPT_PARAM_TYPES`: file, device, world, unit, channel, run, stream, number, string, choice) makes it a template;
135
+ its document's `params` is always a list, and `script_with_defaults` fills `label`, `default`, `choices` and
136
+ `accept` as None and `required` as True. A choice names its choices; a param declared twice is refused. A
137
+ placeholder `${name}` as a whole value passes a tail's, a derive's port's and a discover's file checks
138
+ (`tail_ref_problem`, a discover's `class_`): its copy fills it. The same as the TypeScript SDK's `scripts.ts`.
139
+ - A session names the scripts that read through it: `session(uses(script="<ref to a script file>"))` (document
140
+ `uses: [{"script": …}]`, `session_with_defaults` `uses: [<ref>, …]`), in place of `uses(monitor="<folder>")`.
141
+ - A company's deals (`company_deals.py`): `Deal(id=, title=, counterparty=, stage=, value=, currency=, expected=,
142
+ closed=, owner=, since=, source=, note=)` in a `Company`, its sales pipeline, imported from
143
+ `commandagi.design.business`. The company document gains `deals` only when the file writes one. The same in the
144
+ TypeScript and Rust SDKs (one golden fixture, `tests/company_deals.json`).
145
+ - A board's `fab(...)` states the house's other least dimensions, as KiCad's board setup states them:
146
+ `min_via_diameter`, `min_hole_clearance` (copper to a hole), `min_hole_to_hole` and `min_edge_clearance` (mm), and
147
+ `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).
148
+ The same in the TypeScript and Rust SDKs.
149
+ - A definition's declared bounds and interlocks (`ontology.py`): `bound(channel, field, min?, max?, max_rate?,
150
+ max_speed?, why?)` folds into its channel's `bounds`, and `interlock(name, channel, requires, why, verbs?, when?)`
151
+ into the definition's `interlocks`; a world's `interlock(unit=…)` guards one of its units by another's state. The
152
+ host's admission gate holds them for every channel, driver or not. A `bounds` or `interlocks` attribute is refused.
153
+ - A company's governance, compliance, IP and insurance (`company_governance.py`): `Seat`, `Compliance`, `Obligation`,
154
+ `Evidence`, `IpAsset`, `Assignment` and `Policy` in a `Company`, and `Vote` in a `Paper` (which gains `body`,
155
+ `threshold` and `quorum`), imported from `commandagi.design.business`. The same in the TypeScript, Python and Rust
156
+ SDKs (one golden fixture, `tests/company_governance.json`).
157
+ - `Company` takes `Subsidiary(file=, ownership=, since=, method=)` (each its own company file, by ref) and
158
+ `Paper(Signature(...), Version(...), kind=, file=, status=, parties=, effective=, expires=, renewal=, notice_days=)`.
159
+ The document gains `subsidiaries` and `papers`, absent when the file names none. The same in the TypeScript and Rust
160
+ SDKs (CommandAGI's docs/company-substrate.md).
161
+ - `body(material=…)` is a physically based material: a `preset` (now with `anodized-aluminum`, `stainless-steel`,
162
+ `abs`, `pbt`, `pc`, `petg`, `pla`, `glass`, `pcb`) and the fields it changes (`ior`, `transmission`, `thickness`,
163
+ `clearcoat`, `clearcoatRoughness`, `anisotropy`, `emissive`, `emissiveIntensity`, `texture`), checked against the
164
+ schema's `BodyMaterial`. The same in the TypeScript, Python and Rust SDKs (one golden fixture, `tests/materials.json`).
165
+ A material given as a string is refused: it is an object.
166
+ - `<wake agent maxSpend>`: a wake names an agent of the account (the thread seats it and the wake goes to it) and bounds what
167
+ one wake may spend on model calls, in US dollars. The same in the TypeScript, Python and Rust SDKs (one golden fixture).
168
+ - ``contact(id=, a=, b=, collide=, friction=, restitution=, report=)``: a contact pair of a 3D document
169
+ (``dynamics.contacts``), the same in the TypeScript, Python and Rust SDKs (one golden fixture): its sides named as a
170
+ check names bodies (no ``b``: the floor), its own friction and restitution, and what a run records of it.
171
+ - 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
172
+ deviations, a range or an ISO 286 class by name (`{ nominal: 30, class: "H7" }`, checked against the SDK's own class
173
+ tables); `holes` as groups (`count`, `diameter`, `through`, `depth`, `axis`, `at`, `position`); `mass` with its density;
174
+ `gap`; `gaps`, a gap for each named pair of bodies; and `faces`, the distance between two named flat faces (`{ body?, at,
175
+ 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.
176
+ - `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
177
+ 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,
178
+ a socket, a breadboard's row of them), the document's `ports`. A placement's `ends` holds its file's rods' ends.
179
+
180
+ Changed
181
+
182
+ - `check(sweep=...)` names the joints it moves: `sweep={'joints': ['X', 'Z'], 'step': 10}` (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.
183
+
184
+ Added
185
+
186
+ - A workflow step waits for an approval: `step(..., approval='agent:reviewer role:release-manager')` names who may
187
+ give it: a principal (`agent:<id>`, `person:<id>`), a role (`role:<name>`) or the holder of a grant that covers an
188
+ address (`grant:<address>`). A note step takes none. The same as the TypeScript SDK.
189
+ - `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.
190
+ - 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.
191
+ - A scout's case may be checked by the kernel: `check={"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.
192
+ - `joint(requires={'j_lid': 100})`: a joint moves only while other joints sit at a pose (a value, or a range `[from, to]`), and `check(sweep={'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.
193
+ - `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.
194
+ - `commandagi.design.media`: a speaker's track, `track(kind="audio", speaker="Cici", turns=passes["C"], src="stems/take.voices.wav")`, makes that speaker's turns in the pass its clips; `denoise(reduction, floor)` and `loudness(target, peak)` are audio effects. The same as the TypeScript SDK.
195
+ - `commandagi.design`: a sketch's builder draws `s.point([x, y])` and `s.line([[x, y], ...])` (an open polyline), and `sketch()` takes a sketch that draws nothing yet (`lambda s: s`). A part with no call yet gives its run the file's map, so the editor writes its first call. The same as the TypeScript SDK.
196
+ - `commandagi.design.eda`: a footprint dict takes `courtyard` (two corners or a polygon of `{x, y}` in mm): the part's F.CrtYd (B.CrtYd on the bottom). The same as the TypeScript SDK's `Footprint.courtyard`.
197
+ - `commandagi.design.records`: a calibration's `joint()` may carry its measured travel `min`/`max` (the bus's raw values, min < max) and `reversed`; `calibration()` takes `by` and `at` (who measured it and when). The same documents and refusals as the TypeScript SDK.
198
+ - `commandagi.design.infra`: a VPN exit, a logged-in state and a vantage as `exit.py`, `session.py` and `vantage.py`, the same
199
+ elements and documents as the TypeScript SDK's `exit.tsx`, `session.tsx` and `vantage.tsx`, with the same refusals.
200
+ `exit_with_defaults`, `session_with_defaults` and `vantage_with_defaults` fill what a file does not say. The
201
+ CommandAGI platform runs only the TSX files: its monitors read `vantage.tsx` and `session.tsx`, and `make infra-plan`
202
+ reads `exit.tsx`.
203
+ - A machining setup's `machine` states its own travel: `travelMm` (`travel_mm` in Python and Rust), `[x, y, z]` in mm. A
204
+ stated travel holds a setup that names no unit, and the unit's definition does not replace it.
205
+ - An `override(artboard=…)` takes `no_keys` (`no_keys=["opacity"]`): the clip's keys of those properties do not show on
206
+ that artboard. An `override` in an `effect` holds `keyframe(param=…)`s, that artboard's own keys of the param, and
207
+ takes `no_keys` of params.
208
+ - A part states its steady `draw` (`draw="120 mA"` or `"1.2 W"`, a KiCad property `Draw`). A system's load that states
209
+ no current or power names a circuit part (`part="ee/main.circuit.ts#U1"`), and `commandagi check` reads the part's draw.
210
+ - A link budget: `quantity="rf-link"` with `frequency` (Hz) and `range` (m) on the budget, and contributions in `dBm`
211
+ (with `end="tx"`, the power sent, or `end="rx"`, the receiver's sensitivity) and in `dB` (gains +, losses -). The
212
+ check adds the free-space path loss and passes when the margin is at least the limit (dB).
213
+ - An interface states its `<channel format dir medium dialect transport>`; `commandagi check` holds a definition or a
214
+ unit side's channel to each field it states.
215
+ - A part's features and a circuit's components keep the call that declared them (`cad.py`, `eda.py`), and the source
216
+ map gives each list its entries, so an editor writes an edit into the literals of `box(…)` or `component(…)`.
217
+ - A data sheet: `sheet(name=…, source=…, query=…, format=…)` reads a file beside the workbook, an http(s) URL or
218
+ `surface:<id>`, as the TypeScript SDK's `<sheet source>` does; it holds no cells, columns or rows.
219
+
220
+ - A video's `clip(link=…)`: two clips of one video file with the same `link` are its picture and its sound, patched to
221
+ two tracks at once. A video file on an audio track is its sound (a clip of kind `audio`); a still there is refused.
222
+ - A drawing's compound shape is `compound(…, op=…)` (`unite`, `minus`, `intersect` or `exclude`): it holds its shapes
223
+ and draws their Pathfinder result live, so each shape stays editable. It replaces `boolean`, which a drawing no longer
224
+ reads; a file that wrote `boolean(…, op="subtract")` writes `compound(…, op="minus")`.
225
+ - A camera unit's calibration takes `camera(channel=…, intrinsics=…, extrinsics=…, residual=…, robot=…, marker=…,
226
+ run=…, reality=…, at=…, by=…)`, one per video channel: the lens, the camera in the world, the residual and the run
227
+ that measured it with its reality (the TypeScript SDK's `<camera>`).
228
+ - A board's `<component>` takes `locked` (KiCad's footprint lock, `true` or left out), so a KiCad board's locked footprints keep the
229
+ lock through the code and back to a `.kicad_pcb`.
230
+ - A schematic's code part takes `suppressed` (`code(name, source=…, suppressed=True)`): a suppressed part is not run
231
+ and declares nothing (the graph's disabled node).
232
+ - A board's `trace(…)` takes `rule`, its routing rule: "45", "90" or "any" (the default). A value off these three is
233
+ refused.
234
+ - A market recording (`<name>.market.py`, `commandagi.design.market`): `market(...)` holds one element per record, in
235
+ time order: `note`, `quote`, `trade`, `book` (its `bid` and `ask` levels), `news`, `position`, `order`,
236
+ `order_update`, `cancel`, `cancel_update`, `amend`, `amend_update`, `fill` and `account` (its `holding`,
237
+ `open_order` and `problem` children). Every attribute is text; a price or a quantity is decimal text (`"185.09"`),
238
+ and a number there is refused by name. It declares `{"records": [...]}`.
239
+ - A step-response study's `tune(joint=…, kp=[low, high], kv=[low, high])`: the bounds the validation planner may
240
+ search a joint's gains in when the study fails; what it finds is proposed as an edit of the unit's calibration.
241
+ - A study of kind `step-response` (`units="rad-s"`, `STEP_RESPONSE_UNITS`): `step(id=…, joint=…, from_=…, to=…)` (each
242
+ solved alone), `gains(joint=…, kp=…, kv=…)` (the gains to try on a joint), `response(duration=…, dt=…, band=…)`; a
243
+ `criterion` names the `step` it reads. Its `part` is a `definition.tsx` or a unit of a world (`world.tsx#<uid>`).
244
+ - A unit's calibration (`<name>.calibration.py`, `commandagi.design.records`): `calibration(device=…, serial=…, note=…)`
245
+ with `joint(name=…, zero=…, kp=…, kv=…, run=…)` and `rezero(joint=…, zero=…, at=…, by=…, reason=…)`, the unit's
246
+ re-zeros oldest first. A world unit names it by `calibration`.
247
+ - A side places the interface's frame by `rotation` (degrees, counter-clockwise) and `face` (`back`: read from the
248
+ mating part, the frame mirrored through its y axis, so a hole or pin placed on it is mirrored too).
249
+ - 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.
250
+ - `sch_style`: a placement's De Morgan body style (`unit("U1", 2, …, sch_style=2)`), which selects the pins and body the library draws for it. 1 is the default and writes nothing.
251
+ - `commandagi.design.scouts`: the scouts' two documents, the same as the TypeScript SDK's `scouts.ts` (docs/scouts.md
252
+ in the CommandAGI repository):
253
+ - `scout(case(...), configuration(...), workload(...), judge(...), budget=…, …)` (`<name>.scout.py`): one comparison
254
+ of configurations on the cases of each workload, scored by a check (`exact`, `oneOf`, `number`, `contains`,
255
+ `regex`, `json`, `letter`, `literal`, `tool`, `program`) or by a judge panel, with the verdict's rules (`budget`,
256
+ `repeats`, `margin`, `relative_margin`, `error_floor`, `min_calls`, `min_cases`, `resamples`, `alpha`, `seed`,
257
+ `max_cases`). A case's `from_` is `public`, `synthetic` or `own-run`; nothing else may be a case.
258
+ - `replacement(layer(capability(evidence(...))), decision(...), product=…, as_of=…)` (`<name>.replacement.py`): what
259
+ replacing a product would cost, by layer and capability, with the decision and the economics.
260
+
261
+ - A monitor source names the connected account it reads as (`<source connection="gmail@jacobfv123@gmail.com">`); the api worker reads it (`via="worker"` only).
262
+ - `<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).
263
+
264
+ - A world unit declares `tilt_deg`: how far its front is raised above level, in degrees (positive up; absent is
265
+ level). A video channel declares its lens as `fieldOfViewDeg`, `frameAspect` and `lensAtMm`, which the world view and a
266
+ world's coverage test read alike.
267
+
268
+ Added
269
+
270
+ - A load states its `duty`: the share of time it draws (`duty={0.25}`, a number in (0, 1]). A power budget takes
271
+ its average draw; a peak budget takes the whole draw at the peak. A load's `inrushCurrent` (A) is its peak at
272
+ switch-on when it is more than its peak draw.
273
+ - An agent declares its `supervisor` (`<agent supervisor="agent:lead">`, `agent:<id>` or `person:<id>`): a thread's
274
+ membership takes it at join, and a person's supervise of that member overrides it.
275
+ - An interface's `<param>` states a number with its unit, or a text a channel states (a `format`, a `dialect`,
276
+ a `transport`: `<param id="framing" value="8N1" />`) and then no unit. A side's `params` maps such a field
277
+ to it, and the check compares the texts: a definition's channel and a firmware `#define` alike.
278
+ - A side states where the interface's frame sits on it with `rotation` (degrees counter-clockwise) and `face`
279
+ (`top`, or `bottom` for the side seen from the mating board, whose frame is mirrored): a 3D deck turned a
280
+ quarter turn, or read from underneath, matches the same hole pattern.
281
+
282
+ Changed (a document written for 0.6.8 may need an edit)
283
+
284
+ - `compound(…, op="zork")` is refused at declaration, in the draw graph's words: `compound.op is unite, minus, intersect or exclude,
285
+ not "zork"`. It used to declare and then fail to draw. An `op` that is not a string was drawn as `unite` and is
286
+ refused too. No `op` is still `unite`.
287
+ - A board holds its copper to what it has: a `trace`, `arc`, `via` or `pour` on a layer that is in neither the
288
+ board's layer table (`BOARD_LAYERS` when it gives none) nor a conductor of its `stack` is refused at declaration
289
+ ("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
290
+ with inner copper states it, in `layers` or a `stack`.
291
+ - `commandagi.design.evals`: a metric's `probe` names a task file (`{"kind": "task", "task": "<ref>"}`, an
292
+ `alignment`'s `reference.task`) or another metric file (a `composite` input's `metric`) by ref; a probe that names
293
+ one by node id (`taskId`, `metricId`) is refused with why, as the platform's routes and reader refuse it.
294
+
295
+ Fixed
296
+
297
+ - A part's `eda.part.` type and a placement's `sch.symbol.` type hash UTF-16 code units, as the format's rule says and
298
+ as the TypeScript and Rust SDKs do, so a pin name above U+FFFF gives the same type in all three. A pin's name is
299
+ trimmed as JavaScript trims.
300
+ - 3D: a placed file's `<joint>`s come with it, as `<placement id>/<joint id>` at any depth (`dock_a/palletLift`,
301
+ `bay_1/dock_a/palletLift`). Each is placed as the file's bodies are (its anchor, axis and references), with its
302
+ `fixed` chain, so a sweep in any document above moves what the joint moves in its file:
303
+ `sweep={{ joint: "dock_a/palletLift" }}`. No level restates a joint (CORE-58, IC1-20, PCBC-22, ROUTER-02). A joint
304
+ whose `a` or `b` the placement leaves out (`omit`) goes with it; a `moves` entry that moves only its `a` along the
305
+ joint (a latch closed, a lid opened) shifts its `limits` by that value, so the sweep still stops where the file
306
+ says. Needs a host of this version (`commandagi check` links the placed files).
307
+
308
+ Removed
309
+
310
+ - `Domain(mail=…)`: a domain receives mail when the brand names a `Mailbox` at it.
311
+ - The monitors vocabulary (`commandagi.design.monitors`, `monitors.py`: `monitor`, `follows`, `monitor_with_defaults`):
312
+ scripts (`commandagi.design.scripts`) replace it. A session's `uses(monitor=…)` is `uses(script=…)`.
313
+
314
+ ## 0.6.8 (2026-10-23)
315
+
316
+ Added
317
+
318
+ - `commandagi.design.monitors`: `discover(of=..., into=..., when=..., slug=..., class_=..., props=..., name=..., max=...)`,
319
+ a monitor's part that gives each thing its records name a folder and a thread of its own; a monitor's `same_as`, a
320
+ source's `vantage` and a follow's `where`. A monitor's document always has `discovers`. The same as the TypeScript
321
+ SDK's `<discover>`, `sameAs`, `vantage` and `where`.
322
+ - `commandagi.design.twod`: `engrave(id=..., src="logo.png", x_mm=..., y_mm=..., width_mm=..., height_mm=..., dpi=...,
323
+ dither="ordered")` in a `nest(...)`, an image burned on the first sheet. The same as the TypeScript SDK's
324
+ `<engrave>`.
325
+ - `commandagi.design.threed`: `curve(tangents=[{"at": 1, "direction": [...]}], tangent_scale=...)`, a spline's
326
+ direction at an inner point (the spline is C1 there) and how hard every given tangent holds (1 is the natural
327
+ spline). `pathPattern(path={"curve": ...})` places its copies along a curve in space, and `align_to_path` turns each
328
+ by the curve's rotation-minimizing frame. A sweep's `twist` now turns the profile on top of the Frenet and up frames
329
+ too.
330
+ - `commandagi.design.threed`: `product(id=, name=, part_number=, compliance=, shipping=)`, the product as it is sold
331
+ (its certifications, tariff heading, packed size and mass; the document's `products`); `make.stock` (the stock a
332
+ made part uses, bought by its own offers); a process chemical's `shutoff`. The same as the TypeScript SDK's
333
+ `<product>`.
334
+ - `commandagi.design.evals` (`commandagi::design::evals`): an eval and a metric in code, `<eval>` with `<case>`
335
+ children and `<metric>`, the same documents as the TypeScript SDK's `evals.ts`. A case names its task file (`task`,
336
+ a ref) or says its `instruction`; `metrics` and `acceptanceMetric` are refs; `frozen` is the digest the eval is
337
+ frozen at. In Python the elements are `eval(...)`, `case(...)` and `metric(...)` (importing `eval` hides the builtin
338
+ in that file), and a metric's `pass` is written `pass_`.
339
+ - `commandagi.design.pcb`: `group(side="any")` lets the placer turn each part over where that costs less, and
340
+ `group(edge=…, mating=…)` holds the group's parts against a board edge (`"left"`, `"right"`, `"top"`, `"bottom"`),
341
+ their `mating` side (in the footprint's own frame) out; `mating` needs `edge`.
342
+ - `commandagi.design.pcb`: `component(ref_at=[x, y])`, where the part's reference text sits (mm, in the footprint's
343
+ own frame); the layout moves each reference off copper and off the others and writes it here.
344
+ - `commandagi.design.pcb`: `bus(name, nets, pitch)`, nets that run together: where their tracks run side by side they
345
+ are parallel, `pitch` (mm) apart centre to centre. The same element as the TypeScript SDK's `<bus>` and the Rust
346
+ SDK's `bus()`.
347
+ - `commandagi.design.threed`: `fastener(corner=...)`, the direction from the axis to a corner of each hexagon of the
348
+ 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
349
+ places the file turns it with the placement, so one assembly placed at two turns is one STEP product.
350
+ - The materials data has the fastener grades `A2-70`, `A4-70`, `8.8` and `12.9` (each row's source says where its
351
+ numbers were read): a screw whose stack names one of them has a mass.
352
+
353
+ Changed (a document written for 0.6.7 may need an edit)
354
+
355
+ - `commandagi.design.evals`: an eval's `objective` and its `scoring` weights name metric files by ref, as `metrics`
356
+ does: `objective={"kind": "metric", "metric": "Lap time.metric.tsx"}`, a linear term's `metric`, and weights keyed
357
+ by ref. An objective that names a metric by node id (`metricId`) is refused with why. The same as the TypeScript
358
+ SDK's.
359
+
360
+ Fixed
361
+
362
+ - The T-slot sections have the maker's 45° web again: `cavity_floor_width` is 5.88 (5 Series) and 9.17 (HFS6-3030).
363
+ 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
364
+ 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
365
+ mass are within 3.1 % of MISUMI's, and the repository's test holds 5 %.
366
+
367
+ - Silent failures are errors (microfab 0.6.6). The vocabulary's descriptions say so; what reads a document does it:
368
+ - CORE-59: `<externalPart omit moves>` take a placed file's id for everything placed under it (`omit={["pallet"]}`
369
+ is `pallet/*`, its `<item>`s too), and an entry that names nothing of the file is an error that names it.
370
+ - CORE-63: an `<accept check>` or a `<permitted check>` that is no check of the document is an error
371
+ (`accept-unknown-check`, `permitted-unknown-check`); a `<permitted body>` that names no body is one too
372
+ (`permitted-unknown-body`). A circuit's `<accept check>` of no check is an ERC error.
373
+ - CORE-64: a placement's `quaternion` is a unit quaternion: within 1e-5 of unit length (6 decimals) it is read as
374
+ the rotation it rounds; further off it is refused, so a placement never scales a part.
375
+ - LABS-27: `commandagi task approve | decline` is a person's own act: refused from an agent's shell or with an
376
+ agent's key, and typed at a terminal; the record names the person.
377
+
378
+ ## 0.6.7 (2026-10-23)
379
+
380
+ Added
381
+
382
+ - `commandagi.design.threed`: `curve(...)`, a curve in space (`kind` `"spline"` through `points` with optional
383
+ `start_tangent` and `end_tangent`, `"polyline"` with `bend_radius`, `"helix"`), and `sweep(...)` along it
384
+ (`path={"curve": "lead"}`) with `frame` (`"minimal"`, `"frenet"`, `"up"` with `up`, `"guide"` with `guide`) and
385
+ `twist`. A curve is also the plane normal to it at its start, under its id (`plane={"type": "datum", "plane": "lead"}`).
386
+ A sweep that would cross itself fails by name (`self_intersection`). Needs a 3D service of this version.
387
+
388
+ - `commandagi.design.mounts`: a thread's mounted tasks as `mounts.py` in its run folder, `mounts(mount(label=…, …))`,
389
+ the same document as the TypeScript SDK's `mounts.tsx`. A mount names one task (`task`), or a list (`folder`,
390
+ `project`, or a query: `assignee`, `labels`, `status`); a mount that names both, or nothing, is refused.
391
+
392
+ - `cagi.tasks.mount`, `unmount` and `mounts`: mount a task (`task=…`), a task list (`folder=…`), a project
393
+ (`project=…`) or a query (`assignee="me", status=["todo"]`) to a thread. With no thread named, they act on the
394
+ thread the code runs in, and the agent is prompted with the open tasks until they are done.
395
+ - `commandagi.design.systems`: a device definition is a side of an interface (`side(kind="definition", channel=…,
396
+ params=…)`). `load(...)` takes `peak_current` and `peak_power`; `budget(quantity="power", peak=True)` counts each
397
+ load at its peak. `peak` on any other budget is refused.
398
+
399
+ Fixed
400
+
401
+ - 3D: each face of the view cube carries the name of its view (Front showed "Back"); a thread cuts its whole groove
402
+ (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
403
+ extrude the disc alone. Needs a 3D service of this version.
404
+ - PCB: after Lay out, the board view shows the copper that the layout added, with no reload.
405
+
406
+ In the host (`@commandagi/host` 0.6.7)
407
+
408
+ - Agent CLIs as instances: a host runs each CLI (Claude Code, Codex, Gemini CLI) and every fork of one found along the
409
+ search path of the thread's folder (`agents/<folder>/agent.tsx`), each with its own model and a named sign-in.
410
+ `commandagi agents signin <name> --cli claude-code|codex|gemini-cli` runs the CLI's own login into a config folder of
411
+ its own; `--save-to-account` keeps the sign-in in your account, sealed, and `--from-account` brings it to another
412
+ computer. A sign-in at its limit gives its turn only to another provider, never to another sign-in of the same
413
+ provider. `agents.sandbox` (`os` or `off`) replaces `agents.approvals`; `agents.models` is gone (each instance has
414
+ its model).
415
+ - A thread with several agent members works a mounted task list in parallel: `commandagi agents start --mount <M>
416
+ --member <A> …`, `agents join|leave` and `agents tasks`. A claim is a compare-and-set write of the task file,
417
+ recorded first in the thread's `tasks` stream. Each task gets its own git worktree and branch, which the host never
418
+ merges. `agents.concurrency` bounds the turns of each sign-in; a dead claim is released. An agent may be a member of
419
+ several threads.
420
+ - The task loop on the host: the `mounts.tsx` (or `.py`, `.rs`) in a thread's run folder starts each agent turn with
421
+ the open mounted work, and a write of a mounted task wakes the loop.
422
+ - Site hosting: `commandagi sites deploy|list|logs|rollback|domains|env|build`. A push deploys each branch (the
423
+ production branch to `<slug>.commandagi.app`, any other branch to a preview). A framework site (Vite, Astro,
424
+ SvelteKit, Next static export, CRA) is built by `commandagi sites build` on a computer of the account.
425
+ - Interfaces: a device definition's channel is a side of an interface; the check holds the channel's fields (baud) to
426
+ the interface's parameters.
427
+ - Test plans: each step's `verifies` is read back, and a requirement that it names must name the step.
428
+ `commandagi testplan check|run|history|results`.
429
+ - Firmware rollouts refuse a rollback: a release below a unit's `minSecurityVersion` goes to no unit, and the wave
430
+ halts. `commandagi rollout check|start|advance|retry|rollback|status|close`.
431
+ - Budgets: a power budget with `peak` counts each load at its `peakCurrent` or `peakPower`; data and data-rate units
432
+ (`bit` … `TB`, `bit/s` … `GB/d`); the contributors of a cost budget are the roll-up's lines. A release refuses a
433
+ pinout or footprint check that names a part from memory.
434
+
435
+ On the platform
436
+
437
+ - A thread's mounted tasks: `GET|POST|DELETE /threads/:id/mounts` and the tools `mount_tasks`, `unmount_tasks` and
438
+ `list_mounts`. Each turn carries the open mounted work, and the thread continues with the next task until the work is
439
+ done, bounded by no-progress turns, its budget and its run state. A task is named by its drive and its id: an id
440
+ found in two other drives is refused (`409 ambiguous_task`) with each address.
441
+ - Agent sign-ins kept in the account (`agents signin --save-to-account`), sealed outside the Drive; a person's key only.
442
+ - Sites deploy from a push, with a preview for each branch, env for each target, rollback and deploy logs
443
+ (`deploy_site { fromFolder, target }`, `site_deploy_log`).
444
+ - An API key never mints a key or seats an agent wider than itself, and every Drive write (a git write too) needs the
445
+ key's edit scope.
446
+
447
+ ## 0.6.6 (2026-10-22)
448
+
449
+ Added
450
+
451
+ - `client.git`: the folder git operations listed under the host below (`merge(branch=…)`, since `from` is a Python keyword).
452
+ - `eda.layout` follows a platform layout job to its end.
453
+
454
+ Fixed
455
+
456
+ - The T-slot sections have the maker's 45° web between two slot cavities: 1.5 mm in the 5 Series (MISUMI's drawing
457
+ 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
458
+ `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;
459
+ 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
460
+ radii or fillets), and the repository's test holds 5 %.
461
+
462
+ In the host (`@commandagi/host` 0.6.6)
463
+
464
+ - The FEA kernel picks its solver for each level from the level's size and the memory it has: PaStiX on every core
465
+ when it fits, SPOOLES on one thread when it does not. The level's line says which ran and why. `COMMANDAGI_FEA_MEMORY`
466
+ (for example `96g`) sets the kernel container's memory. A 2.18-million-node level needs about 73 GB with SPOOLES and
467
+ 108 GB with PaStiX.
468
+ - The workbench speaks Japanese, Brazilian Portuguese, French, German, Arabic (right to left) and Indonesian, beside
469
+ English, Spanish and Simplified Chinese.
470
+ - `commandagi git <op>` works on a folder of this computer or a cloud folder (`cloud://home/<uuid>/…`): status, log,
471
+ diff, commit, checkpoint, branch, switch, checkout (a commit as a detached HEAD), merge, remotes, fetch, pull, push,
472
+ and fork (cloud). A remote's credential names an account of the host's secret store and is given to git for one
473
+ call; it is never written into `.git/config`. A synced folder and its cloud folder share one history.
474
+
475
+ On the platform
476
+
477
+ - A cloud file or folder that was renamed or moved is still reached at its old path; the answer names the current one
478
+ (`x-commandagi-moved-to`). A git remote that names an old folder keeps working.
479
+ - `pcb_layout` on a board larger than the platform runs in place becomes a job (`pcb_layout_status`); no layout ends in
480
+ a Worker resource error any more.
481
+
482
+ ## 0.6.5 (2026-10-22)
483
+
484
+ The items still open after 0.6.4 (the microfab team's ids in brackets). `@commandagi/host` 0.6.5 carries the checks.
485
+
486
+ Changed (a document written for 0.6.4 may need an edit)
487
+
488
+ - A `<fastener at>` is a point on the screw's axis, on or above the first clamped part: the rebuild seats the stack on
489
+ the face its washer or head bears on (a counterbore's floor, a top face, a countersink), and builds every piece
490
+ there; `grip` is measured from the seat. A stack that finds no seat stays at `at`, and `head-not-seated` says why
491
+ (PCBC-06).
492
+
493
+ Added
494
+
495
+ - Board fills read KiCad's thermal spoke angle (45° for a round pad, 90° otherwise), relieve heatsink vias as KiCad
496
+ 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
497
+ pieces (EDA-27).
498
+ - `<group near maxDistance>` is a hard rule of the placer; a wide net necks to its class's `minWidth` only where full
499
+ width does not fit, and `pcb_layout` names each neck. The axis node lays out complete: KiCad 0 errors, 0
500
+ unconnected, 0 parity (EDA-20).
501
+ - 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,
502
+ the same mesh (CORE-23).
503
+ - A syntax error in plain code names `file:line:col` and its token in every runner (the command line, the platform, the
504
+ page; Python too).
505
+ - The T-slot profiles are drawn as the catalog draws them: each section's area, moments and mass within 5 % of MISUMI's
506
+ (the table also gains `cavity_floor_width`, and HFS6-3030 its corner holes).
507
+
508
+ ## 0.6.4 (2026-10-22)
509
+
510
+ 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
511
+ is the same in the three SDKs, in each language's spelling; `@commandagi/host` 0.6.4 carries the checks.
512
+
513
+ Changed (a document written for 0.6.3 may need an edit)
514
+
515
+ - A placed assembly keeps its own `<permitted>`, `<library>`, `<accept>` (`body` and `other`) and names under the
516
+ placement: a dock that passes alone passes where it is placed. A placement's id selects its members in `bodies`,
517
+ `against` and `pair` (`dock`, `dock/MF-SH-VEE-20`) (CORE-51, CORE-52, CORE-54). A placed file of several parts keeps
518
+ each as `<placement>/<id>`.
519
+ - Every file resolves its imports from its own folder, in every command; the folder a run reads is `--folder`, else the
520
+ file's git repository (CORE-48, CORE-50). A `<part>` or `<assembly>` inside another document says to place its file.
521
+ - `commandagi diff` prints its lines; `--json` or `--out FILE` gives the JSON (CORE-45).
522
+ - An accept of a check that ran and covers nothing warns (`accept-unused`); a whole-part finding (`mill.material`) has
523
+ no place, so a body + rule accept covers it (CORE-47). `--only` leaves out the other checks' accepts (IC2-18).
524
+ - One finding per hole, cup or region, each with its own size (CORE-46). A washer is what bears on a clamped part
525
+ (IC2-14).
526
+ - A bill line of fastener pieces is named by its designation, a roll-up line by its part number (CORE-29).
527
+ - `route` says `complete: false` while a net has islands, pours counted (EDA-23); `route`/`layout` `--out` names the
528
+ board written, the input is left (EDA-22); copper too near the edge is an error (EDA-25); a part with no sheet
529
+ position is in ERC (EDA-21).
530
+
531
+ Added
532
+
533
+ - `<check sweep={{ joint, samples | step }}>`: interference and clearance over a joint's limits, each finding at its
534
+ joint value with where it starts and ends (PCBC-14); `<accept maxVolume>` (PCBC-18).
535
+ - `<externalPart omit moves>`: one placed file with parts left out or moved; a frame placed in every station (IC1-19,
536
+ IC1-14, PCBC-20).
537
+ - `engineering.envelope` and `mountingHoles` for a bought part drawn as its envelope (IC2-13); `<library sizes>`, one
538
+ table of sizes, part numbers and prices (CORE-29); a library screw's mass (CORE-44).
539
+ - STEP files hold one product per part used N times, nested sub-assemblies, and the library's part numbers (CORE-20,
540
+ CORE-53, IC2-19); `threed observe` names bodies as the checks do (CORE-39).
541
+ - `<slice device>`: a resin setup names its printer (CORE-42). A through hole is drilled from both declared setups
542
+ (CORE-40). A run of primitive cuts is one boolean: 473 cut cylinders check in 2.7 s, not 21 s (IC2-15).
543
+ - Studies: results are streamed (a 2.18M-node study, 1.2 GB of results, runs to its verdict: CORE-55); a container
544
+ ends with its host; stress beside a converging re-entrant edge is read (CORE-56); `spring` and `pin` supports
545
+ (IC1-15); `--keep field` (PCBC-19); `study check` refuses what `study run` refuses (CORE-41).
546
+ - `COMMANDAGI_THREED=cloud` on the command line, and every report says where its kernel ran (CORE-43, IC1-18,
547
+ IC2-16). Times per check and per feature (IC1-09, PCBC-15). A long hole table continues on further sheets
548
+ (IC1-17); a misplaced view is named (IC2-17). A wrong bracket is reported at its token (IC1-16).
549
+ - `diff`, `release status --diff` and a task's check read flows, systems, requirements and interfaces (LABS-21); a
550
+ release checks its flows (LABS-22); `make.ratePerHourHigh` (LABS-23); `<visit tool minutes>` in a flow step
551
+ (LABS-24); `commandagi task propose | approve | decline` offline (LABS-13); `live-miss` (LABS-14); `"unknown"` for
552
+ HS code, origin, hazmat, ECCN and datasheet (PCBC-16).
553
+ - Boards: pours read KiCad's own fill settings (EDA-27, in part); plane vias from the router (EDA-23); `pins
554
+ --install-hook` (EDA-26); RXD0/TXD0 GPIO numbers (EDA-12); `.3d.py` relative imports (PCBC-17).
555
+
556
+ ## 0.6.3 (2026-10-21)
557
+
558
+ The fixes for the microfab team's report on 0.6.2 (110 issues; the ids in brackets are theirs). The vocabulary below
559
+ is the same in the three SDKs, in each language's spelling; `@commandagi/host` 0.6.3 carries the checks.
560
+
561
+ Changed (a document written for 0.6.2 may need an edit)
562
+
563
+ - One face query for 3D documents, checks and studies: a study's `type` is `geometry`, `nearest` is `farthest` with
564
+ the direction reversed, `radius` and `area` take `{ min, max }`; `at` names the face that holds a point (CORE-24,
565
+ PCBC-12, IC2-08).
566
+ - A finding names a body by the id the document gives it (`<body id>`, else the feature that made it); the rebuild's
567
+ `body_0` is `rebuildId` (CORE-13). A covered finding's `severity` is `suppressed`, its own in `coveredSeverity`
568
+ (PCBC-03).
569
+ - `commandagi check` prints a compact report (verdict, each check, findings grouped by rule); `--json` or `--out FILE`
570
+ gives the whole report (IC2-12, PCBC-04).
571
+ - A `bodies` entry that names no body is an `unknown-body` error: a check of nothing never passes (LABS-02).
572
+ - Copper joins where it is drawn, and a pour joins the pads and vias of its net it covers; `from`/`to` are optional
573
+ (EDA-03, EDA-06). A part on the bottom flips its pads, paste, mask, silk and courtyard as KiCad does (EDA-04). An
574
+ unrouted net on a board with copper is an error (EDA-05).
575
+ - An unknown material is a warning of the process check (CORE-11).
576
+
577
+ Added
578
+
579
+ - Placed parts carry what their file states: engineering, mass, part number, fasteners; a placed assembly keeps its
580
+ members as `<placement>/<id>`. Check, `threed bom`, `threed observe`, STEP and `diff` agree (CORE-01 to -04, -09,
581
+ -20, -26, -27). Bill lines and logistics findings are one per part number with a quantity (LABS-16, IC1-11).
582
+ - A `.3d.tsx` imports sibling `.ts`, `.tsx` and `.json` files; a `.3d.py` reads its folder and imports sibling modules
583
+ (CORE-05, CORE-06). Syntax errors name the author's line and column (IC1-01); every refused element in one run
584
+ (IC1-02).
585
+ - `commandagi --version` with no key; `check --only ID`, `--timeout S` and a timeout that says so; `release --dry-run`
586
+ and `.releaseignore`; a release also holds the folder's requirements, systems and interfaces (SETUP-01, IC1-09,
587
+ LABS-19, LABS-20, CORE-28). `commandagi layout | route | fabricate <board>` run on this computer (EDA-17).
588
+ - 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
589
+ ambiguous pick that names its faces (CORE-08, IC2-02, IC2-03, LABS-05). A counterbore deeper than its size's
590
+ (CORE-10); `m2.5` threads (IC2-04); a clearance pair the kernel cannot measure is its own finding (CORE-19).
591
+ - 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
592
+ sizes of different nominals (CORE-16); a fit's `pair` covers its press fit's clash (CORE-18); `against` on
593
+ interference and clearance (CORE-25, LABS-03); `<accept other>` for a part modelled inside another, an accept sized
594
+ to its finding (PCBC-09, IC1-10); `<hole spare>` and `<permitted diameter>` (IC1-04).
595
+ - The mill check judges each face from the setup that reaches it (`make.setups`, or the fewest sides), drilled holes as
596
+ drilled, a plate turned on the table, the machine's materials (CORE-07, -12, -14, -15, -21, -34). The resin printer
597
+ prints: SLA printability (drain, cups) and slicing (CORE-32); `commandagi slicer slice X.slice.tsx` (CORE-33).
598
+ - Drawing sheets: hole callouts from the hole features (depth, blind, FAR SIDE), a hole table from a datum corner, no
599
+ overlapping callouts, the release's REV (CORE-22, -31, -36, PCBC-10).
600
+ - Studies: inverted elements straightened, each level's reason on its line, `<solver timeout>`, `--keep finest`, a
601
+ fixture on a region (CORE-37, IC2-10, PCBC-11, IC1-15).
602
+ - Budgets of any quantity and unit (flow, area, volume …), a priced `<item ref>` to a design with its lead-time path,
603
+ a diff that names every logistics change, process flows (`.flow.tsx`), cost ranges, µm and nm, `other` processes,
604
+ `<library>` data for fastener pieces, `<fastener material partNumber>`, a `chemicals` check (LABS-06 to -12, IC1-03,
605
+ IC1-05, IC1-12, IC2-11, PCBC-13). HFS5-2060 and HFS5-2080 in the T-slot table (CORE-35).
606
+ - Boards: pinless parts (EDA-02), four-layer net-class rules (EDA-07), KiCad parity on no-connect pins, datasheets and
607
+ back-side text (EDA-08 to -10), interface sides that read a sheet, a board or a `.sch.py` (EDA-14), a fabrication
608
+ BOM by part number (EDA-19), `near` as a hard rule of the placer (EDA-20).
609
+ - 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)
610
+ (LABS-04, IC2-06).
611
+
612
+ In this SDK
613
+
614
+ - `netclass(...)` states the rules a four-layer board needs: `min_width` (the narrowest track; `width` is what the
615
+ router lays), `edge_clearance` and `hole_clearance` (the least gaps to the board edge and to a hole),
616
+ `inner={"clearance": …, "width": …, "minWidth": …}` (the rules on inner copper layers) and `min_spokes` (the fewest
617
+ thermal spokes a pad needs to a pour). `commandagi check` holds the board to them and `commandagi export kicad`
618
+ writes them into the project and its `.kicad_dru` (microfab EDA-07).
619
+ - Every request (the client, a session's frames and its WebSocket, the 3D kernel's cloud and local calls) sends
620
+ `User-Agent: commandagi-python/<version>`. The platform's CDN refused the kernel's standard-library requests with
621
+ `error code: 1010` (microfab CORE-30).
622
+
623
+ ## 0.6.2 (2026-10-16)
624
+
625
+ No change in this SDK's code. The release carries `@commandagi/host` 0.6.2, which `commandagi check` and the local 3D
626
+ service run:
627
+
628
+ - A STEP export writes a body's part number: `<body engineering={{ partNumber: "PN-1001" }}>` is the id of the
629
+ body's `PRODUCT` (`PRODUCT('PN-1001','Plate',…)`, as AP242 and AP214 hold it), and the export's `products` list it.
630
+ - The `sourcing` check reports `part-number-collision`: two parts under one part number that differ in process,
631
+ material, finish, description, designation, manufacturer or MPN. Before, the cost roll-up merged them silently and
632
+ priced the second as the first. Shape is not compared.
633
+
634
+ ## 0.6.1 (2026-10-15)
635
+
636
+ Added
637
+
638
+ - Agents (`commandagi.design.agents`): a harness (`harness.py`: `harness(kind=…, label=…, provider=…, runs=[…])`) and an
639
+ agent (`agent.py`: a base names its `harness`, a fork its `parent`), the same elements as the TypeScript SDK's
640
+ `agents.ts`. A realtime harness says what its model takes and gives live: `realtime={"in": […], "out": […], "audio":
641
+ {"in": […], "out": […]}, "fps": …, "hz": …, "minutes": …, "videoMinutes": …}`.
642
+ - Test plans (`commandagi.design.testplans`): a `<name>.testplan.py` holds the steps that test one serial-numbered
643
+ unit, never the results: `testplan(title=…, device=…)` with `condition`, `fixture` and `step`, the same elements as
644
+ the TypeScript SDK's `testplans.ts`.
645
+ - Firmware (`commandagi.design.firmware`): a release (`<name>.firmware.py`: `firmware(version=…, image=…, sha256=…,
646
+ sbom=…, device=…)` with `supports(revision=…)`) and a rollout (`<name>.rollout.py`: `rollout(firmware=…, world=…,
647
+ channel=…, canary=…, waves=[…])` with `health` and `target`), as the TypeScript SDK's `firmware.ts`. A `sha256` that
648
+ is not 64 lowercase hex digits is refused.
649
+ - A world's unit states its `serial` and its hardware `revision`.
650
+ - Tolerances. `parameter(tolerance=…)` and `hole(tolerance=…)` take `{"upper", "lower"}` (mm), `{"class": "H7"}` (an
651
+ ISO 286 class or `ISO 492 bore|outside|width`) or `{"basic": True}`; a tolerance given two ways is refused.
652
+ `commandagi.design.tolerances`: `tolerance_limits(nominal, tol)` and `fit_of(hole, shaft)`, the classes read from
653
+ the shipped tables (`TOLERANCE_TABLES`). `check(kind="fit", hole=, shaft=, intent=)` and `check(kind="stackup",
654
+ chain=, limit=, method=, samples=, seed=)` are checks of a 3D document (`kernel.check`).
655
+ - A hardware release and a change (`release()`, `change()`): the record of what a release of a design holds, a change
656
+ proposal's change, and the release a unit or an instance was built from. A definition names its firmware and
657
+ revision; `firmware()` also declares the channels a firmware gives.
658
+ - Logistics (`part_fields.py`): a schematic part's `suppliers`, `alternates`, `datasheet`, `lifecycle`, `compliance`
659
+ and `shipping`, each KiCad properties of the part, on schematic parts and `component()`; `check(options=)`; a
660
+ board's `fab()`; a 3D document's `item()` and `assemble()`. A body with `process="reference"` (a fit proxy) is out
661
+ of the BOM and the logistics checks.
662
+ - Systems (`commandagi.design.systems`): requirements, a system's budgets (a cost budget names the design whose
663
+ logistics roll-up it reads, `design=`) and an interface, as the TypeScript SDK's.
664
+ - A flow study (`study(kind="flow")`: `fluid`, `inlet`, `outlet`, `flow_mesh`; units m-kg-s).
665
+ - `kernel.dfm`: the manufacturability checks of a part; `kernel.check` takes devices. The slicer kernel (places:
666
+ local, then cloud).
667
+ - `eda.export_kicad` (`pcb_export_kicad`): the board as a KiCad project.
668
+ - Drawing sheets: section and detail views in the schema; a sheet with a section view and no section, or a bad
669
+ detail, is refused.
670
+ - A part's pinout and pads are checked: `pinout_verified`, `footprint_verified` and `package_dimensions` are part
671
+ fields. A material grade states its Poisson's ratio where its source states one.
672
+
673
+ ## 0.6.0 (2026-10-15)
674
+
675
+ Read **Removed** first: a script that calls `eda.autoroute` stops with `unknown tool` on the platform today, with 0.5.1
676
+ too.
677
+
678
+ Added
679
+
680
+ - A schematic part states its engineering data: `part_number=`, `manufacturer=`, `mpn=`, `rating=` and `attrs={…}` on
681
+ any part but a ground. Each is one KiCad property of the part (`CommandAGI IPN`, `Manufacturer`, `MPN`, `Rating`,
682
+ and each `attrs` entry by its own name), so the BOM, the `.kicad_pcb` and a board edit carry it. `attrs` refuses a
683
+ name that has its own argument and the part's own `Reference`, `Value` and `Footprint`. `part_fields(inputs)` and
684
+ `PART_FIELDS` read them back.
685
+ - Declared checks. A 3D document holds the checks it must pass and what it accepts: `check(id=…, kind=…)`
686
+ (`interference`, `clearance`, `holes`, `fasteners`, `edges`, `symmetry`), `accept(…)` (one finding that is right on
687
+ purpose, with its `reason`) and `permitted(…)` (the findings that a process or a purpose permits, such as the square
688
+ edges of a laser-cut sheet). A circuit (`.sch.py`, `.pcb.py`) holds `check(kind="erc" | "drc")` and `accept(…)`.
689
+ Each is checked against the schema when the document is read.
690
+ - `Kernel.check(doc)`: the checks a 3D document declares, run on one build, with its `accept` and `permitted` entries
691
+ applied. Each finding names its check, rule, severity, body (id, name, part number) and location; a check that
692
+ could not run is `skipped` with its reason, never `passed`. A document that declares no check gets the interference
693
+ check.
694
+ - Fasteners: `fastener(id=…, part="iso-4762-m6", length=…, at=…, clamped=[…], receiver=…, washer=…, nut=…, grip=…,
695
+ fit=…)` places a screw from the fastener library with its washer and nut, and records what it clamps into what. The
696
+ `fasteners` check reads that record: each clamped part's clearance hole for its `fit` (ISO 273), and the thread a
697
+ tapped receiver engages (`min_engagement`).
698
+ - Studies (`commandagi.design.study`): a `<name>.study.py` holds the question of an analysis of a part, never the
699
+ answer: `study(kind="structural", part=…, units="mm-N-MPa-t")` with `material`, `fixture`, `loadCase`, `force`,
700
+ `pressure`, `mesh`, `solver`, `criterion` and `revise`, the same elements as the TypeScript SDK. A solve is a run of
701
+ the `fea` kernel, a new kernel name beside `3d`.
702
+ - A board's layout constraints, each a board fact: `netclass()`, `diffpair()`, `group()`, `keepout()`, `thermal()`,
703
+ `objective()` (`commandagi.design.pcb`; CommandAGI's `docs/eda-layout.md`), as the TypeScript SDK's elements. The
704
+ circuit editor's placer, router, layout score and layout checks read them.
705
+ - The layout tools: `eda.layout` (`pcb_layout`), `eda.layout_score`, `eda.check_layout`, `eda.constrain`,
706
+ `eda.place_group` (`pcb_place_group`), `eda.route_nets` (`pcb_route_nets`) and `eda.rip_up`.
707
+
708
+ Changed
709
+
710
+ - The 3D kernel has a third place, `page`: the workbench page's own kernel. `COMMANDAGI_THREED` accepts `page`, `local`
711
+ and `cloud`. Python has no transport to a page, so it passes `page` over and the default order on this computer stays
712
+ `local`, then `cloud`. The `fea` kernel has no page.
713
+ - An example of a task proposal names a simulated run of the world it asks for (`worlds/shop/runs/…`), not a run of
714
+ a second world.
715
+
716
+ Removed
717
+
718
+ - `eda.autoroute` (`pcb_autoroute`). The board has one router: `eda.route_nets` routes what is open of the nets from
719
+ the copper they have, on the copper layers given (`layers`); `rip_up=True` routes them whole.
720
+ - The platform tools `pcb_optimize_routing` and `pcb_optimize_placement` (no SDK method called them; `call()` with
721
+ their names now gets `unknown tool`). Use `eda.route_nets`, `eda.place_group` and `eda.layout`.
722
+
723
+ ## 0.5.1 (2026-10-15)
724
+
725
+ Fixed
726
+
727
+ - `Kernel`'s message when no place can run it names the right install: `npm install -g @commandagi/host`, then
728
+ `commandagi threed install`. 0.5.0 said `npm install -g commandagi`, a package with no command.
729
+ - `call()` no longer stops every call after a fixed 120 s. `CommandAGI(timeout=…)` sets how long a call waits (None:
730
+ no limit; default 120 s), and `call(tool, args, timeout=…)` sets it for one call. A call with no answer in time
731
+ raises `CommandAGIError` that says so (`pcb_autoroute: no answer within 120 s`); the platform may still finish the
732
+ operation.
733
+
734
+ Added
735
+
736
+ - `commandagi.design.to_tsx(element)`: a Python document's root element as the TypeScript SDK's code file
737
+ (`export default () => (<group …>…</group>);`), for a place that reads only TSX. It declares the same document as
738
+ the Python (checked on the shipped examples: a 3D part, a schematic, a board, a drawing, a letter, a company, a
739
+ project).
740
+
741
+ ## 0.5.0 (2026-10-14)
742
+
743
+ 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.
744
+
745
+ Changed
746
+
747
+ - `Kernel` speaks the kernel contract (`POST <kernel>/v1/<op>`, `GET <kernel>/v1/health`) and is placed by
748
+ `COMMANDAGI_THREED`: `local`, `cloud`, both apart by `,` in the order to try (default `local,cloud`), or a running
749
+ service's URL. `platform` is not a value now: write `cloud`. A place where the kernel is not installed is passed
750
+ over; a refusal of the op is the answer. `Kernel.last_ran` says where each answer ran (`local` is never a cloud
751
+ result), and `Kernel.call(op, doc, params)` gives a whole answer. `observe` takes no `doc_id`.
752
+
753
+ Added
754
+
755
+ - A 3D document's engineering vocabulary (`commandagi.design.threed`, checked against the one schema, as in the
756
+ TypeScript SDK): `body(engineering={…})` (material grade, process, finish, vendor, cost, part number, mass),
757
+ `joint(…)` (`fixed`, `revolute`, `prismatic`, `cylindrical`, `planar`, `screw`, `spherical`, `universal`),
758
+ `mate(…)`, `sheet(…)` (an engineering drawing sheet), and `hole(size="M4 close fit")` (a hole by its standard name).
759
+ - `commandagi.design.standards`: `material`, `mass_grams`, `hole_size`, `sized_hole`, `standard_row`, `MATERIALS`,
760
+ `HOLE_SIZES`, `STANDARD_TABLES`, `STANDARD_SOURCES`: the same tables as the TypeScript SDK, each with where its
761
+ rows were read.
762
+ - `hole(body, at=…, size="M4 close fit", depth=…)` in the code-part primitives (`commandagi.design.cad`).
763
+ - `Kernel.sheet`, `Kernel.bom`, and `Kernel.observe(doc, materials=…)`: a body's `mass["grams"]`.
764
+ - 3D documents: a hole's `positions` and `sketch`; faces and edges chosen by a query, `{"kind", "select": {…}}`,
765
+ beside the pick; a part is built in the order of its elements (a feature that names no `consumes` follows every
766
+ body-making feature written before it).
767
+ - `Kernel.interference`, `Kernel.measure_all`, `linked_parts`; `parts=` on every call (an assembly's files);
768
+ `KernelError.failures`.
769
+
770
+ Changed
771
+
772
+ - A joint's kinds: `hinge` is `revolute`, `slider` is `prismatic`, `ball` is `spherical`. Joints and mates are
773
+ `joint(…)` and `mate(…)` elements: the reader refuses them inside `slot(name="dynamics")` and
774
+ `slot(name="assembly")`.
775
+ - `Kernel.measure(doc, quantity, a, b)` works with the platform too (the service takes `measures`).
776
+ - `Kernel.export`, `measure`, `drawing` and `tessellate` refuse a build in which a feature failed. `tessellate`
777
+ answers each body's triangles, not only their count.
778
+ - The call form (`part`, `subtract`, `hole`, `fillet` …) wires a feature to the heads of its body and to its last
779
+ feature: about two wires a feature, where a plate of 129 holes was 566 kB. `Body.state` is gone; `Body.heads` and
780
+ `Body.acts_on()` are what it has.
781
+ - A union's refusal names the field at fault (`edges/0/select/vertical: is not one of its fields`).
782
+
783
+ The first release that contains `commandagi.design`. PyPI 0.4.0 was built on 2026-09-23, before the design layer was
784
+ written; the version in the source stayed at 0.4.0 for the 106 commits after it, so the source and the package had
785
+ one number and different contents.
786
+
787
+ Added
788
+
789
+ - `commandagi.design`: documents declared in code, with the standard library only.
790
+ - The code-part primitives: CAD (`part`, `box`, `cylinder`, `sketch`, `extrude`, `subtract`, `hole`,
791
+ `linear_pattern` …), EDA (`circuit`, `board`, `component`, `net`, `connect`, `footprints`), any graph (`graph`,
792
+ `node`, `input_`, `code`), and `run_module`.
793
+ - One module for each document vocabulary: `schematic`, `pcb`, `threed`, `fab`, `office`, `twod`, `media`,
794
+ `ontology`, `business`, `tasks`, `monitors`, `records`, `postal`, `pdf`.
795
+ - `commandagi.design.cadquery`: a CadQuery-style importer.
796
+ - `commandagi.design.source`: the map from each element to the call that made it, for the editors' write-back.
797
+ - `commandagi.kernel.Kernel` (also `commandagi.Kernel`): `observe`, `export`, `measure`, `drawing` and `tessellate` of
798
+ a 3D document, by the CommandAGI 3D design service (OpenCascade). `COMMANDAGI_THREED` chooses the service:
799
+ `platform` (the default, with an API key), `local` (this computer, offline, no account: the `commandagi` npm
800
+ package's `commandagi threed serve`) or the URL of a running one.
801
+ - Client namespaces: `computer`, `billing`, `web`, `postal`, `social`, `phone`, `vpn`; agent constraints.
802
+ - `LICENSE` (MIT, as `pyproject.toml` states), this file, and § Versions in the README.
803
+
804
+ Changed
805
+
806
+ - The desktop control vocabulary has `mouse_down` and `mouse_up`.
807
+
808
+ Known limits
809
+
810
+ - `Kernel.measure` works with a local service only: the platform's route cannot be told which measurement.
811
+ - The hosted platform does not run a `.py` document's kernel calls for you; `Kernel` sends the graph that
812
+ `run_module` made.
813
+
814
+ ## 0.4.0 (2026-09-23)
815
+
816
+ The generated client (`CommandAGI`, `Session` over the thread WebSocket) replaced `RobotBridge`.
817
+
818
+ ## 0.3.0 (2026-09-05)
819
+
820
+ The first release by trusted publishing.