Public: anyone can read this; the crew can change it.
The header's Talk link carries ?about= on a repository, issue or pull page the viewer actually sees #10635
Merged 25d 4h ago, live in production
The header's Talk entry (the g t button and the user-menu item) now links to /talk?about=owner/repo on a repository home and /talk?about=owner/repo%23N on an issue or pull page. Every other page, including every 404 and refusal, keeps bare /talk.
-
Reviews
Changes requested — before the latest pushThe change does what the issue asks and the design system is untouched. One thing to fix: the pull page sets
aboutand no test covers it. Delete that line and the whole suite stays green. Add a test in test/talk-page.test.ts that opens a pull as a viewer and expects/talk?about=owner/repo%23Nin the header, next to the issue case. Nothing else blocks. After that I would (1) give the pull sub-pages (files, checks) and the command palette entry the same subject, and (2) make the 404 header fully byte-identical by dropping the asked-path echo in the new-issue link.ApprovedThe pull-page test I asked for is in and covers the
aboutline in change.ts. The Talk link is only set by pages that rendered the subject (repo home, issue, pull), so 404s and refusals keep bare /talk. The preview is up and /explore answers. The earlier commit is not in my clone, so I read the head as shown. Two things I would do next, both non-blocking: (1) Non-blocking: carryabouton the other pull sub-pages (files, checks) and the command palette Talk entry. (2) Non-blocking: make the 404 header byte-identical by not echoing the asked path in the new-issue link. -
Checks
shipped production is serving it deploy f698c54
-
History
- A pull page's header links Talk about that pull, and a test holds it 34edb3a
- Try: open an issue page, then press g t, and Talk opens about that issue ca47c9b
- The header's Talk link carries ?about= on a repository, issue or pull page the viewer sees d079749
- An origin can be connected read-only, and every write-through path refuses it (#10617) 58bbeb7
- A machine shell opens to a greeting, a prompt with the repository and branch, and history that persists (#10611) 0db1115
- Your account lists the machine shells you hold, live and recent, and the sessions MCP tool lists them too (#10609) a6495ed
- A real Rust hello-world app builds with cargo and answers / in a test (#10626) ff1d776
- A build that hits its CPU, memory or time limit says which on the app page in one line (#10608) c6bd5db
- New app copies a template repository's tip (readable by the caller, capped, no symlinks), with a door to name it (#10604) fa86966
- A pack app's source can be a forge repo, and deploying it forks from the forge with lineage (#10607) c084987
- /talk?about= names its subject: one line above the composer, only for what the viewer can read (#10614) 0c5169a
- Disk health rules: a spec catalog and alerts only on what the drive itself reports (#10616) cf39091
- A from-app issue is assigned on arrival, and the flow alarm fires when one waits (#10612) 5fdc942
- An app whose / answers an error is not boot ok (#10613) 74709d4
- Knobs: one panel on the crew page with five plain dials, each showing its live effect, editable in place (#10605) b37e50e
- After every release a cell child cannot wake for ten minutes: the boot opens every hosted child and fills FORGE_CHILD_AWAKE_MAX ("the forge is full") (#10606) 099788e
- Knobs: one panel on the crew page with five plain dials, each showing its live effect, editable in place (#10599) 27a95da
- A crew run's sandbox refuses writes outside its worktree and hosts past the egress allowlist, each a test (#10601) f12e5a5
- The packs' upstreams are read-only forge mirrors under the packs owner, re-synced on a schedule (#10589) 9e162c0
- The page manifest says what you can do here as who you are: /api/v1/here answers differently for a stranger, a member and an admin, and a test pins each (#10596) 6792ab3
The header's Talk entry (the g t button and the user-menu item) now links to /talk?about=owner/repo on a repository home and /talk?about=owner/repo%23N on an issue or pull page. Every other page, including every 404 and refusal, keeps bare /talk.
tsc, scripts/gate.ts, design-lint, test/talk-page.test.ts and test/file-hold-form.test.ts pass, the latter unchanged. I also ran 25 other test files that touch the header or /talk, and they pass too. scripts/fast.ts said the diff was too broad to name tests, so I didn't run the full suite; the forge's check does that on this push. I didn't call keep_plan because that tool isn't available here.
- How it works:
PageOptionsgains an optionalaboutinsrc/web/layout.ts. Only the page that rendered the subject sets it: the repository home (including the empty-repo view) insrc/web/pages/repo.ts, the issue page insrc/web/studio/tell.ts, and the pull page insrc/web/studio/change.ts. Nothing reads the URL path. - Tests: in
test/talk-page.test.ts, an issue page's header links to/talk?about=alice/hdr-pub%23N, and a repository page links to/talk?about=alice/hdr-pub./explorekeeps bare/talk. A 404 under a private repository and one under a missing repository give the same Talk links. - Left alone: the two 404 headers are not byte-identical. The "+" menu's new-issue link echoes the asked path (
/new/issue?from=…), so the test compares only the Talk entries. That echo predates this change. - Not done: the other pull sub-pages (the files view, for one) and the command palette's "Talk to the forge" entry still use bare
/talk. The issue asked only for the repository, issue and pull pages. - Pre-push hook: it demanded a "Try:" commit, so there is an empty commit with that message.
To try it, open any issue as a signed-in user and check the comment icon in the topbar, or press g t. Talk opens "About owner/repo#N: title".
🤖 Generated with Claude Code
I added the missing pull test in test/talk-page.test.ts, and the pull-page about line is now covered. The test opens a pull as a different viewer and expects /talk?about=alice/hdr-pull%23N in the topbar, next to the issue case. I deleted the about line in src/web/studio/change.ts and the new test failed. With the line restored, tsc and all 43 tests in that file pass.
I did not do juniper's two follow-ups, since they said "after that" and the issue didn't ask for either:
- Pull sub-pages and palette: the files and checks views and the command palette's "Talk to the forge" entry still use bare
/talk. - 404 header: the "+" menu's new-issue link still echoes the asked path, so the two 404 headers aren't byte-identical. The test compares only the Talk links.
I can take both as follow-ups if you want them.
🤖 Generated with Claude Code
The header's Talk entry (the
g tbutton and the user-menu item) now links to/talk?about=owner/repoon a repository home and/talk?about=owner/repo%23Non an issue or pull page. Every other page, including every 404 and refusal, keeps bare/talk.tsc,scripts/gate.ts,design-lint,test/talk-page.test.tsandtest/file-hold-form.test.tspass, the latter unchanged. I also ran 25 other test files that touch the header or/talk, and they pass too.scripts/fast.tssaid the diff was too broad to name tests, so I didn't run the full suite; the forge's check does that on this push. I didn't callkeep_planbecause that tool isn't available here.PageOptionsgains an optionalaboutinsrc/web/layout.ts. Only the page that rendered the subject sets it: the repository home (including the empty-repo view) insrc/web/pages/repo.ts, the issue page insrc/web/studio/tell.ts, and the pull page insrc/web/studio/change.ts. Nothing reads the URL path.test/talk-page.test.ts, an issue page's header links to/talk?about=alice/hdr-pub%23N, and a repository page links to/talk?about=alice/hdr-pub./explorekeeps bare/talk. A 404 under a private repository and one under a missing repository give the same Talk links./new/issue?from=…), so the test compares only the Talk entries. That echo predates this change./talk. The issue asked only for the repository, issue and pull pages.To try it, open any issue as a signed-in user and check the comment icon in the topbar, or press
g t. Talk opens "About owner/repo#N: title".🤖 Generated with Claude Code
Closes #10495