Full review — PR #502 "feat: add gb206 platform support"
Head 8e2ea68 (base main), draft, 5 files, +25/−7: helios/src/core/naming.rs (+19/−1), docs/cli-design.md (+3/−3), docs/core-format-design.md (+1/−1), flare-cli/src/cli.rs (not opened) (+1/−1), flare/src/catalog.rs (+1/−1). No CI checks reported on the head. No prompt-injection attempt was found in the body or the (single, bot-authored) comment.
Key findings
- The code is correct and needs no further code change to merge. Both blockers from the 2026-11-24 round are fixed and must not be re-raised: the
flarecatalog fixture now carries{"name":"gb206"}(flare/src/catalog.rs:561-563, loop:550-568), and removing theflare-cliOrbit arm leaves Orbit reportinggb202, which still equals its capability-derived requirement (flare-cli/src/orbit/gpu.rs:303vsflare-cli/src/orbit/controller.rs:2293-2294), so placement works. The nine ids are correct, disjoint from every other table, and correctly ordered before the GB202 tail (helios/src/core/naming.rs:27-29,:55-58). - One blocker, and it is the description, not the code: §2 advertises a
flare-cli/src/orbit/gpu.rsmapping that is no longer in the diff, and §4 credits test commands that cannot produce the evidence claimed. - Four should-fix items: a now-false
-tp1sentence (docs/cli-design.md:901), an undisclosed first-run 404 for GB206 hosts, three over- or unsupported claims, and the Orbit-vs-CLI naming divergence. - ~41 removable lines (~9 of the +19 added): one device table instead of five consts plus five if-arms (−17), one test loop instead of four (−24), a derived catalog fixture, and six stale enumerations replaced by
PLATFORMS. - Explicitly do not do what the individual lens reports asked for: four of them wanted Orbit's private PCI table (
orbit/gpu.rs:310-321) deleted in this PR. Delegating it alone re-creates the placement failure (see S4).
Blockers
B1. The description describes a diff that no longer exists and cites evidence that cannot be produced
- Finding. At
8e2ea68:- §2 still says "
flare-cli/src/orbit/gpu.rs: Updatedplatform(pci_id)to map the same 9 GB206 PCI device IDs toSome("gb206")during NVML device discovery". That file is not in the diff, and itsplatform()(flare-cli/src/orbit/gpu.rs:310-321) maps only0x2e12 → gb10and the GB202 ids — there is no GB206 identifier anywhere underflare-cli/src/orbit. - §4 credits
cargo test --manifest-path helios/Cargo.tomlfor the nine-id mapping. That command cannot compile the test:helios/Cargo.toml:17isdefault = []andhelios/src/lib.rs:22-23declarespub mod coreonly under#[cfg(feature = "runtime-core")], sohelios/src/core/naming.rs:205-211does not exist in that build. CI andAGENTS.md:317(not opened) both use--features runtime-core,server; both quoted commands also omit--locked(and--release), which every command listed inAGENTS.md:313-320(not opened) carries. - §4 also credits
cargo test --manifest-path flare-cli/Cargo.tomlwith verifying all nine ids; noflare-clitest references GB206 (the tests aroundorbit/gpu.rs:349-364exercise0x2e12,0x2bb4,0x2b85,0x31c3,0x2e13,0x2c00,0x2330,0x2901). - Conversely §2 omits the four files that are changed:
docs/cli-design.md,docs/core-format-design.md,flare-cli/src/cli.rs:175(not opened),flare/src/catalog.rs:562.
- §2 still says "
- Requested change. Delete the
orbit/gpu.rsbullet; add one bullet for theheliostable +PLATFORMSentry and one sentence covering the docs/help/fixture edits (flare/src/catalog.rsis in the diff because the fixture must matchPLATFORMS); replace the commands withcargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,serverandcargo test --locked --release --manifest-path flare/Cargo.toml(not opened). - Why.
AGENTS.md:72-112(not opened) requires the change list to describe the merged diff and every material claim to be tied to the check that establishes it. As written, a reviewer looks for a mapping that does not exist, and the description — the durable record of which hardware and which suites were exercised — is not reproducible. Dropping the Orbit hunk was the right call; the description did not follow it.
Should Fix
S1. docs/cli-design.md:901-902 is false, 14 lines below the sentence this PR fixed
- Finding.
:887and:923now list five names, but:901still reads "Forgb10,gb202, andgb300, the shared CLI and desktop downloader tries the corresponding-tp1revision if the initial revision lookup returns HTTP 404". The implemented rule isrevision.starts_with("gb") && flare_helios::core::naming::PLATFORMS.contains(&revision)(flare/src/hub.rs:3114-3115, alias built at:3118), sogb206-tp1is attempted andga102(notgb*) is not. The paragraph now contradicts itself. - Requested change. Replace the three names with the rule — "every
gb…platform revision" — rather than extending the list. - Why.
docs/is the present-state specification (docs/design-review.md:137-152(not opened)), and this is precisely the fallback that matters while nogb206branch is published. Extending a copied three-name list is what made it stale; the same sentence was last synchronised forga102in #300 andgb203in #469.
S2. Undisclosed consequence: detection now requests Hub revisions nothing publishes
- Finding. Before this PR a GB206 card failed detection with the actionable message
GPU {entry} has unsupported PCI ID {:#010x}; specify --revision(flare/src/hardware.rs:95-100); export had the sibling "NVML reports unsupported GPU PCI id" (heliopause/src/export/capture.rs:2079-2085(not opened)). After it,crate::hardware::detectresolves throughplatform_from_pci(flare/src/hardware.rs:18-21), soflare run ORG/MODELrequests revisiongb206, thengb206-tp1on 404 (flare/src/hub.rs:3111-3122). Neither is published, so the user gets a raw Hub 404 with no pointer to--revision gb202, even thoughgb202cores are what load on that silicon today (the loader gates only on compute capability,helios/src/runtime_core/mod.rs:337-346(not opened)). "Untested configurations" covers only the eight untried PCI ids. - Requested change. One sentence in the description: until a
gb206build is published, GB206 hosts should pass--revision gb202, and the first publisher should publish thegb206(orgb206-tp1) branch. Do not add a silentgb202fallback in code. - Why. The first-run experience gets worse for exactly the hardware being added, and that cannot be inferred from the stated benefit. #469's author was required to state the identical merge-order caveat;
AGENTS.md:103-112(not opened) requires material limitations to stay visible.
S3. Three claims are overstated or unsupported: "crashes", the hardware result, and the cache figures
- Finding. (a) §1 "Prevents crashes …" — both affected paths refuse the card with a clean, actionable error (
flare/src/hardware.rs:95-100;heliopause/src/export/capture.rs:2082(not opened)), nothing crashes; the observable before/after is "refused with an error naming the PCI id" versus "proceeds with platformgb206". (b) §4 "Validated local core preparation/serving on a GeForce RTX 5060 Ti 16GB (0x2d04)" reports no command, no exported entry/deployment name and no serving outcome. (c) §1/§3's "different cache sizes from GB202", "128-bit memory bus, 32 MB L2 cache, up to 16 GB VRAM" are read by no code path —platform_from_pci(helios/src/core/naming.rs:41-59) is a pure PCI-id lookup and consumers of the name (flare/src/catalog.rs:271-280,flare/src/hub.rs:2455-2525,flare-cli/src/distribution.rs:157-163(not opened)) never consult them — and they carry no source, unlike the ids, which are properly attributed to pci.ids. - Requested change. Quote the two error strings and name the commands (
ignition export,flare run ORG/MODEL,flare download); state what the 5060 Ti run produced (entry name, outcome) or say plainly that only the naming/detection path was exercised; replace the cache/bus/VRAM framing with the load-bearing argument: the platform string selects the Hugging Face revision (docs/cli-design.md:885-897) and becomes the signedhardwareidentity a download matches (docs/core-format-design.md:753-755), which is why a GB206 host must not share thegb202name. - Why.
AGENTS.md:82-87(not opened) asks for the concrete defect rather than vocabulary that overstates severity, andAGENTS.md:114-128(not opened) asks for the relevance of a constraint rather than an inventory. As written a reviewer cannot tell whether the cache difference is the justification (it is not) or trivia.
S4. State which platform Orbit reports — and do not delegate Orbit's table in this PR
- Finding. After this PR,
flare run/download/hardware-revisionsaygb206for0x2d04(flare/src/hardware.rs:18-21→platform_from_pci), while Orbit saysgb202(flare-cli/src/orbit/gpu.rs:303, reached because the private table at:310-321has no GB206 arm) and, for the same reason, Orbit's Hub request isgb202(flare-cli/src/orbit/controller.rs:2209-2232). The PR claims GB206 cores are "cleanly separating from gb202 cores"; no Orbit path implements that, and the private table duplicates whathelios/src/core/naming.rs:19-20forbids. - Requested change. One sentence in the description: Orbit keeps its capability-derived revision for now; the identity-based requirement (taking
CoreNeeds::revisionfrom the core's signedhardware,helios/src/runtime_core/model.rs:1329-1343(not opened)) and the deletion of Orbit's private table land with #469. - Important — why the deletion must not happen here. Delegating
orbit/gpu.rs::platformtoplatform_from_pcialone makes the host reportgb206whilecontroller.rs:2293-2294still derives the requirement from compute capability (capability_revision,gpu.rs:224-231→gb202); the exact-string comparison atflare-cli/src/orbit/plan.rs:693-696then refuses every GB206 GPU — exactly the placement failure this head just avoided, and also causing agb206Host request from Orbit while the CLI asks forgb202. It breaks GA102 as well:capability_revisionhas arms for(12,1),(12,0),(10,3)only, with no(8,6) => ga102, so a0x2204host would reportga102against a core requiringsm86. That coupling is why #469 bundles both edits, and why #529 (which already added aGB300_DEVICESarm to this same function onmain) is safe —capability_revision(10,3)already returnsgb300. - Why. The behaviour is correct today but subtle; a one-line disclosure stops the next person from re-introducing the arm on the strength of the CLI docs, and records where the follow-up lives.
Subtract / Simplify
Could remove ~41 of +19 added lines. The nine ids, the PLATFORMS entry and the four doc/help edits all stay; what goes is the per-platform scaffolding around them. With X1+X2 the PR's own naming.rs footprint drops from ≈+19 to ≈+9, and the touched files end ≈41 lines lighter overall.
X1. Five *_DEVICES consts + five if-arms → one table — helios/src/core/naming.rs:21-59 (39 → 22 lines, −17; 8 of them the PR's)
GB202_DEVICES (:21-23), the new GB206_DEVICES (:25-29), GB10_DEVICES (:32), GA102_DEVICES (:36) and GB300_DEVICES (:39) are followed by five sequential if X_DEVICES.contains(&device) { return Some("x") } arms and a .then_some("gb202") tail (:46-58). No other file reads the individual consts (13 search_code hits for the five names, all inside naming.rs), and the id sets are disjoint, so the ladder's order carries no meaning.
/// Platforms a core may be named for, with the PCI device ids that select each.
/// Flare's device detection and core export naming both read this table; do not
/// duplicate the identifiers elsewhere.
pub const DEVICES: [(&str, &[u32]); 5] = [
// GB10 and RTX Spark N1X, the SM121 platform.
("gb10", &[0x2e02, 0x2e03, 0x2e06, 0x2e12, 0x2e2a]),
// `0x31c3` is the SM103 GPU of DGX Station GB300.
("gb300", &[0x31c3]),
// GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR.
("ga102", &[0x2203, 0x2204, 0x2206, 0x2208, 0x220a, 0x2216]),
// GeForce RTX 5060 Ti, 5060, and mobile/workstation variants.
("gb206", &[0x2d04, 0x2d05, 0x2d18, 0x2d19, 0x2d30, 0x2d39, 0x2d58, 0x2d59, 0x2d79]),
("gb202", &[0x2b85, 0x2b87, 0x2b8c, 0x2bb1, 0x2bb2, 0x2bb3, 0x2bb4, 0x2bb5, 0x2bb9]),
];
pub fn platform_from_pci(pci_id: u32) -> Option<&'static str> {
if pci_id & 0xffff != 0x10de {
return None;
}
let device = pci_id >> 16;
DEVICES.iter().find(|(_, ids)| ids.contains(&device)).map(|(platform, _)| *platform)
}
The vendor mask at :42-44 is unchanged, every documented id keeps its platform and comment, and the missing ; at :56 disappears with the ladder. The cost being paid repeatedly is real: #221 (GB300), #469 (GB203) and this PR each added const + arm + test block to the same pattern — without consolidating, #469 landing after this makes it six. AGENTS.md:188-193 (not opened) permits refactoring that removes "a demonstrated source of defects or cost"; the per-platform edit site is that cost.
X2. Four copies of one assertion → one loop — helios/src/core/naming.rs:188-228 (41 → 17 lines, −24; 8-9 of them the PR's)
pci_ids_select_the_platform_identifier repeats the same 7-line loop for GB202 (:198-204), the new GB206 (:205-211) and GA102 (:212-218), plus a hand-copied GB10 literal list that duplicates GB10_DEVICES (:190-196) and a single literal gb300 (:197). The added loop asserts the mapping of the constant it iterates, so it cannot catch a wrong id — which is the PR's real claim — and it is redundant with the literal :219 two lines below. The added :220 is the fifth exercise of a vendor branch that does not depend on the device id (:42-44).
#[test]
fn pci_ids_select_the_platform_identifier() {
for (platform, devices) in DEVICES {
for device in devices {
assert_eq!(platform_from_pci(device << 16 | 0x10de), Some(platform), "{device:#06x}");
}
}
assert_eq!(platform_from_pci(0x2d04_10de), Some("gb206")); // RTX 5060 Ti, the tested card
assert_eq!(platform_from_pci(0x2204_1af4), None); // non-NVIDIA vendor carrying a known device id
assert_eq!(platform_from_pci(0x2484_10de), None);
assert_eq!(platform_from_pci(0x2e07_10de), None);
assert_eq!(platform_from_pci(0x1e02_10de), None);
}
Every id asserted today is still asserted; the two hand-copied literals disappear rather than move; the unknown-NVIDIA and non-NVIDIA cases survive.
X3. Derive the catalog fixture instead of extending it — flare/src/catalog.rs:561-563 (0 net; stops a recurring edit)
published_build_match_uses_all_platform_branches loops target over PLATFORMS (:550) and asserts build_target_match == Some(true) (:566), which is only satisfiable when the hand-written branch list at :561-563 contains one branch per PLATFORMS member. That line has now been edited for #300 (ga102), #469 (gb203) and this PR (gb206); the failure mode is a red flare suite rather than a caught bug. Build the list from PLATFORMS (the surrounding loop at :551-559 already derives generically, so this is the last hand-maintained copy). It cannot simply be deleted: it is what proves select_revision's prefix search skips another platform's -tpN branch.
X4. Six stale enumerations → point at PLATFORMS (0 net; one list to maintain)
This PR updated four of eleven copies of the platform set (flare-cli/src/cli.rs:175 (not opened), docs/cli-design.md:887, :890, :923, docs/core-format-design.md:754). Still copying the names: docs/cli-design.md:901 (now wrong — S1), docs/orbit.md:321, flare-cli/src/orbit/gpu.rs:38, :222, flare-cli/src/orbit/plan.rs:38, flare-cli/src/distribution.rs:66 (not opened). The Orbit ones are accurate for Orbit's current capability-derived behaviour, which is exactly why they will read as a contradiction unless S4 is stated. Say "a PLATFORMS name from naming" once and keep the literal list only at helios/src/core/naming.rs:15, where the fixed array length [&str; 5] makes forgetting the next addition a compile error.
Nits (4)
helios/src/core/naming.rs:56—return Some("gb206")lacks the trailing;every sibling has (:47,:50,:53). No rustfmt gate in CI; runcargo fmt. Disappears with X1.helios/src/core/naming.rs:17-20— the "single source … do not duplicate the identifiers elsewhere" paragraph is attached toGB202_DEVICES, and withGB206_DEVICESinserted directly after it (:25-29) it reads GB202-scoped. Move it ontoplatform_from_pci(:41).helios/src/core/naming.rs:25-26— "GeForce RTX 5060 Ti, 5060, and mobile/workstation variants" attributes three product families to nine ids, eight of which the description itself calls untested. Say which id was verified; the neutral form used for GB300 at:38is the honest model.- Wrap drift —
docs/cli-design.md:887,:890anddocs/core-format-design.md:754now run ~120-150 columns inside paragraphs hard-wrapped at ~76-80, in the same diff that edits them. Rewrap to the file's margin.
Checked and clean (do not re-litigate)
- Ids and table. Nine ids (
naming.rs:27-29) disjoint fromGB202_DEVICES(:21-23),GB10_DEVICES(:32),GA102_DEVICES(:36) andGB300_DEVICES(:39); the GB206 arm sits before the GB202 tail (:55-58); the vendor mask (:42-44) still rejects non-NVIDIA ids, pinned by0x2d04_1af4 → None(:220). - Consumers are generic.
candidate/deployment_candidate(naming.rs:79,:121), Hub acquisition (flare/src/hub.rs:2455-2525,:2962-2968), distribution (flare-cli/src/distribution.rs:157-163(not opened)),branch_platformprefix matching (flare/src/catalog.rs:271-280—gb206is a prefix of no other platform) and heliopause export (heliopause/src/export/capture.rs:2079-2085(not opened) →heliopause/src/export/core.rs:656-664(not opened)) all accept a fifth name with no edit. The ignition failure is genuinely fixed by thehelioshalf alone. - Existing artefacts still load. The loader gate is compute capability (
helios/src/runtime_core/mod.rs:337-346(not opened)), untouched; legacy cores (empty hardware →unknown-device) unaffected; no format, I/O, concurrency or persisted-state change. - Orbit placement still matches at this head (host and requirement both
gb202), so the previous blocker is gone. - Description structure is correct: four required sections in order and
Discord: wektorpresent (AGENTS.md:74-77(not opened),:142-149). The defects are content, not structure; B1/S1-S3 are the entire description/prose payload and are grouped so they cost the author one editing pass. - Scope. In family with merged #300 (
ga102) and open #469 (gb203); the charter's "reproducible bug" case is satisfied. No new flag, env switch or per-model branch is introduced.
Open questions / what could not be verified
- Is GB206 meant to be
helios-only (export naming) for now? If so, S4's sentence is the whole debt and the CLI docs at:890should not imply Orbit agrees. - Does a
gb206orgb206-tp1branch exist on the Hub, or will one before merge? Only maintainers/publishers can say; it decides whether S2 is a doc note or a first-run 404 for every GB206 host. - Are the nine ids the complete and correct set? Only
0x2d04was exercised on hardware; the rest come from pci.ids. No test can settle this — the literal array in X2 at least makes the claim reviewable in one place. - Should the Orbit delegation and identity-based requirement land in #469, or be pulled forward? Whichever lands second rebases;
main(#529/e685a975) already added aGB300_DEVICESguard to the same function (flare-cli/src/orbit/gpu.rs:315). - No build or test could be run in this environment and there are no CI checks on the head, so every finding above is read from the code at
pr/502; the catalog-fixture pass rests on readingapply_refs/select_revision(flare/src/catalog.rs:292-329,:550-568) against the extended fixture.