Skip to content

Studio: Map & README Roadmap #474

Backlog
1 of 1 issue completed
Backlog

Description

@danielrispler

Tracks the map and README work from the grilling of 2026-11-24, so the order and the locked decisions live here and not only on Daniel's machine. The full record, with each round's facts and reasons, is local-evidence/2026-11-24-map-readme-brainstorm/reports/decisions.md; the trial on two outside repositories is trial/README.md beside it.

Sequence

Keeping this current: when a ticket or spec on this roadmap merges, the session that merged it ticks its box here and updates the status line, in the same sitting. Blockers are GitHub's blocked-by links; this list only mirrors them.

Status, 2026-11-28: First map (spec #753) merged in PR #776. A real run on observability-sdk drafted 7 parts in 59 s for $0.58, and the accepted map passed its check (local-evidence/2026-11-28-first-map-real-run/). Follow-up #790 (one Ignore for a loose parent folder) merged in PR #798. Step 5 (zones) is specced as #834 (ready-for-agent); the C/C++ reader is specced as #806 (ready-for-agent).

Locked decisions

The map's shape (Step 2)

  • A part has a purpose of at most two sentences and a list of named items it holds, each one sentence. The check enforces the limits, and its message says where the detail goes. The sheet derives "Talks to" from the links, and Ratify shows each changed text. (Round 1 Q2)
  • Server splits three ways by import evidence: Install, Server (serving and state), Map, briefs and runs. (Round 1 Q1)
  • The imports report lists hubs apart and tests a proposed split (inside and across counts, raw and hub-weighted, mutual imports). It never clusters automatically. (R2-Q1)
  • Declared and computed links are compared, and a mismatch fails both ways where a reader exists. A link carries a kind (import, http, spawn, file). A link no reader can see takes a run-time kind with a reason. Today's three undeclared edges are real dependencies and get declared, with no baseline. A computed edge needs an import link in its direction; a run-time link beside it doesn't cover it. Import links run from the dependent part and are checked that way; run-time links keep the data arrow, unchecked. An import link with an unread end passes as unproven. The map draws one line per pair. Text is capped by characters (purpose 240, held text and reason 140), not sentences. rust-modules reads inline paths and workspace crates, and the split is confirmed with system-map imports before it is final. (R2-Q3, and Studio: Spec: a readable map — part purpose and holds, Server in three, imports report, link check #473)

The live link (Step 3)

  • A session's footprint (its trail) and the story-to-map highlight come first, and the talking chip last. (Round 1 Q3)
  • Each part touched by marked sessions (Running, Needs you, or Unseen) shows one count badge, accented when any of them needs you; it has no shape per state. Pressing it lists those sessions with their full name, state and line. Only the spotlit session (hovered, else open) shows its chip, its line on its home part and its footprint, with the other badges dimmed. There is no colour per session. (Round 1 Q3, changed in Round 3 of the Step 3 grilling; spec Studio: Spec: the live link — footprint, story to map, session badges (Step 3 of #474) #549, "Retired")
  • Footprints cover the last 7 days only in v1, since turns' files are re-diffed only for that window. (R2-Q5)
  • The Live lens is not decided; decide after the footprint ships. (R2-Q4)

PRs and the map (Step 4)

  • The PR's own agent updates the map inside the PR, forced by the check. (R2-Q9)
  • The PR brief shows one merged before/after picture on the canvas, compared against the merge base and joined by map ids. It is absent when nothing on the map changed. (R2-Q8)
  • The diff uses brightness, shape and dashes first, on a real PR prototype. A hue is added only if it fails the glance test. (trial answers)
  • A reviewer of changed map text, with read access to the code, is shown in Ratify and never blocks. (R2-Q10, trial answers)

Onboarding (after Step 4)

Revised by the grilling of 2026-11-27 (spec #753): v1 drafts names, captions and purposes plus the computed links, with a purposes-only reviewer; depth (holds, link reasons, laws) is a later spec. Tiers are no longer asked before drafting (reverses "tiers asked, not guessed" below): every part starts Interface and tiers are set on the review screen or the map. Accept writes system-map.json into the checkout or opens a draft PR, and the map shows at once. The bullets below are the 2026-11-24 record.

  • Code drafts the grouping (folders and build manifests, lean, no folding engine). The model names and describes, and Daniel accepts. (R2-Q7)
  • The lean rule needs four additions, from the trial:
    • step into the folder that holds most of the code;
    • read the workspace manifest and Go main packages;
    • give loose files and tests a home;
    • ask about reference copies.
  • Two speeds, as directed on 2026-11-24:
    • An instant deterministic scan draws the skeleton and asks 2-3 questions (reference folders, a home for tests and loose files, rough parts; tiers asked, not guessed).
    • Parallel scoped agents (cap 4) then fill the top layer: names and purposes.
    • Depth (holds, links across parts, laws) fills Core parts first, in the background, and other parts on demand. Each fill arrives as a Ratify item.
  • Each drafted claim cites the files it rests on, and the reviewer checks the citations. Line-level citations stay in the draft. The map keeps only holds[].paths.
  • Background runs drive the agents and show progress on the map. The deterministic scan and the imports report stay a generic CLI; system-map is not in the npm package yet.

Zoom and README (Steps 5 and 6)

  • Revised 2026-11-28 (spec Studio map: zones, a part group that opens in place (Step 5 of #474) #834): Step 5 is zones. A zone is a named group of parts (the map stays flat parts), closed by default, opened in place by its corner button; lines roll up to zones; held items stay the sheet's list (reverses "named items with paths" below). The bullet below is the 2026-11-24 record.
  • Step 5 is nested zoom, no longer "zoom or lens": the chery trial showed a multi-app repository needs two levels. Zoom is hybrid: named items with paths, lines computed where imports exist, run-time links at the border, and groups without lines where no reader exists. (R2-Q2, trial answers)
  • The README keeps the hero still and adds one short looping GIF of a brief and 1-2 stills, after the map work ships. (Round 1 Q4)

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions