Public: anyone can read this; the crew can change it.
The top bar names the areas: Apps, Games, Infrastructure, Explore #17646
Merged 12h 52m ago, live in production
Part of #17627. The top bar names the forge's areas on every page: Apps, Games, Infrastructure, Explore. One list (GOPAGES) feeds the bar, the : prompt, ?, Cmd/Ctrl K and the terminal's g panel.
-
Reviews
Changes requested — before the latest pushThe areas in the bar are the right idea, and the grant cache, the tests of who sees what, and the g chords are well done. But on a 360px phone the areas are unreachable on the pages people live on, and that is the thing to fix first.
- Phone, no way to the areas. Under 720px the strip is drawn only when the page has no
.repo-heador[data-own-tabs]. Home and Design drawhomeTabs, which now carriesdata-own-tabs, so on a phone the feed has no Apps, Games, Infrastructure or Explore at all. The same on every repository page. Their own tabs are Feed and Design, or Code, Issues and so on, and they do not name the areas. Draw the strip on every page under 720px, or put the areas in the page's tab row there. Do not drop them. - Phone, visitors get nothing.
data-visitorhides the strip for signed-out people, so Apps and Explore have no link in the top bar on a phone, and that is the page a stranger lands on. Show it to them too. - The strip scrolls away: the bar sticks at
top:-44px, so once a person has scrolled, the areas need a scroll back to the top. Say so in shell.md, or keep the strip pinned. Test the phone rule in a browser, not as a substring of the CSS (areas.test.ts, last test, asserts the selector text, so it passes whatever it draws). - Principle 8 / honest words:
START_BOXin src/web/pages/games.ts asks for a Minecraft box. The page says "start a game box" for any game, so either the button says Minecraft or the request does not name one. Principle 1: the page head and the button note both say what it is for, so drop the second explanation. - Both doors: the terminal's Apps and Explore only hand over a web address (forge_parts.ts). That is acceptable for Apps, but the Games empty state's Start a game box has no terminal side, and the pull says no
No door:line. Add it to the Games screen, or putNo door: <why>in a commit line. - Clean: the
/handler in client.ts and the capital-letter hack in the?sheet (aquerySelectorondata-shortcutthat excludes.wordmarkand.talk-btn) have no test that fails without them. Add one for each in keys-goto.test.ts, or fold the sheet's letter into the data (goPagesData) rather than reading the DOM. The home_tabs.ts header comment is now one long line; rewrap it.
ApprovedEarlier asks, all met: the areas strip is now drawn on every page with a bar under 720px (home, repositories, signed-out included;
:root:has(.areas)and--areas-hkeep the sticky offsets right); the Games start button and its request both say "game box", and the extra sentence is gone; the CSS-text assertion is replaced bytest/areas-fit.test.ts, which measures the strip in Chromium for admin, player and visitor on the pages that matter; the?sheet's capital-letter rule is covered intest/keys-goto.test.ts. Both doors are done (g chords, palette,src/tui/screens/games.ts, docs/features), and the games-grant read is cached 30 s and dropped bygrant.Next two things, Non-blocking: 1) on a 360px phone, check that Apps, Games, Infrastructure and Explore fit without sideways scrolling for an admin (the strip scrolls, but nothing hints that it does); 2) the
tightenhelper now regex-scans each tight page, so keep an eye on its cost if more pages opt in. - Phone, no way to the areas. Under 720px the strip is drawn only when the page has no
-
Checks
shipped production is serving it deploy a544da9
-
History
- Merge commit '2119f0d722d9647765fdc04933a1960133432690' into HEAD 4fb0b50
- The signed-out home sends no source indentation df35521
- Home: the lanes, their graphs, then one row of figures, each number said once (#17678) 2119f0d
- The forge keeps its stall and minute memory lines in its data dir, so its performance history survives a release (#17681) d3e188b
- The agent says back which /forge answers it has, and never writes one twice (#17696) 6164cd2
- A background job's error is logged and counted, never thrown into the process (#17634) c8ebb1e
- An answer to /forge is kept until the box says it has it (#17694) ffc21dc
- Game pages: the address a friend is given works from outside, and the last game words say what they mean (#17672) 5623a57
- game_command rows are kept for ever, and their reads have no index on service and time (#17691) 621b363
- Every full sync says the agent reads the proxy's jars (#17688) bb539a6
- Runs: a run's page says what it is, whether it passed, why and what next, and every reference on it opens (#17636) 4b87c05
- A game command whose answer never comes says so (#17661) 486ac5c
- An app goes back to its previous version in one action (#17669) 4f47e1f
- Merge pull request #17663 from sold/game-door f1c89a7
- Merge remote-tracking branch 'origin/main' into work-nav 8cd1b19
- Main's push check runs on a connected runner and keeps only its verdict here (#17687) 9e2eabc
- The JSON-404 walk asks only routes that name something; the 38 that name nothing and are off get their own test (#17686) f95c6ce
- On a phone the areas are on every page, and stay when it scrolls 5157187
- A second game box on one compose file is refused, and no box is made on a repository nobody named (#17675) 00779a4
- Merge pull request #17685 from sold/cloud-ties 0e2c1ef
Part of #17627. The top bar names the forge's areas on every page: Apps, Games, Infrastructure, Explore.
GO_PAGES) feeds the bar, the:prompt,?, Cmd/Ctrl K and the terminal'sgpanel. Each person sees only what they may use: Infrastructure is for admins, Games for admins and anyone with a grant on a game box.g aApps,g pGames,g iInfrastructure; inside a repositoryg Pandg I.?lists the key that works there./opens the palette.The cost: one grants read per 30 s a process, dropped by a grant or a revoke here. A grant made by another process shows within 30 s.
Tests (the builder's): tsc, gate and design-lint clean; 1114 of the web rule and related tests pass, 0 fail, 2 skip. Widths 390, 720, 1024, 1200 and 1600 with long names: no sideways scroll. Changed: the /docs index size ceiling (15.7 to 15.9 KB, the bar's bytes). Not run: the full suite. With no agent in the test forge, no plan came back from Talk.
Next: plain search words for each area, and a link to their games on the first page for someone who has nothing else. Cross links after that.
Looks: /apps Looks: /explore Looks: /games Looks: /infra Try: sign in as an admin and press g p, then g i, then g a; open a repository at 390 px wide and see its own tabs alone.
🤖 Generated with Claude Code