outcomeA page the build's invalidation never saw still does not survive the swap
spec:consumers.wholesale-view-rewrite.late-stale-pagePacks: pack:self-hosting-v1
Design: no design entries · no pinned declarations · no decisions
Findings: no errors, no warnings
specs/consumers/wholesale-view-rewrite.late-stale-page.sdp.md
No open questions and no blocking questions; implementation binding none, verifier binding present, and expected-outcome oracle none.
Given
an extraction root holding {corpus: "one authored spec"} and a stale view page {stalePage: "spec/probe.departed.md"}
the stale page is planted {planted: "after the build has invalidated the view"}When
the {command: "view"} command runs at that rootThen
the run exits {exitCode: 0}
the view directory survives: {viewSurvives: true}
the view holds the current page {currentPage: "index.md"}
the stale page survives: {staleSurvives: false}
a temporary view sibling survives: {temporarySurvives: false}Composing needs the script.
Intent
- Execute the swap against a page the up-front invalidation cannot have removed, so the rename into place is what evicts it.
Behavior
Examples
Given an extraction root holding {corpus: "one authored spec"} and a stale view page {stalePage: "spec/probe.departed.md"}
Given the stale page is planted {planted: "after the build has invalidated the view"}
When the {command: "view"} command runs at that root
Then the run exits {exitCode: 0}
Then the view directory survives: {viewSurvives: true}
Then the view holds the current page {currentPage: "index.md"}
Then the stale page survives: {staleSurvives: false}
Then a temporary view sibling survives: {temporarySurvives: false}Verification
Verifier bindings
- test:protocol.wholesale-view-rewrite.late-stale-page · the late-page point verifies that the swap itself evicts what invalidation missed · anchored · test anchor binding present ·
test/self-hosting-projections.test.ts:996External run evidence from
test/self-hosting-projections.test.tsTest 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 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 executes the bound example against a fresh world The view is the graph read twice, and the corpus is untouched by reading it (spec:consumers.design-review.pure-projection) passed 101.88 ms executes the bound example against a fresh world An overstated rung raises the banner and names the clause that refused (spec:consumers.derived-readiness-banner.dishonest-divergence) passed 2.27 ms executes the bound example against a fresh world A rung the structure overshoots renders as information, not as a banner (spec:consumers.derived-readiness-banner.honest-headroom) passed 1.1 ms renders a Spec whose idea floor is unmet with no rung and a below-idea banner not recorded passed 0.71 ms executes the bound example against a fresh world A fully bound Spec renders binding language on the page and in the index (spec:consumers.binding-language-views.bound-spec-page) passed 1.66 ms executes the bound example against a fresh world The Pack member table speaks the page's binding language, not a shorthand (spec:consumers.binding-language-views.pack-member-table) passed 1.74 ms executes the bound example against a fresh world A page from an earlier run does not survive the next one (spec:consumers.wholesale-view-rewrite.stale-page-removed) passed 10.06 ms executes the bound example against a fresh world A page the build's invalidation never saw still does not survive the swap (spec:consumers.wholesale-view-rewrite.late-stale-page) passed 3.7 ms executes the bound example against a fresh world A run that cannot produce a current view leaves no view at all (spec:consumers.wholesale-view-rewrite.failed-run-view-removed) passed 2.69 ms executes the bound example against a fresh world A build that never renders still takes the old view down (spec:consumers.wholesale-view-rewrite.build-invalidates-view) passed 2.62 ms executes the bound example against a fresh world One finding, three location shapes, one composition rule (spec:validation.diagnostic-rendering.composed-location) passed 0.73 ms executes the bound example against a fresh world The same three location shapes, rendered as table cells (spec:validation.diagnostic-rendering.table-cell-location) passed 0.57 ms
Design view
Requirement drawing
- Satisfying or referencing units: no recorded binding.
The diagram as text
- spec:consumers.wholesale-view-rewrite.late-stale-page: A page the build's invalidation never saw still does not survive the swap · declared Spec
- spec:consumers.wholesale-view-rewrite: Every view run rewrites the view wholesale · declared Spec
- test:protocol.wholesale-view-rewrite.late-stale-page: the late-page point verifies that the swap itself evicts what invalidation missed · anchored test binding · binding present ·
test/self-hosting-projections.test.ts:996 - spec:consumers.wholesale-view-rewrite.late-stale-page refines spec:consumers.wholesale-view-rewrite · declared
- spec:consumers.wholesale-view-rewrite.late-stale-page verifies spec:consumers.wholesale-view-rewrite · declared
- test:protocol.wholesale-view-rewrite.late-stale-page verifies spec:consumers.wholesale-view-rewrite.late-stale-page · 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.wholesale-view-rewrite: Every view run rewrites the view wholesale
- spec:consumers.wholesale-view-rewrite.late-stale-page: A page the build's invalidation never saw still does not survive the swap
- spec:consumers.wholesale-view-rewrite.late-stale-page refines spec:consumers.wholesale-view-rewrite · declared
- spec:consumers.wholesale-view-rewrite.late-stale-page verifies spec:consumers.wholesale-view-rewrite · 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.wholesale-view-rewrite · 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 | Every view run rewrites the view wholesalespec:consumers.wholesale-view-rewrite · resolves | declared | None | None |
| verifies · outgoing | Every view run rewrites the view wholesalespec:consumers.wholesale-view-rewrite · resolves | declared | None | None |
Bindings
Implementation binding: none
Design reference: none
Verifier binding: present
- test:protocol.wholesale-view-rewrite.late-stale-page · the late-page point verifies that the swap itself evicts what invalidation missed · anchored ·
test/self-hosting-projections.test.ts:996· 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.