Skip to content

fix(substrate): strip hardware identity from today's code + docs - #1565

Merged
joelteply merged 1 commit into
canaryfrom
fix/strip-hardware-identity-from-substrate
Jun 9, 2026
Merged

fix(substrate): strip hardware identity from today's code + docs#1565
joelteply merged 1 commit into
canaryfrom
fix/strip-hardware-identity-from-substrate

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Joel called this out: 'Is 5090 coded into the repo? That would be weird.' Yes — I let GPU-specific narrative and operator-personal labels leak into substrate source + test fixtures + doc-strings across today's PRs (#1560, #1561, #1563, #1564). None load-bearing, but the repo should be hardware-agnostic.

Replacements (one PR, surgical edits)

  • adapter.rs / transport.rs: test fixture string joels-5090 -> test-remote-peer (3 sites). Doc "route to Joel's 5090" -> generic remote-inference-peer description.
  • roundtrip integration test: peer labels generic ("remote inference host" / "local caller"), canned response strings replaced (pong from the remote peer / test-model / test-remote-llamacpp).
  • apps/cli/src/main.rs: Generate doc (e.g., the operator's 5090) -> generic GPU-rich grid host.
  • apps/cli/src/grid_smoke.rs: module doc + ai/generate row comment use generic categories.

Out of scope (intentionally kept)

Verified

grep -rn '5090\|joels-' on touched files     -> zero hits
cargo check -p continuum-cli                  -> clean (1.94s)

Lesson

Any hardware-specific identity is narrative scaffolding, not substrate truth. The substrate is hardware-agnostic; tests use neutral labels; docs describe categories, not specific units.

Generated with Claude Code

…ode + docs

Joel called this out: is 5090 coded into the repo? Yes — GPU-specific
narrative and operator-personal labels leaked into substrate source,
test fixtures, and doc-strings across today's PRs (#1560, #1561,
#1563, #1564). None were load-bearing, but the repo should be
hardware-agnostic.

Replacements (one PR, surgical edits):

  core/continuum-core/src/inference/airc_remote/adapter.rs
    - doc: "route to Joel's 5090" -> generic remote-inference-peer description
    - test fixture: "joels-5090" -> "test-remote-peer"

  core/continuum-core/src/inference/airc_remote/transport.rs
    - test fixture: "joels-5090" (2 sites) -> "test-remote-peer"

  core/continuum-core/tests/airc_remote_inference_roundtrip.rs
    - doc: "airc://<rtx5090>/ai/generate" -> "airc://<remote-peer>/ai/generate"
    - peer labels generic: "remote inference host" / "local caller"
    - canned response: "pong from the remote peer" / "test-model" /
      "test-remote-llamacpp"

  apps/cli/src/main.rs
    - Generate doc: "(e.g., the operator's 5090)" -> generic GPU-rich grid host

  apps/cli/src/grid_smoke.rs
    - module doc + ai/generate row comment: "constrained-locally host
      dispatches at a GPU-rich peer" / "If the target is a GPU host
      running a real LLM"

Out of scope:
  - Older codebase doctrine attributions ("Joel's never-swallow-errors")
    stay — those name doctrine origin, fine.
  - Task #85 mentioning 5090 stays — it's a real airc bug ticket about
    that hardware.

Verified:
  grep -rn "5090|joels-" on touched files -> zero hits
  cargo check -p continuum-cli            -> clean (1.94s)

The pattern lesson: any hardware-specific identity is narrative
scaffolding, not substrate truth. The substrate is hardware-agnostic;
tests use neutral labels; docs describe categories, not specific units.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@joelteply
joelteply merged commit 505b431 into canary Jun 9, 2026
2 checks passed
@joelteply
joelteply deleted the fix/strip-hardware-identity-from-substrate branch June 9, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant