← Commit history
AI Flow 0.2.88: native DRC net classes (#216)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
7 files changed
+26−13
Cargo.lock+10−10@@ -4,7 +4,7 @@ version = 4 [[package]] name = "adom-aiflow"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-analyze", "aiflow-board",@@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "aiflow-analyze"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "serde",@@ -35,7 +35,7 @@ dependencies = [ [[package]] name = "aiflow-board"-version = "0.2.87"+version = "0.2.88" dependencies = [ "roxmltree", "serde",@@ -44,7 +44,7 @@ dependencies = [ [[package]] name = "aiflow-bridge"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "serde",@@ -53,7 +53,7 @@ dependencies = [ [[package]] name = "aiflow-copper"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "aiflow-grid",@@ -63,7 +63,7 @@ dependencies = [ [[package]] name = "aiflow-grid"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "serde",@@ -72,7 +72,7 @@ dependencies = [ [[package]] name = "aiflow-place"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "serde",@@ -81,7 +81,7 @@ dependencies = [ [[package]] name = "aiflow-pours"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "aiflow-copper",@@ -91,7 +91,7 @@ dependencies = [ [[package]] name = "aiflow-router"-version = "0.2.87"+version = "0.2.88" dependencies = [ "aiflow-board", "aiflow-grid",@@ -101,7 +101,7 @@ dependencies = [ [[package]] name = "aiflow-run"-version = "0.2.87"+version = "0.2.88" dependencies = [ "serde", "serde_json",
Cargo.toml+1−1@@ -14,7 +14,7 @@ members = [ ] [workspace.package]-version = "0.2.87"+version = "0.2.88" edition = "2021" license = "MIT" repository = "https://wiki.adom.inc/adom/adom-aiflow"
bin/adom-aiflow⋯ 1 unchanged line ⋯
crates/adom-aiflow/src/main.rs+2@@ -6918,6 +6918,8 @@ fn main() { let summary: Vec<String> = plan.classes.iter().map(|c| format!("{} ({} net(s))", c.name, c.nets.len())).collect(); let mut hints = plan.notes; hints.push("Run `adom-aiflow rules check` or `adom-aiflow gate` to verify native DRC enforces these net classes.".into());+ // honest about the Altium half: the rules are written for it, not yet applied in Altium+ if let Some(ap) = written.iter().find(|w| w.ends_with("altium-design-rules.json")) { hints.push(format!("Altium: the same rules are written to {ap} for the Altium lane; they are not applied in Altium yet, so set them there (net classes, widths, clearances, differential pairs) before trusting Altium's DRC.")); } ok(&format!("synced {} electrical net class(es): {}; updated {}", plan.classes.len(), summary.join(", "), written.join(", ")), &hints); return; }
docs/release-0.2.88.mdadded+11@@ -0,0 +1,11 @@+# AI Flow 0.2.88++- **The spec's electrical rules go into KiCad's own DRC** (#216, Drew Owens, PR #125). Native DRC used to see only+ the fab's minimums, so a power rail routed at 0.2 mm or a USB pair at the wrong gap could pass it with 0+ violations. `adom-aiflow rules sync` (and `rules use`, when the spec has them) derives net classes from the spec+ (power widths from wideNets/midNets/loads, impedance and differential-pair classes from impedanceTargets,+ high-voltage clearance, sensitive vs switching nets) and writes them into `<project>.kicad_pro` and a managed+ section of `<project>.kicad_dru`, keeping the user's own classes and rules. `rules check` and `gate` report a+ power or impedance net left on `Default` or a drifted width or gap.+- **Altium:** the same rules are written to `altium-design-rules.json`; they are not applied in Altium yet, and+ `rules sync` says so.
package.json+1−1@@ -1,7 +1,7 @@ { "slug": "adom-aiflow", "type": "app",- "version": "0.2.87",+ "version": "0.2.88", "title": "AI Flow", "description": "Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board. One Rust binary with a crate per step (placement helpers, a grid router with Kelvin taps, pours with keepouts, KiCad's DRC gate, live landing through the KiCad Bridge, copper measurement, current and thermal analysis) and a finish line that refuses an unfinished board. Every command answers with hints for the AI; every turn, its thinking time and every rework loop go into run.jsonl, so Claude, Codex and any other engine are compared on the same flow. KiCad, Fusion 360 and Altium Designer today (the same steps and gates through each tool's bridge); Adom's own web apps next.", "summary": "Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board. The AI thinks its way from placement through routing, pours, current and thermal analysis to a delivered video; the binary does the fast, deterministic parts of every step, hands back hints, and keeps a ledger of every turn, every return to an earlier step, and the clock from the prompt to done.",
page.json+1−1@@ -1,7 +1,7 @@ { "slug": "adom-aiflow", "type": "app",- "version": "0.2.87",+ "version": "0.2.88", "title": "AI Flow", "description": "Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board. One Rust binary with a crate per step (placement helpers, a grid router with Kelvin taps, pours with keepouts, KiCad's DRC gate, live landing through the KiCad Bridge, copper measurement, current and thermal analysis) and a finish line that refuses an unfinished board. Every command answers with hints for the AI; every turn, its thinking time and every rework loop go into run.jsonl, so Claude, Codex and any other engine are compared on the same flow. KiCad, Fusion 360 and Altium Designer today (the same steps and gates through each tool's bridge); Adom's own web apps next.", "summary": "Adom's AI Flow: a tool to help the AI follow all of the steps it takes to build a board. The AI thinks its way from placement through routing, pours, current and thermal analysis to a delivered video; the binary does the fast, deterministic parts of every step, hands back hints, and keeps a ledger of every turn, every return to an earlier step, and the clock from the prompt to done.",