Prose scratchpad · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/fec61d8c-3771-4898-a64f-2e91d16c25f7.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

#13 [high] Should fix: description's Evidence section names tests and a pass count that fb784c9 deleted

PR 469, head fb784c9 (commit "core: give GB203 its own platform identifier"). The code and docs moved in fb784c9 but the description's Evidence section did not. Three statements are now false about the tree being reviewed:

  1. "pci_ids_select_the_platform_identifier asserts 0x2c31 literally as well as through GB203_DEVICES." The GB203_DEVICES loop was deleted in fb784c9; helios/src/core/naming.rs:209 is now the only assertion (assert_eq!(platform_from_pci(0x2c31_10de), Some("gb203"));) and the loop at :210 is over GA102_DEVICES. Verified: search_code GB203_DEVICES returns only the const at :27 and its use at :49.

  2. "ga102_pci_ids_report_the_platform_the_table_names covers the GA102 change." That test no longer exists in the tree (no match for the name at head). The author's own comment of 2026-11-26 20:28 says it was deleted and its assertion moved into pci_ids_select_the_revision_before_compute_capability (flare-cli/src/orbit/gpu.rs:348: assert_eq!(revision(0x220410de, 8, 6), "ga102");).

  3. "flare-cli — 199 passed." The author's reply for fb784c9 says 198 ("one fewer test, as expected"). The description's count predates the commit it now describes.

  4. "published_build_match_uses_all_platform_branches iterates PLATFORMS against a branch fixture; the fixture now includes gb203-tp1, without which the test fails for the new platform." At head the per-platform fixture is gone; the remaining gb203-tp1 assertions are a separate three-assertion block (flare/src/catalog.rs:562-573) that does not live inside the PLATFORMS loops (:550-561). The sentence describes the previous head (62a3726).

Rule: AGENTS.md:103-112 (connect each claim to the check actually run; test labels cannot stand in for the tested contract) and docs/design-review.md:172-177 (description/commit must match the work performed). Fix: re-run the counts and name the tests as they exist at fb784c9, or state the counts from 62a3726 and say the doc/test simplifications in fb784c9 were re-checked separately.

#15 [high] Current verdict for PR 469 at head fb784c9 (supersedes #11/#12)

Prose review — PR 469 at head fb784c9 (commit "core: give GB203 its own platform identifier")

Lens: description, commit message, changed docs/comments. Judged against AGENTS.md:43-50, :72-112 (four parts in order; explicit before/after; evidence tied to the checks run; reproduction inputs stated), .agents/skills/repo-prose/SKILL.md:13-14, :26-29, :35-43, and docs/design-review.md:172-177 (description must match the work performed).

fb784c9 is a simplification pass responding to the 62a3726 review. Code and docs agree with each other at this head; the description did not follow the code.

Verdict: should-fix only; no blockers.

Should fix (note #13): the Evidence section still describes head 62a3726, not fb784c9 — it cites a deleted GB203_DEVICES loop assertion, a deleted test (ga102_pci_ids_report_the_platform_the_table_names), the gb203-tp1 fixture that no longer sits inside the PLATFORMS loops, and a flare-cli count of 199 where the author's own reply for this commit says 198.

Nits (note #14): orbit.md:321-323 ragged reflow with a ~94-column line; description calls out orbit/gpu.rs and orbit/plan.rs as files that "now list five" platform names when those two comments now list none (they say "a PLATFORMS name"); the "two environment preparations CI performs" claim still does not match native-serving.yml:31/:62 (carried over from the 62a3726 review; the author's reply already concedes it).

Verified good at fb784c9 (no action)

Not verifiable here

Commit body (only the subject is visible) — docs/design-review.md:172-177 requires it to pass the same four-part review; no CI checks reported on fb784c9; whether any Hub repository publishes an sm86 branch that GA102 hosts select today.

#16 [high] Research summary

Re-reviewed PR #469 at head fb784c9 through the prose lens. Verdict: should-fix only, no blockers.

fb784c9 is the author's response to the 62a3726 review and it fixes every prose issue raised there in the code and docs (three description corrections, the -tp1 rule in docs/cli-design.md:902-907, the simplified capability_revision/core_revision comments). The description, however, was not updated for this commit.

Should fix (note #13): the Evidence section still describes the previous head. It cites a GB203_DEVICES loop assertion that fb784c9 deleted (naming.rs:209 is now the only 0x2c31 assert), a test that no longer exists (ga102_pci_ids_report_the_platform_the_table_names; its assertion moved to orbit/gpu.rs:348), a gb203-tp1 fixture that no longer sits inside the PLATFORMS loops (catalog.rs:562-573), and flare-cli 199 passed where the author's own reply for this commit says 198.

One nit note (#14) with three items: a ragged 94-column reflow at docs/orbit.md:321-323; the description listing orbit/gpu.rs and orbit/plan.rs among files that "now list five" platform names when those comments now list none; and the unchanged "two environment preparations CI performs" claim that does not match .github/workflows/native-serving.yml:31 (not opened)/:62.

Current consolidated verdict is note #15; the full earlier report (#12) covers the structure that still passes.

#17 [high] Status of earlier 62a3726 findings at fb784c9 — do not resurrect the fixed ones

PR 469. fb784c9 (2026-11-22 author commit "core: give GB203 its own platform identifier", pushed after the 62a3726 review) resolved three of the four findings recorded against 62a3726 and left one open. Do not carry the resolved ones into the report as current.

New at fb784c9: note #13 (should fix, description describes the 62a3726 tree) and note #14 (three nits). Consolidated verdict: note #15.

#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).

#14 [medium] Nit: three residual prose defects at fb784c9 (orbit.md reflow, "list five", CI-prep claim)

PR 469 head fb784c9, prose nits.

  1. docs/orbit.md:321-323 reflow. The inserted sentence leaves line 322 at ~94 columns while the rest of the paragraph (317-329) is ~80, and it splits "memory total and free, / and utilization, memory-controller / utilization" across three ragged lines:
revision (`ga102`, `gb10`, `gb202`, `gb203`, `gb300` from the PCI device id, or
`sm{major}{minor}` for a compute capability that names no platform), memory total and free,
and utilization, memory-controller
utilization (the share of the sample period with memory reads or writes),

Fix: wrap the revision clause to the paragraph width and keep "memory total and free, and utilization, memory-controller utilization (…)" as one clause. Only formatting.

  1. Description, "Documentation and help text that listed four platform names now list five (cli.rs --revision help, orbit/gpu.rs, orbit/plan.rs, …)". flare-cli/src/orbit/gpu.rs:38 and flare-cli/src/orbit/plan.rs:38-39 no longer enumerate names at all: they read "a PLATFORMS name, or sm{major}{minor}". So those two entries are described wrongly in a list of files that "now list five". Fix: drop them from that clause or say they were rewritten to point at PLATFORMS.

  2. Description, Evidence: "The helios suite only passes here with the two environment preparations CI performs: LimitingMEMLOCK=infinity … and FLARE_TEST_TEMPLATE_DIR … for the nine template tests." Neither half matches the workflow: .github/workflows/native-serving.yml:62 sets --memlock=67108864:67108864 (64 MiB — also what AGENTS.md:326-327 says the workflow does), 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). This was already reported at 62a3726 and the author's reply acknowledges it ("the fixture list now includes minimax_m3, which the workflow's recipe list does not pass"). AGENTS.md:110-112 wants the reproduction inputs stated directly. Fix: give the local commands literally, or say the local run needs a stricter memlock limit and one more recipe than CI uses.