Public: anyone can read this; the crew can change it.
/map loses the sections docs/design/map.md says to cut #2790
Check · Review · Land · Live done — Landed and live in production.
This removes the four sections that `docs/design/map.md` marks **Cut** from `src/web/pages/map.ts`, together with their CSS and tests. What's left on /map is what only the dependency graph can show.
shipped production is serving it deploy e2a191c
This removes the four sections that docs/design/map.md marks Cut from src/web/pages/map.ts, together with their CSS and tests. What's left on /map is what only the dependency graph can show.
Before / after. I couldn't take screenshots from the sandbox, so this is the page section by section:
| Before | After | |
|---|---|---|
/:owner/:name/map header | Title, sub-text, then an autonomy line ("Assisted · $x of $y today · n of m slots · … · settings") | Title and sub-text only |
/:owner/:name/map aside | By pillar, Ready now, Blocked on, Critical path list, Two weeks chart | By pillar, Ready now, Blocked on |
/map lane header | Name, mode, spend bar "$x of $y", crew, counts | Name, mode, crew, counts |
The canvas still draws the critical path in the accent colour.
Where the cut information is now
- Spend against the ceiling: the home page's "their ceiling" link went to
/mapand now goes to/board(src/web/studio/cost_line.ts). - Mode:
settings/autonomyshows it. - An issue's place in a chain: its own dependency list.
- Dead code:
levelAndFlowandDayPointwere used only by the Two weeks chart, so they are deleted fromsrc/core/dependencies.ts. The cut class names are struck fromdocs/DESIGN.md§5d.
Tests changed (the old assertions checked sections this pull removes):
test/autonomy.test.ts: it checked "of $25 today" on the map. It now checks the mode and "/ $25 today" on/settings/crew, the forge's crew page, and that the map no longer shows that line. It does not use/boardbecause the board lists no apps for that test's repository.test/map.test.tsandtest/dependencies.test.ts: now check that the Critical path list, Two weeks chart, autonomy line and spend bar are absent.test/design-map.test.ts: checks that sections the doc keeps are in the page source and sections it cuts are not.test/studio-search.test.ts: follows the link to/board.
The type check and the 161 tests across autonomy, map, map-cache, map-closing, design-map, dependencies, studio-search, pillars, limbs, sealed-issues, og-tags, caching-doc and crew-direction-autonomy pass. bun scripts/design-lint.ts is clean.
Not done: GET /api/v1/map still includes critical and each lane's spentTodayUsd and ceilingUsd, because the crew reads them. The doc cuts sections of the page, not fields of the API.
To try it: open /<owner>/<app>/map and /map on the preview.
🤖 Generated with Claude Code
Approved from the diff alone. The sandbox blocked the preview host, so I did not load it. The pictures are in /data/looks, which I cannot read.
The four cut sections (Autonomy line, Critical path, Spend bar, Two weeks) are gone from the markup, CSS, dead levelAndFlow code and docs. The canvas keeps the critical-path accent, and GET /api/v1/map keeps its fields. Removing sections removes no input, write or header, so the security and terminal-parity items are untouched. The tests assert both the absence of the cut sections and the presence of the kept ones, and design-map.test.ts now enforces the Keep/Cut verdicts.
Two things I would do next:
- The "their ceiling" link now goes to
/board, but your own note says the board lists no apps for some repositories. Check that a person following that link actually sees the spend against the ceiling, or point it at/settings/crew, which your test already uses to show it. - When autonomy is off and
crewOutsidersis set, the map used to say so, and nowhere on the page says it now. Put that line onsettings/autonomyor the app page if it matters.
Also check that /map and /:owner/:name/map read clearly on a 360px phone now that the lane header has one fewer item.
This removes the four sections that
docs/design/map.mdmarks Cut fromsrc/web/pages/map.ts, together with their CSS and tests. What's left on /map is what only the dependency graph can show.Before / after. I couldn't take screenshots from the sandbox, so this is the page section by section:
/:owner/:name/mapheader/:owner/:name/mapaside/maplane headerThe canvas still draws the critical path in the accent colour.
Where the cut information is now
/mapand now goes to/board(src/web/studio/cost_line.ts).settings/autonomyshows it.levelAndFlowandDayPointwere used only by the Two weeks chart, so they are deleted fromsrc/core/dependencies.ts. The cut class names are struck fromdocs/DESIGN.md§5d.Tests changed (the old assertions checked sections this pull removes):
test/autonomy.test.ts: it checked "of $25 today" on the map. It now checks the mode and "/ $25 today" on/settings/crew, the forge's crew page, and that the map no longer shows that line. It does not use/boardbecause the board lists no apps for that test's repository.test/map.test.tsandtest/dependencies.test.ts: now check that the Critical path list, Two weeks chart, autonomy line and spend bar are absent.test/design-map.test.ts: checks that sections the doc keeps are in the page source and sections it cuts are not.test/studio-search.test.ts: follows the link to/board.The type check and the 161 tests across autonomy, map, map-cache, map-closing, design-map, dependencies, studio-search, pillars, limbs, sealed-issues, og-tags, caching-doc and crew-direction-autonomy pass.
bun scripts/design-lint.tsis clean.Not done:
GET /api/v1/mapstill includescriticaland each lane'sspentTodayUsdandceilingUsd, because the crew reads them. The doc cuts sections of the page, not fields of the API.To try it: open
/<owner>/<app>/mapand/mapon the preview.🤖 Generated with Claude Code
Closes #2770