Module spec

Module spec 

Source
Expand description

Spec management core logic

Functionsยง

count_specs
Count total specs for a project
create_spec
Create a new spec
delete_spec
Delete a spec (with confirmation)
ensure_specs_directory
Ensure specs directory exists for a project
generate_spec_name
Generate timestamped spec name
get_latest_spec
Get the most recent spec for a project
get_notes_file_path
Get the file path for a notes.md file
get_spec_file_path
Get the file path for a spec.md file
get_spec_path
Get spec directory path
get_specs_directory
Get specs directory path for a project
get_task_list_file_path
Get the file path for a task-list.md file
list_specs
List specs for a project with enhanced validation
list_specs_filtered
List specs with filtering capabilities
load_spec
Load a specific spec with validation
spec_exists
Check if a spec exists
update_spec_content
Update spec content (for task list updates)
validate_spec_files
Validate spec content files exist and are readable
validate_spec_name
Validate spec directory name format