#1 [high] [should fix] flare-cli/orbit/gpu.rs keeps a second device table — delete it
Files: flare-cli/src/orbit/gpu.rs:309-324 (fn platform), new arm 319-321; helios/src/core/naming.rs:17-20 doc comment, 25-27 GB206_DEVICES, 53-55 new branch.
Evidence from code:
- helios/src/core/naming.rs:17-20: "This table is the single source consumed by Flare's device detection and by core export naming; do not duplicate the identifiers elsewhere."
- flare/src/hardware.rs:18-21 already delegates:
flare_helios::core::naming::platform_from_pci(pci_id)with the comment "Single mapping table shared with core export naming." - flare-cli already depends on flare-helios (flare-cli/Cargo.toml:27, features runtime-core,server) and uses
flare_helios::core::…in orbit/agent.rs:118, orbit/controller.rs:31. - The private copy has drifted: only 0x2e12 for gb10 (naming.rs:30 lists 5), lists 0x2bbc which is not in GB202_DEVICES (naming.rs:21-23), no ga102 and no gb300 arm.
- Consequence of drift, provable:
revision()(gpu.rs:297-307) falls back to compute capability, so a GA102 card (SM86) is reportedsm86by the Orbit agent, whileflare's own detection (flare/src/hardware.rs:95-100 via naming.rs:34,50-52) reportsga102. Orbit'srepository_revision(orbit/controller.rs:2210-2232) then infers asm86Hub revision. - The new gb206 arm has no test at all in flare-cli:
pci_ids_select_the_revision_before_compute_capability(gpu.rs:352-357) does not cover it; the only new test is the helios loop.
Smaller version: delete platform() and write
fn revision(pci_device_id: u32, major: c_int, minor: c_int) -> String {
naming::platform_from_pci(pci_device_id)
.map(str::to_owned)
.unwrap_or_else(|| capability_revision(major, minor))
}
(plus use flare_helios::core::naming;), deleting ~16 lines and the duplicated ids.
Caveat worth flagging: deleting the copy alone changes GA102 hosts from sm86 to ga102 while a core's requirement still comes from capability_revision (orbit/controller.rs:2294), and gb206 cores (compute capability 12.0 → gb202 at gpu.rs:227) can never satisfy a gb206 host today (plan.rs:693-696 compares strings exactly). Both are fixed by also taking the core's revision from the signed hardware identity, which is what #469 does.
#3 [high] [blocking] PLATFORMS + 1 breaks flare/src/catalog.rs:561-567 (flare suite red)
File: flare/src/catalog.rs:548-569, test published_build_match_uses_all_platform_branches (fixture 561-563, asserts 566-567). Not in the diff, but broken by this PR.
Mechanism: the test loops for target in PLATFORMS and, per target, applies a hardcoded four-branch fixture ga102-tp1, gb10-tp1, gb202, gb300-tp8, then asserts entry.build_target_match == Some(true). apply_refs (catalog.rs:304-329) sets build_target_match = Some(platforms.contains(target)). With "gb206" added to PLATFORMS (helios/src/core/naming.rs:15), target = "gb206" yields Some(false) and the assert panics.
Why it is not caught by the author's evidence: the PR description records only cargo test --manifest-path helios and --manifest-path flare-cli; flare/Cargo.toml was not run. AGENTS.md:309-320 lists cargo test --locked --release --manifest-path flare/Cargo.toml as a CI command in .github/workflows/native-serving.yml.
Same defect was a blocker in #469's review (flare/src/catalog.rs:561-563 hardcodes a four-platform fixture inside a loop over PLATFORMS), and #300 hand-edited this same list for ga102. The list is a second hand-maintained copy of PLATFORMS.
Fix (removes the copy instead of growing it):
let refs = serde_json::from_value(json!({"branches": PLATFORMS
.map(|platform| json!({"name": format!("{platform}-tp1")}))})).unwrap();
inside the loop, then the asserts hold for every current and future platform and no PR has to edit this fixture again.
#5 [high] [should fix] Orbit cannot place a gb206 core even after this PR
Consequence of the second table (entry 1) and the core-side lookup:
describesets a core's requirement from compute capability only: flare-cli/src/orbit/controller.rs:2293-2295revision: super::gpu::capability_revision(first.architecture[0], first.architecture[1]); gpu.rs:224-231 maps (12,0)→gb202. A GB206 core records architecture (12,0) — GB206 is SM120 like GB202 — and a signedhardware_identityofgb206(heliopause/src/export/core.rs:656-664). Compare is exact string equality at plan.rs:693-696, so placement fails: "gpu 0 … is gb206, not gb202".- So the new flare-cli arm only reaches: STATUS/
flare orbit showdisplay (controller.rs:545), the hub revision inferred fororbit run ORG/MODEL(controller.rs:2210-2232). It does not make a GB206 core placeable in Orbit. - The minimal path is the one #469 already takes:
platform_from_pcifrom helios inrevision, and the core's revision from its signed hardware identity withcapability_revisionas the legacy fallback. Ask the author to say plainly in the description that Orbit placement of a gb206 core is not enabled by this PR, or that the two halves must land together.
#9 [high] Research summary
Reviewed PR #502 (gb206 platform support, 2 files, +18/−1) through the simplicity lens. Read the charter, AGENTS.md, docs/design-review.md, docs/cli-design.md, docs/core-format-design.md, docs/orbit.md, CONTRIBUTING, the repo-prose skill, all callers of PLATFORMS/platform_from_pci, and the two prior platform PRs (#300, #469).
Findings (all on the scratchpad, entries 1-8):
-
Blocking —
flare/src/catalog.rs:561-567goes red.published_build_match_uses_all_platform_branchesloops overPLATFORMSand, per target, assertsbuild_target_match == Some(true)against a hardcoded four-branch fixture (ga102-tp1, gb10-tp1, gb202, gb300-tp8). Addinggb206toPLATFORMS(naming.rs:15) makes thegb206iteration assertSome(false) == Some(true). This is.github/workflows/native-serving.yml:77(not opened), and the PR's evidence runs only the helios and flare-cli manifests. Smaller version: build the fixture fromPLATFORMSinside the loop, which deletes the second hand-maintained platform list (#300and#469both had to edit it). -
Should fix — the PR adds to a table the tree says must not be duplicated.
flare-cli/src/orbit/gpu.rs:309-324keeps a private device table, and the new arm at 319-321 duplicates all nine gb206 ids.naming.rs:17-20says "do not duplicate the identifiers elsewhere", andflare/src/hardware.rs:18-21already shows the smaller shape (delegate toplatform_from_pci). The copy has drifted: one of five gb10 ids, an extra0x2bbc, no ga102, no gb300. Fix:platform_from_pci(pci_device_id).map(str::to_owned).unwrap_or_else(|| capability_revision(major, minor)), deleting ~16 lines. This also removes the arm-for-arm duplicate ofcapability_revision(gpu.rs:301-306 vs 224-231). -
Should fix — the new test cannot fail on a wrong device id.
naming.rs:203-209loops overGB206_DEVICESand asserts the mapping of that same constant, so any typo in the nine ids passes; the untested-id limitation is real. Replacing it with a literal array equality plus one mapping call is two lines instead of seven and actually pins the ids (same point yatesdr made on #221). The three near-identical loops in that test can collapse to one. -
Should fix — Orbit still cannot place a gb206 core.
describetakes the required revision from compute capability (controller.rs:2293-2295,(12,0)→gb202), and plan.rs:695 compares strings exactly, so a gb206-signed core fails with "is gb206, not gb202". The new flare-cli arm therefore only affects display and hub-revision inference; the description should say so or the two halves must land together (cf. #469). -
Nits — nine prose/help enumerations of the platform set still list four names (cli.rs:175, gpu.rs:38/222, plan.rs:38, three docs); recommend naming
PLATFORMSonce. Plus a missing space at naming.rs:15 and a missing semicolon at naming.rs:54. The PR description's "32 MB L2 cache" and the 128-bit bus/16 GB details are unused by any code path and unsupported by the stated evidence.
No CUDA/kernel code is touched. Nothing outside this lens was asserted as a finding.
#13 [high] Report of 2026-11-26 (run 2), head 8e2ea68
Head 8e2ea68 reduced the PR to 5 files: docs/cli-design.md, docs/core-format-design.md, flare-cli/src/cli.rs (help text), flare/src/catalog.rs (fixture), helios/src/core/naming.rs. The flare-cli/src/orbit/gpu.rs hunk was deleted entirely.
Resolved from run 1: blocking catalog.rs failure (fixture now lists gb206 at :562, test passes); the duplicated-orbit-table arm (gone).
Still open:
- SHOULD FIX flare/src/catalog.rs:561-563 — fixture is still a hand-kept second platform list; loop asserts build_target_match == Some(true) for every PLATFORMS entry, so the next platform addition fails again (as #300 and #469 did). Smaller: build the fixture from PLATFORMS inside the loop.
- SHOULD FIX flare-cli/src/orbit/gpu.rs:309-321 + 297-307 — the private table now diverges from the source of truth in a way this PR made observable: a GB206 host reports gb202 in Orbit (capability_revision(12,0)) but gb206 in flare (platform_from_pci). Orbit therefore infers hub revision gb202 (controller.rs:2210-2232) while flare run requests gb206 (hub.rs:3104-3122), and
flare orbit showdisplays gb202. Fix: revision() = platform_from_pci else capability_revision; deletes 16 lines and the duplicate match at 301-306. - SHOULD FIX helios/src/core/naming.rs:205-211 — loop asserts the mapping of the constant it iterates; ids can be mistyped and pass. Also redundant with the literal assert at :219. Smaller: one loop over [(GB202_DEVICES,"gb202"),(GB206_DEVICES,"gb206"),(GA102_DEVICES,"ga102")] plus a literal array equality for GB206_DEVICES.
- SHOULD FIX PR description section 2 — still says flare-cli/src/orbit/gpu.rs platform() maps the 9 ids; that code is deleted. AGENTS.md:72-80 / repo-prose SKILL.md:26-29,40-43.
- NIT docs/cli-design.md:901 lists only gb10, gb202, gb300 for the -tp1 404 retry, but PLATFORMS now makes gb206 retry too (hub.rs:3114-3115); docs/orbit.md:321 lists gb10/gb202/gb300; gpu.rs:38/222 and plan.rs:38 likewise. Nine prose enumerations, all now one platform behind.
- NIT naming.rs:56 missing semicolon (diff lines 45/48/51/53 all end ;).
- NIT docs line wrapping broken: cli-design.md:887, :890 and core-format-design.md:754 now exceed the ~80-column wrap the surrounding prose uses.
- NIT naming.rs:25-26 doc comment asserts "GeForce RTX 5060 Ti, 5060, and mobile/workstation variants" for nine ids, eight unverified per the description.
- NIT description's L2/bus/VRAM rationale is read by no code path (PLATFORMS consumers: naming.rs:79,121; hub.rs:2473,2490,2963,3115; catalog.rs:272,320; distribution.rs:159,720; conversion.rs:402).
#14 [high] Research summary
Reviewed PR #502 at head 8e2ea68 through the simplicity lens. The fix commit removed the flare-cli/src/orbit/gpu.rs hunk entirely and repaired the broken fixture, so run 1's single blocking finding is resolved; what remains is duplication the diff still adds or leaves standing.
Still open: flare/src/catalog.rs:561-563 keeps a hand-maintained second platform list inside the loop that iterates PLATFORMS (the next platform addition fails it again — it should be generated from PLATFORMS); flare-cli/src/orbit/gpu.rs:297-321 still carries a private PCI table that this PR now makes observably wrong, since a GB206 host reports gb202 in Orbit but gb206 in flare, so Orbit infers gb202 hub revisions for a card the CLI now labels gb206; deleting platform() in favour of platform_from_pci removes 16 lines and the arm-for-arm copy of capability_revision; helios/src/core/naming.rs:205-211 asserts the mapping of the same constant it iterates, so a mistyped device id still passes, and one loop over the three (table, name) pairs plus a literal array equality is shorter and stronger.
Nits: the PR description's section 2 still describes the deleted platform() edit; docs/cli-design.md:901, docs/orbit.md:321, gpu.rs:38/222 and plan.rs:38 still enumerate platforms without gb206; the description's L2/bus/VRAM rationale is read by no code path; a missing semicolon at naming.rs:56; three doc lines exceed the surrounding wrap; the GB206 id doc comment claims three product families for nine ids, eight of which the description calls untested. Full findings with citations are in scratchpad entries #13 and #8.
#15 [high] Final report (supersedes #12): simplicity review of #502 at 8e2ea68
Simplicity review of PR #502 (feat: add gb206 platform support), head 8e2ea68
Supersedes entry #12, which was written at the previous head (before commit 8e2ea68 "fix: update catalog test, docs, and scope for gb206 platform"). Verdict changed from "blocking issues" to "should fix".
What changed at 8e2ea68
flare-cli/src/orbit/gpu.rsgb206 arm deleted; the file is no longer in the diff. Run 1's B1 (orbit can't place a gb206 core) and S1 (duplicated table arm) are no longer introduced by this PR.flare/src/catalog.rs:562fixture gained{"name": "gb206"}; run 1's blocking test failure is fixed.- Docs/help text updated at
docs/cli-design.md:887/890/923,docs/core-format-design.md:754,flare-cli/src/cli.rs:175. - Diff is now 5 files: 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), helios/src/core/naming.rs (+19/−1).
Verdict: should fix (no blocking finding left in this lens)
Should fix
-
flare/src/catalog.rs:561-563— the fixture is a second hand-maintained platform list. Testpublished_build_match_uses_all_platform_branches(:549-569) iteratesPLATFORMS(:550) and, per target, assertsentry.build_target_match == Some(true)(:566) against a literal branch list.apply_refs(:319-322) sets the flag toplatforms.contains(target), so the loop is only satisfiable while the literal list equalsPLATFORMS— this PR had to addgb206at:562to keep it green, #300 hand-edited the same list, and the next platform PR fails it again. Simpler and one line shorter: build the fixture from the loop variable, e.g.json!({"branches": PLATFORMS.map(|p| json!({"name": format!("{p}-tp1")}))}), which deletes the list instead of extending it. Rule: AGENTS.md:188-193 (reject churn/duplicate paths). -
flare-cli/src/orbit/gpu.rs:297-321— the private PCI table now disagrees with the source of truth in a user-visible way.revision()(:297-307) consultsplatform()(:310-321), a private copy of the table thathelios/src/core/naming.rs:17-20says must not be duplicated ("single source … do not duplicate the identifiers elsewhere"). The copy holds one GB10 id (0x2e12,:315), adds0x2bbcto GB202 (:316), and has no ga102/gb300/gb206. Before this PR a GB206 host fell through tocapability_revision(12,0) == "gb202"(:227) in both tools; nowflarereportsgb206(flare/src/hardware.rs:18-21→platform_from_pci) while Orbit's agent status,flare orbit show(controller.rs:545) and the inferred hub revision (repository_revision,controller.rs:2210-2232) saygb202— soflare runrequestsgb206/gb206-tp1(flare/src/hub.rs:3104-3122,:3115) on exactly the hosts where Orbit asks the Hub forgb202. Fix, 16 lines deleted and no ids in the diff:naming::platform_from_pci(pci_device_id).map(str::to_owned).unwrap_or_else(|| capability_revision(major, minor)). The delegating shape already exists in the tree atflare/src/hardware.rs:18-21, andflare-clialready depends onflare-helios(flare-cli/Cargo.toml:27). This also deletes the arm-for-arm duplicate ofcapability_revision(gpu.rs:301-306vs:224-231, entry #2). -
helios/src/core/naming.rs:205-211— the new test cannot fail on a wrong device id. The loop readsGB206_DEVICESand asserts the mapping of that same constant, so a mistyped id (0x2d06,0x2d49) passes; the ids' correctness is the PR's actual claim and eight of nine are declared untested. It is also redundant with the literal assertion added at:219. Smaller and stronger: one loop over[(GB202_DEVICES, "gb202"), (GB206_DEVICES, "gb206"), (GA102_DEVICES, "ga102")]replacing the three near-identical seven-line loops at:198-218, plusassert_eq!(GB206_DEVICES, [0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]);so the ids are reviewable in one place. Rule: AGENTS.md:194-199 (tests must exercise the affected contract). -
PR description §2 — describes code the head no longer contains. "Updated
platform(pci_id)to map the same 9 GB206 PCI device IDs toSome("gb206")during NVML device discovery" refers to the deletedflare-cli/src/orbit/gpu.rshunk (seepr_files: the file is not changed). §2 must also record the docs/help edits now in the diff, and §3's benefit inherits the Orbit/flare label split in finding 2. Rule: AGENTS.md:72-80 (description must answer why/what/benefit/evidence to a reviewer with no working context); repo-prose SKILL.md:26-29 ("Documentation is a present-state specification"), :40-43.
Nits
-
Nine prose enumerations of the platform set, all one platform behind.
docs/cli-design.md:901("Forgb10,gb202, andgb300… tries the corresponding-tp1revision") is now factually wrong:flare/src/hub.rs:3114-3115retries<revision>-tp1for anyPLATFORMSentry, sogb206retries too. Same four-name list atflare-cli/src/orbit/gpu.rs:38,:222-223,flare-cli/src/orbit/plan.rs:38,docs/orbit.md:321. Smaller: namePLATFORMSonce as the authority and keep the literal list only athelios/src/core/naming.rs:15, where the array type makes an addition a compile error. (Entry #6.) -
helios/src/core/naming.rs:56—return Some("gb206")lacks the semicolon its siblings at:47,:50,:53have. Cosmetic; CI runs nocargo fmt --check(.github/workflows/*only build and test;.github/workflows/native-serving.yml:45-77). -
Doc line wrapping broken by the insertions —
docs/cli-design.md:887,:890anddocs/core-format-design.md:754now run far past the ~80-column wrap of the surrounding prose, in the same diff that touches those lines. Re-wrap. -
helios/src/core/naming.rs:25-26— "GB206 device identifiers for the SM120 platform: GeForce RTX 5060 Ti, 5060, and mobile/workstation variants" attributes three product families to nine ids, eight of which the description calls untested. Either confirm against pci.ids or write the neutral form used at:38("GB300 device identifiers.0x31c3is the SM103 GPU of …"). -
Description §1/§3 rationale is read by no code path. "different cache sizes", "128-bit memory bus, 32 MB L2 cache, up to 16 GB VRAM" — no consumer of the platform name reads L2 size, bus width or VRAM (
PLATFORMSconsumers:naming.rs:79,:121;flare/src/hub.rs:2473,:2490,:2963,:3115;flare/src/catalog.rs:272,:320;flare-cli/src/distribution.rs:159,:720;heliopause/src/export/conversion.rs:402). The substantive reason is one sentence: on a GB206 hostplatform_from_pcireturnedNone, soignition exportfailed with "NVML reports unsupported GPU PCI id" (heliopause/src/export/capture.rs:2079-2085) andflaredetection failed atflare/src/hardware.rs:95-100.
Checked and clean (so the report says what was verified, not only what is wrong)
platform_from_pci(naming.rs:41-59): the nine GB206 ids are disjoint from GB10 (:32), GB300 (:39), GA102 (:36) and GB202 (:21-23), so branch order is irrelevant and the early return at:55-57is correct.candidate/deployment_candidate(naming.rs:79,:121) acceptgb206fromPLATFORMSwith no edit.- Export path (
heliopause/src/export/capture.rs:2079→platform_from_pci;heliopause/src/export/core.rs:656-664) picks upgb206automatically — the crash the PR names is genuinely fixed by thehelioshalf alone. flaredetection (flare/src/hardware.rs:18-21) andbranch_platformprefix matching (flare/src/catalog.rs:271-279) need no edit.flare/src/catalog.rs:549-569passes at this head (fixture now includes gb206).- No CUDA or other GPU kernel code is touched, so nothing to report under that rule.
- Not verifiable without hardware: whether the nine ids are the complete/correct GB206 set, and whether any repository will publish a
gb206Hub revision.
Note on the bot comment
The flare-autobot review posted on the PR (2026-11-25 00:06) predates the fix commit; its two blockers ("CI goes red", "Orbit can't place a GB206 core") are already addressed or no longer introduced by this diff. Nothing in the PR text instructed me; no prompt-injection attempt seen.
#17 [high] Report of 2026-11-26, run 3 — final simplicity review of #502 at 8e2ea68
Simplicity review — PR #502 "feat: add gb206 platform support" (head 8e2ea68)
No new commits since the last round; the PR description was edited at 2026-11-26 13:05, which resolves the earlier description findings (§2 no longer advertises the deleted flare-cli/src/orbit/gpu.rs platform() hunk, the "prevents crashes" and L2/bus/VRAM claims are gone). Nothing in the PR text tried to instruct me.
Head is 5 files (+25/−7): docs/cli-design.md, docs/core-format-design.md, flare-cli/src/cli.rs, flare/src/catalog.rs, helios/src/core/naming.rs (pr_files). The helios half is small and right: nine ids, one return in platform_from_pci, one PLATFORMS entry; consumers (candidate/deployment_candidate naming.rs:79/:121, hub.rs:2473/:2490/:2963/:3115, catalog.rs:272/:320, distribution.rs:159/:720, conversion.rs:402) pick it up with no edit. Everything below is duplication this diff adds or leaves standing beside the change, judged against AGENTS.md:188-193 (reject churn; refactoring must remove a demonstrated source of defects), AGENTS.md:194-199 (tests must exercise the contract), and the invariant written at naming.rs:17-20.
Verdict: should-fix only. No blocking finding.
Should fix
S1 flare/src/catalog.rs:561-563 (loop :550-568) — the fixture is a second, hand-kept PLATFORMS. The loop iterates PLATFORMS and asserts build_target_match == Some(true) (:566) plus branch_platform(select_revision(..)) == Some(target) (:567) against a literal branch list; since apply_refs (:315-322) sets the flag from platforms.contains(target), the assertion only holds while the literal equals PLATFORMS. This is exactly why this diff had to add {"name": "gb206"}; the same line was edited for #300 (ga102) and is edited again in #469. Failure mode is a red flare suite (CI .github/workflows/native-serving.yml:77), not a caught bug. Fix: derive let refs = ... json!({"branches": PLATFORMS.map(|p| json!({"name": format!("{p}-tp1")})).collect::<Vec<_>>()}), which removes the platform names from the test; alternative (also ~9 lines smaller): delete the block, since :551-559 already asserts Some(target == published) per pair and :525-547 covers select_revision/branch_platform.
S2 helios/src/core/naming.rs:205-211 — the added loop asserts the mapping of the constant it iterates, so its only possible failures are "ignores GB206_DEVICES" or "vendor mask broken"; a mistyped device id still passes. It duplicates the literal at :219 two lines later, and it is the third identical copy (:198, :205, :212 — note :190 uses a literal for GB10). Fix (shorter and pins every id visibly):
for (devices, platform) in [
(&[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a][..], "gb10"),
(&GB202_DEVICES[..], "gb202"),
(&GB206_DEVICES[..], "gb206"),
(&GA102_DEVICES[..], "ga102"),
] { for device in devices { assert_eq!(platform_from_pci(device << 16 | 0x10de), Some(platform), "{device:#06x}"); } }
assert_eq!(GB206_DEVICES, [0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]);
S3 helios/src/core/naming.rs:21-59 — five consts plus a five-arm if-chain, all in one file, no external reader (search: the consts appear only here, in platform_from_pci and the tests). This diff adds the sixth copy of the shape: a new platform costs a const, an if-arm, a PLATFORMS edit and a literal-length edit. One table makes it one row and also removes the missing ; at :56:
pub const PLATFORMS: [&str; 5] = ["ga102", "gb10", "gb202", "gb206", "gb300"];
/// Devices that select each platform, in NVML's `device<<16 | vendor` layout. Single source for
/// detection, export naming, and the reported revision; do not duplicate these ids elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb300", &[0x31c3]),
];
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)
}
39 lines → 21; ordering no longer matters because the id sets are disjoint (verified: 0x2d04/05/18/19/30/39/58/59/79 collide with nothing in GB202 :21-23, GB10 :32, GA102 :36, GB300 :39).
S4 docs/cli-design.md:901 — now false. It says only gb10, gb202, gb300 get the -tp1 retry, but flare/src/hub.rs:3113-3115 retries when revision.starts_with("gb") && PLATFORMS.contains(revision), so this diff makes gb206 retry too and ga102 not. The list three lines above (:887) and the flag table (:923) were updated by this same diff. Fix: state the rule ("a detected platform revision whose name begins gb"), not three copied names.
S5 flare-cli/src/orbit/gpu.rs:297-321 — the second PCI table this diff is the sixth copy of. revision() (:297-307) consults private platform() (:310-321: one GB10 id 0x2e12, plus 0x2bbc, no ga102/gb300/gb206) before an arm-for-arm copy of capability_revision (:224-231); naming.rs:19-20 forbids the duplication and flare/src/hardware.rs:18-21 shows the delegating shape. This PR makes the copies disagree observably: a 5060 Ti reports gb206 in flare (hardware.rs:18-21) and gb202 in Orbit (fallback (12,0)), and Orbit's inferred hub revision is built from exactly those per-GPU strings (controller.rs:2210-2232), so flare run asks for gb206 while Orbit asks for gb202; flare orbit show prints gb202. Smaller version, 16 lines deleted and the duplicated match gone: platform_from_pci(pci_id).map(str::to_owned).unwrap_or_else(|| capability_revision(major, minor)) — flare-cli already depends on flare-helios (flare-cli/Cargo.toml:27). Do not land that alone, and do not add a GB206 arm in this PR: the core's required revision is still capability_revision (controller.rs:2293-2296) compared exactly at plan.rs:693-696, so delegating the table would make a gb206/ga102 host mismatch every core ("is gb206, not gb202") — GA102 currently matches only because both sides say sm86 (no (8,6) arm). #469 carries the coupled change (core_revision from the signed identity plus the (8,6) arm); this finding is the argument for taking #469 rather than duplicating its ids here.
S6 PR description §3-§4 (AGENTS.md:72-80, repo-prose SKILL.md:35-37) — §4 "Tested hardware: Verified on GeForce RTX 5060 Ti 16GB (0x2d04)" gives no command and no result, and "Passed test suites in helios and flare" gives no command/counts (the helios suite needs --features runtime-core,server; CI runs it that way, native-serving.yml:63/:68). §2 also omits the behaviour that changed for users: detection now asks the Hub for gb206, then gb206-tp1 on 404 (hub.rs:3110-3122), neither published, replacing the actionable "unsupported PCI ID …; specify --revision" (hardware.rs:95-100). Fix: one sentence with the command and what it produced, plus one sentence saying --revision gb202 is the override until a gb206 build exists. Do not add a silent fallback for it.
Nits
N1 helios/src/core/naming.rs:56 — return Some("gb206") lacks the ; its siblings (:47, :50, :53) carry; cargo fmt/clippy do not run in CI (.github/workflows/native-serving.yml runs build + test only), so it will persist.
N2 helios/src/core/naming.rs:25-26 — "GeForce RTX 5060 Ti, 5060, and mobile/workstation variants" attributes three product families to nine ids, eight untested (repo-prose SKILL.md:30-34: distinguish implementation from qualification). Say which id was exercised.
N3 helios/src/core/naming.rs:17-20 — the "single source … do not duplicate" doc comment sits above GB202_DEVICES as if it documented the GB202 ids; it belongs on platform_from_pci (it is the invariant the Orbit copy violates).
N4 Four more prose enumerations of the platform set that will need the same edit next time: flare-cli/src/orbit/gpu.rs:38, :222, flare-cli/src/orbit/plan.rs:38, docs/orbit.md:321, plus flare-cli/src/distribution.rs:66 ("gb202/gb10"); all omit ga102 and gb206. Fix: "a name from PLATFORMS" in the doc comments and one list in docs.
N5 Line wrapping broken by the insertions: docs/cli-design.md:887 and :890 (~110 and ~150 columns) and docs/core-format-design.md:754 (~100) inside paragraphs wrapped at ~80. Re-wrap.
Checked and clean at this head
- Nine GB206 ids (naming.rs:27-29) are disjoint from GB202 (:21-23), GB10 (:32), GA102 (:36), GB300 (:39); inserting the return above the GB202 tail is order-independent and correct.
PLATFORMSwidening needs no other edit: candidate/deployment_candidate accept gb206, hub retry (:3114-3115) and catalog prefix matching (:271-279) follow automatically; the fixed-length[&str; 5]makes a forgotten length a compile error.- Export path picks gb206 up through
platform_from_pci(heliopause/src/export/capture.rs:2079);flaredetection through flare/src/hardware.rs:18-21. flare/src/catalog.rs:550-568passes at this head (fixture carries gb206).- The deleted
flare-cliOrbit hunk was the right call for this PR. - No dead code, no new options, fallbacks or parallel paths introduced by the diff; no CUDA/kernel code touched.
#18 [high] Addendum to run-3 report: fixture must be derived, not deleted; S2/S3 interplay
Two corrections to note #17 that the report must use:
- S1 secondary option (delete the block) loses coverage.
flare/src/catalog.rs:561-567is the only placeselect_revisionruns against a multi-platform branch set (gb10-tp1,gb202,gb206,gb300-tp8); the per-pair loop at:551-559uses single-branch lists. So the fix must be derive the fixture fromPLATFORMS(primary), not delete it. Ready-to-use replacement for :561-563:
let refs = serde_json::from_value(json!({"branches":
flare_helios::core::naming::PLATFORMS
.map(|p| json!({"name": format!("{p}-tp1")}))
.to_vec()
})).unwrap();
(or serde_json::json! over an iterator collected to Vec<Value>), keeping :564-567 unchanged. Same coverage, no platform names in the test.
-
S2 and S3 are alternatives for the same test. If S3's single
DEVICEStable lands, the loop in S2 iteratesDEVICES(for (platform, devices) in DEVICES { for device in devices { ... } }) instead of the four named consts, and the literal-array equality becomesassert_eq!(DEVICES[3].1, [0x2d04, ...])or a namedGB206: &[u32]const kept only for the test literal. Say "whichever table shape lands, keep one loop plus one literal array". -
Confirmed about the description: it was edited at 2026-11-26 13:05 and now matches the 5-file diff (§2 no longer mentions
orbit/gpu.rsplatform(), and the "prevents crashes"/L2/bus/VRAM lines are gone). The previous round's description blocker (deleted hunk) is resolved; only S6 remains (no test command/result, nogb206Hub-request disclosure). -
CI fact check:
.github/workflows/native-serving.yml:45build,:47-77tests (:63/:68helios with--features runtime-core,server,:73flare-cli,:77flare),:111-113rdma checks. Nocargo fmt --checkorclippystep (searchcargo fmt|fmt --check|clippyin.github/workflows→ no matches).
#20 [high] Final report (run 3, corrected) — supersedes #17
Simplicity review — PR #502 "feat: add gb206 platform support" (head 8e2ea68)
No new commits since the previous round; the PR description was edited at 2026-11-26 13:05, so the earlier description defects (§2 advertising the deleted flare-cli/src/orbit/gpu.rs platform() hunk, the "prevents crashes" claim, the L2/bus/VRAM rationale) are gone. Nothing in the PR text tried to instruct me.
Head is 5 files (+25/−7) per pr_files: 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), helios/src/core/naming.rs (+19/−1). The helios half is small and correct: nine ids, one return in platform_from_pci, one PLATFORMS entry, and every consumer picks gb206 up without an edit (candidate/deployment_candidate naming.rs:79/:121; hub.rs:2473/:2490/:2963/:3115; catalog.rs:272/:320; distribution.rs:159/:720; conversion.rs:402). Everything below is duplication this diff either adds or leaves standing next to the change it makes. Judged against AGENTS.md:188-193 (reject churn; refactoring must support the requested behaviour or remove a demonstrated source of defects), AGENTS.md:194-199 (tests must exercise the affected contract), and the invariant the table itself states at naming.rs:17-20.
Verdict: should-fix only. No blocking finding. Nothing in the diff is CUDA or other GPU kernel code, so the defect-only rule for kernel paths does not apply.
Should fix
S1 flare/src/catalog.rs:561-563 (inside the loop at :550-568) — the fixture is a second, hand-maintained PLATFORMS.
The loop iterates PLATFORMS (:550) and then, against a literal branch list, asserts build_target_match == Some(true) (:566) and branch_platform(select_revision(..)) == Some(target) (:567). apply_refs sets the flag from platforms.contains(target) (:315-322), so the assertion is satisfiable only while the literal list equals PLATFORMS; that is exactly why this diff had to add {"name": "gb206"}. The same fixture was edited for #300 (ga102) and is edited again in #469 ("the fixture now includes gb203-tp1, without which the test fails for the new platform"). The failure mode is a red flare suite in CI (.github/workflows/native-serving.yml:77), not a caught bug.
Do not delete the block: it is the only place select_revision runs against a multi-platform branch set (:551-559 feeds one branch at a time). Derive it instead, which deletes the platform names from the test:
let refs = serde_json::from_value(json!({"branches":
flare_helios::core::naming::PLATFORMS
.map(|p| json!({"name": format!("{p}-tp1")}))
.to_vec()
})).unwrap();
S2 helios/src/core/naming.rs:205-211 — the added test cannot fail on a wrong device id.
The loop reads GB206_DEVICES and asserts the mapping of that same constant, so its only possible failures are "platform_from_pci ignores GB206_DEVICES" and "the vendor mask is broken"; a mistyped id passes. It duplicates the literal two lines below (:219) and is the third copy of the identical shape (:198 GB202, :205 GB206, :212 GA102; :190 uses a literal for GB10). The ids' correctness is the PR's actual claim, and §4 says only 0x2d04 met hardware.
Smaller and stronger — one loop over pairs plus one literal array a reviewer can check against a driver's id list:
for (devices, platform) in [
(&[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a][..], "gb10"),
(&GB202_DEVICES[..], "gb202"),
(&GB206_DEVICES[..], "gb206"),
(&GA102_DEVICES[..], "ga102"),
] {
for device in devices {
assert_eq!(platform_from_pci(device << 16 | 0x10de), Some(platform), "{device:#06x}");
}
}
assert_eq!(GB206_DEVICES, [0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]);
(If S3 lands, the loop reads DEVICES and the literal stays.) Rule: AGENTS.md:194-199.
S3 helios/src/core/naming.rs:21-59 — five consts plus a five-arm if-chain that this diff extends by one more copy.
The consts are read only in this file and in its own test (search: GB202_DEVICES|GB206_DEVICES|GB10_DEVICES|GA102_DEVICES|GB300_DEVICES -> naming.rs only). One platform currently costs four edits (const, if-arm, PLATFORMS, and the fixed array length) and this diff is the sixth copy of that shape — the same shape #300 and #469 each paid again. One table makes a platform one row, and removes the missing ; at :56 as a side effect:
pub const PLATFORMS: [&str; 5] = ["ga102", "gb10", "gb202", "gb206", "gb300"];
/// Devices that select each platform, in NVML's `device<<16 | vendor` layout. This is the single
/// source for detection, export naming, and the reported revision; do not duplicate it elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb300", &[0x31c3]),
];
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)
}
39 lines to 21. Branch order stops mattering because the id sets are disjoint (checked: the nine GB206 ids collide with nothing in naming.rs:21-23, :32, :36, :39).
S4 docs/cli-design.md:901 is false at this head.
"For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision if the initial revision lookup returns HTTP 404" — the gate is 404 && revision.starts_with("gb") && PLATFORMS.contains(&revision) (flare/src/hub.rs:3113-3115), so this diff silently adds gb206 to the retried set and ga102 is not retried at all. It contradicts :887 and :923, which the same diff updates. Fix: state the rule ("a detected platform revision whose name begins gb"), not three copied names; likewise for the four other enumerations in N4.
S5 flare-cli/src/orbit/gpu.rs:297-321 — the second PCI table this diff is the sixth copy of, which this PR makes observably wrong.
revision() (:297-307) consults private platform() (:310-321: one GB10 id 0x2e12, GB202 plus 0x2bbc, no ga102/gb300/gb206) before an arm-for-arm copy of capability_revision (:301-306 vs :224-231). naming.rs:19-20 forbids the duplication and flare/src/hardware.rs:18-21 already shows the delegating shape. Before this PR both tools fell through to (12,0) -> gb202, so the copies happened to agree; now a 5060 Ti reports gb206 in flare and gb202 in Orbit, and Orbit's inferred hub revision comes from exactly those per-GPU strings (orbit/controller.rs:2210-2232), so flare run requests gb206 while Orbit requests gb202, and flare orbit show prints gb202.
Smaller version, 16 lines deleted and the duplicated match gone: platform_from_pci(pci_id).map(str::to_owned).unwrap_or_else(|| capability_revision(major, minor)). flare-cli already depends on flare-helios (flare-cli/Cargo.toml:27).
Important, and the reason this is not a one-line patch to this PR: do not change orbit/gpu.rs alone and do not add a GB206 arm here. A core's required revision is still capability_revision (orbit/controller.rs:2293-2296) compared exactly at orbit/plan.rs:693-696, so making the agent report gb206 would refuse every GB206 core ("is gb206, not gb202"), and GA102 would break too (no (8,6) arm). #469 carries the coupled change (core_revision from the signed device identity plus the (8,6) arm); this PR should stay out of that file, as it now does.
Nits
N1 helios/src/core/naming.rs:56 — return Some("gb206") lacks the ; its siblings at :47, :50, :53 carry. No CI step runs cargo fmt --check or clippy (search of .github/workflows for cargo fmt|fmt --check|clippy: no matches), so it will persist. Removed by S3.
N2 helios/src/core/naming.rs:25-26 — the doc comment attributes "GeForce RTX 5060 Ti, 5060, and mobile/workstation variants" to nine ids, eight of which the description calls untested. Say which id was exercised (repo-prose SKILL.md:30-34, implementation vs qualification).
N3 helios/src/core/naming.rs:17-20 — the "single source ... do not duplicate the identifiers elsewhere" comment sits above GB202_DEVICES as if it documented those ids; it belongs on platform_from_pci, which is the function it constrains (and the one S5's copy violates).
N4 Five more platform enumerations that will need this same edit next time — flare-cli/src/orbit/gpu.rs:38, :222, flare-cli/src/orbit/plan.rs:38, docs/orbit.md:321 (all four omit ga102 and gb206), and flare-cli/src/distribution.rs:66 ("gb202/gb10"). Fix: "a name from PLATFORMS" in the doc comments, one list in the docs.
N5 Three over-long lines the diff leaves behind — docs/cli-design.md:887 (~106 columns) and :890 (~207; the inserted GB206 clause made it the longest line in the section) and docs/core-format-design.md:754 (~108), inside paragraphs wrapped at ~80. Re-wrap; preferably by stating the rule once instead of enumerating names (S4).
N6 (outside this lens, flagged for the prose review) PR description §4 — "Verified on GeForce RTX 5060 Ti 16GB (0x2d04)" names no command and no result, and "Passed test suites in helios and flare" names no command (the helios test needs --features runtime-core,server; CI runs it so at .github/workflows/native-serving.yml:63/:68). §2/§3 also do not mention that detection now asks the Hub for gb206 and then gb206-tp1 on 404 (flare/src/hub.rs:3110-3122), neither published, replacing the actionable "unsupported PCI ID ...; specify --revision" (flare/src/hardware.rs:95-100). Suggest one sentence with the command and its result, and one saying --revision gb202 is the override until a gb206 build exists. Please do not add a silent fallback.
Checked and clean at this head
- The nine GB206 ids (
naming.rs:27-29) are disjoint from GB202 (:21-23), GB10 (:32), GA102 (:36) and GB300 (:39), so inserting the return above the GB202 tail is order-independent and correct. - Widening
PLATFORMSneeds no other edit:candidate/deployment_candidateacceptgb206through it, the Hub-tp1retry (:3114-3115) andbranch_platformprefix matching (catalog.rs:271-279) follow automatically, and the fixed length[&str; 5]makes a forgotten length a compile error. - The export path picks
gb206up throughplatform_from_pci(heliopause/src/export/capture.rs:2079), andflaredetection throughflare/src/hardware.rs:18-21; the unsupported-id error this PR removes iscapture.rs:2081-2084andhardware.rs:95-100. flare/src/catalog.rs:550-568passes at this head: the fixture carriesgb206.- Dropping the earlier
flare-cli/src/orbit/gpu.rsarm was right; see S5 for why the file should stay untouched here. - The diff adds no dead code, no option, no fallback and no parallel path;
PLATFORMSis the only new name crossing a crate boundary.
#21 [high] Research summary
Reviewed PR #502 at head 8e2ea68 through the simplicity lens. No new commits since the last round; the PR description was re-edited, and its current text no longer advertises the deleted flare-cli/src/orbit/gpu.rs hunk or the crash/L2 rationale, so the earlier description findings are resolved. Verdict: should-fix only, nothing blocking.
Five should-fix findings, all duplication this diff adds or leaves standing: the flare/src/catalog.rs:561-563 branch fixture is a hand-kept second PLATFORMS (derive it from the loop variable — but do not delete the block, it is the only multi-branch select_revision case); helios/src/core/naming.rs:205-211 asserts the mapping of the constant it iterates, so a mistyped id passes (one loop over pairs plus one literal array); naming.rs:21-59 is five consts + five if-arms where one (name, ids) table would do (39 → 21 lines, and removes the missing ; at :56); docs/cli-design.md:901 is now false because hub.rs:3113-3115 retries every gb* PLATFORMS name; and flare-cli/src/orbit/gpu.rs:297-321 still carries a private PCI table that this PR makes observably wrong (GB206 hosts report gb206 in flare, gb202 in Orbit). I explicitly advised not touching that file here: the core requirement is still capability_revision at orbit/controller.rs:2293-2296 compared at plan.rs:693-696, so delegating the table alone would refuse every GB206 and GA102 core — #469 bundles the coupled change. Six nits cover the semicolon, the mis-scoped "single source" comment, the GB206 id comment claiming untested families, five stale platform enumerations, and three over-long doc lines; the PR's §4 evidence remains vague but is flagged as outside this lens.
The report, with citations, smaller versions and a checked-clean list, is scratchpad entry #20 (supersedes #17; addendum #18 records why the fixture must be derived rather than deleted).
#22 [high] Assembly map for the final report: which note is authoritative
Read entry #20 — it is the only report text to publish. Do not assemble from #17: its S1 offers "delete the :561-567 block" as an acceptable alternative, which #18 disproves (that block is the only select_revision test with a multi-platform branch set; the per-pair loop at flare/src/catalog.rs:551-559 feeds one branch at a time, so the fix must derive the fixture from PLATFORMS). Entries #13/#14/#16 describe earlier runs and still call the Orbit table deletion a standalone fix; #20 replaces that with "do not change orbit/gpu.rs in this PR".
Finding inventory to publish, in this order (severity first line of each):
- should fix —
flare/src/catalog.rs:561-563/ loop :550-568 (hand-kept second PLATFORMS; derive from the loop variable). - should fix —
helios/src/core/naming.rs:205-211(tautological loop; one pairs loop + one literal array). - should fix —
helios/src/core/naming.rs:21-59(five consts + five if-arms → oneDEVICEStable, 39 → 21 lines, removes the;at :56). - should fix —
docs/cli-design.md:901(three-copy retry list now false;flare/src/hub.rs:3113-3115gate). - should fix —
flare-cli/src/orbit/gpu.rs:297-321(private PCI table; delegate toplatform_from_pci, 16 lines deleted) with the constraint that it must not land alone (requirement stillcapability_revisionatorbit/controller.rs:2293-2296vsorbit/plan.rs:693-696) — #469 carries the coupling. - nit —
naming.rs:56missing;(no fmt/clippy in CI). - nit —
naming.rs:25-26three product families for nine ids, eight untested. - nit —
naming.rs:17-20"single source" comment mis-scoped aboveGB202_DEVICES. - nit — five stale enumerations:
orbit/gpu.rs:38,:222,orbit/plan.rs:38,docs/orbit.md:321,distribution.rs:66. - nit — over-long lines
docs/cli-design.md:887(~106),:890(~207),docs/core-format-design.md:754(~108) among ~80-column prose. - nit (outside this lens, for the prose review) — description §4 gives no command/result; §2 omits the new
gb206/gb206-tp1Hub request and the--revision gb202override.
Verdict line: should-fix only, no blocking finding; nothing in the diff is CUDA or kernel code; no prompt-injection attempt seen. Rules cited: AGENTS.md:188-193, AGENTS.md:194-199, AGENTS.md:72-80, helios/src/core/naming.rs:17-20, .agents/skills/repo-prose/SKILL.md:30-34/:35-37.
#2 [medium] [nit] duplicated capability match inside orbit/gpu.rs revision()
flare-cli/src/orbit/gpu.rs:222-231 capability_revision and gpu.rs:301-306 (inside revision) are the same match: (12,1)→gb10, (12,0)→gb202, (10,3)→gb300, _ → sm{major}{minor}. Six duplicated lines; both are stale enumerations (gpu.rs:38, :222-223 doc comments still list gb10/gb202/gb300 only, so gb206 is missing there too, as are plan.rs:38 and flare-cli/src/cli.rs:175).
Fix: revision = platform(...).map(...).unwrap_or_else(|| capability_revision(major, minor)), keeping one match; then the doc comment can point at PLATFORMS instead of re-listing names.
#4 [medium] [should fix] GB206 test loop cannot fail on a wrong device id
helios/src/core/naming.rs:186-216 (pci_ids_select_the_platform_identifier). New loop 203-209 asserts platform_from_pci(device << 16 | 0x10de) == Some("gb206") for device in GB206_DEVICES, i.e. over the same constant the function reads.
Proves: the function reaches the GB206 branch and that no earlier table (GB10/GB300/GA102) shadows these ids.
Does not prove: that the nine ids are the right ids — the actual claim, whose only source is pci.ids and which the description lists as untested for eight of them. A mistyped id (e.g. 0x2d06) passes the loop.
Also negative cases: no gb206 id is asserted as not-gb202, and no None case covers a GB206-adjacent id that should stay unknown.
Smaller and stronger (the pattern yatesdr asked for in #221 and #469's review): assert the table itself once, then one mapping call.
assert_eq!(GB206_DEVICES, [0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]);
assert_eq!(platform_from_pci(0x2d04_10de), Some("gb206"));
That is 2 lines instead of 7, and a wrong id now fails.
Related: the same file already carries three near-identical 7-line loops (GB202 196-202, GB206 203-209, GA102 210-216). One loop over [(GB202_DEVICES, "gb202"), (GB206_DEVICES, "gb206"), (GA102_DEVICES, "ga102")] replaces all three, so the next platform adds a tuple rather than another loop. Nit.
#6 [medium] [nit] nine hand-copied platform enumerations, all missing gb206
The platform set is written out in prose/help in nine places that still list four names (no gb206, and several also omit ga102 / sm{major}{minor}):
- flare-cli/src/cli.rs:175 (
--revisionhelp, printed byflare run --help) - flare-cli/src/orbit/gpu.rs:38, gpu.rs:222-223
- flare-cli/src/orbit/plan.rs:38
- docs/cli-design.md:887, :890, :901, :923
- docs/core-format-design.md:753-754 ("
ga102,gb10,gb202, orgb300") - docs/orbit.md:321
Each PR of this kind (#300 ga102, #469 gb203, this one gb206) has to find and edit all of them; #469 found them stale and fixed them, this one did not.
Smaller version: in these places name the source instead of copying the list ("detected platform from the shared PLATFORMS table", "one of naming::PLATFORMS"), keeping the enumeration only in helios/src/core/naming.rs:15 where the type makes a change a compile error. If the enumeration stays, add gb206 to all nine now.
Related format defects in the two changed files (nit): naming.rs:15 "gb202","gb206" missing the space after the comma (rustfmt: cargo fmt would fix; no fmt check runs in CI, .github/workflows/* only runs tests), and naming.rs:53-55 return Some("gb206") lacks the semicolon every sibling return in the function has.
#8 [medium] Rule citations for the report
Rules to cite in the report:
- helios/src/core/naming.rs:17-20 (doc comment on the table): "This table is the single source consumed by Flare's device detection and by core export naming; do not duplicate the identifiers elsewhere." This PR adds to a duplicate instead.
- AGENTS.md "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."
- AGENTS.md rejection criteria: "Reject unsupported abstractions and churn."
- AGENTS.md "Require focused, meaningful validation. Tests must exercise the affected behavior or contract."
- docs/design-review.md principle 1 "Keep Helios as simple as possible"; principle 15 reject scope expansion.
- Precedent: flare/src/hardware.rs:18-21 already delegates to
platform_from_pci("Single mapping table shared with core export naming") — so the smaller shape already exists in the tree. - CI commands: .github/workflows/native-serving.yml:73 (
flare-cli) and :77 (flare); AGENTS.md:309-320. - No
cargo fmt --checkin CI (only release.yml:34 set_release_version, and selene-manager/docs/qualification.md:38 mentions fmt for that crate).
#10 [medium] [nit] description's hardware rationale is not used by any code path
PR #502's "why" and "claimed benefit" rest on GB206 having different cache sizes from GB202 (32 MB L2, 128-bit bus, up to 16 GB VRAM) and on "cleanly separating GB206 cores from gb202 cores".
Checked in code: no per-platform L2 size, bus width or VRAM figure is read anywhere. PLATFORMS (helios/src/core/naming.rs:15) is used only for name acceptance (naming.rs:77, :119; flare/src/hub.rs:2473, :2490, :2963, :3115; flare/src/catalog.rs:271-279, :320; flare-cli/src/distribution.rs:159, :720; heliopause/src/export/conversion.rs:402), and the device tables feed only platform_from_pci -> a label. Ladders and kernel selection are chosen by flags/recipe, not by platform name (ignition/preparation/ladders/README.md uses explicit --collective-ladder files).
So the only supported justification is the name itself: a GB206 host gets a gb206 revision rather than gb202, which keeps GB206 cores out of GB202 repositories. Prose fix per the repo-prose skill ("State the substantive fact … claims beyond the stated evidence"): drop the cache-size/bus/VRAM sentence or mark it as context that no code consumes, and state the crash/refusal being fixed (NVML unsupported-PCI-id errors in heliopause/src/export/capture.rs:2079-2085 and flare/src/hardware.rs:95-100) as the actual defect.
Also worth stating in the description: adding gb206 to PLATFORMS makes flare run ORG/MODEL on a GB206 host request a gb206 (then gb206-tp1) hub revision that no repository publishes yet — same merge-order caveat raised for #469.
#11 [medium] Checked and clean: no other code needs a gb206 arm
Verified in code while reviewing #502, no change needed:
platform_from_pci(helios/src/core/naming.rs:39-57): none of the nine GB206 ids collide with GB10_DEVICES (0x2e02..0x2e2a), GB300_DEVICES (0x31c3), GA102_DEVICES (0x2203..0x2216) or GB202_DEVICES (0x2b85..0x2bbc), so branch order is irrelevant and the earlier-table shadowing risk is nil. Returning early is fine.candidate/deployment_candidate(naming.rs:76-131) need no change: accepting the new name follows fromPLATFORMS.- heliopause export path (heliopause/src/export/capture.rs:2079 via
platform_from_pci; heliopause/src/export/core.rs:656-664) picks upgb206automatically, soignition exportstops failing with "NVML reports unsupported GPU PCI id" — this is the crash the PR names, and the fix is real for the export path. - flare download (flare/src/hardware.rs:18-21 -> platform_from_pci) also picks up gb206 with no edit.
flare/src/catalog.rs:271-279branch_platformmatchesPLATFORMSentries by prefix, so a publishedgb206/gb206-tp1branch is recognised without change.- No CUDA or other GPU kernel code is touched by this PR.
- No
cargo fmt --checkin CI (.github/workflows/* only builds and tests), so the formatting nits are style, not red builds.
Not verifiable without hardware/tests: whether the nine ids from pci.ids are the complete GB206 set (only 0x2d04 was exercised), and whether a gb206 hub revision will be published.
#19 [medium] Measured line widths and the -tp1 retry sentence
Verified line widths for nit N5 at head 8e2ea68: docs/cli-design.md:887 ≈106 chars; :890 ≈207 chars (was ~95 before, the inserted GB206 clause made it the longest line in the section); :901 ≈86; docs/core-format-design.md:754 ≈108. Surrounding paragraphs wrap at ~80. So the same diff that edits these lines leaves three of them 25-125 characters over the local wrap.
Also confirmed for S4: docs/cli-design.md:901-903 full sentence — "For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision if the initial revision lookup returns HTTP 404." Gate in code: flare/src/hub.rs:3113-3115 = 404 && revision.starts_with("gb") && PLATFORMS.contains(&revision).
Verify-before-reporting note for the final report: the flare/src/catalog.rs fixture block (:561-567) is the only multi-branch select_revision test — the loop at :551-559 feeds one branch at a time — so replacement must derive from PLATFORMS, not delete.
#7 [low] [aside] PLATFORMS widening changes the default hub request
Widening PLATFORMS also changes the default hub request on a GB206 host: flare run ORG/MODEL detects gb206 (flare/src/hardware.rs:18-21 via naming.rs:53-55) and flare/src/hub.rs:3104-3129 retries <revision>-tp1 on 404 (gb206-tp1) because the name starts with gb and is in PLATFORMS, then fails with a missing-revision error. Before this PR the same host failed earlier with "unsupported PCI ID … specify --revision" (hardware.rs:95-100). Same consequence #469's review raised as a should-fix (merge order / --revision gb202 override). Not my lens (scope/behaviour), recorded for the summary only.
Also: PLATFORMS is [&str; 5] (naming.rs:15), so every platform addition edits the length literal too; a &'static [&'static str] would remove that, at the cost of small *target edits in flare/src/catalog.rs:271-279 and :550-551. Not worth doing in this PR.