#1 [high] should fix: capability_revision is a second, now-disagreeing copy of the platform table; orbit cannot place a gb203 core on a gb203 GPU
LENS C (duplication). The PR removes the PCI table copy in flare-cli/src/orbit/gpu.rs (platform(), deleted) but leaves a second copy of the platform mapping in the same file, now inconsistent with it.
flare-cli/src/orbit/gpu.rs:222-231 (unchanged by the PR):
pub fn capability_revision(major: i32, minor: i32) -> String {
match (major, minor) {
(12, 1) => "gb10".into(),
(12, 0) => "gb202".into(),
(10, 3) => "gb300".into(),
_ => format!("sm{major}{minor}"),
}
}
Two consumers:
flare-cli/src/orbit/gpu.rs:297-307revision()— now consultsplatform_from_pcifirst, so a 0x2c31 GPU reportsgb203.flare-cli/src/orbit/controller.rs:2294describe()—revision: super::gpu::capability_revision(first.architecture[0], first.architecture[1])buildsCoreNeeds.revisionfrom the core's recorded compute capability.
A core prepared on GB203 records architecture [12, 0] (GB203 is SM120, capability 12.0 — this is the PR's own stated premise, naming.rs:25-30 comment). So capability_revision(12, 0) = "gb202", while the agent reports the same GPU as gb203 (gpu.rs:209, 298). plan.rs:693-696 unfit() then rejects it: gpu.revision != revision -> "gpu 0 NVIDIA RTX PRO 4500 Blackwell is gb203, not gb202".
Consequence: flare orbit run still cannot place a gb203 core on a GB203 host. For a repository core, repository_revision (controller.rs:2210-2233) correctly picks gb203 from the GPU STATUS, downloads the core, and then placement rejects every GB203 GPU. The PR fixes flare run/flare download (which go through flare/src/hardware.rs:18-21 -> platform_from_pci) but leaves the orbit path on the capability table.
Precedent for the fix already exists in the same crate: flare-cli/src/distribution.rs:157-163 derives the platform from the signed identity and only accepts it when naming::PLATFORMS contains it:
let signed = core.identity()...;
let platform = if flare_helios::core::naming::PLATFORMS.contains(&signed.hardware.as_str()) {
signed.hardware.clone()
} else { String::new() };
hardware_identity is the export platform string (heliopause/src/export/core.rs:4209 asserts hardware_identity == "gb202"; heliopause/src/export/conversion.rs:402 gates on naming::PLATFORMS).
Fix: at controller.rs:2294, take the revision from the core's signed hardware_identity when naming::PLATFORMS contains it, and fall back to capability_revision only for cores whose identity is an architecture label such as sm120. That also removes the last need for a capability->platform table, so capability_revision can be reduced to the fallback formatter.
What would settle it: a unit test on describe() with a core whose rank architecture is [12, 0] and a GpuStatus { revision: "gb203", .. }; with the current code plan::plan returns the mismatch error. No hardware is needed.
Note the PR description claims "The CLI and export resolve one PCI id the same way because there is one table." That holds for flare run/download and for export, not for orbit placement, which uses a third resolution path.
#2 [high] blocking: flare/src/catalog.rs test breaks; #300 set the precedent of updating the fixed branch fixture
LENS C (conventions + duplication).
flare/src/catalog.rs:548-569 (unchanged by this PR):
#[test]
fn published_build_match_uses_all_platform_branches() {
for target in flare_helios::core::naming::PLATFORMS {
for published in flare_helios::core::naming::PLATFORMS { ... }
let refs = serde_json::from_value(json!({"branches": [
{"name": "ga102-tp1"}, {"name": "gb10-tp1"}, {"name": "gb202"}, {"name": "gb300-tp8"}
]})).unwrap();
let mut entry = CatalogEntry::default();
let branches = apply_refs(&mut entry, refs, Some(target));
assert_eq!(entry.build_target_match, Some(true));
assert_eq!(branch_platform(select_revision(&branches, Some(target)).unwrap()), Some(target));
}
}
With gb203 added to PLATFORMS (helios/src/core/naming.rs:15) the outer loop reaches target = "gb203". apply_refs (catalog.rs:304-329) computes platforms = {ga102, gb10, gb202, gb300} and build_target_match = Some(platforms.contains("gb203")) = Some(false), so the first assert fails. If it did not, select_revision (catalog.rs:292-303) finds no gb203 branch and falls through to branches.iter().next() = "ga102-tp1" (BTreeSet order), so the second assert would fail too.
Precedent: PR #300 ("Recognize GA102 (SM86) as a platform", merged 2026-11-15) changed flare/src/catalog.rs (+1 -1) precisely to add ga102 to this fixture; its description says "the catalog platform-branch test gains a ga102 branch" and lists flare/src/catalog.rs (modified, +1 -1) among 5 changed files. PR #221's review (yatesdr, 2026-11-18) also shows maintainers expect the platform tests to be updated with the platform.
Why it was missed: the PR's evidence runs only --manifest-path helios/Cargo.toml ... naming and --manifest-path flare-cli/Cargo.toml orbit::gpu; flare's own tests, where this test lives, were not run.
Fix: add {"name": "gb203-tp1"} (or "gb203") to the branch list in that test, as #300 did for ga102, and run cargo test --manifest-path flare/Cargo.toml catalog.
#5 [high] Research summary
Four findings, all in lens C (conventions and duplication), recorded in the scratchpad. The most important are two unresolved copies of the platform mapping that the PR's own premise says cannot remain distinct.
Blocking: an existing test in flare/ fails. flare/src/catalog.rs:548-569 published_build_match_uses_all_platform_branches loops over naming::PLATFORMS but hardcodes a four-branch fixture (ga102-tp1, gb10-tp1, gb202, gb300-tp8). With gb203 in PLATFORMS, the target = "gb203" iteration computes build_target_match = Some(false) and asserts Some(true). PR #300 set the precedent by changing this exact test (+1 -1) to add ga102. The PR's evidence ran only the helios naming tests and flare-cli orbit tests, not flare's.
Should fix: capability_revision is the third copy of the mapping and now disagrees with the one the PR fixed. The PR deletes the PCI table copy in flare-cli/src/orbit/gpu.rs but leaves capability_revision (gpu.rs:224-231) mapping (12,0) to gb202. controller.rs:2294 uses it to build CoreNeeds.revision from the core's recorded architecture; GB203 is SM120, i.e. capability 12.0, so a gb203 core is labelled gb202 while the agent reports the same GPU as gb203 (gpu.rs:209/298). plan.rs:695 then rejects every GB203 GPU. Orbit placement therefore still cannot run a gb203 core, though flare run/download and export are fixed. The in-repo precedent for the fix is distribution.rs:157-163, which takes the platform from the signed hardware_identity when PLATFORMS contains it. This makes the PR's claim that "the CLI and export resolve one PCI id the same way because there is one table" true of flare run/download only, not of orbit.
Two smaller items: the clap --revision help string at flare-cli/src/cli.rs:173 still lists ga102, gb10, gb202, gb300 without gb203 (#300 changed that same line for ga102), and the docs/cli-design.md:885-886 reflow left the word "selection" alone on a line. Nits: the new naming.rs test loops GB203_DEVICES although the #221 review explicitly asked for literal id assertions (partly covered by the literal assert at gpu.rs:340), and four orbit doc comments listing the platform set (gpu.rs:38, gpu.rs:222, plan.rs:38, controller.rs:236) were not updated while docs/orbit.md:321 was. Nothing was found that requires GPU hardware to settle; every finding is checkable with cargo test on flare, flare-cli and helios.
#9 [high] Should fix: capability_revision(8,6) => ga102 is a third platform table that now disagrees with GA102_DEVICES
Severity: should fix (lens: conventions and duplication).
Where: flare-cli/src/orbit/gpu.rs:230-238, new arm at :235 (8, 6) => "ga102".into(), with the doc comment at :224-229 ("compute capability ... 8.6 covers the GA102 products Orbit serves").
What is wrong: the arm maps every unlisted compute-capability 8.6 device to the platform name ga102. The shared table deliberately lists only GA102 products for SM86 — helios/src/core/naming.rs:32-34 names "GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR" and the test at naming.rs:225 asserts platform_from_pci(0x2484_10de) == None (0x2484 is a GA104/RTX 3070 id). Merged PR #300 states outright: "GA104 and GA106 are not included." So an SM86 GPU that is not GA102 now has two answers from two copies of the same knowledge:
platform_from_pci(0x2484_10de)→ None, so flare/src/hardware.rs:18-21detect()and the export path (heliopause/src/export/capture.rs:2161, "unsupported GPU PCI id") refuse the card;revision(0x2484_10de, 8, 6)→ "ga102", so the Orbit agent advertises it as aga102GPU andplan.rs:695will offer it toga102cores. That is precisely the defect the PR description says it removes ("the CLI named this card gb202 ... while export rejected it, and it had drifted in both directions"), reintroduced for SM86.
Also: the claim in the doc comment and in the PR text ("capability_revision also maps compute capability 8.6 to ga102, matching the table that lists those devices") is not accurate: capability 8.6 is broader than the table's device set, so the two do not "match". docs/orbit.md:321-323 likewise now says the agent reports sm{major}{minor} "for a compute capability that names no platform", while 8.6 names ga102.
Why the arm is there: core_revision falls back to capability_revision for legacy cores that record no device identity (helios/src/runtime_core/model.rs:1405-1437, hardware: String::new()), and a legacy GA102 core records [8, 6]; without the arm it would require sm86 while the host now reports ga102.
Fix: keep the fallback for the identity-less core side but do not use capability 8.6 to name a host platform (e.g. revision() should fall back to sm{major}{minor} for unlisted devices, and core_revision should consult a legacy mapping only when the core records no hardware identity), or restrict the arm's reach and correct the comment. Either way, drop the claim that 8.6 == the table's GA102 set.
Related pre-existing instance, same pattern, mention only: (12, 0) => "gb202" at gpu.rs:233 still labels any unlisted 12.0 die (e.g. 0x2c00, pinned by the test at gpu.rs:361) as gb202 while the table returns None; the PR keeps it, and open PR #502 (gb206, same 12.0 capability) has to fight it.
What would settle the extent: the NVIDIA list of SM86 dies. The repository-only evidence (naming.rs:32-34, naming.rs:225, #300's description) already establishes that the table's GA102 set is a proper subset of SM86, which is enough to show the two sources disagree.
#10 [high] Should fix: catalog platform fixture is still hardcoded inside the loop over PLATFORMS (#502 will break again)
Severity: should fix (lens: conventions and duplication — a second copy of the platform list where the neighbouring code already reads the table).
Where: flare/src/catalog.rs:548-570 published_build_match_uses_all_platform_branches.
- :550-559 iterates
PLATFORMSxPLATFORMSand builds each branch name from the table:format!("{published}{suffix}"). - :561-564 hardcodes the branch list:
ga102-tp1, gb10-tp1, gb202, gb203-tp1, gb300-tp8(the PR addedgb203-tp1). - :566-568 asserts
build_target_match == Some(true)andbranch_platform(select_revision(...)) == Some(target)for everytarget in PLATFORMS.
State now: the PR's +1-line fix makes the test pass — I traced it for all five targets: every platform now has a branch whose branch_platform (catalog.rs:271-280) resolves to it, and select_revision (catalog.rs:292-303) finds it either exactly (gb202) or by prefix (*-tp1). So the previous CI blocker is genuinely resolved; this is not a re-report of it.
Why it still matters: the fixture duplicates the contents of PLATFORMS, which is the one thing this PR exists to stop doing. Any new platform breaks this test again — and that is not hypothetical: open PR #502 (feat: add gb206 platform support, wektorz, 2026-11-24) changes the very same file (flare/src/catalog.rs (modified, +1 -1)) and its Autobot review says "CI goes red ... derive the fixture from PLATFORMS". PR #300 also had to patch this fixture when it added ga102 (its description lists flare/src/catalog.rs (modified, +1 -1)).
Fix: build the list from the table, as the block immediately above already does, e.g.
let branches: Vec<_> = PLATFORMS.iter().map(|p| json!({"name": format!("{p}-tp1")})).collect();
so a platform addition needs no test edit, and the -tp1 and bare-name shapes stay covered by the pair loop at :550-559.
#13 [high] Report of 2026-11-26, run 2: both prior blockers fixed; new 8.6→ga102 over-broad arm
Review of PR #469 (run 2, head 62a3726) — Give GB203 its own platform identifier
Lens C (conventions and duplication). Read the whole current diff, all nine changed files in context, and followed the callers of every changed function (flare/src/hardware.rs, flare/src/hub.rs, flare/src/catalog.rs, flare-cli/src/{cli,distribution,hub}.rs, flare-cli/src/orbit/{controller,plan}.rs, helios/src/runtime_core/model.rs, heliopause/src/export/{capture,conversion}.rs).
Verdict: no blocking issue remains; two should-fix, three nits.
Both previous blockers are resolved, verified in the code (do not re-report)
flare/src/catalog.rs:561-564now containsgb203-tp1. I tracedpublished_build_match_uses_all_platform_branches(:548-570) for all fivePLATFORMStargets: every target has a branch thatbranch_platform(:271-280) resolves to it,apply_refs(:304-329) givesbuild_target_match = Some(true), andselect_revision(:292-303) returns it (exactly forgb202, by-tp1prefix otherwise). No CI regression.- Orbit placement now takes a core's revision from the signed device identity:
flare-cli/src/orbit/controller.rs:2293-2298(authorized.identity().hardware→gpu::core_revision),flare-cli/src/orbit/gpu.rs:240-248(core_revisionreturns the identity whennaming::PLATFORMScontains it, otherwisecapability_revision), host sidegpu.rs:314-318(platform_from_pcifirst). A gb203 core now requiresgb203andplan.rs:693-696matches the agent'sgb203. GA102 was repaired too (gpu.rs:235maps 8.6 →ga102, so legacy GA102 cores and their hosts agree).core_revision's test covers gb203/gb202/ga102/legacy (gpu.rs:373-383). This follows the in-repo precedent atflare-cli/src/distribution.rs:157-163.
What the PR gets right in this lens
GB203_DEVICES: [u32; 1] = [0x2c31](helios/src/core/naming.rs:22-27) mirrorsGB300_DEVICES(:36-37) andGA102_DEVICES(:32-34); the newcontainsarm sits in the existing chain (:49-51) and changes no existing branch;PLATFORMSkeeps the array-length-in-type idiom (:15). No id appears in two tables.- The deletion in
flare-cli/src/orbit/gpu.rs(old privateplatform()) is genuine deduplication:revision()(:314-318) now reachesplatform_from_pciexactly asflare/src/hardware.rs:18-21already did, and the deleted copy had drifted as described (of the fiveGB10_DEVICESit listed only0x2e12; it listed0x2bbc, absent fromGB202_DEVICES). - The "single source" note moved onto
platform_from_pci(naming.rs:39-43), which is where the table now lives. - The literal
assert_eq!(platform_from_pci(0x2c31_10de), Some("gb203"))atnaming.rs:209satisfies the #221 review request beside the looped table test. PLATFORMSconsumers were checked and none needs a further change for a name-only addition:flare/src/catalog.rs:272,320,550-551,flare/src/hub.rs:2507,2524,2997,3149,flare-cli/src/distribution.rs:159,720,heliopause/src/export/conversion.rs:402,helios/src/core/naming.rs:82,124.
Should fix (recorded as #9, #10, #11)
- #9
flare-cli/src/orbit/gpu.rs:230-238, new(8, 6) => "ga102"arm. 8.6 is broader than the table's GA102 set (naming.rs:32-34lists six products;naming.rs:225asserts 0x2484 → None; merged #300 states GA104/GA106 are excluded). An unlisted SM86 die now reportsga102in Orbit whileplatform_from_pcireturns None and export/flare hardware-revisionrefuse it — the same label/refusal divergence this PR deletes elsewhere, reintroduced for SM86, and the doc comment plusdocs/orbit.md:321-322claim the two "match" when they do not. The same shape survives for 12.0 (gpu.rs:233 →gb202; pinned by gpu.rs:361), which is why open PR #502 (gb206, also 12.0) hits the identical problem. Fix: keep the capability fallback only for the core side (core_revisionon identities that record nothing) and let the host side reportsm{major}{minor}for ids the table does not list. - #10
flare/src/catalog.rs:561-564fixture still hardcoded. The +1-line fix works today, but the block directly above (:550-559) already derives branch names fromPLATFORMS; deriving the fixed branch list the same way means the next platform (see #502, same file, same +1 −1) needs no test edit, and #300's identical edit stops recurring. - #11
docs/cli-design.md:904still says "Forgb10,gb202, andgb300... tries the corresponding-tp1revision", althoughflare/src/hub.rs:3148-3155applies it to anyPLATFORMSname starting withgb. It omits bothgb203(this PR) andga102(#300) in a block the PR otherwise updates.
Nits (#12)
core_revisionis the fourth inline copy of thePLATFORMS-gated "takesigned.hardware" pattern (distribution.rs:157-163,hub.rs:2995-3001,hub.rs:2506-2518,conversion.rs:400-412); onenaming::platform_identityhelper besideplatform_from_pciwould hold the rule in one place.docs/orbit.md:321-323reflow leaves a 115-character line and splits "memory-controller utilization" across the edit (repo-prose skill, cited byAGENTS.md:43-49).helios/src/core/naming.rs:22table doc names one product and the SM120 platform where the sibling tables name the die's products.
Coverage
All nine files read in context: helios/src/core/naming.rs (+25 −5), flare-cli/src/orbit/gpu.rs (+42 −27), orbit/controller.rs (+5 −1), orbit/plan.rs (+2 −2), flare-cli/src/cli.rs (+2 −1), flare/src/catalog.rs (+2 −1), docs/cli-design.md (+7 −5), docs/core-format-design.md (+2 −2), docs/orbit.md (+3 −2). Docs edits other than :904 are correct and consistent with PLATFORMS.
Open questions
- Orbit placement of a
gb203core still has nodescribe()-level orplan()-level test;core_revision's unit test covers the selection, not the wiring.controller.rs:2298readsidentity()'s hardware whilerank_needsreads the deployment architecture, so a test would pin that they stay consistent. Hard to settle without a core fixture; the rest needs no hardware. - Whether a host that is not GA102 should ever be offered a
ga102core (finding #9) is a product decision for the Orbit maintainer. - The description's claim that
0x2bbcstill resolves togb202holds in Orbit only, which it now states;flare/src/hardware.rshas no fallback and still refuses it — verified, no finding.
#14 [high] Research summary
Reviewed PR #469 (head 62a3726) through the conventions-and-duplication lens. All nine changed files were read in context and the callers of every changed function were followed. Full report is scratchpad entry #13; findings are entries #9–#12.
Verdict: no blocking issue remains. Both blockers from the previous round are genuinely fixed, verified in code rather than from the PR text: flare/src/catalog.rs:561-564 now carries gb203-tp1 (I traced published_build_match_uses_all_platform_branches for all five PLATFORMS targets and every assert now holds), and orbit placement now takes a core's revision from the signed device identity (controller.rs:2293-2298 → gpu.rs:240-248 core_revision), so a gb203 core requires gb203 and matches plan.rs:693-696; GA102 was repaired at the same time (gpu.rs:235).
Should fix (3).
flare-cli/src/orbit/gpu.rs:235: the new(8, 6) => "ga102"arm names every unlisted SM86 diega102, whileGA102_DEVICES(naming.rs:32-34, with naming.rs:225 asserting 0x2484 → None, and #300 saying "GA104 and GA106 are not included") deliberately does not. An unlisted SM86 card therefore advertisesga102in Orbit while export andflare hardware-revisionrefuse it — exactly the label/refusal divergence this PR deletes elsewhere, reintroduced for SM86, anddocs/orbit.md:321-322plus the arm's own doc claim the two "match". The same shape survives for 12.0 (gb202for any unlisted 12.0 die), which is why open PR #502 (gb206) hits it too.flare/src/catalog.rs:561-564: the fixture is still a hardcoded copy ofPLATFORMSinside a loop overPLATFORMS, although the block directly above already derives names from the table; #300 and #502 both had to patch this same line.docs/cli-design.md:904: the-tp1fallback sentence still lists three platforms althoughflare/src/hub.rs:3148-3155applies it to anyPLATFORMSname, omitting bothgb203andga102in a block the PR otherwise updates.
Nits: core_revision is the fourth inline copy of the PLATFORMS-gated identity read; a reflow defect at docs/orbit.md:321-323; a table-doc nit at naming.rs:22.
Open questions: orbit placement of a gb203 core still has no describe()-level test (a unit test covers only the selection), and whether a non-GA102 SM86 host should ever be offered a ga102 core is the Orbit maintainer's call.
#15 [high] Superseded notes: #1, #2, #3 findings are fixed at head 62a3726; only #4 partially stands
Use this to avoid re-reporting resolved findings; the current verdict is entry #13, current findings #9–#12.
- Note #1 (should fix: orbit placement / capability_revision disagreement) and note #5's second item: FIXED.
controller.rs:2293-2298now takes the revision fromauthorized.identity().hardwarethrough the newgpu::core_revision(orbit/gpu.rs:240-248), which falls back tocapability_revisiononly for identities that are notPLATFORMSnames. Do not repeat the "gb203 core labelled gb202" claim:capability_revision(12,0)still returnsgb202, but it is now reached only for cores recording no device identity and for unlisted PCI ids, so a gb203 core requires gb203. - Note #2 (blocking: flare/src/catalog.rs test): FIXED by the
gb203-tp1branch atcatalog.rs:561-564. Do not repeat as blocking; note #10 keeps only the maintainability angle (fixture still duplicatesPLATFORMS). - Note #3 (should fix: cli.rs --revision help): FIXED.
flare-cli/src/cli.rs:202-203now listsga102, gb10, gb202, gb203, gb300. The orphan-word reflow atdocs/cli-design.md:885-886is also fixed (:888-893reflow cleanly). Note #11 replaces it with the different, still-stale sentence atdocs/cli-design.md:904. - Note #4 (nit: looped naming test + four stale orbit doc comments): BOTH addressed.
naming.rs:209now asserts0x2c31literally beside the loop;orbit/gpu.rs:38and:222andorbit/plan.rs:38now say "aPLATFORMSname";controller.rs:236doc left as "The hardware revision every GPU of the group must have." Only the new nits in note #12 remain.
What replaced them, for the report: #9 (over-broad 8.6 → ga102 arm), #10 (catalog fixture duplication), #11 (cli-design.md:904 fallback sentence), #12 (three nits).
#17 [high] Report of 2026-11-26, run 3 (head fb784c9): 2 prior should-fixes fixed; 8.6→ga102 still open
Verdict: should-fix issues only. No blockers.
Fixes verified in code at head fb784c9 (not from the reply):
flare/src/catalog.rs:562-573: the per-platform literal fixture is gone. The loop at:550-561iterates PLATFORMS against branch names built from the table (format!("{published}{suffix}")), and the new three-assertion block only uses["gb202","gb203-tp1"]as an example pair — it is no longer a copy of PLATFORMS and needs no edit when the table grows. My previous should-fix here is resolved; open PR #502 (gb206) confirms the loop is what now carries the coverage.docs/cli-design.md:904-907: now states the rule ("a detected platform revision that beginsgb(gb10,gb202,gb203,gb300) ...ga102is not retried"), matchingflare/src/hub.rs:3145-3156(revision.starts_with("gb") && PLATFORMS.contains(&revision)). Resolved.flare-cli/src/orbit/controller.rs:2293:authorized.identity().map_err(|e| e.to_string())?.hardware, matchingflare-cli/src/distribution.rs:157. Resolved (was a nit).- Prior blockers stay fixed:
helios/src/core/naming.rs:49-51returnsgb203for0x2c31; orbit placement usescore_revision(orbit/gpu.rs:237-242) →plan.rs:693-696.
Remaining should fix:
flare-cli/src/orbit/gpu.rs:229—(8, 6) => "ga102".into()names every unlisted SM86 diega102, whileGA102_DEVICES(helios/src/core/naming.rs:32-34, six products) excludes GA104/GA106 andnaming.rs:218assertsplatform_from_pci(0x2484_10de) == None; #300 says "GA104 and GA106 are not included". Sorevision(0x248410de, 8, 6) == "ga102"(Orbit advertises it) whileflare/src/hardware.rs:18-21,95-100and export (heliopause/src/export/capture.rs:2161-2167) refuse it — the same label/refusal divergence this PR deletes elsewhere, reintroduced one capability over. Keep the compatibility on the core side (core_revisionfor identity-less legacy cores,helios/src/runtime_core/model.rs:1426-1428hardware: String::new()), not by naming a host platform from capability. Same shape pre-exists atgpu.rs:227(12,0) => "gb202"(pinned bygpu.rs:356), which is why #502 had to fight it; mention only.- Nits:
core_revision(gpu.rs:237-242) is the fourth/fifth inline copy of the "take the signed identity when it is a PLATFORMS name" rule (distribution.rs:159-163,hub.rs:2506-2518,hub.rs:2996-3001,heliopause/src/export/conversion.rs:400-412); anaming::platform_identity(&str)besideplatform_from_pciwould be the home.docs/orbit.md:321-323reflow (line 322 is ~115 chars, splits "memory-controller / utilization").docs/orbit.md:321-322sayssm{major}{minor}is reported "for a compute capability that names no platform" while (8,6) namesga102(fix with finding 1).helios/src/core/naming.rs:22"GB203 device identifiers for the SM120 platform: RTX PRO 4500 Blackwell" names one product where sibling tables (:17,:29,:32,:36) name the die's product set.
Coverage: all nine changed files read in context; callers followed (flare/src/hardware.rs, flare/src/hub.rs resolve_revision, flare/src/catalog.rs apply_refs/select_revision/branch_platform, flare/src/controller.rs:1204,1430, flare-cli/src/distribution.rs, orbit/{controller,plan,agent}, helios/src/runtime_core/{model,protection}.rs, heliopause/src/export/{capture,conversion}.rs). Charter (line 10 "Stay focused", line 35) and AGENTS.md:43-70 prose rule + .agents/skills/repo-prose/SKILL.md applied. No CI checks on the head commit; no describe()/plan()-level test of gb203 placement (only core_revision unit test) — nothing else here needs hardware.
#18 [high] Research summary
Reviewed PR #469 at head fb784c9 through the conventions-and-duplication lens. All nine changed files were read in context, with the callers of every changed function followed (flare/src/hardware.rs, flare/src/hub.rs, flare/src/catalog.rs, flare/src/controller.rs, flare-cli/src/distribution.rs, orbit/{controller,plan,agent}, helios/src/runtime_core/{model,protection}.rs, heliopause/src/export/{capture,conversion}.rs), judged against the charter, AGENTS.md:43-70 and the repo-prose skill.
Verdict: should-fix issues only; no blockers. Two of the three should-fixes from my previous round are genuinely resolved at this head, verified in code: flare/src/catalog.rs:562-573 no longer holds a per-platform copy of PLATFORMS (the loop at :550-561 derives names from the table, and the new block is an example pair that needs no edit as the table grows), and docs/cli-design.md:904-907 now states the -tp1 retry rule rather than three copied names, matching flare/src/hub.rs:3145-3156. The one earlier should-fix that stands is the added (8, 6) => "ga102" arm at flare-cli/src/orbit/gpu.rs:229: it labels every unlisted SM86 die ga102 while GA102_DEVICES (helios/src/core/naming.rs:32-34, naming.rs:218) deliberately excludes GA104/GA106, reintroducing exactly the "agent names a platform, detection refuses the card" divergence this PR deletes elsewhere — the fix is to keep that compatibility on the core side in core_revision, not to name a host platform from compute capability. Four nits follow (a fourth copy of the PLATFORMS-gated identity read; a ragged paragraph and a now-inaccurate sentence in docs/orbit.md:321-323; and the GB203_DEVICES doc naming one product where sibling tables name the die's products). Full findings are in scratchpad entry #17.
#19 [high] For the final report at fb784c9: which prior findings are superseded, and what the PR gets right
Read with #17 (current round) and #16 (prior full report). #17 is the authoritative list of open findings at head fb784c9.
Do not re-report (fixed at fb784c9, verified by reading the code):
- catalog per-platform fixture →
flare/src/catalog.rs:550-561derives branch names fromPLATFORMS;:562-573uses only["gb202","gb203-tp1"]as a prefix-collision example, not a copy of the table. docs/cli-design.md:904-907-tp1 sentence → now states the rule and excludesga102, matchingflare/src/hub.rs:3145-3156.- identity read in
describe→flare-cli/src/orbit/controller.rs:2293uses.map_err(|e| e.to_string())?, matchingflare-cli/src/distribution.rs:157. --revisionhelp text →flare-cli/src/cli.rs:202-203lists all five names.- Both 2026-11-24 blockers →
helios/src/core/naming.rs:49-51(0x2c31→gb203),orbit/gpu.rs:237-242+orbit/controller.rs:2293-2295+orbit/plan.rs:693-696(gb203 core requires gb203). - Description's three earlier false claims (hardware-revision path, pre-change
gb202, GA102 breaking on base) → corrected in the current description; the GA102 label change and the unpublished-gb203merge order are disclosed there and match the code (flare/src/hardware.rs:18-21,95-100).
What the PR gets right in this lens (include so the review is not only complaints):
- New table mirrors precedent exactly:
GB203_DEVICES: [u32; 1] = [0x2c31](helios/src/core/naming.rs:22-27) followsGB300_DEVICES: [u32; 1](:36-37) andGA102_DEVICES: [u32; 6](:32-34) from #300; thecontainsarm sits first in the existing chain (:49-51), changes no other branch since the id sets are disjoint, andPLATFORMSkeeps the array-length-in-type idiom (:15). Movinggb203ahead ofgb10is inert. - Real deduplication: the private
platform()table inflare-cli/src/orbit/gpu.rsis deleted;revision()(:308-312) now reachesplatform_from_pciexactly asflare/src/hardware.rs:18-21andheliopause/src/export/capture.rs:2161already did. The claimed drift is verifiable in the deleted code (it listed one of fiveGB10_DEVICESids and listed0x2bbc, absent fromGB202_DEVICES). - "Single source" documented where the table lives (
naming.rs:39-43), and the literal-id assert the #221 review asked for is present atnaming.rs:209. - All
PLATFORMSconsumers tolerate a name-only addition:flare/src/catalog.rs:272,320,flare/src/hub.rs:2507,2524,2997,3149,flare-cli/src/distribution.rs:159,720,heliopause/src/export/conversion.rs:402,helios/src/core/naming.rs:82,124. - The three docs lists this PR touches are correct for the sets they describe:
docs/cli-design.md:888-893,:927,docs/core-format-design.md:753-754,docs/orbit.md:321.
Negative evidence to state as such: no CI checks on the head commit, so the PR's test commands are the only suite evidence; no describe()/plan()-level test covers gb203 placement (only the core_revision unit test at orbit/gpu.rs:362-372) — a core fixture would settle it; nothing else in this lens needs GPU hardware. Not re-derived: the hardware numbers in the description (3920 KV pages, pp 8813 / tg 111.6 t/s).
#3 [medium] should fix: the clap --revision help text was not updated, though #300 updated it for ga102
LENS C (conventions/drift).
flare-cli/src/cli.rs:173 (unchanged):
/// Hub revision; uses the model origin when cached, otherwise detects ga102, gb10, gb202, or gb300.
This is the clap --revision help text for HubOptions (cli.rs:171-175), rendered by flare download --help / flare run --help. It omits gb203, so the CLI's own help still tells an operator on an RTX PRO 4500 the card cannot be detected, while docs/cli-design.md:921 (which this PR does update) lists gb203.
Precedent: PR #300 ("Recognize GA102 (SM86) as a platform", merged 2026-11-15, commit 333b11ec) changed flare-cli/src/cli.rs (+1 -1) to add ga102 to this exact line. Adding a platform has meant updating it.
Also docs/cli-design.md:885-886 now reads "...gb203, and gb300. Automatic\nselection\nqueries the selected GPUs' PCI..." — the reflow left selection alone on a line, an orphan word the previous single-line sentence did not have.
Fix: add gb203 to the cli.rs:173 list; reflow the cli-design.md sentence so no word stands alone.
#6 [medium] Coverage map: per-file verdict through lens C
All five changed files were read in full context (not only the diff), with callers followed.
helios/src/core/naming.rs (+18 -1). Verdict: follows the established shape exactly — GB203_DEVICES: [u32; 1] mirrors GB300_DEVICES: [u32; 1] (naming.rs:40) and GA102_DEVICES (naming.rs:37) from PR #300; the contains check inserted ahead of the other tables matches the existing chain at naming.rs:47-59; PLATFORMS widened from [&str; 4] to [&str; 5] keeps the array-length-in-type idiom. Placing gb203 before gb10 alters no existing branch, since no id is in two tables. Only nit is the looped test (see the nit note).
flare-cli/src/orbit/gpu.rs (+2 -15). Verdict: the deleted platform() was the last private copy of the PCI table; flare/src/hardware.rs:18-21 already delegated to flare_helios::core::naming::platform_from_pci with the comment "Single mapping table shared with core export naming", and heliopause/src/export/capture.rs:2079 calls it directly. So the two-line replacement at gpu.rs:298 follows the crate's own precedent for how a consumer reaches this function, and the deletion is genuine deduplication rather than churn. The PR's claim that the copy had drifted is verifiable: the deleted arms listed only 0x2e12 of the five GB10_DEVICES, and listed 0x2bbc, which GB202_DEVICES does not contain. What the file left behind is the finding in the high-importance note.
docs/cli-design.md, docs/core-format-design.md, docs/orbit.md. Verdict: the three list updates are correct and complete for the platform sets they describe; core-format-design.md:754 and cli-design.md:921 now agree with PLATFORMS. Only defect is the reflow at cli-design.md:885-886 (medium note).
Cross-check of the PR's "no other device changes label" claim: verified. 0x2bbc now reaches gb202 through the capability fallback (12.0), which flare-cli/src/orbit/gpu.rs:347 already tests with revision(0x2c0010de, 12, 0) == "gb202"; the four previously missing GB10 ids now resolve through the shared table to gb10, which is the direction the PR discloses. No finding.
Tests the PR ran cover helios naming and flare-cli orbit only; flare's and heliopause's suites were not run, which is how the blocking catalog regression survived.
#7 [medium] Lens C verdict and the two statements the report should lead with
Lens C (conventions and duplication) overall: the change is built the right way — it reuses the existing table, mirrors the existing per-die table idiom, and removes a real duplicate rather than adding a mechanism. The defects are all "the same idea still copied in one more place", which is exactly this lens: the PR consolidated the PCI table but did not finish consolidating the platform mapping, and it did not propagate the platform name to the places that enumerate platforms.
Report order and one-line summaries:
- blocking —
flare/src/catalog.rs:548-569:published_build_match_uses_all_platform_branchesfails fortarget = gb203because its branch fixture is hardcoded to four platforms; fix is the +1 line #300 made for ga102. - should fix —
flare-cli/src/orbit/gpu.rs:224-231+flare-cli/src/orbit/controller.rs:2294:capability_revisionstill maps (12,0) togb202, so orbit labels a gb203 coregb202andplan.rs:695refuses every GB203 GPU; fix followsflare-cli/src/distribution.rs:157-163(signedhardware_identitygated onPLATFORMS). - should fix —
flare-cli/src/cli.rs:173:--revisionhelp omits gb203 (#300 changed this line for ga102); plus the orphan word atdocs/cli-design.md:885-886. - nit —
helios/src/core/naming.rs:206-212loops the table where the #221 review asked for literal ids (partly covered by the literal assert atflare-cli/src/orbit/gpu.rs:340); four orbit doc comments (gpu.rs:38,gpu.rs:222,plan.rs:38,controller.rs:236) still list the platform set without gb203 whiledocs/orbit.md:321was updated.
Nothing in this lens needs GPU hardware to settle; each finding is reproducible with cargo test on flare, flare-cli, and helios.
#11 [medium] Should fix: the -tp1 fallback sentence in cli-design.md still lists three platforms while the code uses PLATFORMS
Severity: should fix (small, docs). Lens: conventions — enumerations of the platform set that the PR updates elsewhere but misses here.
docs/cli-design.md:904 (inside the --revision prose block this PR edits at :885-893 and :926):
"For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision if the initial revision lookup returns HTTP 404."
That list is wrong twice over now: it omits ga102 (added by merged #300) and gb203 (added here). The code is generic: flare/src/hub.rs:3138-3158 resolve_revision tests revision.starts_with("gb") && naming::PLATFORMS.contains(&revision) and forms format!("{revision}-tp1") — so any PLATFORMS entry gets the fallback (and, incidentally, ga102 does not even reach the starts_with("gb") gate, so the doc and the code disagree about ga102 in the other direction).
Fix: write the list from PLATFORMS ("for any platform revision"), or state the exact condition the code applies. This matters for the PR's own GB203 claim: with no gb203 branch published yet, the -tp1 fallback at least tries gb203-tp1, and the doc should say so.
Related, same class, also untouched by the PR: docs/cli-design.md:883 example @gb202, docs/container.md:91 --revision gb202, docs/multi-host.md:279 ("gb10 selects the Spark hardware revision") are examples, not enumerations, so leave them.
#4 [low] nit: looped table test despite the #221 request for literal ids; and four stale platform lists in comments
LENS C (conventions).
helios/src/core/naming.rs:206-212(new):
for device in GB203_DEVICES {
assert_eq!(
platform_from_pci(device << 16 | 0x10de),
Some("gb203"),
"{device:#06x}"
);
}
This is the pattern the PR describes as established ("as it already did for the other tables"). But a maintainer asked for the opposite on the matching table: review of PR #221 (yatesdr, 2026-11-18, CHANGES_REQUESTED), item 2: "Test the IDs themselves. The test loops over GB300_DEVICES, so it still passes if 0x31c2 is removed from the table. Assert 0x31c2 and 0x31c3 literally."
Mitigating: flare-cli/src/orbit/gpu.rs:340 does assert revision(0x2c3110de, 12, 0) literally, so the identifier is pinned somewhere. Severity nit.
- Doc comments listing the platform set, left stale, all in files this PR touches:
flare-cli/src/orbit/gpu.rs:38: "Flare hardware revision:gb10,gb202,gb300, orsm{major}{minor}" — theGpu::revisionfield this PR'srevision()now fills withgb203.flare-cli/src/orbit/gpu.rs:222: "The Flare hardware revision of a compute capability:gb10,gb202,gb300, orsm{major}{minor}".flare-cli/src/orbit/plan.rs:38andflare-cli/src/orbit/controller.rs:236: "gb10,gb202,gb300, or ...". These are already missingga102(pre-existing: #300 said it deliberately left orbit alone), so they are incomplete rather than newly wrong.docs/orbit.md:321was updated by this PR, which makes the code comments disagree with the doc they describe. Nit.
Fix: add gb203 (and ga102) to the four lists, or point them at naming::PLATFORMS.
#12 [low] Nits: fourth copy of the PLATFORMS-gated identity read, orbit.md reflow/wording, naming.rs table doc
Severity: nit (lens: duplication — a fourth inline copy of the same four-line pattern, plus two prose defects).
-
PLATFORMS.contains(hardware)-gated take-the-identity pattern now exists four times with the same shape:- flare-cli/src/distribution.rs:157-163 (takes
signed.hardwarewhen inPLATFORMS, else empty String) - flare/src/hub.rs:2995-3001 (same, as
Option<&str>) - flare/src/hub.rs:2506-2518 and heliopause/src/export/conversion.rs:400-412 (same, with a "cores span X and Y" cross-check)
- and now flare-cli/src/orbit/gpu.rs:243-248
core_revisioncore_revisionis the second variant to fall back to a compute capability, though, so it is not a pure copy. Fix worth considering: one helper onhelios/src/core/naming.rs(next toplatform_from_pci, which is documented as the single source) such asplatform_identity(hardware: &str) -> Option<&str>returning the identity when it is aPLATFORMSname, so the orbit and distribution callers read the same rule. Not blocking;core_revisionhas its own test (a_core_requires_the_revision_its_device_identity_records, gpu.rs:373-383) and both callers agree today.
- flare-cli/src/distribution.rs:157-163 (takes
-
docs/orbit.md:321-323reflow: line 322 is 115 characters and the sentence continues "and utilization, memory-controller" / "utilization (...)" across the edit, leaving the paragraph visibly ragged. The repo prose skill (.agents/skills/repo-prose/SKILL.md, cited by AGENTS.md:43-49) requires readable sentences; wrap the paragraph as a unit. -
docs/orbit.md:321-322also states the rule that finding #9 shows is not what the code does: "sm{major}{minor}for a compute capability that names no platform" — butcapability_revisionnamesga102for every capability 8.6 device (gpu.rs:235), including onesGA102_DEVICESexcludes. Fix the wording together with the code arm. -
helios/src/core/naming.rs:22doc: "GB203 device identifiers for the SM120 platform: RTX PRO 4500 Blackwell." The neighbouring tables (:17GB202,:29GB10,:32GA102,:36GB300) describe the die/products; the SM120 phrase reads as the reason for the whole change and will be wrong if a second GB203 product ships. Nit only.