Spec Studio

One finding, three location shapes, one composition rule

spec:validation.diagnostic-rendering.composed-locationExample / Scenario · storyready floor ready

Packs: pack:self-hosting-v1

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

Findings: no errors, no warnings

specs/validation/diagnostic-rendering.composed-location.sdp.md

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

Intent
outcome
Execute the composition and both degradations on one finding, so the rule is read as one law rather than three renderings.
Behavior

Examples

Given a finding naming the validator {validatorId: "honesty/readiness-floor"} at severity {severity: "error"} carrying the message {message: "The stated rung is not earned."}
When the {renderer: "command-line"} renderer formats that finding once per location shape
Then the finding carrying the file {file: "specs/probe.sdp.md"} and the line {line: 7} renders {withLocation: "specs/probe.sdp.md:7 — [error] honesty/readiness-floor — The stated rung is not earned."}
Then the same finding carrying the file alone renders {fileOnly: "specs/probe.sdp.md — [error] honesty/readiness-floor — The stated rung is not earned."}
Then the same finding carrying neither renders {bare: "[error] honesty/readiness-floor — The stated rung is not earned."}
Verification

Verifier bindings

  • test:protocol.diagnostic-rendering.composed-location · the composed-location point verifies the one rendering rule and both degradations · anchored · test anchor binding present · test/self-hosting-projections.test.ts:1277

    External run evidence from test/self-hosting-projections.test.ts

    Test anchors: test:protocol.binding-language-views.bound-spec-page, test:protocol.binding-language-views.pack-member-table, test:protocol.derived-readiness-banner.dishonest-divergence, test:protocol.derived-readiness-banner.honest-headroom, test:protocol.derived-readiness-banner.idea-floor-unmet, test:protocol.design-review.pure-projection, test:protocol.diagnostic-rendering.composed-location, test:protocol.diagnostic-rendering.table-cell-location, test:protocol.wholesale-view-rewrite.build-invalidates-view, test:protocol.wholesale-view-rewrite.failed-run-view-removed, test:protocol.wholesale-view-rewrite.late-stale-page, test:protocol.wholesale-view-rewrite.stale-page-removed. Specs verified by those bindings: spec:consumers.binding-language-views, spec:consumers.binding-language-views.bound-spec-page, spec:consumers.binding-language-views.pack-member-table, spec:consumers.derived-readiness-banner, spec:consumers.derived-readiness-banner.dishonest-divergence, spec:consumers.derived-readiness-banner.honest-headroom, spec:consumers.design-review, spec:consumers.design-review.pure-projection, spec:consumers.wholesale-view-rewrite, spec:consumers.wholesale-view-rewrite.build-invalidates-view, spec:consumers.wholesale-view-rewrite.failed-run-view-removed, spec:consumers.wholesale-view-rewrite.late-stale-page, spec:consumers.wholesale-view-rewrite.stale-page-removed, spec:validation.diagnostic-rendering, spec:validation.diagnostic-rendering.composed-location, spec:validation.diagnostic-rendering.table-cell-location.

    Run 1: external run evidence from vitest 4.1.10

    Build: CI 391 · Branch: cursor/media-plan-and-articles-09b1 · Commit: 076cd4f1f85640d8236e5cca1bffffa68ab79a33 · Start: 2026-10-31T15:32:20.471Z · Stop: 2026-10-31T15:34:02.073Z

    NameSuiteResultDuration
    executes the bound example against a fresh worldThe view is the graph read twice, and the corpus is untouched by reading it (spec:consumers.design-review.pure-projection)passed99.39 ms
    executes the bound example against a fresh worldAn overstated rung raises the banner and names the clause that refused (spec:consumers.derived-readiness-banner.dishonest-divergence)passed2.14 ms
    executes the bound example against a fresh worldA rung the structure overshoots renders as information, not as a banner (spec:consumers.derived-readiness-banner.honest-headroom)passed1.17 ms
    renders a Spec whose idea floor is unmet with no rung and a below-idea bannernot recordedpassed0.85 ms
    executes the bound example against a fresh worldA fully bound Spec renders binding language on the page and in the index (spec:consumers.binding-language-views.bound-spec-page)passed1.85 ms
    executes the bound example against a fresh worldThe Pack member table speaks the page's binding language, not a shorthand (spec:consumers.binding-language-views.pack-member-table)passed1.91 ms
    executes the bound example against a fresh worldA page from an earlier run does not survive the next one (spec:consumers.wholesale-view-rewrite.stale-page-removed)passed7.25 ms
    executes the bound example against a fresh worldA page the build's invalidation never saw still does not survive the swap (spec:consumers.wholesale-view-rewrite.late-stale-page)passed4.19 ms
    executes the bound example against a fresh worldA run that cannot produce a current view leaves no view at all (spec:consumers.wholesale-view-rewrite.failed-run-view-removed)passed2.63 ms
    executes the bound example against a fresh worldA build that never renders still takes the old view down (spec:consumers.wholesale-view-rewrite.build-invalidates-view)passed2.79 ms
    executes the bound example against a fresh worldOne finding, three location shapes, one composition rule (spec:validation.diagnostic-rendering.composed-location)passed0.65 ms
    executes the bound example against a fresh worldThe same three location shapes, rendered as table cells (spec:validation.diagnostic-rendering.table-cell-location)passed0.43 ms
Design view

Requirement drawing

  • Satisfying or referencing units: no recorded binding.
Requirement drawing for spec:validation.diagnostic-rendering.composed-location
The diagram as text
  • spec:validation.diagnostic-rendering.composed-location: One finding, three location shapes, one composition rule · declared Spec
  • spec:validation.diagnostic-rendering: One diagnostic currency, its location composed from structured fields · declared Spec
  • test:protocol.diagnostic-rendering.composed-location: the composed-location point verifies the one rendering rule and both degradations · anchored test binding · binding present · test/self-hosting-projections.test.ts:1277
  • spec:validation.diagnostic-rendering.composed-location refines spec:validation.diagnostic-rendering · declared
  • spec:validation.diagnostic-rendering.composed-location verifies spec:validation.diagnostic-rendering · declared
  • test:protocol.diagnostic-rendering.composed-location verifies spec:validation.diagnostic-rendering.composed-location · 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:validation.diagnostic-rendering.composed-location
  • E2: verifies · declared
The diagram as text
  • spec:validation.diagnostic-rendering: One diagnostic currency, its location composed from structured fields
  • spec:validation.diagnostic-rendering.composed-location: One finding, three location shapes, one composition rule
  • spec:validation.diagnostic-rendering.composed-location refines spec:validation.diagnostic-rendering · declared
  • spec:validation.diagnostic-rendering.composed-location verifies spec:validation.diagnostic-rendering · 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 · outgoingOne diagnostic currency, its location composed from structured fields
spec:validation.diagnostic-rendering · resolves
declaredNoneNone
verifies · outgoingOne diagnostic currency, its location composed from structured fields
spec:validation.diagnostic-rendering · resolves
declaredNoneNone

Bindings

Implementation binding: none

Design reference: none

Verifier binding: present

  • test:protocol.diagnostic-rendering.composed-location · the composed-location point verifies the one rendering rule and both degradations · anchored · test/self-hosting-projections.test.ts:1277 · 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.