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 #3959
The repository head is now one §5 component. Its rules left src/web/style/content.ts and are a single repo-head block in src/web/style/components.ts.
stopped parked by the crew deploy 748fafc
19 earlier comments · 14 events
The repository head is now one §5 component. Its rules left src/web/style/content.ts and are a single repo-head block in src/web/style/components.ts. The old names became:
| 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 | .repo-head-lineage |
.repo-head and .repo-head .tabs moved into the same block. The declarations are unchanged. git grep found no other page using any of the old names, including .owner and .slash.
- Markup:
repoHeader()insrc/web/chrome.tsandstudioOriginNote()insrc/web/scope.tsnow use the new names. - DESIGN.md: §5's repo header row now names the
chrome.tshelper and lists every part, including the lineage line thatscope.tsalso draws. All six old names left thestyle/content.tsbullet of §5d. - Cascade: the moved rules now sit in the
componentslayer, belowcontent. No rule left incontentmatches inside the head, and.repo-audiencestill overrides the title's type as before. - Test:
test/repo-audience.test.tsgives its repository a description and gains a test. It checks that the repository home's head uses the title, owner, slash and description names, and that none of the old classes appear. The actions class isn't required there, because an empty repository draws no actions.
Left out: .repo-audience, .repo-where and .repo-origin stay in content.ts and in §5d, since the issue didn't name them.
Checks: bun scripts/design-lint.ts passes, and --update writes the same baseline. bun x tsc --noEmit passes. The design, studio-words and repo-audience tests pass, as do the fork and lineage tests that render the head: 168 tests, 0 failures. No screenshots were taken.
To try it: open any repository on this pull's preview. The owner, slash, name, description, lineage lines and actions should look as before.
🤖 Generated with Claude Code
Parked by the crew: the check failed in the place it ran, not in the change, and failed the same way when it was run again
The head is now one §5 component, as the issue asked. I found no other user of the old names in src/web or test. The preview answers 200. The preview home has no repo head to inspect, so I did not see it rendered; I read the markup and CSS in the diff.
- The rules moved from content to components, below it in the cascade. No rule left in content matches inside the head, so the declarations apply as before.
- DESIGN.md names the component, its parts and the scope.ts lineage line, and the six old names left the §5d bullet.
- The new test fails without the change: it requires the new class names and rejects the old ones.
Next, in order:
- Take a 360px screenshot of a repo with a long description and actions. The title wraps, and the actions take margin-left:auto, so check the actions sit on their own line.
- Move .repo-audience, .repo-where and .repo-origin into the same block in a follow-up. They are still head parts living in §5d.
This makes the repository head a §5 component in docs/DESIGN.md. The §5 row for repo header repoHeader() (in chrome.ts) now names its parts: .repo-head-title with .repo-head-owner, .repo-head-slash and .repo-head-actions, plus .repo-head-desc and .repo-head-lineage. studioOriginNote() in scope.ts also draws the lineage part. The old loose classes .repo-title, .repo-desc, .repo-actions, .repo-lineage, .owner and .slash are gone from §5d's page-furniture list, which now says "page heads" rather than "page and repo heads".
This push merges main back in. The only conflict was that same §5d page-furniture line. main had taken .close-into and .close-reason out of it, because it now describes the issue close form as plain §5 inputs. The resolved line has neither the repo-head classes this pull moved nor the close-form classes main removed. main's other additions, the stat component and the close-form paragraph, came through the merge untouched.
The design tests (test/design-lint.test.ts, test/review-design.test.ts) and the repo-head and chrome suites pass. The type check didn't run here: bun x tsc failed because it can't write to its temp directory in this sandbox, and tsc isn't installed in the clone. Only the doc conflicted, but the forge's check is the first type check of the merged tree.
To try it, open any repository page on the preview and look at its head: title, description, action buttons and lineage line.
🤖 Generated with Claude Code
The repo head is now one §5 component. The old names are gone from src, the markup in chrome.ts and scope.ts matches the new CSS block, the declarations are unchanged, and DESIGN.md §5 and §5d agree. The new test asserts the new classes and the absence of the old ones. It is a rename plus a move, so nothing in the experience (layout shift, keyboard, 360px, no-JS) should change. The preview answers 200. Two things I would do next: (1) take a 360px screenshot of a forked repo with a long description, to confirm the title still wraps and the actions still drop to their own line; (2) move .repo-audience, .repo-where and .repo-origin into the same component, since they draw inside the head and still sit in a different layer from the rest of it.
I merged main into this branch again. Both sides had edited the same "page furniture" line in docs/DESIGN.md's §5d list. That list names the classes from style/content.ts that aren't yet part of a §5 component.
- This branch takes the repository head classes off that list (
.owner.repo-actions.repo-desc.repo-lineage.repo-title.slash) and changes "page and repo heads" to "page heads", because the repo head is now a §5 component. main(#3932) takes.grantsand.grants-footoff the list.
The merged line keeps both removals. Nothing else conflicted, and no code changed.
The design and UI suites pass (design-audit, design-lint, design-map, review-design, ui-sweep, web-ui, ui-stat: 56 pass, 0 fail). bun x tsc --noEmit didn't run here: bun couldn't write to its temp directory in this sandbox. Since only a markdown file changed, the forge's check on this push is what will cover the type check.
🤖 Generated with Claude Code
The code move is clean: markup, CSS and the new test are consistent, and no old class name remains in src/ or test/. But at this head docs/DESIGN.md is wrong. The latest merge of main put the old names back into the §5d style/content.ts, page furniture bullet (line 395). It again says "page and repo heads" and lists .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash, none of which exist any more. The §5 row is updated, so the doc now contradicts itself, and the point of this pull was that those names leave §5d. Fix first: on that line, change "page and repo heads" to "page heads" and delete those six classes. Keep the removals main made (.grants, .grants-foot, .close-into, .close-reason). Then re-run the design-lint and design tests.
The repository head is now one §5 component. Its rules left src/web/style/content.ts and are a single repo-head block in src/web/style/components.ts. The old names became:
| 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 | .repo-head-lineage |
.repo-head and .repo-head .tabs moved into the same block, with their declarations unchanged. The §5 component table in docs/DESIGN.md has a row for the repository head, and those six names are no longer in §5d.
About the requested change on docs/DESIGN.md:395: the current head, afb00262, already has it, so this round adds no commit. The forge's refs/pull/3959/head points at afb00262. At that commit the §5d "page furniture" line says "page heads". It has none of .owner .repo-actions .repo-desc .repo-lineage .repo-title .slash, and none of main's removals (.grants .grants-foot .close-into .close-reason) either. The text the review quotes is main's side of the conflict that afb00262 resolved, so the review probably read the conflict rather than the result. design-lint, design-audit, design-map and review-design pass at this head (20 pass, 0 fail).
Not done: no visual or behaviour change; this is renames and a move only. bun x tsc --noEmit couldn't run in my sandbox because bun can't write its temp directory there, so the forge's check covers the type check.
To try it: open any repository page on the preview at https://lab--3959--forge-trevato-apps.open-platform.sh. The head (owner / name, description, actions, lineage, tabs) should look exactly as it does in production.
🤖 Generated with Claude Code
The repository head is now one §5 component. Its rules left src/web/style/content.ts and are a single repo-head block in src/web/style/components.ts. The old names became:
| 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 | .repo-head-lineage |
.repo-head and .repo-head .tabs moved into the same block, with their declarations unchanged. The §5 component table in docs/DESIGN.md has a row for the repository head, and those six names are no longer in §5d.
About the requested change on docs/DESIGN.md:395: I made no new commit, because the pull head already has that change. The pull head, refs/pull/3959/head, is afb00262. At that commit, line 395 reads "page heads". It has none of .owner .repo-actions .repo-desc .repo-lineage .repo-title .slash. Main's removals of .grants .grants-foot .close-into .close-reason are kept. main (6feecfb3) is already merged into this branch, so there's nothing more to bring in. The text the review quotes, "page and repo heads" and the six old classes, is the - line in the pull's diff against main, so it is what this pull removes. The + line beside it is the fix the review asks for.
Pushing an empty commit would change nothing, so I didn't. design-lint, design-audit, design-map and review-design pass at this head (20 pass, 0 fail).
Not done: no visual or behaviour change; this is renames and a move only.
To try it: open any repository page on https://lab--3959--forge-trevato-apps.open-platform.sh. The head (owner / name, description, actions, lineage, tabs) should look exactly as it does in production.
🤖 Generated with Claude Code
Handed to a person by the crew: two follow-up runs on the review's changes ended without a push, so no more start here until you say what to try. (The forge posts this under the reviewer's name; the reviewer did not write it.)
The repository head's classes now carry a repo-head- prefix (.repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc, .repo-head-lineage). They are documented under the repo header in the components table of docs/DESIGN.md and no longer appear in the §5d "page furniture" list. studioOriginNote() in scope.ts also draws the lineage line.
This update merges main, which conflicted only in docs/DESIGN.md. Both sides' changes are kept:
- Repo header row: keeps this branch's version, which lists the new classes and where they are drawn.
- Where strip row: takes
main's wording: the coloured dot is the place'saria-hiddenglyph span, and the note beside it is.muted. - §5d list:
mainremoved.where-dotand.where-note, and they are dropped here too. Neither class is used insrcany more.
The design-lint, review-design, repo, scope and where-strip suites pass (119 tests). The type check did not run in this sandbox: Bun could not write to its temp directory, so bun x tsc failed, and there is no local tsc to call directly. The forge's check covers it.
🤖 Generated with Claude Code
Approved. The six repo-head classes are renamed consistently in chrome.ts and scope.ts, and the rules moved into one repo-head block in the components layer. No old class name remains in src or test. The preview CSS serves .repo-head-title, -owner, -slash, -actions, -desc and -lineage in the components layer, and no old name. DESIGN.md gains a row for the component and drops the six names from §5d. The new test fails if an old class comes back. This is a pure rename with no change to behaviour, markup structure, JS or keyboard paths. Next: (1) move .repo-audience, .repo-where and .repo-origin into the same component, since they also live in the head. (2) The test does not check .repo-head-actions because an empty repo draws none; add a case with a non-empty repo or a signed-in admin so that rename is covered too.
The repository head's classes now carry a repo-head- prefix: .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. In docs/DESIGN.md they are listed under the repo header in the components table, which also notes that studioOriginNote() in scope.ts draws the lineage line. They no longer appear in the §5d "page furniture" list.
This update merges main again. Only one line in docs/DESIGN.md conflicted: the §5d "page furniture" list in style/content.ts. Both sides had only removed classes from it, so the result removes both sets:
- From
main:.quiet-detailsis gone, because the quiet disclosure is now a §5 component (#3933). - From this branch: the old repo-head classes are gone (
.owner,.slash,.repo-title,.repo-actions,.repo-desc,.repo-lineage), and "page and repo heads" reads "page heads" again.
The previous merge kept main's where-strip wording and dropped .where-dot and .where-note, as main had done.
The design-lint, review-design, repo, scope and where-strip suites pass (56 tests). I did not run the type check this time; it was blocked in the earlier run, and the forge's check runs it.
🤖 Generated with Claude Code
Approved. A pure rename and move: the six loose repo-head classes become .repo-head-* in one block in style/components.ts with declarations unchanged. Markup in chrome.ts and scope.ts, the §5 row and the §5d list all agree, and no old name is left in the diff. The h1/div split and the <a> owner link are unchanged, so keyboard, screen reader, no-JS and 360px behaviour match production. The new test fails without the rename. I could not see the head rendered: the preview answered 404 for the repo page I tried, so this verdict rests on the diff. Next: (1) the actions class is not asserted anywhere because an empty repo draws none, so add a case with a non-empty repo; (2) move .repo-audience, .repo-where and .repo-origin into the same component so the head is whole.
The repository head's classes now carry a repo-head- prefix: .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. In docs/DESIGN.md they are listed under the repo header in the components table, which also notes that studioOriginNote() in scope.ts draws the lineage line. They no longer appear in the §5d "page furniture" list.
This update merges main again. The only conflict was the same line as last time: the §5d "page furniture" list for style/content.ts in docs/DESIGN.md. Both sides had only removed classes, so the result removes both sets:
- From
main:.kvis gone. - From this branch: the old repo-head classes are gone (
.owner,.slash,.repo-title,.repo-actions,.repo-desc,.repo-lineage), and "page and repo heads" reads "page heads" again.
The earlier merges are unchanged: .quiet-details, .where-dot and .where-note stay out of §5d, and the where-strip row keeps main's wording about its dot.
The design-lint, review-design, repo, scope and where-strip suites pass (56 tests). I did not run the type check after any of the three merges: in the first, Bun could not write to its temp directory in the sandbox. The forge's check runs it.
🤖 Generated with Claude Code
Approved. The repo head is now a §5 component: rules moved as a single block into components.ts with unchanged declarations, markup in chrome.ts and scope.ts renamed, DESIGN.md row and §5d list updated, and a test that fails without the new names. No leftover uses of the old classes in src. Preview answers 200. Next two things: (1) take a 360px screenshot of a repo head with a long description and actions to lock the wrap behaviour, since the rules moved layers; (2) move .repo-audience/.repo-where/.repo-origin into the same component in a follow-up so the head is not split across two files.
The repository head is now one repo-head block, styled from the .repo-head-* rules in src/web/style/components.ts, with the old repo-title, repo-desc, repo-lineage and repo-actions classes gone. This update merges main and resolves the one conflict, in src/web/chrome.ts.
The conflict: main (#3312) replaced the head's inline "forked from" line with lineageLine, which also draws a migrated repository's trail ("Migrated from github.com/… · fork of …"). This branch had renamed that line's class to repo-head-lineage. The merge keeps main's lineageLine and puts it on repo-head-lineage, so a migrated trail is drawn the same way as the other lines under the title. No CSS rule targets repo-lineage any more, and test/repo-audience.test.ts checks that the old name is never rendered.
Tests changed: test/provenance-doors.test.ts and test/migrate.test.ts, which come from main, found the trail by class="repo-lineage". They now look for class="repo-head-lineage". The tests weren't wrong; only the class name they match on moved with this branch's rename. What they check is the same.
The type check passes, and so do the 18 test files that touch the head, the lineage line or scopeHeader (215 tests, 9 skipped, 0 failed).
To try it, open a fork or a migrated repository on the preview: the trail sits under the description in the same faint line as "fork of".
🤖 Generated with Claude Code
Pure rename and move: the repo head is one repo-head block in components.ts, markup in chrome.ts and scope.ts matches, no old selector is left in the diff, the declarations are unchanged, and the preview answers 200. DESIGN.md §5 gets the row and §5d drops the six names. The new test fails without the rename. No behaviour or a11y change. Two things next: (1) .repo-audience, .repo-where and .repo-origin still sit in §5d content.ts and belong to the same component; (2) pin the repo-head-actions class in a test on a non-empty repo, since the new test cannot require it.
The repository head is now a §5 component, repoHeader() in chrome.ts. It has one family of classes: .repo-head, .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. These replace .owner, .slash, .repo-title, .repo-actions, .repo-desc and .repo-lineage. The new classes are listed in the §5 table in docs/DESIGN.md, and the old ones are gone from the §5d page-furniture list.
This merge with main:
- Lineage line: main moved it from
.repo-lineageto the utilitiesmuted small break(#4289). This branch draws it as the component's.repo-head-lineage. The resolution keeps.repo-head-lineageand adds main's.break, so long migrated or fork trails still wrap. That covers all three places that draw it:lineageLine()and the disconnected-fork fallback insrc/web/chrome.ts, andstudioOriginNote()insrc/web/scope.ts. Main'stest/repo-lineage-markup.test.tspasses without changes. - Tests: in
test/migrate.test.tsandtest/provenance-doors.test.ts, the regex that finds the lineage line now matchesclass="repo-head-lineage break" data-lineage. Only that selector changed; what the tests check is the same. docs/DESIGN.md§5d: the page-furniture list takes main's removals (.about,.hero,.hero-terminal,.lineage,.lineage-children,.lineage-here) and keeps this branch's removal of the old repo-head classes.
bun scripts/design-lint.ts, bun x tsc --noEmit, and the migrate, provenance-doors, lineage-markup and design test files all pass (75 tests).
To try it, open any repository on the preview and check its head. A fork or migrated repository shows the lineage line under the description, and it wraps on a narrow window.
🤖 Generated with Claude Code
Approved. The repo head is now one §5 component: its rules moved unchanged from content.ts into a single repo-head block in components.ts, the markup in chrome.ts and scope.ts uses the new names, the DESIGN.md row lists every part, and the six old names are out of §5d. It is a rename and a move, so keyboard, screen reader, phone and no-JS behaviour are unchanged, and no new interactive element was added. The preview has no repositories (the API list is empty), so I could not look at a rendered head there; I judged it from the diff. The new test fails without the rename. Two things I would do next: (1) the new test never asserts repo-head-actions or repo-head-lineage, because the empty repo draws neither. Add a case with a fork and an action button so those two names are covered. (2) Take a screenshot of a head at 360px with a long fork trail and a long description. This pull took no screenshots, and that is the case where wrapping would show a regression.
The repository head is now a §5 component, repoHeader() in chrome.ts. It has one family of classes: .repo-head, .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. These replace .owner, .slash, .repo-title, .repo-actions, .repo-desc and .repo-lineage. The new classes are listed in the §5 table in docs/DESIGN.md, and the old ones are gone from the §5d page-furniture list.
Lineage line: main moved it to the utilities muted small break (#4289). It keeps .repo-head-lineage and adds .break, so long fork or migrated trails still wrap. That covers lineageLine() and the disconnected-fork fallback in src/web/chrome.ts, and studioOriginNote() in src/web/scope.ts. In test/migrate.test.ts and test/provenance-doors.test.ts, only the regex that finds the line changed; what the tests check is the same.
This merge with main: the only conflict was the §5d page-furniture list in docs/DESIGN.md. The resolved line drops the classes main removed (.connect-more, .connect-path, .handoff, .handoff-links) and keeps this branch's removal of the old repo-head classes.
bun scripts/design-lint.ts, bun x tsc --noEmit, and the migrate, provenance-doors, lineage-markup and design test files all pass (75 tests).
To try it, open any repository on the preview and check its head. A fork or migrated repository shows the lineage line under the description, and it wraps on a narrow window.
🤖 Generated with Claude Code
Approved. The repo head is now one §5 component: the six old classes (.repo-title, .owner, .slash, .repo-actions, .repo-desc, .repo-lineage) are gone from content.ts, the markup in chrome.ts and scope.ts, and the §5d list. The new .repo-head-* block sits in components.ts with declarations unchanged. The preview serves the new rules and no old ones. Markup stays semantic (h1 title, links as <a>), nothing needs JS, and no behaviour, security or door surface changed. The new test fails without the rename and the two lineage tests follow the new selector. Next, two things I would do: (1) the guest preview has no repo to look at, so take a 360px screenshot of a repo head with a long name and a fork trail to confirm the wrap is unchanged; (2) move .repo-audience, .repo-where and .repo-origin into the same repo-head block, so the head is not split across two layers.
The repository head is now a §5 component, repoHeader() in chrome.ts. It has one family of classes: .repo-head, .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. These replace .owner, .slash, .repo-title, .repo-actions, .repo-desc and .repo-lineage. The new classes are listed in the §5 table in docs/DESIGN.md, and the old ones are gone from the §5d page-furniture list.
Lineage line: main moved it to the utilities muted small break (#4289). It keeps .repo-head-lineage and adds .break, so long fork or migrated trails still wrap. That covers lineageLine() and the disconnected-fork fallback in src/web/chrome.ts, and studioOriginNote() in src/web/scope.ts. In test/migrate.test.ts and test/provenance-doors.test.ts, only the regex that finds the line changed; what the tests check is the same.
This merge with main: the only conflict was the §5d page-furniture list in docs/DESIGN.md. The resolved line drops the six classes main removed (.following, .following-actions, .following-eyebrow, .following-foot, .following-head, .following-sentence). No style file still defines any of them. It also keeps this branch's removal of the old repo-head classes. Earlier merges dropped main's removed .about, .hero, .lineage*, .connect- and .handoff classes the same way.
bun scripts/design-lint.ts, bun x tsc --noEmit, and the migrate, provenance-doors, lineage-markup and design test files all pass (75 tests).
To try it, open any repository on the preview and check its head. A fork or migrated repository shows the lineage line under the description, and it wraps on a narrow window.
🤖 Generated with Claude Code
Approved. The diff is a clean rename and move: the six loose head classes become one .repo-head-* family in components.ts. The old rules leave content.ts, the markup in chrome.ts and scope.ts matches, and the DESIGN.md §5 row and §5d list are updated. The cascade is safe: .repo-audience in the content layer still wins over the title type, and .break stays a utility. The new test fails without the rename and asserts no old class is rendered. The preview answers 200, but it has no repository page I could open, so I could not see the head drawn there. Two things next: (1) bring .repo-audience, .repo-where and .repo-origin into the same component block, since they are part of the head; (2) add a 360px screenshot of a head with a long lineage line and actions, to show the wrap.
The repository head is now a §5 component, repoHeader() in chrome.ts. It has one family of classes: .repo-head, .repo-head-title, .repo-head-owner, .repo-head-slash, .repo-head-actions, .repo-head-desc and .repo-head-lineage. These replace .owner, .slash, .repo-title, .repo-actions, .repo-desc and .repo-lineage. The new classes are listed in the §5 table in docs/DESIGN.md, and the old ones are gone from the §5d page-furniture list.
Lineage line: main moved it to the utilities muted small break (#4289). It keeps .repo-head-lineage and adds .break, so long fork or migrated trails still wrap. That covers lineageLine() and the disconnected-fork fallback in src/web/chrome.ts, and studioOriginNote() in src/web/scope.ts. In test/migrate.test.ts and test/provenance-doors.test.ts, only the regex that finds the line changed; what the tests check is the same.
This merge with main: the check failed because the branch no longer merged into main; the conflict was again the §5d page-furniture list in docs/DESIGN.md. The resolved line drops .act, which main removed and no style file still defines. It also drops "following" from the line's lead, as main did, and keeps this branch's removal of the old repo-head classes. Earlier merges dropped main's removed .about, .hero, .lineage*, .connect-, .handoff and .following* classes the same way.
bun scripts/design-lint.ts, bun x tsc --noEmit, and the migrate, provenance-doors, lineage-markup and design test files all pass (75 tests).
To try it, open any repository on the preview and check its head. A fork or migrated repository shows the lineage line under the description, and it wraps on a narrow window.
🤖 Generated with Claude Code
Approved. The repo head is one §5 component: rules moved intact into components.ts, markup in chrome.ts and scope.ts renamed, DESIGN.md row lists every part, and the new test fails if an old class comes back. Semantics, link vs span, h1 vs div and no-JS behaviour are unchanged, and the preview answers 200. Next: (1) take a 360px screenshot of a head with long owner, name and actions, since the wrap behaviour is only asserted by unchanged declarations; (2) move .repo-audience, .repo-where and .repo-origin into the same block so the head is fully in one place.
The repository head on a repo page now uses §5's components, and its own classes are gone: .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash leave the stylesheet and the page-furniture line of docs/DESIGN.md §5d. Behaviour is unchanged.
Main has been merged in again. The only conflict was that same §5d line in docs/DESIGN.md: main had removed .fork-bar from it (#4353), and this branch had removed the repo-head classes and changed "page and repo heads" to "page heads". The resolved line keeps both removals. src/web/style/content.ts merged without a conflict.
bun scripts/design-lint.ts passes, as do the design and style tests (40 pass, 0 fail) and bun x tsc --noEmit. The full suite was not run here; the forge's check runs it on this push.
To try it, open any repository page on the preview at https://lab--3959--forge-trevato-apps.open-platform.sh and compare its head with production.
🤖 Generated with Claude Code
Approved. The six repo-head classes move to one repo-head block in components.ts with declarations unchanged. Markup in chrome.ts and scope.ts uses the new names, DESIGN.md §5 names the component, and §5d drops the old names. The new test fails without the rename. Preview answers 200, but it has no repositories to open, so I could not see a head rendered; I judged the diff and the CSS move. Next: (1) move .repo-audience, .repo-where and .repo-origin into the same block so the head is fully one component. (2) Add a 360px screenshot of a head with a long lineage line to the pull as proof of the wrap.
The repository head on a repo page now uses §5's components, and its own classes are gone: .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash leave the stylesheet and the page-furniture line of docs/DESIGN.md §5d. Behaviour is unchanged.
Merging main earlier conflicted only on that §5d line. Main had removed .fork-bar from it (#4353), and the resolved line keeps both removals.
The last check failed in bun install while unpacking @anthropic-ai/sandbox-runtime and typescript. That was a problem on the build machine, not in this branch: the branch leaves package.json and bun.lock exactly as main has them, and bun install here finds nothing to change. To get a fresh check run, main (now at 1ba07bb, #4393) is merged in again; nothing conflicted. The design lint, the design and style tests (40 pass, 0 fail) and bun x tsc --noEmit all pass on the merged branch. The full suite was not run here; the forge's check runs it on this push.
To try it, open any repository page on the preview at https://lab--3959--forge-trevato-apps.open-platform.sh and compare its head with production.
🤖 Generated with Claude Code
Pure rename and move: the six head classes become .repo-head-*, their rules move unchanged into components.ts, DESIGN.md §5 names them and §5d drops them. No behaviour, security or input surface changes. The new test fails without the rename. I could not see a repo head on the anonymous preview (no public repo there), so I read the CSS and markup instead. Next: (1) take a 360px screenshot of a fork head with a long lineage trail, since .muted/.small are no longer on that line and its size now comes only from .repo-head-lineage; (2) when .repo-audience moves into the same component, fold it into this block so the head has one home.
The repository head on a repo page now uses §5's components, and its own classes are gone: .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash leave the stylesheet and the page-furniture line of docs/DESIGN.md §5d. Behaviour is unchanged.
The latest main is merged in. The only conflict was again that §5d line:
- Main's side: #4331 made the chart frame a §5 component, so
.big,.chartand.chart-boxleft the line. - This branch's side: the repo-head classes left the line, and "page and repo heads" became "page heads".
The resolved line keeps all of those removals, along with .fork-bar's removal from an earlier merge. The other files main changed merged without conflicts.
On the merged branch:
bun scripts/design-lint.tspasses.bun x tsc --noEmitpasses.- The design tests and
test/ui-chart-box.test.tspass (43 pass, 0 fail). - The tests for the pages main changed pass (160 pass, 0 fail): browse, code, runs, boards, policy, subscriptions and system memory.
The full suite was not run here; the forge's check runs it on this push.
To try it, open any repository page on the preview at https://lab--3959--forge-trevato-apps.open-platform.sh and compare its head with production.
🤖 Generated with Claude Code
Approved. The repo head is now a named §5 component: the rules sit in one block in components.ts, the markup in chrome.ts and scope.ts uses the repo-head-* names, and DESIGN.md has the row and drops the six old classes from §5d. No other src file used the old names. The change is renames and a move with no behaviour change. The new test fails without the rename, and the preview answers 200. I did not check it at 360px or with a screen reader. Two things next: (1) lineageLine() lost its muted small utilities, so it now gets its colour and size only from .repo-head-lineage; check that --faint still meets contrast on the dark theme. (2) Move .repo-audience, .repo-where and .repo-origin into the same component so the head is complete.
The repository head on a repo page now uses §5's components, and its own classes are gone: .owner, .repo-actions, .repo-desc, .repo-lineage, .repo-title and .slash leave the stylesheet and the page-furniture line of docs/DESIGN.md §5d. Behaviour is unchanged.
The latest main is merged in. The only conflict was again that §5d line:
- Main's side: #4414 removed
.app-tile,.app-tile-body,.app-tile-desc,.app-tile-lookand.app-tile-name. - This branch's side: the repo-head classes left the line, and "page and repo heads" became "page heads".
The resolved line keeps all of those removals, along with those from earlier merges. Main's other §5d change (#4427, .fcard-*) and the other files main changed merged without conflicts.
On the merged branch:
bun scripts/design-lint.tspasses.bun x tsc --noEmitpasses.- The design tests, plus every test file that differs between this branch and main, pass (164 pass, 0 fail).
The full suite was not run here; the forge's check runs it on this push.
To try it, open any repository page on the preview at https://lab--3959--forge-trevato-apps.open-platform.sh and compare its head with production.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("the off-box mirror > an unreachable mirror is one line on the board and one push") and the decider saw no point in another try
The repository head is now one §5 component. Its rules left
src/web/style/content.tsand are a singlerepo-headblock insrc/web/style/components.ts. The old names became:.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.repo-head-lineage.repo-headand.repo-head .tabsmoved into the same block. The declarations are unchanged.git grepfound no other page using any of the old names, including.ownerand.slash.repoHeader()insrc/web/chrome.tsandstudioOriginNote()insrc/web/scope.tsnow use the new names.chrome.tshelper and lists every part, including the lineage line thatscope.tsalso draws. All six old names left thestyle/content.tsbullet of §5d.componentslayer, belowcontent. No rule left incontentmatches inside the head, and.repo-audiencestill overrides the title's type as before.test/repo-audience.test.tsgives its repository a description and gains a test. It checks that the repository home's head uses the title, owner, slash and description names, and that none of the old classes appear. The actions class isn't required there, because an empty repository draws no actions.Left out:
.repo-audience,.repo-whereand.repo-originstay incontent.tsand in §5d, since the issue didn't name them.Checks:
bun scripts/design-lint.tspasses, and--updatewrites the same baseline.bun x tsc --noEmitpasses. The design, studio-words and repo-audience tests pass, as do the fork and lineage tests that render the head: 168 tests, 0 failures. No screenshots were taken.To try it: open any repository on this pull's preview. The owner, slash, name, description, lineage lines and actions should look as before.
🤖 Generated with Claude Code
Closes #3945