Expand description
Workflow execution and planning. Schema-driven change workflow helpers.
This module reads a change directory and a workflow schema (schema.yaml) and
produces JSON-friendly status and instruction payloads.
These types are designed for use by the CLI and by any web/API layer that wants to present “what should I do next?” without duplicating the filesystem logic.
Structs§
- Agent
Instruction Response - Instruction payload for agent-oriented endpoints.
- Apply
Instructions Response - Instruction payload for applying a change.
- Apply
Yaml - Apply-stage configuration from a schema.
- Artifact
Status - Status for one schema artifact for a given change directory.
- Artifact
Yaml - One artifact definition from a schema.
- Change
Status - High-level status for a change against a resolved schema.
- Dependency
Info - One dependency entry shown alongside artifact instructions.
- Instructions
Response - Instruction payload for building a single artifact.
- Progress
Info - Progress totals derived from parsed tasks.
- Resolved
Schema - A fully-resolved schema (yaml + directory + source).
- Schema
Yaml - Schema file model (
schema.yaml). - Task
Diagnostic - Diagnostic message associated with a task file.
- Task
Item - One task parsed from a tracking file (e.g.
tasks.md). - Template
Info - Information about an artifact template resolved from a schema.
Enums§
- Schema
Source - Where a schema was resolved from.
- Workflow
Error - Errors returned by workflow helpers.
Functions§
- compute_
apply_ instructions - Compute apply-stage instructions and progress for a change.
- compute_
change_ status - Compute per-artifact status for a change.
- default_
schema_ name - Default schema name used when a change does not specify one.
- list_
available_ changes - List available change directory names under
.ito/changes/. - list_
available_ schemas - List available schema names from package and user schema directories.
- load_
user_ guidance - Load user guidance text from
user-guidance.md. - read_
change_ schema - Read a change’s configured schema name from its metadata.
- resolve_
instructions - Resolve build instructions for a single artifact.
- resolve_
schema - Resolve a schema name into a
ResolvedSchema. - resolve_
templates - Resolve template file paths for all artifacts in a schema.
- validate_
change_ name_ input - Validate a user-provided change id for safe filesystem access.