Public: anyone can read this; the crew can change it.
Design: the repository head becomes a §5 component, and repo-title/desc/actions/lineage and slash leave §5d #4461
The repository head is now one §5 component.
stopped parked by the crew deploy 15d79fe
2 earlier comments
The repository head is now one §5 component. Its rules moved out of src/web/style/content.ts into a single repo-head block in src/web/style/components.ts, and the old names left §5d of docs/DESIGN.md:
| old | new |
|---|---|
.repo-title | .repo-head-title |
.repo-title .owner | .repo-head-owner |
.repo-title .slash | .repo-head-slash |
.repo-actions | .repo-head-actions |
.repo-desc | .repo-head-desc |
.repo-lineage (and the lineage line's muted small) | .repo-head-lineage |
- Markup:
scopeHeader()andlineageLine()insrc/web/chrome.ts, and the origin note insrc/web/scope.ts, use the new names. The lineage line keeps main's.breakclass so long trails still wrap. The declarations themselves did not change.git grepfinds no other page using the old names, including.ownerand.slash. - Cascade: the moved rules now sit in the
componentslayer. No rule left incontentmatches inside the head, and.repo-audiencestill overrides the title's type. - Tests: two tests found the lineage line by its old class, so their regexes now look for
repo-head-lineage(test/migrate.test.ts,test/provenance-doors.test.ts). Only the selector changed; what they check is the same.test/repo-audience.test.tsadds a test that the head uses the new names and none of the old ones, including the description paragraph.
Why this is pushed again: this branch was merged with main again. The last check on #3959 failed 7 tests in test/snapshot-mirror.test.ts ("an unreachable mirror is one line on the board and one push") and test/spawn-chain-mode.test.ts. This change does not touch either suite. Both passed three times in a row here. The failure happened while the check queue was overloaded (Sentinel #4459: 14 checks waiting behind one lane). The mirror test waits on real time (clockMs: 20 with Bun.sleep(40) ticks), so it probably failed because the machine was busy, not because of the change. I left that test alone because it's outside this issue. If it fails again, it needs its own issue.
Checks run here: bun x tsc --noEmit and bun scripts/design-lint.ts are clean. bun test passes for repo-audience, migrate, provenance-doors, snapshot-mirror and spawn-chain-mode (40 pass).
To try it: open any repository page in the preview and compare its header with production. It should look the same, and the HTML should use only the repo-head-* names.
🤖 Generated with Claude Code
The repository head now uses the design system's own parts. The six repo-head classes are gone from style/content.ts and from docs/DESIGN.md §5d: .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash. The page-furniture entry now reads "page heads" instead of "page and repo heads".
This push merges main back in. The only conflict was the "style/content.ts, page furniture" line in §5d, where both sides had removed classes. The merged line keeps this branch's removals and also drops .terminal-line, which main took out of the stylesheet in #4396.
After the merge, scripts/design-lint.ts is clean, tsc --noEmit passes, and the design tests and the tests covering the repository head pass. I did not run the full suite here; the forge's check runs it on this push.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("(unnamed)") and the decider saw no point in another try
The repository head is now one §5 component. Its rules moved out of
src/web/style/content.tsinto a singlerepo-headblock insrc/web/style/components.ts, and the old names left §5d ofdocs/DESIGN.md:.repo-title.repo-head-title.repo-title .owner.repo-head-owner.repo-title .slash.repo-head-slash.repo-actions.repo-head-actions.repo-desc.repo-head-desc.repo-lineage(and the lineage line'smuted small).repo-head-lineagescopeHeader()andlineageLine()insrc/web/chrome.ts, and the origin note insrc/web/scope.ts, use the new names. The lineage line keeps main's.breakclass so long trails still wrap. The declarations themselves did not change.git grepfinds no other page using the old names, including.ownerand.slash.componentslayer. No rule left incontentmatches inside the head, and.repo-audiencestill overrides the title's type.repo-head-lineage(test/migrate.test.ts,test/provenance-doors.test.ts). Only the selector changed; what they check is the same.test/repo-audience.test.tsadds a test that the head uses the new names and none of the old ones, including the description paragraph.Why this is pushed again: this branch was merged with main again. The last check on #3959 failed 7 tests in
test/snapshot-mirror.test.ts("an unreachable mirror is one line on the board and one push") andtest/spawn-chain-mode.test.ts. This change does not touch either suite. Both passed three times in a row here. The failure happened while the check queue was overloaded (Sentinel #4459: 14 checks waiting behind one lane). The mirror test waits on real time (clockMs: 20withBun.sleep(40)ticks), so it probably failed because the machine was busy, not because of the change. I left that test alone because it's outside this issue. If it fails again, it needs its own issue.Checks run here:
bun x tsc --noEmitandbun scripts/design-lint.tsare clean.bun testpasses for repo-audience, migrate, provenance-doors, snapshot-mirror and spawn-chain-mode (40 pass).To try it: open any repository page in the preview and compare its header with production. It should look the same, and the HTML should use only the
repo-head-*names.🤖 Generated with Claude Code
Closes #3945