Spec Studio

Recipe 49 and the composing panel write one memo for one proposal

spec:consumers.intent-composition.proposal.memo.sharedExample / Scenario · storyready floor ready

Packs: pack:self-hosting-v1, pack:spec-studio-v1

Design: no design entries · no pinned declarations · no decisions

Findings: no errors, no warnings

specs/consumers/intent-composition.proposal.memo.shared.sdp.md

No open questions and no blocking questions; implementation binding none, verifier binding present, and expected-outcome oracle none.

Intent
outcome
Execute the shared memo: the recipe and the panel render the same bytes, the memo carries the document, and a fence outgrows the backticks it holds.
assumptions
  • The world writes a proposal document with a base, a reason and the stated number of changes, the first scoped to one entry address with exact text that holds the stated run of backticks, and the second declaring a relation; it runs recipe 49's shipped body with the document as proposal, calls the composing panel's memo function on the same document, compares the two strings, parses the last fenced block's content as JSON and compares it with the document, and measures the fence around the first change's text.
Behavior

Examples

Given a change proposal with {changes: 2} changes, one whose exact text holds a run of {ticks: 3} backticks
When recipe 49 renders its memo and the composing panel renders its memo
Then the two memos are byte-identical: {identical: true}
Then the memo ends with the proposal as JSON in a fenced block: {carriesDocument: true}
Then the fence around that exact text is {fence: 4} backticks long
Verification

Verifier bindings

  • test:protocol.studio-memo-shared · anchored · test anchor binding present · test/studio-s5.test.ts:272

    External run evidence from test/studio-s5.test.ts

    Test anchors: test:protocol.studio-export-contained, test:protocol.studio-intent-handoff, test:protocol.studio-intents-refresh, test:protocol.studio-memo-shared, test:protocol.studio-watch-plain. Specs verified by those bindings: spec:consumers.edit-model, spec:consumers.intent-composition, spec:consumers.intent-composition.proposal.memo, spec:consumers.intent-composition.proposal.memo.shared, spec:consumers.spec-studio.components, spec:consumers.spec-studio.export, spec:consumers.spec-studio.export.self-contained, spec:consumers.spec-studio.intent-panel, spec:consumers.spec-studio.intent-panel.refresh-keeps-intents, spec:consumers.spec-studio.publisher.watch, spec:consumers.spec-studio.publisher.watch.matches-plain-run, spec:consumers.spec-studio.responsive.

    Run 1: external run evidence from vitest 4.1.10

    Build: CI 380 · Branch: feature/roadmap-and-slices-v0 · Commit: 34909918bf0be0e849959644401797191cae379f · Start: 2026-10-22T17:40:31.456Z · Stop: 2026-10-22T17:42:16.171Z

    NameSuiteResultDuration
    executes the bound example against a fresh worldRefreshing a tab keeps every gathered intent (spec:consumers.spec-studio.intent-panel.refresh-keeps-intents)passed10.32 ms
    executes the bound example against a fresh worldRecipe 49 and the composing panel write one memo for one proposal (spec:consumers.intent-composition.proposal.memo.shared)passed4.64 ms
    executes the bound example against a fresh worldA Pack's export opens alone and keeps its links inside it (spec:consumers.spec-studio.export.self-contained)passed63.72 ms
    executes the bound example against a fresh worldEach watch cycle writes the page set a plain run writes (spec:consumers.spec-studio.publisher.watch.matches-plain-run)passed133.79 ms
    keeps unsupported intents apart and expands Pack members only against the stamped basenot recordedpassed2.36 ms
    returns the same schema problems as recipe 38 and renders in any corpusnot recordedpassed8.22 ms
    composes locally without changing source or requesting a network servicenot recordedpassed1.63 ms
    keeps the last local intents when storage refuses writesnot recordedpassed0.28 ms
    keeps unsaved local intents when storage remains readable but its quota refuses writesnot recordedpassed0.34 ms
    rewrites SVG and accessibility references without changing subject attributes or authored textnot recordedpassed3.98 ms
    opens disclosures for print and restores exactly their prior statenot recordedpassed1.63 ms
    leaves Mermaid source closed for print unless the reader opened itnot recordedpassed1.13 ms
    stops the actual Studio watch process with exit zero on SIGINTnot recordedpassed492.7 ms
    removes a failed watch publication, keeps watching and recovers on the next carrier editnot recordedpassed38.33 ms
    ships a phone layout and a print stylesheet for the whole canvasnot recordedpassed14.52 ms
    keeps exports graph-only when the browsing pages receive a base and run recordsnot recordedpassed25.05 ms
    starts no cycle for source or input-file eventsnot recordedpassed26.7 ms
    merges concurrent panels before gathering or discarding and flags rejected storage recordsnot recordedpassed0.51 ms
    refreshes the browser panel on storage and pageshow and removes those listeners on disconnectnot recordedpassed1.55 ms
    prefills compose with the authored entry text including code spans and no rendered annotationsnot recordedpassed13.61 ms
    omits blank exact text and reports whitespace requests in the compose dialognot recordedpassed2.32 ms
    uses the stamp base, labels fields, orders actions and copies and saves the named documentsnot recordedpassed4.06 ms
    copies distinct actions and recorded scopes for both Pack choices without a stampnot recordedpassed3.09 ms
    keeps Pack framing changes apart and gathers scenario editor steps verbatimnot recordedpassed2.64 ms
    matches the literal memo for the shared proposal, including the full relation and documentnot recordedpassed0.82 ms
    keeps the last watch pages when an optional base becomes unreadable, just like a plain runnot recordedpassed1014.27 ms
    inlines the selected stylesheet asset in exports and publishes those same style bytesnot recordedpassed22.14 ms
    introduces studio before its watch option and gives recipe 49 a use casenot recordedpassed1.43 ms
    renders edit scenario steps outside inert templates without scriptnot recordedpassed1.08 ms
    renders propose scenario steps outside inert templates without scriptnot recordedpassed0.75 ms
    writes both memo reasons as code spans: "<details>Review the design.</details>", "`Keep` the ``literal`` reason`"not recordedpassed0.71 ms
    writes both memo reasons as code spans: "`Review` the ``design`` reason`", "<details>Keep the change.</details>"not recordedpassed0.44 ms
    fences requests so their Markdown cannot alter the memo: "Fix a typo.\n<!--"not recordedpassed0.96 ms
    fences requests so their Markdown cannot alter the memo: "Use this text.\n```\n## Forged heading\n``````\n<!--hidden-->"not recordedpassed0.81 ms
    contains phone navigation, stamp and wide tables within the viewportnot recordedpassed12.93 ms
    keeps the maturity caption readable and empty cells compact on a phonenot recordedpassed25.57 ms
    aligns maturity cell counts with the empty cell dashesnot recordedpassed14.09 ms
    keeps table headers and one-word cells intact while allowing word-boundary wrappingnot recordedpassed18.22 ms
    keeps natural desktop diagram size and fits only on phonesnot recordedpassed10.27 ms
    hides phone scroll advice and closed source in print while keeping opened source printablenot recordedpassed13.92 ms
Design view

Requirement drawing

  • Satisfying or referencing units: no recorded binding.
Requirement drawing for spec:consumers.intent-composition.proposal.memo.shared
The diagram as text
  • spec:consumers.intent-composition.proposal.memo.shared: Recipe 49 and the composing panel write one memo for one proposal · declared Spec
  • spec:consumers.intent-composition.proposal.memo: Recipe 49 renders a change proposal as the Markdown memo a person reviews · declared Spec
  • test:protocol.studio-memo-shared: test:protocol.studio-memo-shared · anchored test binding · binding present · test/studio-s5.test.ts:272
  • spec:consumers.intent-composition.proposal.memo.shared refines spec:consumers.intent-composition.proposal.memo · declared
  • spec:consumers.intent-composition.proposal.memo.shared verifies spec:consumers.intent-composition.proposal.memo · declared
  • test:protocol.studio-memo-shared verifies spec:consumers.intent-composition.proposal.memo.shared · anchored
Mermaid source

Copyable source; the Studio draws static SVG.

Preferred and chosen syntax: requirementDiagram; exact refines, satisfies and verifies, with claim words in nodes and per-edge comments.

Decisions

No decision record named.

Runtime

No implementation neighborhood recorded.

Runtime observation: not tracked.

Evidence

Runtime observation: not tracked.

Build attestations: not tracked.

Deployments: not tracked.

Bills of materials: not tracked.

Impact
Relations of spec:consumers.intent-composition.proposal.memo.shared
  • E2: verifies · declared
The diagram as text
  • spec:consumers.intent-composition.proposal.memo: Recipe 49 renders a change proposal as the Markdown memo a person reviews
  • spec:consumers.intent-composition.proposal.memo.shared: Recipe 49 and the composing panel write one memo for one proposal
  • spec:consumers.intent-composition.proposal.memo.shared refines spec:consumers.intent-composition.proposal.memo · declared
  • spec:consumers.intent-composition.proposal.memo.shared verifies spec:consumers.intent-composition.proposal.memo · declared
Mermaid source

Copyable source; the Studio draws static SVG.

Preferred syntax: flowchart. Chosen syntax: labelled flowchart, preserving exact relations, claims and folds.

Rests on

Rested on by

No Spec rests on this Spec.

Relations

Relation and directionOther endClaimReasonExercised keys
refines · outgoingRecipe 49 renders a change proposal as the Markdown memo a person reviews
spec:consumers.intent-composition.proposal.memo · resolves
declaredNoneNone
verifies · outgoingRecipe 49 renders a change proposal as the Markdown memo a person reviews
spec:consumers.intent-composition.proposal.memo · resolves
declaredNonememo

Bindings

Implementation binding: none

Design reference: none

Verifier binding: present

  • test:protocol.studio-memo-shared · anchored · test/studio-s5.test.ts:272 · test anchor

Expected-outcome oracle: none

Runtime observation: not tracked.

Run results: not recorded in the graph.

Findings

None.

Composing (0)

Composing needs the script.