Prose review of #502 "feat: add gb206 platform support"
Lens: the pull request's description, its commit text, and the docs and comments it changes, judged against the repository's own writing and contribution rules.
The diff itself is correct, and the description's "what exactly changed" matches the code: adding gb206 to PLATFORMS (helios/src/core/naming.rs:15) lets candidate() and deployment_candidate() name a core gb206, platform_from_pci (:53-55) feeds heliopause's device identity (heliopause/src/export/capture.rs:2079), the unit test loops GB206_DEVICES as claimed, and the flare-cli platform() arm (flare-cli/src/orbit/gpu.rs:319-321) carries the same nine ids. Nothing in the diff misnames a device or a table.
The findings are about the description's evidence and about prose this change invalidates.
Rules applied: AGENTS.md:72-140 (required four-part description and its evidence clause), AGENTS.md:309-320 (required per-crate test commands), .agents/skills/repo-prose/SKILL.md:20-37 (not opened) and :48-59, docs/design-review.md principle 16, plus the CI workflow .github/workflows/native-serving.yml (not opened).
Key findings
- Blocking — the change breaks a test in the
flarecrate that the description neither runs nor discloses. - Should fix — eleven present-state enumerations of the platform/revision vocabulary still say four names; one of them (the documented automatic-selection rule) now contradicts the code.
- Should fix — the description does not disclose that Orbit placement rejects every GB206 host, which this PR's own arm causes.
- Should fix — "crashes" misdescribes a clean error, and the hardware facts are unsourced and unmotivated.
- Should fix — the helios evidence command cannot have run the test it cites, and the hardware claim reports no result.
- Should fix — the PR extends a duplicated identifier table that naming.rs explicitly declares single-source.
- Nit — the new table lacks the semantic comment its siblings carry; the two edited lines are not rustfmt-shaped.
Blocking: adding gb206 turns an unrun flare-crate test red, and the description does not mention that suite
File: flare/src/catalog.rs:548-569 (unchanged by this PR, broken by it).
548 #[test]
549 fn published_build_match_uses_all_platform_branches() {
550 for target in flare_helios::core::naming::PLATFORMS {
...
561 let refs = serde_json::from_value(json!({"branches": [
562 {"name": "ga102-tp1"}, {"name": "gb10-tp1"}, {"name": "gb202"}, {"name": "gb300-tp8"}
563 ]})).unwrap();
564 let mut entry = CatalogEntry::default();
565 let branches = apply_refs(&mut entry, refs, Some(target));
566 assert_eq!(entry.build_target_match, Some(true));
apply_refs (flare/src/catalog.rs:319-322) computes
entry.build_target_match = hardware
.filter(|target| flare_helios::core::naming::PLATFORMS.contains(target))
.filter(|_| !platforms.is_empty())
.map(|target| platforms.contains(target));
So with target = "gb206" against the platforms {ga102, gb10, gb202, gb300} collected from the fixture, build_target_match is Some(false) and the assertion at :566 fails. On main the outer loop visits four names and the fixture holds the same four, so it passes; the fifth name is what breaks it. Adding one fixture entry ({"name":"gb206-tp1"}) is enough — branch_platform resolves the suffix, and the inner loop at :551-559 already generalises correctly.
Why this is this PR's defect and not a stray test. CI runs that suite (.github/workflows/native-serving.yml (not opened), cargo test --locked --release --manifest-path flare/Cargo.toml), and AGENTS.md:309-320 lists every crate's suite as a required check. The description's evidence section names only:
cargo test --manifest-path helios/Cargo.toml
cargo test --manifest-path flare-cli/Cargo.toml
so the crate the change breaks is neither run nor disclosed. AGENTS.md:103-112 requires evidence to connect each material claim to a check and to "state what remains untested or inconclusive"; SKILL.md:30-37 forbids presenting a passing subset as qualification.
Fix: add {"name":"gb206-tp1"} at flare/src/catalog.rs:561-563 (or build the fixture by iterating PLATFORMS), run cargo test --locked --release --manifest-path flare/Cargo.toml, and report it in part 4. Precedent: merged #300 added the ga102 branch to this same fixture, and open #469's review raised the identical failure when gb203 was proposed.
Should fix: every enumeration of the platform/revision space still says four names
The PR widens a user-visible vocabulary — the string selects a Hub revision (docs/cli-design.md:884-905) and names cache entries (docs/core-format-design.md:747-757) — but leaves every present-state description of that vocabulary stale. Read at the PR head:
- docs/cli-design.md:887 — "are separate Hugging Face revisions named
ga102,gb10,gb202, andgb300." - docs/cli-design.md:889-890 — "GB10 selects
gb10; known GB202 devices, including RTX PRO 6000 Blackwell, selectgb202; GB300 selectsgb300; known GA102 devices selectga102." There is no GB206 rule, so the documented automatic selection directly contradictsplatform_from_pci(helios/src/core/naming.rs:53-55). - docs/cli-design.md:901 — "For
gb10,gb202, andgb300, … tries the corresponding-tp1revision if the initial revision lookup returns HTTP 404." The-tp1fallback is generic overPLATFORMSin flare/src/hub.rs, sogb206now gets it silently. - docs/cli-design.md:923 —
--revisiondefault: "Recorded model origin, otherwise detectedga102,gb10,gb202, orgb300". - docs/core-format-design.md:754 — "The platform is the device identifier recorded by preparation (
ga102,gb10,gb202, orgb300)". - docs/orbit.md:321 — "hardware revision (
gb10,gb202,gb300from the PCI device id or compute capability)". - flare-cli/src/cli.rs:175 — the
--revisionhelp string, printed byflare run --help. - flare-cli/src/orbit/gpu.rs:38 and :222-223 — module and function rustdoc listing
gb10,gb202,gb300, orsm{major}{minor}. - flare-cli/src/orbit/plan.rs:38 — the
Group/revision rustdoc. - flare-cli/src/distribution.rs:66 — "Physical device platform name from hardware detection (gb202/gb10)."
Rule: SKILL.md:26-29 — "Documentation is a present-state specification, not a changelog. Replace stale claims instead of layering history on top." AGENTS.md:52-60 requires documents to state designed behaviour and present qualification. #469's review raised the same items as "Stale platform enumerations" and that author updated all of them, which is the expectation here.
Fix: add gb206 (and ga102/sm{major}{minor} where a sentence omits them) at each site — in particular give cli-design.md:889-890 a GB206 clause — or point the text at the shared table so the next platform does not repeat this.
Should fix: the description does not disclose that Orbit placement and revision selection break for gb206 hosts
Sites: the new arm at flare-cli/src/orbit/gpu.rs:319-321; unchanged consumers flare-cli/src/orbit/controller.rs:2294 and flare-cli/src/orbit/plan.rs:693-697.
- What Orbit reports.
revision()(gpu.rs:297-307) asksplatform(pci_device_id)first, so a GB206 card now reportsgb206. Before this PR no 0x2dxx arm existed and the card fell through tocapability_revision(12, 0)=gb202(gpu.rs:224-231); an RTX 5060 Ti is SM120. - What Orbit requires.
describesetsCoreNeeds.revision = super::gpu::capability_revision(first.architecture[0], first.architecture[1])(controller.rs:2294) — i.e.gb202for any SM120 core. - How they meet.
unfitcompares the two strings exactly:
693 fn unfit(gpu: &GpuStatus, revision: &str, need: u64) -> Option<String> {
695 if gpu.revision != revision {
696 Some(format!("{name} is {}, not {revision}", gpu.revision))
so the placement message becomes "gpu 0 … is gb206, not gb202" and every GPU is rejected. repository_revision (controller.rs:2209-2232) now derives the Hub revision from gpu.revision, so Orbit also requests a gb206 branch no repository publishes.
The description presents flare-cli/src/orbit/gpu.rs purely as NVML discovery improvement and says nothing about this; its "Untested configurations" list covers only the eight untried PCI ids. AGENTS.md:103-112 requires material limitations to stay visible and SKILL.md:30-37 requires separating implementation from qualification.
The functional severity belongs to the behaviour lens; the defect in this lens is an undisclosed, currently-broken limitation.
Fix: disclose it, and either land the placement change first or leave the Orbit arm out of this PR. The accepted pattern is #469's: describe takes the revision from the core's signed device identity when it is a PLATFORMS name and keeps capability_revision for legacy cores.
Should fix: "crashes" misdescribes the failure, and the hardware facts carry neither source nor argument
Against heliopause/src/export/capture.rs:2079-2085 and flare/src/hardware.rs:95-100.
1. "Prevents crashes … during ignition" (part 1). The failure is a clean, actionable error, not a crash:
2079 match helios_core::core::naming::platform_from_pci(pci.device_id) {
2080 Some(platform) => Ok(Some(platform.to_string())),
2081 None => Err(invalid(format!(
2082 "NVML reports unsupported GPU PCI id {:#010x}",
and flare's own detection refuses the same card with "GPU {entry} has unsupported PCI ID {:#010x}; specify --revision" (flare/src/hardware.rs:95-100). No crash exists on either path. "During ignition" also does not name the workflow (ignition export, at the "Materialize weight payloads" phase) or the command a reader would run. AGENTS.md:82-87 requires the affected workflow and the concrete defect.
2. "(128-bit memory bus, 32 MB L2 cache, up to 16 GB VRAM)" (part 3) and "GB206 also has different cache sizes from GB202" (part 1) have no source, and nothing connects cache size to the platform name. The reason a separate identifier is needed is selection and identity, not cache size: the string is the Hub revision and the signed hardware_identity a download matches (docs/cli-design.md:884-905; flare/src/hub.rs:2455-2515), so one shared name lets a GB206 host take a core prepared on GB202. AGENTS.md:114-128 asks for the relevance of non-obvious constraints rather than inventories; SKILL.md:22-25 asks for concepts before identifiers.
Fix: quote the error text and name ignition export and flare run; replace the cache-size framing with the selection/identity argument and cite the bus/L2/VRAM numbers — or drop them.
Should fix: the part-4 evidence command cannot have run the test it cites, and the hardware claim reports no result
Against helios/src/lib.rs:22-23 and AGENTS.md:309-320.
helios/src/core/naming.rsis behind#[cfg(feature = "runtime-core")] pub mod core;.cargo test --manifest-path helios/Cargo.tomlwithout--features runtime-core,serverdoes not compile the module, sopci_ids_select_the_platform_identifiercannot run at all. AGENTS.md:317 and CI both pass--features runtime-core,server.--lockedis missing from both quoted commands; AGENTS.md:313-320 gives it for every crate.- "Validated local core preparation/serving on a GeForce RTX 5060 Ti 16GB (
0x2d04)" gives no export command, no entry or deployment name produced, and no serving result, so "validated" cannot be assessed (AGENTS.md:103-112; SKILL.md:35-37: conditions, measurement, result).
Fix: cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server, add the flare suite (see the blocking finding), and state what the 5060 Ti run produced — the gb206-tp1-… entry name and the flare run outcome — or say plainly that only the naming path was exercised.
Should fix: the new table duplicates identifiers that naming.rs declares single-source
helios/src/core/naming.rs:17-20 states: "Platform for one NVIDIA PCI id in NVML's device<<16 | vendor layout. … 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 obeys this (// Single mapping table shared with core export naming. → platform_from_pci). flare-cli/src/orbit/gpu.rs:310-324 keeps a private match copy, and this PR extends it with the same nine ids, so the identifiers now live in two places. The copy has already drifted: it lists 0x2bbc, absent from GB202_DEVICES (naming.rs:21-23), and only 0x2e12 of the five GB10 ids (naming.rs:30). Open #469 deletes the copy for exactly this reason.
Fix: have platform() call flare_helios::core::naming::platform_from_pci (flare-cli already depends on flare-helios with runtime-core, flare-cli/Cargo.toml:27) and keep capability_revision only for the compute-capability fallback; at minimum, state in the description that two tables must now be kept in step.
Nit: the new table has no semantic comment, and the edit is not rustfmt-shaped
helios/src/core/naming.rs:25-27. GB10_DEVICES (:29-30), GA102_DEVICES (:32-34) and GB300_DEVICES (:36-37) each name the parts they cover; GB206_DEVICES names none, although the description already knows the content ("GB206/GB206GL/GB206GLM/GB206M"). SKILL.md:20-21 asks for the object's semantic role on first reference.
Also ["ga102", "gb10", "gb202","gb206", "gb300"] (:15) lacks the space after the comma, and return Some("gb206") (:54) lacks its semicolon, unlike every other line. There is no rustfmt.toml (not opened) and no cargo fmt --check step in CI, so this will not gate the PR.
Fix: add a /// line naming the GB206 parts the referenced source supports, and run cargo fmt on the file.
Checked and not raised
- Commit message text. The body and any design-acknowledgment trailer of 820abdb could not be read with the available tools, so I make no claim about them either way. Reading
git log -1 820abdbwould settle it. - Merge-order note for the Hub. A
gb206branch no repository publishes yet affectsflare runafter merge. The prose item it raises is the undisclosed limitation in the third finding; the operational sequencing belongs to the behaviour lens. - Formatting as a gate. No repository-wide
cargo fmt --checkruns in CI, so the formatting item stays a nit rather than a check failure. - The mapping itself.
platform_from_pcicorrectly returnsSome("gb206")for all nine ids, and the new unit test does loopGB206_DEVICES. No finding. - Description structure. All four required sections are present and in the required order (AGENTS.md:74-77); the defects above are about content within them, not their presence.
- Discord contact line. Present ("Discord: wektor"), as AGENTS.md:142-145 requires.
Open questions
- Does the Helios side need the same
-tp1retry documentation forgb206(docs/cli-design.md:901), or is that deliberate? The code already applies it generically. - Is the Orbit
gb206arm intended to land before or after thedescribe/CoreNeeds.revisionchange from #469? The answer determines whether the arm should be dropped from this PR, as recommended. - What exactly did the RTX 5060 Ti run produce? Only the author can supply the entry name and serving result that part 4 lacks.