010-index-render-orphans
Index: implement the reserved render and orphans subcommands
Lifecycle approvedImplementation completeVerification unknownQualification unknown
Implements the two subcommands spec 004's CLI reserved but stubbed: `spec-spine index render` (a deterministic human-shaped markdown projection of the committed index.json -- package inventory, traceability, diagnostics) and `spec-spine index orphans` (the orphanedSpecs list, newline ids or a --json array). Both are pure read-side projections of the committed artifact; neither recomputes the index. Establishes the render module; extends the index CLI dispatch.
Read the full pinned specification ↗Relationships
depends on
depended on by
Claimed units
- establishes
{ "kind": "file", "path": "crates/spec-spine-core/src/render.rs" } - establishes
{ "kind": "file", "path": "crates/spec-spine-core/tests/render.rs" } - extends
{ "nature": "additive", "spec": "004-codebase-index", "unit": { "kind": "file", "path": "crates/spec-spine-cli/src/cmd_index.rs" } } - extends
{ "nature": "additive", "spec": "001-compile-registry", "unit": { "kind": "file", "path": "crates/spec-spine-core/src/lib.rs" } } - extends
{ "nature": "additive", "spec": "001-compile-registry", "unit": { "kind": "file", "path": "crates/spec-spine-cli/tests/cli.rs" } }
Source headings
- 010: `index render` and `index orphans`
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 Common contract
- 3.2 `index render` -- the markdown projection
- 3.3 `index orphans`
- 3.4 Tests (minimum)
- 4. Out of scope
Frozen anchors
No frozen anchors declared.