#1 [high] Should fix: gpu.rs 3-line duplicate table — delegate to platform_from_pci (~19 lines)
PR #502 adds 0x2d04 | 0x2d05 | ... => Some("gb206") at flare-cli/src/orbit/gpu.rs:319-321, inside a private fn platform(pci_id) (gpu.rs:309-324) that is a hand-maintained copy of helios's table.
Evidence that the copy must not exist:
- helios/src/core/naming.rs:17-20 documents GB202_DEVICES as "the single source consumed by Flare's device detection and by core export naming; do not duplicate the identifiers elsewhere" — the PR duplicates 9 identifiers right there.
- The shared function already exists:
flare_helios::core::naming::platform_from_pci(naming.rs:39-57). Existing callers: flare/src/hardware.rs:18-21 ("Single mapping table shared with core export naming"), heliopause/src/export/capture.rs:2079. - flare-cli already links helios (flare-cli/Cargo.toml:27) and already calls into that module (flare-cli/src/distribution.rs:159
flare_helios::core::naming::PLATFORMS), so no new dependency. - The copy has already drifted: gpu.rs:316 lists
0x2bbcwhich GB202_DEVICES does not; gpu.rs:315 maps only0x2e12of the five GB10_DEVICES (naming.rs:30); ga102/gb300 are absent.
Smaller version: delete fn platform (gpu.rs:309-324, 16 lines) and the 3 added lines, and have revision() call the shared table:
fn revision(pci_device_id: u32, major: c_int, minor: c_int) -> String {
if let Some(platform) = flare_helios::core::naming::platform_from_pci(pci_device_id) {
return platform.into();
}
capability_revision(major, minor)
}
≈19 lines removed, nothing lost: GB206 resolves through the same table export naming uses, and revision() keeps its capability fallback (gpu.rs:224-231) for 0x2bbc-style drift. Behaviour note to state honestly: GA102 ids then report ga102 instead of sm86 (the fallback's format!("sm{major}{minor}") at gpu.rs:229), which is what docs/cli-design.md:887 names. Open PR #469 (GB203) does exactly this deletion ("the private copy of the table is gone") and reconciles the GA102 label, so this hunk also collides with it.
#2 [high] Should fix: naming.rs per-platform const + if-ladder → one table (~13 lines)
helios/src/core/naming.rs currently holds four parallel pub const *_DEVICES: [u32; N] arrays (lines 21-37) and a ladder of if X_DEVICES.contains(&device) { return Some("x") } in platform_from_pci (lines 44-56). PR #502 adds a fifth array (GB206_DEVICES, lines 25-27) plus a fourth arm (lines 53-55), i.e. +7 lines that a table row replaces.
Smaller version (~37 lines at 21-57 → ~24, about 13 saved):
/// Platforms a core may be named for, with the PCI device ids that select each
/// one. Flare's device detection and core export naming both read this table;
/// do not duplicate the identifiers elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
// GB10 and RTX Spark N1X, the SM121 platform.
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
// 0x31c3 is the SM103 GPU of DGX Station GB300.
("gb300", &[0x31c3]),
// GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR.
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
];
pub const PLATFORMS: [&str; 5] = ["ga102", "gb10", "gb202", "gb206", "gb300"];
pub fn platform_from_pci(pci_id: u32) -> Option<&'static str> {
if pci_id & 0xffff != 0x10de {
return None;
}
let device = pci_id >> 16;
DEVICES.iter().find(|(_, ids)| ids.contains(&device)).map(|(platform, _)| *platform)
}
Nothing lost: the five ids sets are disjoint, so order is irrelevant (the current ladder's order gb10, gb300, ga102, gb206, gb202 is arbitrary), and each platform's doc-comment moves to its row. Adding a platform becomes one row + one PLATFORMS name instead of a const + a 3-line arm + a 7-line test block; the same per-platform edit is being written three times today (#469 GB203, #502 GB206, #221 GB300).
#3 [high] Blocking (part): drop the flare-cli hunk — it regresses Orbit placement for the tested card
flare-cli/src/orbit/gpu.rs:319-321 (the PR's 0x2d04 | ... => Some("gb206") arm) makes the Orbit agent report gb206 for a GB206 host, but Orbit's placement requirement for a core is still derived from compute capability: controller.rs:2293-2294 revision: super::gpu::capability_revision(first.architecture[0], first.architecture[1]), and gpu.rs:224-231 maps capability (12,0) — what every GB206 part reports — to "gb202". plan.rs:695-696 then compares the two strings exactly and returns "gpu N <name> is gb206, not gb202".
So on the card the PR was tested on (RTX 5060 Ti, cc 12.0), every core prepared on it requires gb202 while its own host now reports gb206: no core places through Orbit after this PR, where before the PR both sides said gb202 and placement worked. Nothing in the diff touches controller.rs/plan.rs.
Delete the 3 lines (3 of the change's 18 added). Nothing is lost for the stated purpose: the crash the description cites is heliopause/src/export/capture.rs:2079-2085, which reads only helios's platform_from_pci; it never consults Orbit's copy. Orbit keeps its capability fallback (gpu.rs:297-307 → gb202), placement keeps working, and gb206 naming/export/hub-revision detection is unaffected.
If Orbit is meant to report gb206, that needs the placement change (a core's requirement taken from its signed device identity) which open PR #469 carries for GB203 together with the removal of this private table; it does not belong in a 3-line crash fix.
#5 [high] Should fix: PLATFORMS +1 leaves flare/src/catalog.rs:561-563 stale and CI red (0 lines, easier: derive)
Adding "gb206" to PLATFORMS (helios/src/core/naming.rs:15, now len 5) leaves flare/src/catalog.rs:561-563 stale, and the PR touches no test outside helios. That fixture is hardcoded to {"name":"ga102-tp1"}, {"name":"gb10-tp1"}, {"name":"gb202"}, {"name":"gb300-tp8"} inside a loop for target in PLATFORMS (550-568); for target = "gb206", apply_refs sets build_target_match = Some(false) (catalog.rs:319-322: hardware is in PLATFORMS and the branch set is non-empty but lacks the target) and line 566 asserts Some(true), so published_build_match_uses_all_platform_branches fails. .github/workflows/native-serving.yml:77 runs cargo test --locked --release --manifest-path flare/Cargo.toml, so this is a red CI on the head commit (no checks were reported there). #300 had to edit this same fixture for ga102 and #469 for gb203.
Smaller fix than another hand-added branch name (0 net lines, removes the recurring edit):
let branches: Vec<_> = flare_helios::core::naming::PLATFORMS
.iter()
.map(|platform| json!({ "name": platform }))
.collect();
let refs = serde_json::from_value(json!({"branches": branches})).unwrap();
Independently of that, platform_from_pci(0x2d04_10de) should be asserted literally beside the loop (the #221/#469 reviews asked for the same on their platforms): the loop proves the table agrees with itself, not that the table holds the id the description claims.
#9 [high] Research summary
Reviewed PR #502 (+18/−1, two files) through the subtraction lens against the charter, PR #469 (the open GB203 twin), and every caller of the touched functions. Seven findings saved to the scratchpad, ranked by lines saved.
Headline: the helios half is genuinely required — platform_from_pci returning None is a hard error in heliopause/src/export/capture.rs:2079-2085 and flare/src/hardware.rs:95-100, so one table row fixes the crash the description cites. The flare-cli half is not: those 3 added lines only extend a hand-maintained copy of the table that helios/src/core/naming.rs:17-20 forbids, and they make Orbit report gb206 while controller.rs:2293-2294 still derives a core's requirement from compute capability (gb202), so plan.rs:695 refuses to place any core on the card the PR was tested on (blocking for the hunk). It also makes flare run ORG/MODEL request a nonexistent gb206 branch (controller.rs:2210-2233) and makes mixed GB202/GB206 fleets unable to infer a revision.
The rest is subtraction of repetition: the new 7-line test loop is the fourth copy of one assertion (~23 lines saveable), the new const array + if-arm belong in a single (platform, ids) table (~13 lines, and it is the third such per-platform edit in flight: #469, #221, this one), PLATFORMS' new entry leaves flare/src/catalog.rs:561-563 stale and cargo test --manifest-path flare/Cargo.toml (not opened) red in CI (derive the fixture instead of adding another branch), and eleven code/doc sites still enumerate the platform set and should name the table instead of listing names. Two cosmetic tokens also break the file's formatting. Net: the change's own 18 added lines can be about 5, and replaces-with-removal could take ~39 pre-existing lines with them.
#10 [high] Ledger: where the 18 added lines go, what can go, and total savings
PR #502, 2 files, +18/−1 (flare-cli/src/orbit/gpu.rs +3/−0, helios/src/core/naming.rs +15/−1). Accounting of the added lines:
| added | site | verdict |
|---|---|---|
| 1 (replacing 1) | naming.rs:15 PLATFORMS "gb206" |
must stay — one word; but has an external cost (catalog fixture, 11 stale enumerations) |
| 4 | naming.rs:25-27 new GB206_DEVICES const |
replaceable by a row in one table (−4 as written, −13 over the whole family) |
| 3 | naming.rs:53-55 new if-arm | same |
| 7 | naming.rs:203-209 new test loop | 4th copy of one assertion (~−23 over the whole test) |
| 3 | flare-cli gpu.rs:319-321 | delete entirely (blocking; see entries 1, 3, 8) |
Ranked subtractions, lines saved:
- Delete flare-cli's private table (16 lines) + the 3 added lines = ~19 saved — entry 1, blocking in part via entry 3.
- One loop over the platform table in the naming test = ~23 saved (net ~−19 counting the 7 added) — entry 4.
- One
(platform, ids)table replacing 5 consts + 4 if-arms = ~13 saved — entry 2. - Stop enumerating platforms at 11 code/doc sites (no net lines today; it is the edit that #469 had to make in 6 files and this PR in none) — entry 6.
- catalog.rs:561-563 fixture derived from PLATFORMS, 0 net lines, removes the recurring edit that makes CI red — entry 5.
- Two formatting tokens, 0 lines — entry 7.
Totals: the change's own 18 added lines could be ~5 (one word in PLATFORMS, one table row, one generic test loop). Pre-existing lines removed by the same smaller version: gpu.rs:309-324 (16) plus naming.rs:21-57 (37→~24) plus naming.rs:186-216 (29→~6) ≈ 52 old lines replaced by ~30, i.e. ~+22 removed on top of the change's −13 added-line saving ≈ −35 net for the tree. Stated conservatively in the report as "~39 lines removed, about 5 added".
Nothing found for subtraction in: heliopause/src/export/capture.rs:2079-2085 (reads the shared table, unchanged), flare/src/hardware.rs:18-21 and 95-100 (unchanged, already delegates), flare/src/catalog.rs:271-280 branch_platform (already table-driven), naming.rs PLATFORMS consumers in flare-cli/src/distribution.rs:159/720, flare/src/hub.rs:2473/2490/2963/3115 (all table-driven, need no edit).
#11 [high] Necessary part: what must stay in this PR and why (charter grounding)
The report must say plainly which part is already minimal, so the review is not read as asking for a rewrite:
Required: helios/src/core/naming.rs — one PCI id (or the nine) resolving to a platform name. platform_from_pci returns None for unlisted devices, and that None is turned into a hard error in three consumers: heliopause/src/export/capture.rs:2079-2085 (NVML reports unsupported GPU PCI id) — the ignition crash the description cites; flare/src/hardware.rs:95-100 (unsupported PCI ID ...; specify --revision); and, indirectly, the hub revision a download requests. So the smallest fix really is: ids in the table + name in PLATFORMS. 5 lines.
Not required: the flare-cli/src/orbit/gpu.rs arm. Orbit never calls platform_from_pci; it has its own table (gpu.rs:309-324) whose None falls through to capability_revision (gpu.rs:224-231), which already answers gb202 for these cards with no crash. Nothing in the description's evidence (export/serve on a 5060 Ti) goes through it.
Charter grounding (read_charter): "Solve the right problem in the right place ... Look for the smallest footprint in shared code, or a way to solve it without new code at all." And under How We Work: "We're not interested in piling on extra model aliases, random switches, or broad hardware support"; Non-goals include "Broad production coverage across arbitrary models, GPUs". That is why the nine speculative ids (eight untested, sourced from pci.ids, per the description's own "Untested configurations" line) and the second copy of them are the parts to cut, while one id for the card actually tested would satisfy the stated benefit. Also note the description's claim "helios/src/core/naming.rs ... the single source ... do not duplicate" is contradicted by adding the same 9 ids to flare-cli.
#13 [high] Head 8e2ea68 state + ledger (supersedes #10; entries 1/3/8 resolved)
PR #502 at head 8e2ea68 (commit "fix: update catalog test, docs, and scope for gb206 platform"), files +25/−7:
- helios/src/core/naming.rs +19/−1
- docs/cli-design.md +3/−3
- docs/core-format-design.md +1/−1
- flare-cli/src/cli.rs +1/−1
- flare/src/catalog.rs +1/−1
RESOLVED by that commit: the flare-cli/src/orbit/gpu.rs hunk (private PCI copy) was removed. So scratchpad entries #1, #3, #8 no longer apply — Orbit keeps deriving both the host revision and the core requirement from compute capability (orbit/controller.rs:2294 capability_revision, orbit/gpu.rs:297-307, plan.rs:695), so a GB206 host reports gb202 and gb202 cores still place. Its stale private table (orbit/gpu.rs:309-321, drift 0x2bbc, one GB10 id, no ga102/gb300/gb206) is untouched by this PR — that is #469's change (its description: "revision calls platform_from_pci and the private copy of the table is gone"), not this one's.
Accounting of the 25 added lines:
| added | site | verdict |
|---|---|---|
| 1 (replacing 1) | naming.rs:15 PLATFORMS word | keep |
| 6 | naming.rs:25-29 GB206_DEVICES const + doc |
1 table row (finding #14) |
| 3 | naming.rs:55-57 if-arm | folded into the table lookup |
| 7 | naming.rs:205-211 test loop | delete: redundant with the literal assert at :219 (finding #13) |
| 1 | naming.rs:220 0x2d04_1af4 None assert |
delete: vendor mask, same as :221 (finding #13) |
| 1 | naming.rs:219 literal assert | keep |
| 4 | docs (cli-design 887/890/923, core-format 754) | keep, but stop enumerating names (finding #15) |
| 1 | cli.rs:175 | keep the sentence, drop the name list (finding #15) |
| 1 | catalog.rs:562 fixture entry | delete the whole block (finding #16) |
Totals with the smaller version: PR's own +25 ≈ +9; pre-existing lines removable in the same files ≈ naming.rs −40 (consts/if-ladder −15, test −25) + catalog block −7 ≈ −47, net tree change ≈ −40.
#14 [high] Should fix: naming.rs five consts + five if-arms → one table (−17 lines, 8 of them the PR's)
helios/src/core/naming.rs:21-59 at pr/502. The PR adds GB206_DEVICES (:25-29, 6 lines: doc comment + 2-line array) and a fourth ladder arm (:55-57). Pre-existing: GB202_DEVICES (:21-23), GB10_DEVICES (:32), GA102_DEVICES (:36), GB300_DEVICES (:39), then five sequential if X_DEVICES.contains(&device) { return Some("x") } arms plus a .then_some("gb202") tail (:46-58). Block is 39 lines; per-platform marginal cost today is const + arm + a 7-line test block, paid three times in flight (#469 GB203, #221 GB300, this PR).
This is the only source of the ids — search for _DEVICES matches only naming.rs (definition, platform_from_pci, tests). No other file reads the individual consts, so replacing them breaks no caller.
Smaller version (22 lines, pub const DEVICES: [(&str, &[u32]); 5]), keeping PLATFORMS as it is:
/// Platforms a core may be named for, with the PCI device ids that select each.
/// Flare's device detection and core export naming both read this table; do not
/// duplicate the identifiers elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
// GB10 and RTX Spark N1X, the SM121 platform.
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
// 0x31c3 is the SM103 GPU of DGX Station GB300.
("gb300", &[0x31c3]),
// GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR.
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
// GeForce RTX 5060 Ti, 5060, and mobile/workstation variants.
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
];
pub fn platform_from_pci(pci_id: u32) -> Option<&'static str> {
if pci_id & 0xffff != 0x10de {
return None;
}
let device = pci_id >> 16;
DEVICES.iter().find(|(_, ids)| ids.contains(&device)).map(|(platform, _)| *platform)
}
Why nothing is lost: the id sets are disjoint (#469's review and the 2026-11-25 review both verified that), so the ladder's order carries no meaning; every documented id keeps its platform and doc comment; the vendor mask at :42 is unchanged. The return Some("gb206") at :56, the only arm in the file without a semicolon (the missing space in PLATFORMS at :15 was fixed in 8e2ea68), disappears with the ladder.
Lines saved: 39 → 22 = −17, of which 8 are the PR's own added lines (its +9 for const+arm becomes 1 table row).
#15 [high] Should fix: collapse the four looped asserts in naming.rs test (−24 lines, 8 added by PR)
helios/src/core/naming.rs:188-228 at pr/502, pci_ids_select_the_platform_identifier, 41 lines for one assertion in four shapes:
- :190-196 inline literal GB10 id list (duplicates
GB10_DEVICES, :32) - :197 single literal
0x31c3_10de - :198-204
GB202_DEVICESloop - :205-211
GB206_DEVICESloop — added by the PR (7 lines) - :212-218
GA102_DEVICESloop - :219
platform_from_pci(0x2d04_10de) == Some("gb206")— added (keep: pins the id the description tested; the ask in the #221 and #469 reviews) - :220
platform_from_pci(0x2d04_1af4) == None— added; the same vendor-mask branch as :2210x2204_1af4, :2230x2bbc_1af4, :2240x31c3_1af4, :2250x2e06_1af4. Five asserts of one branch (the mask at :42-44 does not depend on the id) → drop the new one and three of the existing ones.
The added 7-line loop is redundant with the added literal assert two lines below it: the loop only proves each const agrees with the arm beside it, which is what a table lookup makes structural.
Smaller version (17 lines, −24), standing on scratchpad #14's DEVICES table:
#[test]
fn pci_ids_select_the_platform_identifier() {
for (platform, devices) in DEVICES {
for device in devices {
assert_eq!(
platform_from_pci(device << 16 | 0x10de),
Some(platform),
"{device:#06x}"
);
}
}
assert_eq!(platform_from_pci(0x2d04_10de), Some("gb206"));
assert_eq!(platform_from_pci(0x2204_1af4), None);
assert_eq!(platform_from_pci(0x2484_10de), None);
assert_eq!(platform_from_pci(0x2bbc_1af4), None);
assert_eq!(platform_from_pci(0x2e07_10de), None);
assert_eq!(platform_from_pci(0x1e02_10de), None);
}
Every id currently asserted is still asserted (the loop covers all five rows including GB10 and GB300, so the two hand-copied literals at :190 and :197 disappear rather than move), the unknown-NVIDIA-id case stays (:2484, :2e07, :1e02), and the non-NVIDIA case keeps one example per branch. Without the table, the same shape over [(GB10_DEVICES, "gb10"), (GB300_DEVICES, "gb300"), (GA102_DEVICES, "ga102"), (GB206_DEVICES, "gb206"), (GB202_DEVICES, "gb202")] still saves ~20 and removes the two literal copies that can drift. A future platform row is then tested without a new block — the cost this PR pays 7 lines for.
#20 [high] Research summary
At head 8e2ea68 the PR is 5 files, +25/−7, and its remaining core (nine GB206 ids + the gb206 platform name in helios/src/core/naming.rs) is the fix and must stay. Commit 8e2ea68 removed the flare-cli/src/orbit/gpu.rs hunk, so the earlier blocking findings about Orbit placement regressing and a duplicated PCI table no longer apply to this PR — Orbit is untouched and GB206 hosts still report gb202 on the compute-capability path.
What can still go: the added GB206_DEVICES const + if-arm (+9) are a fifth const and fourth arm of a pattern one (platform, &[u32]) table replaces (−17, 8 of them the PR's); the added 7-line test loop (+7) is the fourth copy of one assertion that one loop over the table does (−24, 8 of them the PR's); and the one-line flare/src/catalog.rs fixture edit patches a hardcoded branch list that #300 and #469 also had to patch, so it should be derived from PLATFORMS (0 net, ends the recurring edit; deleting the block would lose real prefix-search coverage, so I withdrew that recommendation). Net: +25 could be about +9, with ~31 pre-existing lines removed in the same files. Six doc/help enumerations of the platform set are left stale and docs/cli-design.md:901 is now factually wrong about the -tp1 retry rule.
Verdict: make it smaller first; the change is close to minimal but still carries a per-platform code pattern and a stale-fixture edit that a table removes. Findings with line counts and the smaller versions are in scratchpad entries 13–19.
#21 [high] What must stay in this PR, and why (updated for head 8e2ea68)
Supersedes the "must stay" reasoning in #11, written when flare-cli/src/orbit/gpu.rs was still part of the diff.
Necessary at head 8e2ea68 (5 files, +25/−7):
helios/src/core/naming.rs:27-29GB206_DEVICESand:15"gb206"inPLATFORMS.platform_from_pcireturningNoneis a hard error in three consumers:heliopause/src/export/capture.rs:2079-2085("NVML reports unsupported GPU PCI id {:#010x}" — the ignition crash the description cites),flare/src/hardware.rs:95-100("GPU {entry} has unsupported PCI ID …; specify --revision"), and therefore the hub revisionflare run ORG/MODELrequests (flare/src/hub.rs:3104-3118). Without the ids, GB206 hosts cannot prepare, serve, or download;PLATFORMSgains the name socandidate/deployment_candidate(naming.rs:79,:121) accept it.- The four documentation/help edits (
docs/cli-design.md:887,:890,:923,docs/core-format-design.md:754,flare-cli/src/cli.rs:175) state the revision space the code now has; leaving them out would leave the docs describing four platforms.docs/core-format-design.md:753-754andcli-design.md:887genuinely needgb206in their list; that is not a subtraction.
Grounding for trimming the rest (charter + AGENTS.md, quoted):
- Charter: "Solve the right problem in the right place. … Look for the smallest footprint in shared code, or a way to solve it without new code at all"; "Stay focused. … We're not interested in piling on extra model aliases, random switches, or broad hardware support."
AGENTS.md:188-193: "Reject unsupported abstractions and churn. Do not add frameworks, extension points, speculative compatibility, fallback layers, or configuration switches without a concrete requirement. … Refactoring must directly support the requested behavior or remove a demonstrated source of defects or cost." So the ids stay; the fifth const, fourth if-arm, 7-line test loop and stale-fixture edit are the parts the same rules argue against, because they are per-platform repetition, not behaviour.
Resolved since the user's last summary (important, do not repeat the withdrawn blockers):
- Commit 8e2ea68 ("fix: update catalog test, docs, and scope for gb206 platform") deleted the
flare-cli/src/orbit/gpu.rshunk. Therefore: no duplicated PCI table is added by this PR, and Orbit placement is not regressed —orbit/controller.rs:2294still derives the requirement fromcapability_revisionandorbit/gpu.rs:297-307still reportsgb202for a GB206 card, so they agree. Entries #1, #3 and #8 are withdrawn as findings against #502; the private table atorbit/gpu.rs:309-321(drift:0x2bbc, one GB10 id, no ga102/gb300/gb206) is a pre-existing defect that #469's diff removes, not this one's. - The formatting nit at
PLATFORMS("gb202","gb206") was fixed in the same commit. - The PR also corrected
flare/src/catalog.rs:562sopublished_build_match_uses_all_platform_branchespasses again; the remaining objection is that it was patched instead of derived (see #19).
Residual defects worth naming in the report but not subtraction findings: docs/cli-design.md:901 now misstates the -tp1 retry rule (code: revision.starts_with("gb") && PLATFORMS.contains(&revision), flare/src/hub.rs:3114-3118, so gb206 retries and ga102 does not); and no repository publishes a gb206 branch, so a GB206 host's automatic revision resolves to a branch that 404s — the description does not state this merge-order limitation, which #469's description does.
#22 [high] Report skeleton and totals for head 8e2ea68 (supersedes #12)
Replaces #12 as the report source. PR #502 at 8e2ea68: 5 files, +25/−7 (helios/src/core/naming.rs +19/−1, docs/cli-design.md +3/−3, docs/core-format-design.md +1/−1, flare-cli/src/cli.rs +1/−1, flare/src/catalog.rs +1/−1). No CI checks reported on the head; .github/workflows/native-serving.yml:77 runs the flare suite.
Verdict: make it smaller first. The change is close to minimal — it fixes a real defect with a table row — but it still pays a per-platform code pattern and a stale-fixture edit that one table removes.
Ranked findings:
- Should fix, −17 lines (8 of them the PR's) —
helios/src/core/naming.rs:21-59: fivepub const *_DEVICESarrays plus five ladder arms (the PR'sGB206_DEVICESat :25-29 and arm at :55-57) become onepub const DEVICES: [(&str, &[u32]); 5],DEVICES.iter().find(|(_, ids)| ids.contains(&device)).map(|(p, _)| *p). Nothing else in the tree reads the individual consts (search_DEVICEShits only this file), id sets are disjoint so ladder order is meaningless, and each platform's doc comment moves onto its row. Smaller version quoted in #14. - Should fix, −24 lines (8 of them the PR's) —
helios/src/core/naming.rs:188-228: the test holds four copies of one assertion (hand-copied GB10 list at :190-196, a literal at :197, then one loop each for GB202 :198-204, GB206 :205-211 (added), GA102 :212-218). Onefor (platform, devices) in DEVICESloop plus the kept literal0x2d04_10deassert and one non-NVIDIA example per branch is 17 lines and covers every id asserted today. The added loop is also redundant with the added literal assert two lines below it. Smaller version quoted in #15. - Should fix, 0 net lines —
flare/src/catalog.rs:561-563: the PR adds a fifth name to the hardcoded branch fixture that #300 (ga102) and #469 (gb203) also had to patch. Deriving it fromPLATFORMS(:561-563 → 5 lines) ends the recurring edit; deleting the block is not free, because with all branches present it is what provesselect_revision's prefix search skips other platforms'-tpNbranches (see #19, which corrects #16). - Should fix, 0 net lines, correctness of prose — six enumerations of the platform set are left stale:
flare-cli/src/orbit/gpu.rs:38,:222-223,flare-cli/src/orbit/plan.rs:38-39,flare-cli/src/distribution.rs:66,docs/orbit.md:321, anddocs/cli-design.md:901, the last of which is now factually wrong (the-tp1retry keys onstarts_with("gb")+PLATFORMS,flare/src/hub.rs:3114-3118, sogb206retries andga102does not). Point them atPLATFORMSinstead of listing names (#17). - Nit —
naming.rs:56missing semicolon (vanishes with finding 1);naming.rs:25calls GB206 "the SM120 platform" though GB202 is the same generation;docs/cli-design.md:890is one 236-column line (#18).
Additions that stay: naming.rs:15 "gb206", naming.rs:27-29 the ids, naming.rs:219 the literal 0x2d04_10de assert, the four doc/help edits. Rationale in #11/#19 and the updated must-stay note.
Ledger: +25 ≈ 1 word PLATFORMS + 1 table row + 1 literal assert + 5 doc/help edits + catalog (derived, 0) ≈ +9. Pre-existing lines the same smaller version removes: naming.rs consts+ladder 39→22 (−17), test 41→17 (−24), catalog 3→5 (+2) → −39, so the tree ends about 39 lines lighter in the touched functions and the change itself roughly a third of its size.
Withdrawn vs. the previous report: the flare-cli/src/orbit/gpu.rs blockers (#1, #3, #8) — that hunk is gone in 8e2ea68. Do not repeat them as findings; at most note that Orbit therefore still reports gb202 for a GB206 card and that reconciliation belongs to #469.
Also worth one line in the report (prose, not subtraction): the description does not disclose that no repository publishes a gb206 branch, so automatic detection now requests a branch that 404s; #469's description states the same limitation for gb203.
#24 [high] Report of 2026-11-26, run 2 — head 8e2ea68 unchanged (supersedes #23)
Verdict: make it smaller first The change: 5 files, +25/−7 Could remove: ~43 lines, 16 of them the PR's own (+25 → ≈+8)
Head 8e2ea68 unchanged since the last run (no new commits). Re-verified every line:
- Should fix —
helios/src/core/naming.rs:17-59(43 lines) → oneDEVICES: [(&str, &[u32]); 5]table +findlookup ≈ 24 lines, −19 (9 of them the PR's: the 6-lineGB206_DEVICESconst + 3-lineifarm become one row).search_code _DEVICESat pr/502 returns only this file — no reader of the individual consts. Id sets disjoint, so ladder order is meaningless. Also removes the missing;at :56 and the mis-scoped "single source" doc at :17-20. - Should fix —
naming.rs:188-228(41 lines) → loop overDEVICES+ keep the three unknown-NVIDIA asserts + one non-NVIDIA assert = 17-18 lines, −24 (8 of the PR's: its 7-line:205-211loop and its:220vendor-mask assert). The PR's literal:2190x2d04_10deassert is itself redundant with the table loop (−1 more if dropped); all ids asserted today are still asserted, incl.0x2484/0x2e07/0x1e02. - Should fix, 0 net —
flare/src/catalog.rs:561-563: derive the branch fixture fromPLATFORMS(5 lines instead of 3). Deletion is not free — the full-branch fixture is what provesselect_revisionpicksgb300-tp8/ skips other platforms'-tpNat:566-567. #300, #469, #502 each hand-edited this line;:550already loopsPLATFORMSfor the rest of the test. - Should fix, 0 net — six stale enumerations:
flare-cli/src/orbit/gpu.rs:38,:222-223,orbit/plan.rs:38-39,flare-cli/src/distribution.rs:66,docs/orbit.md:321,docs/cli-design.md:901. The last is now false: retry keys onrevision.starts_with("gb") && PLATFORMS.contains(&revision)(flare/src/hub.rs:3114-3115), so gb206 retries and ga102 does not. Say "aPLATFORMSname" instead of listing names. - Nits, 0 lines —
naming.rs:56missing;(vanishes with 1);:25"for the SM120 platform" is untrue (GB202 is the same generation);docs/cli-design.md:890is a 236-column line among ~80-column paragraphs (and is the clause finding 4 rewrites);docs/core-format-design.md:754same wrap break.
Must stay: naming.rs:15 "gb206" + the nine ids (without them platform_from_pci→None is a hard error at heliopause/src/export/capture.rs:2079-2085 and flare/src/hardware.rs:95-100), the four doc/help edits minus copied name lists.
Non-subtraction notes for the report: no repository publishes a gb206 branch, so auto detection 404s (gb206-tp1 too) — #469 discloses this for gb203, #502 does not; Orbit still reports gb202 for a GB206 card because it derives from compute capability (orbit/gpu.rs:297-307), and reconciling that is #469's coupled change — do not add a GB206 arm to orbit/gpu.rs.
Withdrawn for good: the earlier orbit/gpu.rs duplicate-table and placement blockers (#1, #3, #8) — that hunk is gone.
#25 [high] Research summary
Reviewed PR #502 at head 8e2ea68 (unchanged since the last run: 5 files, +25/−7) strictly through the subtraction lens and re-verified each finding against the code at pr/502.
The change's core is necessary and minimal: nine GB206 ids plus the "gb206" name in PLATFORMS (helios/src/core/naming.rs:15, :27-29), because platform_from_pci returning None is a hard error at heliopause/src/export/capture.rs:2079-2085 (not opened) and flare/src/hardware.rs:95-100 (not opened). Everything around it is the fifth/sixth/seventh copy of a per-platform pattern: five *_DEVICES consts plus a five-arm ladder become one table (−19 lines, 9 of the PR's), and the test's four looped copies of one assertion plus five repeat vendor-mask asserts become one loop over that table (−24 lines, 8 of the PR's). Two 0-net items end recurring hand-edits: derive the flare/src/catalog.rs:561-563 branch fixture from PLATFORMS (already looped at :550; deleting the block would lose real prefix-search coverage), and point six stale platform enumerations at PLATFORMS instead of listing names — one of them, docs/cli-design.md:901, is now factually wrong about the -tp1 retry, which keys on PLATFORMS membership (flare/src/hub.rs:3114-3115), so gb206 retries and ga102 does not. Nits: missing ; at naming.rs:56, the untrue "for the SM120 platform" phrase at :25, and two 236/150-column doc lines in ~80-column paragraphs.
Total: about 43 removable lines, 16 of them the PR's own (+25 → ≈+8). Verdict: make it smaller first, not blocking — the added behaviour is right and the earlier orbit/gpu.rs blockers are withdrawn, since commit 8e2ea68 deleted that hunk. Noted for the report but not subtraction: no repository publishes a gb206 branch, so automatic detection resolves to a 404 and gb206-tp1 does not rescue it, and Orbit still reports gb202 for a GB206 card (capability-derived) — reconciling that belongs to #469. Full detail is in scratchpad entry 24.
#26 [high] Canonical line counts + exact smaller versions (supersedes the −17/−19/−24 ranges in #14/#15/#22/#24)
Head 8e2ea68, 5 files +25/−7 (diff verified): helios/src/core/naming.rs +19/−1, docs/cli-design.md +3/−3, docs/core-format-design.md +1/−1, flare-cli/src/cli.rs +1/−1, flare/src/catalog.rs +1/−1.
Added-line inventory (the +25)
naming.rs: 1 PLATFORMS word (replaces 1) / 6 GB206_DEVICES doc+const / 3 if-arm / 7 test loop (:205-211) / 1 assert 0x2d04_10de (:219) / 1 assert 0x2d04_1af4 (:220) docs/cli-design.md: 887 line, 890 clause, 923 table row (3 added, 3 removed) docs/core-format-design.md: 754 (1/1); flare-cli/src/cli.rs: 175 (1/1); flare/src/catalog.rs: 562 (1/1)
Finding 1 — naming.rs:17-59, measured
Block = 43 lines exactly (4-line GB202 doc, :21-23 const, :25-26 GB206 doc, :27-29 const, :31-32 GB10, :34-36 GA102, :38-39 GB300, :41 fn, :42-44 vendor guard, :45 device, :46-58 ladder, :59 close). Replacement = 23 lines:
/// Platforms a core may be named for, with the PCI device ids that select each.
/// Flare's device detection and core export naming both read this table; do not
/// duplicate the identifiers elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
// GB10 and RTX Spark N1X, the SM121 platform.
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
// `0x31c3` is the SM103 GPU of DGX Station GB300.
("gb300", &[0x31c3]),
// GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR.
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
// GeForce RTX 5060 Ti, 5060, and mobile/workstation variants.
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
];
pub fn platform_from_pci(pci_id: u32) -> Option<&'static str> {
if pci_id & 0xffff != 0x10de {
return None;
}
let device = pci_id >> 16;
DEVICES.iter().find(|(_, ids)| ids.contains(&device)).map(|(platform, _)| *platform)
}
43 → 23 = −20 lines, of which 8 are the PR's (its 9 added lines — 6 const + 3 arm — collapse to one row). Each platform's ids and its identifying comment survive; ladder order was meaningless because the id sets are disjoint (search_code _DEVICES at pr/502 hits only this file, so no caller of the individual consts exists). Also removes the missing ; (:56) and the mis-scoped "single source" doc comment (:17-20, which sits above GB202_DEVICES, not above the table).
Finding 2 — naming.rs:188-228, measured
Block = 41 lines exactly: hand-copied GB10 id list :190-196, literal gb300 :197, GB202 loop :198-204, PR's GB206 loop :205-211, GA102 loop :212-218, PR's literal :219, eight vendor-mask/unknown asserts :220-227. Replacement = 18 lines (17 if :219 is dropped):
#[test]
fn pci_ids_select_the_platform_identifier() {
for (platform, devices) in DEVICES {
for device in devices {
assert_eq!(
platform_from_pci(device << 16 | 0x10de),
Some(platform),
"{device:#06x}"
);
}
}
assert_eq!(platform_from_pci(0x2d04_10de), Some("gb206"));
assert_eq!(platform_from_pci(0x2204_1af4), None);
assert_eq!(platform_from_pci(0x2484_10de), None);
assert_eq!(platform_from_pci(0x2bbc_1af4), None);
assert_eq!(platform_from_pci(0x2e07_10de), None);
assert_eq!(platform_from_pci(0x1e02_10de), None);
}
41 → 18 = −23 (keeping the tested card's literal), of which 8 are the PR's (its 7-line loop + :220 vendor-mask assert go; :219 stays). Every id asserted today is still asserted by the loop, including the two hand-copied literals at :190 and :197; the two unknown-NVIDIA ids (:2484, :2e07, :1e02) and one non-NVIDIA example survive. The PR's added loop asserts only that each constant equals the arm printed beside it, and duplicates :219 two lines later. If the table from finding 1 is rejected, the same loop over a [(GB10_DEVICES,"gb10"), (GB300_DEVICES,"gb300"), (GA102_DEVICES,"ga102"), (GB206_DEVICES,"gb206"), (GB202_DEVICES,"gb202")] array still saves ~20 and drops the two older literals.
Totals
−20 (finding 1) + −23 (finding 2) = 43 lines removable, 16 of them the PR's own; the change itself goes +25 → ≈ +8. Findings 3 (catalog.rs:561-563, derive from PLATFORMS, 3→5 lines = +2 but ends a hand-edit paid by #300/#469/#502) and 4 (six stale enumerations, 0 net) are net-zero; state them as such, not as savings. Nits are 0 lines. Do not count the derived fixture as a saving.
Doc/help edits at head (for the report's line numbers)
docs/cli-design.md:887 (revision list, keep), :890 (236-col clause — keep the sentence but 6. rewrite it per finding 4), :901 (stale/false -tp1 claim), :923 (table row, keep) docs/core-format-design.md:754 (keep, wrap break only); flare-cli/src/cli.rs:175 (keep the sentence, drop the copied names)
#4 [medium] Should fix: the new PCI test loop is the fourth copy; one loop over the table (~23 lines)
helios/src/core/naming.rs:186-216 now holds four near-identical per-platform loops in pci_ids_select_the_platform_identifier: an inline literal list for GB10 (188-194, duplicating GB10_DEVICES at line 30), a literal 0x31c3_10de for GB300 (195, duplicating GB300_DEVICES at 37), and the loops over GB202_DEVICES (196-202), GB206_DEVICES (203-209, added by this PR) and GA102_DEVICES (210-216). 29 lines for one assertion repeated per platform; the PR adds 7 of them and each future platform (#469 GB203, #221 GB300) adds 7 more.
Smaller version (~6 lines, about 23 saved), and it stops the test from carrying its own copies of the tables:
for (platform, devices) in DEVICES {
for device in devices {
assert_eq!(platform_from_pci(device << 16 | 0x10de), Some(platform), "{device:#06x}");
}
}
If the DEVICES table from the other finding is not adopted, the same shape with an explicit list of the five consts ([(&GB10_DEVICES[..], "gb10"), (&GB300_DEVICES[..], "gb300"), (&GA102_DEVICES[..], "ga102"), (&GB206_DEVICES[..], "gb206"), (&GB202_DEVICES[..], "gb202")]) saves ~19 and at least removes the two literal copies that can drift from the consts.
Nothing lost: the vendor-mask and negative cases stay in the asserts at 217-223, and every id currently asserted is still asserted through the loop.
#6 [medium] Should fix: naming.rs:15 is not the only platform list — 11 stale enumerations, delete them rather than edit them
The change adds a fifth platform name but updates none of the ~11 places that enumerate the platform set, so all of them become wrong at once. This is the duplication that made the omission easy; deleting the enumerations (naming the source instead) is smaller than maintaining them.
Code doc comments:
- flare-cli/src/orbit/gpu.rs:38 (
gb10,gb202,gb300, orsm{major}{minor}) - flare-cli/src/orbit/gpu.rs:222-223 (same list)
- flare-cli/src/orbit/plan.rs:38-39 (same list)
- flare-cli/src/cli.rs:175
--revisionhelp, printed byflare run --help(detects ga102, gb10, gb202, or gb300) - flare-cli/src/distribution.rs:66 (
gb202/gb10)
Docs:
- docs/cli-design.md:887 ("revisions named
ga102,gb10,gb202, andgb300") - docs/cli-design.md:890 ("known GB202 devices ... GB300 ... known GA102 devices")
- docs/cli-design.md:901 ("For
gb10,gb202, andgb300...") - docs/cli-design.md:923 (
--revisiontable row: "detectedga102,gb10,gb202, orgb300") - docs/orbit.md:321 (
revision (gb10, gb202, gb300 from the PCI device id or compute capability)) - docs/core-format-design.md:753-754 ("The platform is the device identifier recorded by preparation (
ga102,gb10,gb202, orgb300)")
Smaller version: each of these says "a PLATFORMS name" / "the detected platform" instead of listing names, so the list lives only in naming.rs:15 — the same list #469 had to touch in six files, and this PR in none. Note also docs/cli-design.md:891-892 promises "An unknown identifier ... requires an explicit revision"; after this PR a GB206 host resolves gb206, and no repository publishes a gb206 branch, so flare run ORG/MODEL fails with a missing-revision error where the actionable message was. That belongs in the description (as #469's review required) rather than as a silent fallback.
#8 [medium] Supplement: orbit's gpu.revision is the Hub revision — the hunk makes GB206 nodes request a nonexistent branch
Two more consequences of the flare-cli/src/orbit/gpu.rs:319-321 hunk, both from gpu.revision being consumed as the Hub revision, not just displayed:
- controller.rs:2210-2233
repository_revisioninfersORG/MODEL@<revision>from the candidate nodes'gpu.revisionvalues (.map(|gpu| gpu.revision.as_str()), line 2224). With the hunk,flare run ORG/MODELon a GB206 node requests agb206branch no repository publishes — the same merge-order caveat #469's review required the author to state. - A fleet with both GB202 and GB206 nodes hits
revisions.len() > 1(controller.rs:2229-2231) and errors "candidate GPUs do not identify one hardware revision", where before the PR every node reportedgb202and inference succeeded.
Both disappear with the hunk; only the helios table is needed for the cited crash (heliopause/src/export/capture.rs:2079-2085) and for flare's own detection (flare/src/hardware.rs:95-100 turns an unknown id into "unsupported PCI ID ...; specify --revision"). The hunk also has no test: gpu.rs tests at 352-367 cover neither 0x2d04 nor any GB206 id.
#16 [medium] Should fix: catalog.rs fixture — delete the second block (−8) instead of adding a fifth name
flare/src/catalog.rs at pr/502, published_build_match_uses_all_platform_branches (:548-569). The PR added one name to the hardcoded branch fixture at :561-563 ({"name": "gb206"}), which is the only reason it touches this file. The fixture must contain one branch per PLATFORMS member because :550 loops target over PLATFORMS and :566 asserts build_target_match == Some(true); before the PR's edit the test fails for target = "gb206" (apply_refs sets Some(false) at :319-322, .github/workflows/native-serving.yml:77 runs the suite). #300 edited the same fixture for ga102 and #469's review required gb203-tp1; every future platform row pays it again.
Smaller version (−2 lines, and no edit next time):
let branches: Vec<_> = flare_helios::core::naming::PLATFORMS
.iter()
.map(|platform| json!({ "name": platform }))
.collect();
let refs = serde_json::from_value(json!({ "branches": branches })).unwrap();
in place of :561-563 (3 lines → 5, but the fixture can no longer go stale; net −2 once the PR's own added line is removed... measured on the file as it stands: the block 561-563 is 3 lines, replacement 5, so this is +2 today and −0 net; the honest statement is 0 line saving, the saving is that the next platform PR touches no test). Alternative with a real saving: delete the second block entirely (:561-568, 8 lines), since :551-559 already asserts build_target_match == Some(target == published) for every target and every published platform, and branch_platform/select_revision are covered at :525-547. The 8-line block adds only "with all platforms present at once, the multi-branch selection still picks the target". Autobot's review of #469 recommended deleting it for exactly this reason.
Recommend: delete the block (−8) or derive it (0). Either removes the recurring edit; adding a fifth name keeps it.
#17 [medium] Should fix: six enumerations left stale (incl. cli-design.md:901 now false); point them at PLATFORMS
The PR adds a fifth platform name and updates four of eleven enumerations of that set. Sites it edits: flare-cli/src/cli.rs:175, docs/cli-design.md:887, :890, :923, docs/core-format-design.md:754. Sites it leaves stale (verified by search_code for gb202):
flare-cli/src/orbit/gpu.rs:38and:222-223— "gb10,gb202,gb300, orsm{major}{minor}"flare-cli/src/orbit/plan.rs:38-39— same listflare-cli/src/distribution.rs:66— "(gb202/gb10)"docs/orbit.md:321— "(gb10,gb202,gb300from the PCI device id or compute capability)"docs/cli-design.md:901— "Forgb10,gb202, andgb300, the shared CLI … tries the corresponding-tp1revision": the code retries wheneverrevision.starts_with("gb") && PLATFORMS.contains(&revision)(flare/src/hub.rs:3114-3118), sogb206qualifies andga102does not. This line is now factually wrong two lines below the list the PR just fixed.
Smaller version, 0 net lines but one list to maintain: each site names the shared table instead of copying it — orbit/gpu.rs:38 "…a PLATFORMS name from naming, or sm{major}{minor}…"; plan.rs:38 "the hardware revision every GPU of the group must have"; distribution.rs:66 "physical device platform name"; docs/orbit.md:321 "revision (a PLATFORMS name from the PCI device id or compute capability)"; cli.rs:175 "…otherwise detects the GPU's platform (see PLATFORMS in helios naming)"; docs/cli-design.md:901 state the rule ("any gb… platform revision") rather than three names. #469 made exactly this edit in six files; #502 does it in five and leaves six.
The PR also adds a per-device clause in prose at docs/cli-design.md:890 ("known GB206 devices, including GeForce RTX 5060 Ti") that restates GB206_DEVICES line by line; the table already names the parts, and this sentence grew from 3 lines to 1 × 236 columns.
Not a subtraction: docs/core-format-design.md:753-754 and cli-design.md:887 genuinely need the name in the list to stay true (they state which revisions exist). Those two additions stay.
#19 [medium] Should fix (corrected): catalog.rs fixture — derive from PLATFORMS, 0 net lines (deleting loses real coverage)
flare/src/catalog.rs at pr/502, published_build_match_uses_all_platform_branches (:548-569). The PR's one-line edit there adds {"name": "gb206"} to the hardcoded branch fixture at :561-563 — the only reason this PR touches flare. The fixture must contain one branch per PLATFORMS member because :550 loops target over PLATFORMS and :566 asserts build_target_match == Some(true); without the added name the test fails for target = "gb206" (apply_refs sets Some(false) at :319-322; .github/workflows/native-serving.yml:77 runs this suite). #300 edited the same fixture for ga102, #469 for gb203 — every platform PR pays it.
Corrected verdict after reading the block: the second block does assert something the loop at :551-559 cannot — with all five branches present, select_revision's prefix search (:296-302) must skip other platforms' -tpN branches (e.g. target gb10 must not take ga102-tp1). So deleting it (:561-568, −8) is not free. Deriving it is:
let branches: Vec<_> = flare_helios::core::naming::PLATFORMS
.iter()
.map(|platform| json!({ "name": platform }))
.collect();
let refs = serde_json::from_value(json!({ "branches": branches })).unwrap();
3 lines → 5, i.e. +2 today and the PR's added line removed, so 0 net; the saving is that the next platform row (this PR's own remaining rows, #469's gb203) touches no test. Keeping a name list here is exactly the maintenance this file has now paid three times.
If the maintainers prefer a real reduction, drop the {"name": "gb300-tp8"}/{"name": "gb202"} suffixes from the fixture and use one suffixed name, but that is a change to what is asserted, not a subtraction; I do not recommend it.
#7 [low] Nit: naming.rs:15 missing space after comma, :54 missing semicolon
helios/src/core/naming.rs:15 — pub const PLATFORMS: [&str; 5] = ["ga102", "gb10", "gb202","gb206", "gb300"]; is missing the space after the comma before "gb206"; every other separator in the file is , .
helios/src/core/naming.rs:54 — return Some("gb206") has no terminating semicolon, while the sibling arm at line 51 is return Some("ga102");. It compiles (! coerces in an if statement position) but differs from the file's formatting; rustfmt rewrites both lines.
0 lines saved; no cargo fmt job exists in .github/workflows (only helios-lifecycle.yml, native-serving.yml, release.yml), so this is cosmetic.
#18 [low] Nit: naming.rs:56 semicolon, :25 "SM120 platform" claim, cli-design.md:890 236-column line
helios/src/core/naming.rs:56(PR) —return Some("gb206")with no semicolon, the only arm inplatform_from_pciwithout one (sibling :50, :53 have it). Compiles; disappears entirely under the table in #14. 0 lines.helios/src/core/naming.rs:25— the new doc comment says "GB206 device identifiers for the SM120 platform", but gb202 (:21-23) is the same SM120 generation and the neighbouring comments describe the parts, not the SM ("GB10 and RTX Spark N1X device identifiers…", "GA102 device identifiers for the SM86 platform: GeForce RTX 3090 Ti…"). The SM120 phrase is the one part that is not true of the row's identity, and the table version in #14 keeps only the parts. 0 lines.docs/cli-design.md:887-890— the PR's sentence is a single 236-column line where the surrounding prose wraps at ~80; the file's own paragraphs (:885-897) are hard-wrapped. Prose skill (.agents/skills/repo-prose/SKILL.md:84-85) asks for readable sentences. 0 lines, and the:890clause is the one #17 recommends replacing.
The missing space in PLATFORMS ("gb202","gb206") that the first commit introduced was fixed in 8e2ea68 — nothing to report there.