Skip to main content

Module spec

Module spec 

Source
Expand description

Spec parsing, frontmatter handling, and spec lifecycle management.

§Doc Audit

  • audited: 2026-01-25
  • docs: concepts/specs.md, reference/schema.md
  • ignore: false

Re-exports§

pub use crate::spec_group::all_members_completed;
pub use crate::spec_group::all_prior_siblings_completed;
pub use crate::spec_group::auto_complete_driver_if_ready;
pub use crate::spec_group::extract_driver_id;
pub use crate::spec_group::extract_member_number;
pub use crate::spec_group::get_incomplete_members;
pub use crate::spec_group::get_members;
pub use crate::spec_group::is_member_of;
pub use crate::spec_group::mark_driver_in_progress;
pub use crate::spec_group::mark_driver_in_progress_conditional;

Structs§

Approval
Approval information for a spec
BlockingDependency
Represents a dependency that is blocking a spec from being ready.
Spec
SpecFrontmatter
TransitionBuilder
Builder for validated state transitions.

Enums§

ApprovalStatus
Approval status for a spec
SpecStatus
TransitionError

Functions§

apply_blocked_status_with_repos
Apply blocked status considering both local and cross-repo dependencies. This version supports cross-repo dependency checking when repos config is available.
is_completed
Check if a spec is completed (ready for finalization).
is_failed
Check if a spec has failed.
load_all_specs
load_all_specs_with_options
Load all specs with optional branch resolution.
normalize_model_name
Normalize model names from full Claude model IDs to short names. Examples: “claude-sonnet-4-20250514” -> “sonnet”, “claude-opus-4-5” -> “opus”
resolve_spec
Resolve a partial spec ID to a full spec. Only searches active specs (in .chant/specs/), not archived specs.
split_frontmatter
Split content into frontmatter and body.