Conventions report · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/c562b929-0954-478e-8d1b-c8f630f9890e.md

Review of PR #469 — Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier

Head reviewed: fb784c9 (9 files, +84/−56). Lens: conventions and duplication. Read against the charter (read_charter: "Stay focused" line 10, "What gets merged" line 35), AGENTS.md:43-70 (required prose review) and .agents/skills/repo-prose/SKILL.md (not opened). All nine changed files were read in context, with the callers of every changed function followed.

Key findings

What the PR gets right in this lens

  1. The new table follows the established pattern exactly. GB203_DEVICES: [u32; 1] = [0x2c31] (helios/src/core/naming.rs:22-27) mirrors GB300_DEVICES: [u32; 2] (:36-37) and GA102_DEVICES: [u32; 6] (:32-34); the contains arm sits first in the existing chain (:49-51), the device sets are disjoint so no other branch changes, and PLATFORMS keeps the array-length-in-type idiom (:15). Ordering gb203 ahead of gb10 is inert.
  2. Real deduplication, verifiable in the deleted code. Orbit's private platform() table (orbit/gpu.rs, removed hunk in the diff) listed one of the five GB10_DEVICES ids and listed 0x2bbc, which is absent from GB202_DEVICES (naming.rs:18-20; cf. naming.rs:219). revision() (orbit/gpu.rs:308-312) now resolves through platform_from_pci, matching flare/src/hardware.rs:18-21 — the precedent the PR follows.
  3. The "single source" claim is documented where the table lives (naming.rs:39-44), and the literal-id assert the #221 review asked for is present (naming.rs:209), so the new platform is not covered only by a loop over its own table.
  4. Every PLATFORMS consumer tolerates a name-only addition. Checked: flare/src/catalog.rs:320, flare/src/hub.rs:2507,2524,2997,3149, flare-cli/src/distribution.rs:159,720, heliopause/src/export/conversion.rs:402, helios/src/core/naming.rs:82,124. Each either filters unknown names to None/empty or compares equal strings; none enumerates the array.
  5. The three docs lists this PR touches are correct for the sets they describe: docs/cli-design.md:888-893 (detection order), :927 (the --revision default row), docs/core-format-design.md:753-754 (cache-entry naming), docs/orbit.md:321 (agent-reported revision). docs/cli-design.md:890-892 also correctly distinguishes known GB202 devices from known GB203 devices, which is the point of the change.
  6. The catalog test now derives its cases from the table (flare/src/catalog.rs:550-561, format!("{published}{suffix}")), which is what makes open PR #502 (gb206) need no fixture edit.

Findings

Should fix

1. flare-cli/src/orbit/gpu.rs:229 — (8, 6) => "ga102" names unlisted SM86 dies a platform the rest of Flare refuses.

Nits

2. flare-cli/src/orbit/gpu.rs:237-242 — core_revision is the fifth inline copy of one rule.

The rule "take the signed hardware_identity when it is a PLATFORMS name, otherwise fall back" is now written out at flare-cli/src/distribution.rs:159-163, flare/src/hub.rs:2507-2518, flare/src/hub.rs:2996-3001, heliopause/src/export/conversion.rs:402, and the new orbit/gpu.rs:237-242. The PR's own new doc comment at helios/src/core/naming.rs:41-43 ("These tables are the single source …; do not duplicate the identifiers elsewhere") argues for a naming::platform_identity(&str) -> Option<&str> beside platform_from_pci that all five call. Not blocking — the copies agree today — but this is the abstraction the PR's thesis implies.

3. docs/orbit.md:321-323 — ragged paragraph.

The replaced sentence wraps to ~115 characters and splits a compound ("memory total and free," then "and utilization, memory-controller") across lines, unlike the surrounding reflowed text. Per AGENTS.md:43-70 and the repo-prose skill, rewrap the paragraph to the document's width.

4. helios/src/core/naming.rs:22 — the table doc names one product where its siblings name the die's product set.

/// GB203 device identifiers for the SM120 platform: RTX PRO 4500 Blackwell. Compare :17 ("GB202 device identifiers for the SM120 platform" — no product list), :29 ("GB10 and RTX Spark N1X …"), :32-34 ("GA102 device identifiers for the SM86 platform: GeForce RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB and 3080 LHR"), :36 ("GB300 device identifiers. …"). Either list the recognized products or drop the product name; today a future GB203 id added to the array would silently contradict the doc.

Resolved since earlier rounds (verified in code at fb784c9, not re-raised)

Open questions and what could not be found