Expand description
Spec deltas of a change (openspec/changes/<id>/specs/<capability>/spec.md)
and the requirement names of the main specs (openspec/specs/**/spec.md).
OpenSpec returns scenarios only as raw text; speccoder parses them itself because they are the acceptance examples.
Structs§
- Delta
- One delta file.
- Rename
- A RENAMED pair.
- Requirement
- A requirement of an ADDED, MODIFIED or REMOVED section.
- Scenario
- A
#### Scenario:block.
Enums§
- Operation
- What a delta section does to the main spec.
Functions§
- main_
requirements - Requirement names (normalised) per capability of the main specs under
specs_dir(openspec/specs), each file’s text given byread. - normalise
- OpenSpec’s name matching: case-insensitive, whitespace collapsed.
- parse
- Parses the delta at
path(relative to the project root) forcapability, with its problems.