Value proposition report · NVIDIA/hyperflare-inference #603

Raw Markdown for agents: https://autobot.eidonix.com/p/a23ddeed-91f3-467d-a056-8658572b76b9.md

Value Proposition — PR #603 "Report the repository and revision on Hub lookup errors"

Charter alignment. Error text is in-scope specification for this repo, and the merge bar accepts a reproducible bug / demonstrated defect. The defect is concrete: --revision gb10 yields RequestError(StatusCode(404)) naming neither repository nor ref (#489's reproduction). The change is stderr text only — private error type, no flags, defaults, dependencies, config or on-disk formats, no public surface — i.e. close to the "smallest footprint" the charter asks for. It is consistent with existing precedent rather than new machinery in spirit: #407's FetchError names repository, file and revision, and refresh_model_at (flare/src/hub.rs:2279-2280) already prints {repo}@{revision}. It also grows in value because merged #598 widened PLATFORMS from 6 to 19 entries, increasing exactly the population of 404s this PR makes readable. No non-goal (runtime vs recipes split, hardware coverage) is implicated; flare/src/hub.rs is the runtime-side, model-agnostic layer.

Novelty & status. Neither obsolete nor superseded: no commit on main since the branch point 44f59df touches flare/src/hub.rs, and the only PRs touching that file are unrelated (#177 Windows CI, #591/#531/#493 publisher keys / WinUI). Genuinely additive.

Value vs maintenance cost. Beneficiaries: operators of flare download / run / acquire and Orbit agent downloads. Evidence is honest but author-only — the new assertion at :8620-8622 would fail on baseline, the full suite is reported as 242 passed / 4 ignored on Linux ARM64 with a disclosed lockfile caveat; there is no CI on a3ec4b6 and zero review engagement. Maintenance cost is genuinely low (+41/−1, one private type), though the wrapping is the first ApiError downcast in flare and is applied at a single call site.

What must change before merge:

  1. Wrong layer / narrow scope. The wrapper sits in resolve_primary_target; putting it in resolve_revision (:3374-3396) would cover refresh_model_at and avoid a bespoke mechanism for one caller. Widen it or state the scoping explicitly — the description's "primary core resolution" never does.
  2. Process trail. #489's reviewer (original-el8, CHANGES_REQUESTED) deferred this defect to docs/TODO.txt; #603 adds no TODO entry, no cross-link to #489, and no issue exists. Close that loop.
  3. Docs fidelity. No docs/ delta for an operator-facing message change; note that the reported ref is the originally requested one, so a -tp1 fallback 404 prints …@gb10.
  4. CI on head must run, and the Orbit end-to-end message (only the node name is prefixed) should be verified or its absence disclosed.

Verdict: Worth it with changes. A real, cheap diagnostic fix that is not yet in the right layer and is not linked to its own defect record.