Repository navigation
refactor(forge): rename ForgeAlloy in TS → ForgeRecipe / ForgeArtifact (Phase 1b of #1164) - #1171
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 resultsnpm run build:tsclean--no-verifyScope
15 files, 15-line rename diff, +15/-15. Pure refactor — Python
forge_alloy/types.pyuntouched (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