You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio map: decide when First map drafts depth (holds, link reasons, laws) #935
#474 (closing). Carried out of its "Locked decisions", "Onboarding (after Step 4)": "v1 drafts names, captions and purposes plus the computed links, with a purposes-only reviewer; depth (holds, link reasons, laws) is a later spec."
What to build
Nothing yet: a decision on whether and when to plan it. First map (spec #753, PR #776) drafts a repository's first map without held items, link reasons, laws or flows. Spec #753's "Out of Scope" says: "That depth is a later spec; it adds to an accepted map and never redrafts it (Q5)." The 2026-11-24 record in #474 sketched how it could work: Core parts first, in the background, other parts on demand, each fill arriving as a Ratify item. Decide whether this goes on the roadmap now, and if so take it to $grilling.
Acceptance criteria
Daniel decides now, later or never, and the decision is a resolution comment here
On now, a grilling issue is linked from that comment
Depth is where the drafting model makes its mistakes. All 6 errors in the chery re-run were in depth: 4 held items and 2 link reasons. None were in the 30 purposes and captions. A depth fill needs a citation-checking reviewer, not v1's purposes-only one, which means more cost and more design.
No one has used an accepted First map long enough yet to show which layer is missed most.
If it comes back as "now": consider a narrow first spec covering laws only. A drafted map ships with laws: [] (server/src/map_draft.rs:1565-1571), and laws are what Back a law works from. Holds and link reasons would come after.
Already-implemented check: not built. The First map writer prompt says "Don't write held items, links or laws" (server/src/map_draft.rs:1848).
Update (2026-12-02): Daniel reopened this for planning only. It gets grilled and spec'd now, and building still waits on the return trigger above (#936 closes or 2027-01-15).
Settled so far: the first depth spec drafts laws only (held items and run-time links come later). Laws are drafted right after a First map's Accept, plus a "Draft laws" button on a part's sheet. A fill reaches a committed map as a draft PR, and a checkout-only map through review in the part sheet.
Code citations in the 2026-11-30 comment have moved: laws: [] is now server/src/map_draft.rs:1762-1768, and the prompt line is map_draft.rs:2045.
Daniel grilled this now (planning only). The decisions are below; the full record is in local-evidence/2026-12-02-first-map-depth/reports/decisions.md (Daniel's machine only).
Q2: laws only. Held items and run-time links are later specs. "Link reasons" in Studio: Map & README Roadmap #474 meant new http/spawn/file links, now called run-time links.
Q3: drafted automatically right after a First map's Accept, on every part (pressing Draft the map is the opt-in, and its button says so), plus a "Draft laws" button on a part's sheet. Nothing else starts on its own.
Q4, Q8, Q15: one fill, one route. A committed map gets one draft PR per fill, with Ratify items and Map text review. A checkout-only map gets the Law draft panel (Keep, Edit, Drop, Keep all; Q11, Q12), checked first by First map's reviewer. A map still waiting in its draft PR gets its laws once that PR merges.
Q5, Q6, Q10: 0–3 laws per part and 0–1 per import link, zero allowed, each citing the code that makes it true. Every tier, Black box included (Q21).
Q7: drafted laws arrive on trust and never start Back a law.
Q14: Draft laws on a part with laws only adds.
Q19: a trial picks the cheapest model with at most 1 false law in 10, judged by hand.
Q22: First map's copy-prompt for users without Claude asks for laws by the same rules.
Q13: Draft the map shows its cost, which Run cost provides.
New terms for docs/studio/CONTEXT.md: Run-time link, Law draft (in the Law draft spec's PR) and Run cost (in #1056).
The Law draft spec is published: #1057, blocked by #936 (this issue's return trigger) and #1056 (Run cost). Its building starts no earlier than this issue's return (#936 closes or 2027-01-15).
Activity
danielrispler commentedon Nov 30, 2026
Decision: later, on a fixed return
Daniel decided later (2026-11-30). This issue stays open so the decision can't quietly become never.
It comes back when either of these happens first:
At that point the choice is again now or never. Not later again without a new date.
Why it can wait without cost:
server/src/back_a_law.rs:194-203), and map edits in PRs go through Ratify.If it comes back as "now": consider a narrow first spec covering laws only. A drafted map ships with
laws: [](server/src/map_draft.rs:1565-1571), and laws are what Back a law works from. Holds and link reasons would come after.Already-implemented check: not built. The First map writer prompt says "Don't write held items, links or laws" (
server/src/map_draft.rs:1848).danielrispler commentedon Dec 2, 2026
Update (2026-12-02): Daniel reopened this for planning only. It gets grilled and spec'd now, and building still waits on the return trigger above (#936 closes or 2027-01-15).
Settled so far: the first depth spec drafts laws only (held items and run-time links come later). Laws are drafted right after a First map's Accept, plus a "Draft laws" button on a part's sheet. A fill reaches a committed map as a draft PR, and a checkout-only map through review in the part sheet.
Code citations in the 2026-11-30 comment have moved:
laws: []is nowserver/src/map_draft.rs:1762-1768, and the prompt line ismap_draft.rs:2045.danielrispler commentedon Dec 2, 2026
Resolution of the 2026-12-02 grilling
Daniel grilled this now (planning only). The decisions are below; the full record is in
local-evidence/2026-12-02-first-map-depth/reports/decisions.md(Daniel's machine only).Two specs come out of it:
Law draft decisions:
http/spawn/filelinks, now called run-time links.New terms for
docs/studio/CONTEXT.md: Run-time link, Law draft (in the Law draft spec's PR) and Run cost (in #1056).danielrispler commentedon Dec 2, 2026
The Law draft spec is published: #1057, blocked by #936 (this issue's return trigger) and #1056 (Run cost). Its building starts no earlier than this issue's return (#936 closes or 2027-01-15).