outcomeA test in a file with no test anchor is reported as unjoined
spec:observation.run-evidence.unanchored-file-unjoinedPacks: pack:self-hosting-v1, pack:spec-studio-v1
Design: no design entries · no pinned declarations · no decisions
Findings: no errors, no warnings
specs/observation/run-evidence.unanchored-file-unjoined.sdp.md
No open questions and no blocking questions; implementation binding none, verifier binding present, and expected-outcome oracle none.
Given
a CTRF report whose test {testName: "counts the rows"} names the file {filePath: "test/other.test.ts"} and reports the result {status: "failed"}
the graph holds a test anchor in the file {anchorFile: "test/page.test.ts"} that verifies {specId: "spec:probe.page"}When
recipe 45 reads the report
Then
the test joins the file {joinedFile: ""}
the test is unjoined for the reason {reason: "noTestAnchor"}
the delivery facts of the verified Spec are unchanged: {factsUnchanged: true}Composing needs the script.
Intent
- Execute the unjoined report for a record whose file holds no test anchor.
assumptions- The world writes a root with one Spec and one test file holding a
specTestanchor that verifies it, and a CTRF report whose one test names another file; it runs recipe 45's shipped body and reads the joined files and the unjoined rows, and compares the Spec's delivery facts before and after.
- The world writes a root with one Spec and one test file holding a
Behavior
Examples
Given a CTRF report whose test {testName: "counts the rows"} names the file {filePath: "test/other.test.ts"} and reports the result {status: "failed"}
Given the graph holds a test anchor in the file {anchorFile: "test/page.test.ts"} that verifies {specId: "spec:probe.page"}
When recipe 45 reads the report
Then the test joins the file {joinedFile: ""}
Then the test is unjoined for the reason {reason: "noTestAnchor"}
Then the delivery facts of the verified Spec are unchanged: {factsUnchanged: true}Verification
Verifier bindings
- test:protocol.run-unjoined · anchored · test anchor binding present ·
test/studio-s4.test.ts:353External run evidence from
test/studio-s4.test.tsTest anchors:
test:protocol.run-absolute,test:protocol.run-external,test:protocol.run-unjoined,test:protocol.studio-graph-only,test:protocol.studio-inputs-both-given,test:protocol.studio-stamp-apart. Specs verified by those bindings: spec:consumers.spec-studio.data.inputs, spec:consumers.spec-studio.data.inputs.both-given, spec:consumers.spec-studio.data.inputs.graph-only, spec:consumers.spec-studio.runs-page, spec:consumers.spec-studio.runs-page.external-evidence, spec:consumers.spec-studio.sharing, spec:consumers.spec-studio.sharing.stamp-written-apart, spec:observation.run-evidence, spec:observation.run-evidence.absolute-path-joins, spec:observation.run-evidence.unanchored-file-unjoined.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 recipe 45 joins normalized paths, preserves records and graph facts, and diagnoses other inputs not recorded passed 40.92 ms renders external run evidence with result rows, metadata, diagnostics and conditional navigation not recorded passed 67.13 ms reads repeated --runs before extraction and leaves input bytes untouched not recorded passed 77.06 ms stamps apart, touches no page, refuses bad sources and removes the stamp on rebuild not recorded passed 32.06 ms executes the bound example against a fresh world A test whose reporter wrote an absolute path joins its anchored file (spec:observation.run-evidence.absolute-path-joins) passed 3.95 ms executes the bound example against a fresh world A test in a file with no test anchor is reported as unjoined (spec:observation.run-evidence.unanchored-file-unjoined) passed 8.41 ms executes the bound example against a fresh world The runs page shows a run as external evidence from a test file (spec:consumers.spec-studio.runs-page.external-evidence) passed 12.66 ms executes the bound example against a fresh world Without inputs the page set is the graph's alone (spec:consumers.spec-studio.data.inputs.graph-only) passed 34.33 ms executes the bound example against a fresh world Both inputs add their pages, named, and the same inputs write the same bytes (spec:consumers.spec-studio.data.inputs.both-given) passed 96.39 ms executes the bound example against a fresh world The stamp is written beside the page set, and a later build removes it (spec:consumers.spec-studio.sharing.stamp-written-apart) passed 39.65 ms the stamp links source locations only after an HTTP stamp loads, encoding path segments not recorded passed 7.34 ms recipe 45 picks the longest suffix and scopes through enabled examples at file grain not recorded passed 11.36 ms ships a reusable preview, disabled by default, and deploys its own pull requests with runs and diff not recorded passed 14.97 ms the tests lens counts file results once per Spec and names every run input not recorded passed 27.49 ms the Pack sentence keeps the graph's binding limit and positively names external evidence not recorded passed 16.99 ms run metadata labels build and branch, and absent fields read not recorded not recorded passed 0.47 ms unjoined records escape outside names and explain both reason codes in words not recorded passed 11.52 ms run files show the file alone, bindings and Suite, with one header per run not recorded passed 15.6 ms recipe 45 does not join a suffix inside a path segment not recorded passed 3.52 ms stamp defaults to unknown and a stamped page set passes check-clean not recorded passed 53.15 ms every reusable preview job's permissions fit the CI caller's grant not recorded passed 15.05 ms PR checks and preview stamps name the same default merge checkout not recorded passed 8 ms preview download is optional and cancelled or skipped checks do not call it not recorded passed 5.14 ms deploy checks the enabled Pages source before writing: gh-pages not recorded passed 19.63 ms deploy checks the enabled Pages source before writing: main not recorded passed 30.39 ms deploy checks the enabled Pages source before writing: disabled not recorded passed 17.67 ms deploy succeeds only once Pages publishes the pushed commit: an unrelated errored build is newest not recorded passed 140.26 ms deploy succeeds only once Pages publishes the pushed commit: a retried build follows an errored one not recorded passed 28.04 ms deploy succeeds only once Pages publishes the pushed commit: the build errors not recorded passed 54.7 ms deploy succeeds only once Pages publishes the pushed commit: the commit is never built not recorded passed 180.31 ms deploy succeeds only once Pages publishes the pushed commit: the answer arrives after the wait not recorded passed 1540.7 ms preview still stamps and uploads rendered pages when evidence is absent and validation fails not recorded passed 59.93 ms places external file rows under their verifier and renders shared files once not recorded passed 35.82 ms accepts the preview workflow's base and run flags together not recorded passed 18.01 ms formats external run durations to at most two decimals on every page not recorded passed 10.89 ms
Design view
Requirement drawing
- Satisfying or referencing units: no recorded binding.
The diagram as text
- spec:observation.run-evidence.unanchored-file-unjoined: A test in a file with no test anchor is reported as unjoined · declared Spec
- spec:observation.run-evidence: CI run records are joined to verifiers in a view · declared Spec
- test:protocol.run-unjoined: test:protocol.run-unjoined · anchored test binding · binding present ·
test/studio-s4.test.ts:353 - spec:observation.run-evidence.unanchored-file-unjoined refines spec:observation.run-evidence · declared
- spec:observation.run-evidence.unanchored-file-unjoined verifies spec:observation.run-evidence · declared
- test:protocol.run-unjoined verifies spec:observation.run-evidence.unanchored-file-unjoined · 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:observation.run-evidence: CI run records are joined to verifiers in a view
- spec:observation.run-evidence.unanchored-file-unjoined: A test in a file with no test anchor is reported as unjoined
- spec:observation.run-evidence.unanchored-file-unjoined refines spec:observation.run-evidence · declared
- spec:observation.run-evidence.unanchored-file-unjoined verifies spec:observation.run-evidence · 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:observation.run-evidence · 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 | CI run records are joined to verifiers in a viewspec:observation.run-evidence · resolves | declared | None | None |
| verifies · outgoing | CI run records are joined to verifiers in a viewspec:observation.run-evidence · resolves | declared | None | graphUntouched, unjoinedReported |
Bindings
Implementation binding: none
Design reference: none
Verifier binding: present
- test:protocol.run-unjoined · anchored ·
test/studio-s4.test.ts:353· 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.