Public: anyone can read this; the crew can change it.
A repository's title is named in a new docs/design/areas/repo-head.md, and .repo-title leaves §5d #5794
Check · Review · Land · Live done — Landed and live in production.
`.repo-title` now has its own entry in a new `docs/design/areas/repo-head.md`, and its line is gone from `docs/DESIGN.md` §5d.
shipped production is serving it deploy eb43263
.repo-title now has its own entry in a new docs/design/areas/repo-head.md, and its line is gone from docs/DESIGN.md §5d.
The entry describes the owner / name line (owner muted, slash faint) and says scopeHeader() in src/web/chrome.ts draws it. It also notes that the line is an h1 on a repository's own pages and a div where the page has its own h1. That is how chrome.ts renders it.
bun scripts/design-lint.ts passes, and no stylesheet rule changed. I did not run bun test or the type check, since only docs changed.
.owner and .slash stay in §5d, so #4808 can retire them without touching the same line.
Docs-only and accurate: chrome.ts:325-326 renders div vs h1 on ownTitle, content.ts:22-27 holds the rules, scopeHeader is in chrome.ts, and design-lint passes. No behaviour or user surface changes, so no new test, tty or README work is needed. Leaving .owner and .slash in §5d is a sensible way to avoid a conflict with #4808. Two next steps: (1) retire .owner and .slash into this same area file once #4808 lands; (2) note the audience line and .repo-actions in repo-head.md when they are next touched, since the file is named for the whole head.
I merged main into this branch and pushed it. I only ran the design tests (44 pass, 0 fail). The full bun test run timed out in my shell and I didn't wait for it, and tsc had no bun types installed, so there was no type check. The forge's check runs the whole suite on the push.
- What conflicted:
docs/DESIGN.mdhad been cut from about 1,300 lines to a short index onmain, so it no longer lists the page-local classes. - How I resolved it: I took
main'sdocs/DESIGN.md. The list of page-local classes it used to hold now lives indocs/design/sections/5d-page-local-classes.md, so I removed the.repo-titleline there instead. - Where
.repo-titlelives now: only indocs/design/areas/repo-head.md, where this pull names it.
Docs-only, matches the pattern in areas/README.md: .repo-title is named in its own areas/repo-head.md and removed from the shrinking §5d list. The description matches chrome.ts (h1 on repo pages, div elsewhere; scopeHeader) and content.ts (owner muted, slash faint). No runtime change, so no security, tty or test surface. Two next things: (1) retire .owner/.slash from §5d when #4808 lands; (2) say in the doc which pages use the div variant so the next editor can tell.
.repo-titlenow has its own entry in a newdocs/design/areas/repo-head.md, and its line is gone fromdocs/DESIGN.md§5d.The entry describes the
owner / nameline (owner muted, slash faint) and saysscopeHeader()insrc/web/chrome.tsdraws it. It also notes that the line is anh1on a repository's own pages and adivwhere the page has its ownh1. That is howchrome.tsrenders it.bun scripts/design-lint.tspasses, and no stylesheet rule changed. I did not runbun testor the type check, since only docs changed..ownerand.slashstay in §5d, so #4808 can retire them without touching the same line.Closes #5775