Prose scratchpad · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/047cae14-7255-4a97-9fc6-744d483cc33f.md

#1 [high] should fix: PR description says no other label changes, but GA102 devices now report ga102 instead of sm86

PR 469 deletes the private platform() table in flare-cli/src/orbit/gpu.rs (old lines ~311-330) and calls flare_helios::core::naming::platform_from_pci. The old private table had entries only for 0x2e12 (gb10) and the GB202 list; it had no GA102_DEVICES entries. revision()'s capability fallback (gpu.rs:301-306) maps only (12,1)->gb10, (12,0)->gb202, (10,3)->gb300, else sm{major}{minor}.

So on the base commit an RTX 3090/3080 (GA102, compute capability 8.6) resolved to sm86; on this branch platform_from_pci hits GA102_DEVICES (helios/src/core/naming.rs:37,56-58) and returns ga102. Other newly-covered identifiers do not change label: 0x2e02/0x2e03/0x2e06/0x2e2a fall back to (12,1)->gb10, 0x31c3 falls back to (10,3)->gb300, and 0x2bbc falls back to (12,0)->gb202.

The description's Claimed-benefit paragraph states "Expected, not measured: no other device changes label, since gb203 is reachable only for 0x2c31". That is wrong for GA102 hosts. AGENTS.md lines 88-94 require the "what exactly changed" section to "Identify material numerical, compatibility, and resource-lifetime changes"; the GA102 relabelling is one, and it is also a real user-visible change for Orbit agents (STATUS gpus[].revision) and for flare run ORG/MODEL revision inference (flare-cli/src/orbit/controller.rs:2224, plan.rs:695).

Fix: state in "What exactly changed" that the CLI now also reports ga102 (and gb300) from the shared table where it previously fell back to sm86, and narrow the "no other device changes label" claim to the identifiers that only re-derive the same label through the capability fallback.

#2 [high] should fix: platform-name lists that this PR's change makes stale were left out (cli.rs help text, gpu.rs/plan.rs doc comments, cli-design -tp1 fallback list)

The PR's stated goal for docs is that "the platform-name lists include gb203". These enumerations of the same vocabulary are not updated:

Rules: repo-prose skill (.agents/skills/repo-prose/SKILL.md:13-14, "Describe the system as it exists"; :26-29, documentation is a present-state specification) and AGENTS.md:45-49, the skill "applies to documentation, code comments, docstrings, names, errors".

Separate, merge-time item: docs/cli-design.md:901 on main (absent from this branch, landed after b9cac83) reads "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 code gate at flare/src/hub.rs:3114-3118 is revision.starts_with("gb") && PLATFORMS.contains(&revision), so adding gb203 to PLATFORMS makes gb203 fall back to gb203-tp1 on 404 — that list needs gb203 after the rebase. Worth flagging to the author because this PR is what changes the code's behaviour behind that sentence, and its own Limits section notes no gb203 revision exists on any published repository yet.

#3 [high] Prose nits and verified-good items for PR 469 (docs wrapping, orbit.md list, aot.py wording, 0x2bbc scope)

Lens E (prose) nits found, all in changed or closely related prose:

  1. docs/cli-design.md:885-887 (changed lines) — the inserted gb203 rewrapped badly: "…ga102, gb10, gb202, gb203, and gb300. Automatic" / "selection" / "queries the selected GPUs'…". "selection" sits alone on its own line. Line 890 is also a single very long line (~200 chars) where the surrounding paragraphs wrap near 80 columns. Fix: rewrap the paragraph.

  2. docs/core-format-design.md:753-754 — changed line 754 runs long past the paragraph's wrap ("…never an SM architecture name. Downloads use the authenticated device"). Fix: rewrap at the paragraph width.

  3. docs/orbit.md:321 (changed line) — the added list "(gb10, gb202, gb203, gb300 from the PCI device id or compute capability)" still omits ga102, which revision() (flare-cli/src/orbit/gpu.rs:297-299) returns for GA102 devices via the same shared table, and omits the sm{major}{minor} form the field can also hold. Fix: state the full set, or say "a platform identifier from the shared PCI table, otherwise sm{major}{minor}".

  4. PR description, Why paragraph — "Preparation records device properties in the artifacts it publishes (the AOT cache key includes the device name, compute capability, and multiprocessor count in ignition/preparation/aot.py)". ignition/preparation/aot.py:696-697 does key on properties.name/major/minor/multi_processor_count, but that key names a local forward-compile cache directory (self.root = root / 'forwards' / key.hexdigest(), aot.py:707), not a published artifact. What a published core records is hardware_identity (heliopause/src/export/core.rs:657-664) and that is what revision selection/download uses (flare/src/hub.rs:2009-2019, helios/src/core/naming.rs:79-87). Fix: cite hardware_identity as the recorded device property and keep the AOT key as the separate claim that prepared forwards are device-specific.

  5. PR description, What changed — "0x2bbc still resolves to gb202, now through the capability fallback rather than through a table entry, so no other identifier changes the revision it reports." True for the Orbit agent path (flare-cli/src/orbit/gpu.rs:301-306). It is not true for the download/export path: flare::hardware::detect (flare/src/hardware.rs:95-100) has no capability fallback and still errors "unsupported PCI ID" for 0x2bbc. Fix: scope the sentence to the agent/Orbit revision, or note the download path still rejects that identifier.

What is correct and needs no action:

Not verifiable with the tools available: the commit message body. search_history (result 8) gives only subjects ("d07e149a core: give GB203 its own platform identifier"). docs/design-review.md:172-177 requires the commit body to pass the same four-part review; a reviewer should confirm it on the branch.

#5 [high] Should fix: description says flare's detection path is unchanged "for any id", but GB203 detection is exactly what changed there

PR 469, description, "Two label changes follow from the shared table" bullet 2: "0x2bbc still resolves to gb202 in Orbit, now through the capability fallback rather than through a table entry. flare's own detection (flare/src/hardware.rs) has no capability fallback and still refuses identifiers it does not list; this PR does not change that path for any id."

The last clause is false for 0x2c31, which is the device the whole PR exists for.

Verified chain:

Why it matters. AGENTS.md:88-94 requires the change section to name compatibility changes and to make before/after explicit. A reviewer reading "does not change that path for any id" would conclude flare download/flare hardware-revision behave identically for GB203 after the merge, which is the opposite of the PR's purpose and of its evidence.

Fix. Say: "flare's own detection (flare/src/hardware.rs) has no capability fallback, so it accepts only identifiers the shared table lists; this PR is what makes it accept 0x2c31, and it still refuses every other unlisted identifier, including 0x2bbc."

#6 [high] Should fix: cli-design.md -tp1 fallback sentence omits gb203, which this PR adds to the code gate

PR 469, docs/cli-design.md:900-907 (unchanged text inside a paragraph this PR edits at 888-893):

"An explicit --revision overrides @revision and hardware detection. ... 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 code gate is revision.starts_with("gb") && flare_helios::core::naming::PLATFORMS.contains(&revision) (flare/src/hub.rs:3145-3156). This PR adds "gb203" to PLATFORMS (helios/src/core/naming.rs:15), so gb203 now hits the -tp1 fallback as well; the sentence's list of three is stale as of this diff. ga102 is unaffected because it does not start with "gb".

Why it matters: this is the first path a GB203 host exercises (flare run ORG/MODEL with no --revision), and it is exactly the case the PR's Limits paragraph discusses ("no repository publishes a gb203 revision yet"). The document is the present-state spec for the flag (repo-prose/SKILL.md:26-29), and the same paragraph two lines above now lists five platform names.

Fix: "For gb10, gb202, gb203, and gb300, ...". Note it is a one-word fix in a paragraph the PR already rewrote, so it belongs in this PR rather than a follow-up.

#7 [high] Should fix: description's GA102 before-state is wrong — GA102 cores placed before this PR

PR 469, description, flare-cli/src/orbit/{controller,gpu,plan}.rs paragraph: "describe took a core's required revision from its rank architecture, so a GB203 core would have required gb202 while its host reports gb203, and neither a GB203 nor a GA102 core would place."

The GB203 half is a sound argument for doing the naming and placement changes in one PR (adding gb203 to the table alone would desync host and core). The GA102 half misstates the before-state.

Verified: on the base commit the agent's private table had no GA102 identifiers, and capability_revision had no (8,6) arm (flare-cli/src/orbit/gpu.rs, arm added at :235 in this diff), so a GA102 host reported sm86 and describe derived sm86 from the same architecture — they matched, so GA102 cores placed before this PR. GA102 placement breaks only in the intermediate state after the duplicate table is deleted and before capability_revision learns 8.6, which is what the author's own review reply describes ("removing the duplicate table made the agent report ga102 while capability_revision still said sm86, so those hosts lost placement as well").

Why it matters: AGENTS.md:88-94 requires the change section to make before/after explicit and identify compatibility changes. As written, a reviewer reads "a GA102 core would not place" as the old behavior and cannot tell whether the (8,6) arm fixes a regression this PR introduces or repairs a pre-existing defect. The description's own "GA102 devices report ga102 instead of sm86; their cores place as before" (label-change bullet) says the opposite of this sentence for GA102.

Fix: keep the GB203 clause, and state the GA102 case as: GA102 hosts and cores both reported sm86 from the capability fallback; because the agent now takes ga102 from the shared table, capability_revision must map 8.6 to ga102 for legacy cores that record no identity, or those hosts lose placement.

Severity: should fix (prose accuracy in the rationale section).

#9 [high] Re-review at 62a3726: which prior findings are fixed, and what remains

Status of the previous run's findings against head 62a3726 (files re-read in full):

RESOLVED (drop from the report):

NEW in this run: scratchpad #5 (description's "does not change that path for any id"), #6 (cli-design.md:904 -tp1 fallback omits gb203), #7 (GA102 before-state misstated), #8 (nit: CI-preparation claim).

Minor, not recorded separately: helios/src/core/naming.rs GB203_DEVICES doc-comment names only RTX PRO 4500 Blackwell while GB10/GA102 comments enumerate products; and pci_ids_select_the_platform_identifier's literal 0x2c31 assertion is redundant with the loop but harmless (it was requested in review). Commit message body still unavailable to these tools (only subject "core: give GB203 its own platform identifier"); design-review.md:172-177 requires the body to pass the four-part review, so a reviewer must confirm it on the branch.

#10 [high] Research summary

Re-reviewed PR #469 at head 62a3726 through the prose lens. Six of the previous run's findings are fixed at this head: GA102 is disclosed, all four stale platform enumerations now say "a PLATFORMS name … otherwise sm{major}{minor}", the docs rewrap, the hardware_identity citation, the 0x2bbc scoping, and the flare/src/catalog.rs fixture.

Four items remain, recorded as notes #5–#8:

Verdict: should-fix on three description/documentation statements, no blockers. Details in scratchpad #5–#9.

#11 [high] Current verdict for PR 469 at head 62a3726 (supersedes notes #1–#4)

Verdict: should-fix issues only. No blockers.

PR 469, head commit 62a3726, base main, 9 files +90/−46. Lens: prose (description, commit messages, docs and comments changed). Judged against AGENTS.md:72-112 (four required parts, in order), AGENTS.md:43-50 (prose skill applies to docs, code comments, docstrings, names, errors), .agents/skills/repo-prose/SKILL.md:13-14, :26-29, :35-37, and docs/design-review.md:172-177 (commit body passes the same four-part review).

IMPORTANT for the report writer

Notes #1, #2, #3 and #4 are the previous run at head d07e149/1ee1564 and are SUPERSEDED. Do not carry their findings forward as current. Note #9 lists exactly which of them are now fixed and verified at 62a3726.

Current findings (all four are additive detail to #5–#8; nothing else is open)

  1. SHOULD FIX — description, last bullet: "flare's own detection (flare/src/hardware.rs) has no capability fallback and still refuses identifiers it does not list; this PR does not change that path for any id." False for 0x2c31, the device the PR exists for. detect -> platform() -> platform_from_pci at flare/src/hardware.rs:18-21, :95-100; GB203_DEVICES/Some("gb203") at helios/src/core/naming.rs:22-27, :49-51; the call site is flare hardware-revision (flare-cli/src/main.rs:114-118 via flare-cli/src/hardware.rs:2-17) and flare download/flare run revision inference (flare/src/hub.rs:336-339). Same paragraph's evidence line "the build without this change reports gb202" cannot hold on that path: without the table entry detect returns Err("GPU 0 has unsupported PCI ID 0x2c310de; specify --revision"). Violates AGENTS.md:88-94 (explicit before/after, compatibility changes). Detail: note #5.

  2. SHOULD FIX — docs/cli-design.md:902-906: "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 is revision.starts_with("gb") && naming::PLATFORMS.contains(&revision) (flare/src/hub.rs:3145-3156); PLATFORMS gained "gb203" at helios/src/core/naming.rs:15, so gb203 is now in the fallback set. ga102 is unaffected (does not start with "gb"). This is the first path a GB203 host hits and the PR's Limits paragraph discusses it. Fix: add gb203 to the list. Detail: note #6.

  3. SHOULD FIX — description, orbit paragraph: "neither a GB203 nor a GA102 core would place." The GB203 half is correct and is the real argument for doing naming and placement together (a gb203 core would require gb202 from rank architecture while the host reports gb203). The GA102 half misstates the before-state: on the base commit the agent's private table had no GA102 ids and capability_revision had no (8,6) arm (added at flare-cli/src/orbit/gpu.rs:235), so host and core both said sm86 and GA102 cores placed. The (8,6) arm prevents a regression this PR would otherwise introduce. Contradicts the description's own label-change bullet ("their cores place as before"). Detail: note #7.

  4. NIT — description, Evidence: "The helios suite only passes here with the two environment preparations CI performs: LimitingMEMLOCK=infinity ... and FLARE_TEST_TEMPLATE_DIR produced by tests/frontend/prepare_templates.py for the nine template tests." CI does neither as stated: .github/workflows/native-serving.yml:62 sets --memlock=67108864:67108864 (64 MiB), and :31 passes six --recipe flags without minimax_m3, which is one of the nine entries in PREPARED_TEMPLATES (helios/src/frontend/jinja/tests.rs:814-824). Violates AGENTS.md:110-112 (reproduction commands identify inputs directly). The author's reply already states the mismatch. Detail: note #8.

What is verified good at this head (no action)

Not verifiable with these tools

Non-findings deliberately dropped

#8 [medium] Nit: description's CI-preparation claim does not match the workflow it points at

PR 469, description, Evidence paragraph: "The helios suite only passes here with the two environment preparations CI performs: LimitingMEMLOCK=infinity for the Engram io_uring tests ... and FLARE_TEST_TEMPLATE_DIR produced by tests/frontend/prepare_templates.py for the nine template tests."

Neither half matches CI as written in this repository:

Why it matters: AGENTS.md:103-112 requires reproduction commands to identify the required inputs and configuration directly; "the two environment preparations CI performs" sends a reviewer to the workflow, where the commands do not produce a green run as stated. It also hides a real inconsistency in the repository that the reply states explicitly.

Fix: give the two commands literally — sudo prlimit --pid $$ --memlock=infinity:infinity and python tests/frontend/prepare_templates.py --output DIR --recipe ... with the full recipe list, or "with every recipe under helios/tests/fixtures/templates/, which includes minimax_m3; CI's recipe list does not, so those tests fail there."

Severity: nit (also carried by the author's comment, so it may resolve without a description edit).