fix(002): product-family heading now derives the repo count#3
Merged
Conversation
The heading hardcoded "Four repos" but the family grew to ten
(spec 002 section 2, 2026-07-15). It now renders {PRODUCT_FAMILY.length}
so it tracks the list and cannot drift again.
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
The product-family heading on the index page hardcoded "Four repos, one stack",
but the family grew to ten repos (spec 002 section 2, dated 2026-07-15). The
heading now derives its count from
PRODUCT_FAMILY.length, so it renders"10 repos, one stack" and cannot drift again when a repo is added or removed.
The list directly below it was already data-driven off the same array.
Testing
npm run typecheck: clean.npm run build: clean, every route prerendered;build/client/index.htmlrenders "10 repos, one stack" with zero "Four repos" remaining.
compile,index,lint --fail-on-warn,index check.Spec-Drift-Waiver: app/routes/_index.tsx is content-owned by spec 002, whose
section 2 already documents the ten-repo family (2026-07-15). This one-line
change realizes that already-authored design truth; the code was merely stale.
No new design, so no owning spec is re-authored, per
.claude/rules/adversarial-prompt-refusal.md; the drift is waived here instead.