outcomeEach keyed rule shows the examples that exercise it, or that none does
spec:consumers.spec-studio.verification-panels.rule-coveragePacks: pack:self-hosting-v1, pack:spec-studio-v1
Design: no design entries · no pinned declarations · no decisions
Findings: no errors, no warnings
specs/consumers/spec-studio.verification-panels.rule-coverage.sdp.md
No open questions and no blocking questions; implementation binding none, verifier binding present, and expected-outcome oracle none.
Given
a Spec whose keyed rule {exercisedKey: "paid"} an enabled example exercises and whose keyed rule {otherKey: "refunded"} no example exercisesWhen
the build renders the Spec's page
Then
beside the first rule the panel lists the example as {enabledWords: "enabled"}
beside the second rule the panel reads {unexercised: "no example exercises it"}Composing needs the script.
Intent
- Execute rule coverage on a Spec page: an exercised rule lists its example in words, and an unexercised rule says so.
assumptions- The world writes a root with one behavior Spec holding the rules keyed
paidandrefundedand one example child that verifies it, exercisingpaid, bound by aspecTestanchor; it builds the page set and reads the Spec page beside each keyed rule.
- The world writes a root with one behavior Spec holding the rules keyed
Behavior
Examples
Given a Spec whose keyed rule {exercisedKey: "paid"} an enabled example exercises and whose keyed rule {otherKey: "refunded"} no example exercises
When the build renders the Spec's page
Then beside the first rule the panel lists the example as {enabledWords: "enabled"}
Then beside the second rule the panel reads {unexercised: "no example exercises it"}Verification
Verifier bindings
- test:protocol.studio-rule-coverage · anchored · test anchor binding present ·
test/studio-s2.test.ts:220External run evidence from
test/studio-s2.test.tsTest anchors:
test:protocol.studio-cited-declaration,test:protocol.studio-panels,test:protocol.studio-rule-coverage. Specs verified by those bindings: spec:consumers.spec-studio.pack-page.maturity-map, spec:consumers.spec-studio.spec-page, spec:consumers.spec-studio.spec-page.cited-declaration, spec:consumers.spec-studio.verification-panels, spec:consumers.spec-studio.verification-panels.rule-coverage.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
Name Suite Result Duration marks every displayed file and line across the Studio page set for source links not recorded passed 191.23 ms renders citation labels consistently on Spec and declaration pages not recorded passed 84.44 ms executes the bound example against a fresh world A pinned declaration shows the test line that cites it (spec:consumers.spec-studio.spec-page.cited-declaration) passed 9.52 ms executes the bound example against a fresh world Each keyed rule shows the examples that exercise it, or that none does (spec:consumers.spec-studio.verification-panels.rule-coverage) passed 14.24 ms renders the five open panels in order, the space, bound values, absent evidence, and empty composing slots Spec panels passed 9.37 ms gives keyed terms address ids, source lines, and citations while hiding termKeys metadata Spec panels passed 6.44 ms places resolved Pack members in stated/floor cells in authored order Spec panels passed 26.08 ms keeps the maturity heading and axis explanations inside the embeddable element Spec panels passed 24.34 ms distinguishes test lines from citations by files with unrelated anchors Spec panels passed 27.53 ms renders composing slots beside unkeyed questions using the Spec scope Spec panels passed 12.6 ms keeps the unbound-verifier sentence to graph bindings without run input Spec panels passed 16.48 ms renders source locations, component links, decisions and transitive impact by distance Structural panels and targets passed 42.86 ms states absence on unwritten examples and unset constraint targets Structural panels and targets passed 20.73 ms labels a keyed rule's unbound example as not enabled Structural panels and targets passed 16.54 ms renders structure from recipe answers and reader records without exposing raw graph data Structural panels and targets passed 18.79 ms renders verifying examples for a Model without Behavior and keeps short cards to their summary not recorded passed 10.89 ms keeps example steps and composing actions outside a short Spec card not recorded passed 17.12 ms keeps trace and requirement description and arrow ids distinct for one Spec subject not recorded passed 11.12 ms
Design view
Requirement drawing
- Satisfying or referencing units: no recorded binding.
The diagram as text
- spec:consumers.spec-studio.verification-panels.rule-coverage: Each keyed rule shows the examples that exercise it, or that none does · declared Spec
- spec:consumers.spec-studio.verification-panels: The panels for examples, targets, verifiers and evidence · declared Spec
- test:protocol.studio-rule-coverage: test:protocol.studio-rule-coverage · anchored test binding · binding present ·
test/studio-s2.test.ts:220 - spec:consumers.spec-studio.verification-panels.rule-coverage refines spec:consumers.spec-studio.verification-panels · declared
- spec:consumers.spec-studio.verification-panels.rule-coverage verifies spec:consumers.spec-studio.verification-panels · declared
- test:protocol.studio-rule-coverage verifies spec:consumers.spec-studio.verification-panels.rule-coverage · 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
- E2: verifies · declared
The diagram as text
- spec:consumers.spec-studio.verification-panels: The panels for examples, targets, verifiers and evidence
- spec:consumers.spec-studio.verification-panels.rule-coverage: Each keyed rule shows the examples that exercise it, or that none does
- spec:consumers.spec-studio.verification-panels.rule-coverage refines spec:consumers.spec-studio.verification-panels · declared
- spec:consumers.spec-studio.verification-panels.rule-coverage verifies spec:consumers.spec-studio.verification-panels · 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
- refines · spec:consumers.spec-studio.verification-panels · stated ready, floor ready
Rested on by
No Spec rests on this Spec.
Relations
| Relation and direction | Other end | Claim | Reason | Exercised keys |
|---|---|---|---|---|
| refines · outgoing | The panels for examples, targets, verifiers and evidencespec:consumers.spec-studio.verification-panels · resolves | declared | None | None |
| verifies · outgoing | The panels for examples, targets, verifiers and evidencespec:consumers.spec-studio.verification-panels · resolves | declared | None | ruleCoverage |
Bindings
Implementation binding: none
Design reference: none
Verifier binding: present
- test:protocol.studio-rule-coverage · anchored ·
test/studio-s2.test.ts:220· 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.