Expand description
Task graph serialization formats.
Provides parsers and serializers for the SCG (SCUD Graph) format, a token-efficient text format designed for AI context windows.
§Format Overview
@phase my-project
[1] First task
status: pending
complexity: 3
[2] Second task
status: done
deps: 1Key exports:
formats::parse_scg- Parse SCG text into a Phaseformats::serialize_scg- Serialize a Phase to SCG textformats::Format- Enum of supported formats (SCG, JSON) Task graph serialization formats
This module provides parsers and serializers for different task storage formats.
Enums§
- Format
- Supported file formats
Functions§
- natural_
sort_ ids - Natural sort for task IDs with UUID fallback Numeric IDs: “1” < “2” < “10”, “1.1” < “1.2” < “1.10” UUIDs: Lexicographic comparison
- parse_
scg - Parse SCG format into Phase
- serialize_
scg - Serialize Phase to SCG format