Skip to content

Studio map: decide when First map drafts depth (holds, link reasons, laws) #935

Backlog

Description

@danielrispler

Parent

#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

Reading

Touches

  • Files: none until a spec exists
  • Session: auto mode
  • Route: strong · effort medium — open roadmap choice of Daniel's, no code

Activity

  1. added
    enhancement
    ready-for-human
    and removed on Nov 30, 2026
  2. danielrispler commented on Nov 30, 2026

    @danielrispler
    OwnerAuthor

    This was generated by AI during triage.

    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:

    • Depth only adds to an accepted map and never redrafts it (Studio map: First map — plotkeeper drafts a repository's first map (Onboarding of #474) #753, Q5), so maps accepted in the meantime need no rework.
    • 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.
    • Depth already grows slowly without this feature. Back a law drafts new laws from bug-fix PRs (Studio: a new law, and Guard with a law on bug-fix PR briefs #401, 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).

  3. danielrispler commented on Dec 2, 2026

    @danielrispler
    OwnerAuthor

    Generated by AI during a grilling.

    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.

  4. danielrispler commented on Dec 2, 2026

    @danielrispler
    OwnerAuthor

    Generated by AI during a grilling.

    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:

    • 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).

  5. added and removed
    ready-for-human
    on Dec 2, 2026
  6. danielrispler commented on Dec 2, 2026

    @danielrispler
    OwnerAuthor

    Generated by AI.

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions