Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

What speccoder sees in a Spec Kit project: the read-only snapshot that inspect reports and every later subsystem consumes.

These are parsed facts about artifacts. Runtime task state is a separate type. Paths are workspace-relative with / separators, except ProjectSnapshot::root.

Structs§

Artifacts
Presence of a feature’s artifacts.
Dependency
One direct dependency.
Diagnostic
A problem found while discovering or parsing.
FeatureRef
A feature directory under specs/.
FeatureSnapshot
The selected feature’s artifacts and tasks.
ParsedTasks
A parsed tasks.md.
Phase
A level-2 heading of tasks.md.
ProjectSnapshot
Everything discovered about one Spec Kit project.
Schedule
Which tasks can start now, and what blocks the rest.
ScheduleTotals
Schedule counts.
ScheduledTask
A task’s dependencies and state.
Selection
How the feature was selected.
SpeckitMeta
Spec Kit metadata from .specify/*.json; each field is None when absent.
Task
One task line of tasks.md, as written.
Totals
Task counts.

Enums§

ConstitutionState
State of the project constitution.
DependencyKind
Origin of a dependency.
DependencyMode
How dependencies within a phase are determined.
SelectionReason
Why a feature was selected.
Severity
Diagnostic severity.
TaskState
Whether a task can start.

Functions§

closest
The feature whose name is nearest to name (edit distance over the part after the numeric prefix), if any is reasonably near.