Skill: Load Specs
The full dump is ~2.5 MB (~600k tokens) and does not fit in context. Load
in two steps:
# 1. Map (~30 KB): topics and groups with requirement counts
PYTHONPATH= uv run spec-dump --index
# 2. Load what the task touches, plus the cross-cutting constraints
PYTHONPATH= uv run spec-dump --topic CM --group EP-04 --cross-cutting --text
Do not read raw specs/*.yaml files โ the export resolves inheritance
and flattens group nesting.
Flags
| Flag | Effect |
|---|---|
| --index | Plain-text map instead of JSON. Other flags narrow it. |
| --topic A,B | Select topics (spec files). |
| --group A-01,B-02 | Select groups. |
| --ids X,Y | Select requirement IDs. |
| --adr ADR-0127,ADR-0211 | Select the requirements whose adr: field names one of these records. A record that no requirement names gets a stderr note pointing at its prose citations. |
| --deps | Add transitive dependencies of the selection. |
| --cross-cutting | Add the cross-cutting topics (see below). |
| --kind, --tag, --scope, --priority | Narrow the selection. --kind/--tag take comma lists; all tags must match. |
| --text | Print one line per requirement (id priority statement) instead of JSON. Needs a selection. |
| --slim | JSON, but keep only id, priority, statement, note per requirement. |
Selectors (--topic, --group, --ids, --adr, --cross-cutting)
combine as a union. An unknown value exits with code 2 and names the value. A run with
no filters prints the full dump (for spec-audit) with a size warning on
stderr.
Cross-cutting constraints
Always add --cross-cutting, whatever the primary topic. The list of topics
is CROSS_CUTTING_TOPICS in vultron/metadata/specs/llm_export/records.py. Refer to
the flag; do not copy the list into other files.
Use --text to scan โ the JSON forms print as a single line, so a large
selection shows only a truncated prefix of one unreadable token. Drop
--text for a specific group when you need its rationale,
verification, or relationships, and read that JSON with jq rather
than printing it. See REFERENCE.md for field definitions.
Checking a selection
PYTHONPATH= uv run spec-backstop --manifest <file> checks a Spec manifest
against the branch diff and exits 1 listing every MUST group the
manifest neither loaded nor skipped. It derives those groups from what the
code already says, so exit 0 is a floor, not proof that the selection is
complete โ it is silent on a requirement no changed file or test names yet.
See deepen-context ยง "Backstop".