Repository navigation
Done
Labels
ready-for-agentFully specified, ready for an AFK agent
Description
Parent
What to build
A system-map.json in the main checkout shows at once, uncommitted, as the user's own agent wrote it. The map reads (1) the default branch, (2) else the checkout file, (3) else a pending map in the data folder (written by a later ticket). A checkout map that fails check is drawn with its problems; an unreadable one shows the empty screen with its reason; a folder that is no git repository says so and offers nothing. #753, "Reading the map" and "Projects" (the non-git guard).
Acceptance criteria
-
read_mapreads the three sources in that order;MapStategainsfrom(default-branch,checkout,pending-pr); the default branch keeps today's guarded fetch, the other two need none. - The readable/unreadable boundary stays today's (
convert+parse_lenient): readable is drawn whateverchecksays; unreadable shows the empty screen with its reason. - For a
checkoutmap only, the server runssystem_map::checkon the working tree, and its problems show as a banner over the map: the count, the first three, a way to copy them all. The default branch's map gets none. - The map's head shows
fromin#map-ref's place: "Map not committed yet" forcheckout; "Map waiting on PR #N" and "Map not in the repo" forpending-pr(the PR state comes from ticket 11; here the pending file's own fields). - A project whose folder has no git root shows "not a git repository: no map" and offers no scan, prompt or run.
- A Rust table test over a temporary repository: default only; checkout only; pending only; default beside a checkout file (default wins); an unreadable checkout file; a readable checkout file failing
check; a non-git folder. Each assertsstatus,fromand the banner. - Snap fixtures: the banner, "Map not committed yet", and the non-git guard;
docs/studio/behaviour/map.mdgains the read order.
Reading
- Studio map: First map — plotkeeper drafts a repository's first map (Onboarding of #474) #753: the spec, "Reading the map".
server/src/map.rs:25-45,143-188:Status,MapStateand today's read.- Spec Studio: Spec: the system map view — fog, live agents, broken laws, history, and seen #306, "Single commit of truth": why the default branch wins.
local-evidence/2026-11-27-onboarding-grilling/``reports/research-local-first.md: every reader of the map and which ones need it at a commit.local-evidence/2026-11-27-onboarding-grilling/``reports/decisions.md: every round's decisions and the facts checked (Daniel's machine only).
Touches
- Files:
server/src/map.rs,ui/types.ts,ui/map.ts,ui/style.css,scripts/snap/fixtures-map.ts,docs/studio/behaviour/map.md - Session: auto mode
- Route: strong · effort high — a wire type (
MapState.from) and a new map source the page and eight readers trust
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified, ready for an AFK agent
Activity
Studio map: the map reads from the default branch, else the checkout,…
Studio map: Accept opens a draft PR, follows it, and recovers when it…
Studio map: First map — plotkeeper drafts a repository's first map (#753
danielrispler commentedon Nov 28, 2026
Resolved in PR #776 (squash e6034bf on main), spec #753. Built on the integration branch as 124fc12: the map reads from the default branch, else the checkout, else a pending PR.
Route outcome: strong·high claude/opus → pass | 15m