Skip to content

refactor(forge): rename ForgeAlloy in TS → ForgeRecipe / ForgeArtifact (Phase 1b of #1164) - #1171

Merged
joelteply merged 1 commit into
canaryfrom
feat/forge-alloy-rename-to-artifact
May 14, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/forge-alloy-rename-to-artifact

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

Phase 1b of the design at docs/architecture/FORGE-RECIPE-AS-ENTITY.md. Pure rename — no behavior change. The single-entity 'ForgeAlloy' name splits across two roles per the consensus on continuum#1165:

  • ForgeRecipe — the authored input (stages, prose, methodology, hardware target). All 14 stage-element widget JSDoc references update here. Stage widgets are recipe-authoring UI; stages live on the recipe side.
  • ForgeArtifact — the foundry output (measured, hardware-verified, alloy hash, publication receipt). FactoryStatsWidget's "X/Y models have an alloy" panel relabels because the panel counts published artifacts, not authored recipes.

Validation

  • grep ForgeAlloy src/ returns 0 results
  • npm run build:ts clean
  • Hooks ran without --no-verify

Scope

15 files, 15-line rename diff, +15/-15. Pure refactor — Python forge_alloy/types.py untouched (Phase 2 ports those types to Rust as the source of truth); TS code only references the entity names in JSDoc + UI labels, never imports them as types.

🤖 Generated with Claude Code

…ct (#1164 Phase 1b)

Per the consensus on continuum#1165 (design doc), the existing
single-entity 'ForgeAlloy' name splits across two roles:

- 'ForgeRecipe' (the authored input — what stages, prose, methodology,
  hardware target). All 14 stage-element widget JSDoc references update
  here: 'Maps 1:1 to ForgeAlloy XStage schema' becomes
  'Maps 1:1 to ForgeRecipe XStage schema', and 'Each ForgeAlloy stage
  type' becomes 'Each ForgeRecipe stage type'. The stage widgets are
  recipe-authoring UI; stages live on the recipe side.
- 'ForgeArtifact' (the foundry output — what got measured, hardware
  verified, alloy hash, publication receipt). FactoryStatsWidget's
  'X / Y models have an alloy' panel relabels to 'ForgeArtifact'
  because the panel counts published artifacts, not authored recipes.

Pure rename — no behavior change. The Python forge_alloy/types.py is
untouched (Phase 2 ports those types to Rust as the source of truth);
TS code only references the entity names in JSDoc + UI labels, never
imports them as types.

Validation:
- grep ForgeAlloy in src returns 0 results
- npm run build:ts passes clean
- Hooks ran without --no-verify

Card: continuum#1170 (PR #1170 was Phase 1a; Phase 1b card is created
per the airc queue lane named 1170-pr-phase1b — the CI auto-close
will land on whatever issue # this PR opens against).

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@joelteply
joelteply merged commit c1a7b11 into canary May 14, 2026
4 checks passed
@joelteply
joelteply deleted the feat/forge-alloy-rename-to-artifact branch May 14, 2026 15:46
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