outcomeThe shipped dependency-cycles file fails a rules run on a cycle
spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-runPacks: pack:adopter-speed-v1, pack:self-hosting-v1
Design: no design entries · no pinned declarations · no decisions
Findings: no errors, no warnings
specs/consumers/agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run.sdp.md
No open questions and no blocking questions; implementation binding none, verifier binding present, and expected-outcome oracle none.
Given
a probe corpus in which {corpus: "two Specs depend on each other through dependsOn"}
the caller passes the addresses {addresses: "none"}When
the shipped {recipe: "dependency cycles"} file runs {invocation: "as a rules file named by sdp validate --rules"}Then
the command exits {exitCode: 1}
the answer carries {findings: 1} findings with the rule ids {ruleIds: "dependency-cycle"}Composing needs the script.
Intent
- Execute the cycle findings by naming the shipped dependency-cycles file as a rules file over a corpus with one cycle.
assumptions- The world writes a probe corpus of two story-altitude behavior Specs, each stating
ideawith an Intent outcome and each declaringdependsOnon the other, which the Protocol's validators find clean. It runssdp validateon the probe root withdist/recipes/26-dependency-cycles.jsnamed by--rulesand no--params, which the addressesnonenames. The findings are the corpus findings the run prints, and the rule ids are their rule ids joined by a comma and a space.
- The world writes a probe corpus of two story-altitude behavior Specs, each stating
Behavior
Examples
Given a probe corpus in which {corpus: "two Specs depend on each other through dependsOn"}
Given the caller passes the addresses {addresses: "none"}
When the shipped {recipe: "dependency cycles"} file runs {invocation: "as a rules file named by sdp validate --rules"}
Then the command exits {exitCode: 1}
Then the answer carries {findings: 1} findings with the rule ids {ruleIds: "dependency-cycle"}Verification
Verifier bindings
- test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run · anchored · test anchor binding present ·
test/reach-examples.test.ts:430External run evidence from
test/reach-examples.test.tsTest anchors:
test:protocol.consumers.agent-surface.address-and-cycle-recipes.chain-reports-nothing,test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run,test:protocol.consumers.agent-surface.address-and-cycle-recipes.unresolved-address-fails-a-rules-run,test:protocol.consumers.agent-surface.evaluation-sink.exported-evaluator,test:protocol.consumers.agent-surface.evaluation-sink.recipe-call,test:protocol.consumers.agent-surface.evaluation-sink.unknown-recipe,test:protocol.validation.corpus-rules.params-edit-starts-a-cycle,test:protocol.validation.corpus-rules.rules-edit-starts-a-cycle,test:protocol.validation.corpus-rules.unreadable-params-fail-one-file. Specs verified by those bindings: spec:consumers.agent-surface.address-and-cycle-recipes, spec:consumers.agent-surface.address-and-cycle-recipes.chain-reports-nothing, spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run, spec:consumers.agent-surface.address-and-cycle-recipes.unresolved-address-fails-a-rules-run, spec:consumers.agent-surface.evaluation-sink, spec:consumers.agent-surface.evaluation-sink.exported-evaluator, spec:consumers.agent-surface.evaluation-sink.recipe-call, spec:consumers.agent-surface.evaluation-sink.unknown-recipe, spec:validation.corpus-rules, spec:validation.corpus-rules.params-edit-starts-a-cycle, spec:validation.corpus-rules.rules-edit-starts-a-cycle, spec:validation.corpus-rules.unreadable-params-fail-one-file.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 gives every watch example the heavy-test timeout not recorded passed 2.43 ms leaves non-watch corpus-rule points and incomplete points unspecified not recorded passed 0.36 ms leaves address points outside the oracle's bound probes unspecified not recorded passed 0.17 ms executes the bound example against a fresh world A body calls a shipped recipe and returns its answer unchanged (spec:consumers.agent-surface.evaluation-sink.recipe-call) passed 21.85 ms executes the bound example against a fresh world A call to a recipe the catalog does not hold fails the body (spec:consumers.agent-surface.evaluation-sink.unknown-recipe) passed 3.48 ms executes the bound example against a fresh world A script holding a graph runs a shipped recipe through the exported evaluator (spec:consumers.agent-surface.evaluation-sink.exported-evaluator) passed 3.89 ms executes the bound example against a fresh world A dependency chain with no cycle yields no finding (spec:consumers.agent-surface.address-and-cycle-recipes.chain-reports-nothing) passed 3.1 ms executes the bound example against a fresh world The shipped dependency-cycles file fails a rules run on a cycle (spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run) passed 5.52 ms executes the bound example against a fresh world The shipped address-resolution file fails a rules run on an address that names no entry (spec:consumers.agent-surface.address-and-cycle-recipes.unresolved-address-fails-a-rules-run) passed 3.86 ms executes the bound example against a fresh world Rewriting a rules file under node_modules starts a cycle that runs the new body (spec:validation.corpus-rules.rules-edit-starts-a-cycle) passed 16.19 ms executes the bound example against a fresh world Editing a parameter file starts a cycle that reads the new parameters (spec:validation.corpus-rules.params-edit-starts-a-cycle) passed 46.21 ms executes the bound example against a fresh world A parameter file that stops being JSON fails only its own rules file, and the watcher runs on (spec:validation.corpus-rules.unreadable-params-fail-one-file) passed 103.81 ms
Design view
Requirement drawing
- Satisfying or referencing units: no recorded binding.
The diagram as text
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run: The shipped dependency-cycles file fails a rules run on a cycle · declared Spec
- spec:consumers.agent-surface.address-and-cycle-recipes: Address resolution and dependency cycles stay executable graph recipes · declared Spec
- spec:validation.corpus-rules: Corpus-authored rules run on the one validation path · declared Spec
- test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run: test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run · anchored test binding · binding present ·
test/reach-examples.test.ts:430 - spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run refines spec:consumers.agent-surface.address-and-cycle-recipes · declared
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run verifies spec:consumers.agent-surface.address-and-cycle-recipes · declared
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run verifies spec:validation.corpus-rules · declared
- test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run verifies spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run · 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
The diagram as text
- spec:consumers.agent-surface.address-and-cycle-recipes: Address resolution and dependency cycles stay executable graph recipes
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run: The shipped dependency-cycles file fails a rules run on a cycle
- spec:validation.corpus-rules: Corpus-authored rules run on the one validation path
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run refines spec:consumers.agent-surface.address-and-cycle-recipes · declared
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run verifies spec:consumers.agent-surface.address-and-cycle-recipes · declared
- spec:consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run verifies spec:validation.corpus-rules · 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.agent-surface.address-and-cycle-recipes · 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 | Address resolution and dependency cycles stay executable graph recipesspec:consumers.agent-surface.address-and-cycle-recipes · resolves | declared | None | None |
| verifies · outgoing | Address resolution and dependency cycles stay executable graph recipesspec:consumers.agent-surface.address-and-cycle-recipes · resolves | declared | None | cycleFindings, findingsSeverity |
| verifies · outgoing | Corpus-authored rules run on the one validation pathspec:validation.corpus-rules · resolves | declared | None | recipesAsRules |
Bindings
Implementation binding: none
Design reference: none
Verifier binding: present
- test:protocol.consumers.agent-surface.address-and-cycle-recipes.cycle-fails-a-rules-run · anchored ·
test/reach-examples.test.ts:430· 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.