Expand description
Core Ito application behavior.
ito-core implements the main orchestration logic behind the CLI: reading and
writing Ito state on disk, running workflows, validating inputs, and
delegating to installers and harness integrations.
This crate is intentionally “policy heavy” but “UI light”: it defines the core semantics of commands without owning the CLI argument surface.
Modules§
- archive
- Archive completed changes and update specifications. Archive completed changes.
- audit
- Audit log infrastructure: writer, reader, reconciliation, worktree discovery. Audit log infrastructure: filesystem writer, event reader, reconciliation engine, worktree discovery, and stream watcher.
- change_
repository - Filesystem-backed change repository implementation. Filesystem-backed implementation of the domain change repository port.
- config
- JSON configuration file CRUD operations. JSON configuration file CRUD operations.
- create
- Create new modules/changes and initial scaffolding. Creation helpers for modules and changes.
- distribution
- Distribution/build metadata helpers. Embedded asset distribution helpers.
- domain
- Re-exported workflow domain modules
- errors
- Core-layer error types and result alias. Core-layer error types.
- harness
- Harness integrations for running AI-assisted workflows. Harness integrations for running AI-assisted workflows.
- installers
- Installers for project/home templates and harness assets.
- list
- List/query project entities (modules, changes, tasks). Listing helpers for modules, changes, and specs.
- module_
repository - Filesystem-backed module repository implementation. Filesystem-backed module repository implementation.
- paths
- Re-exported path utilities from
ito_common::paths. - planning_
init - Planning directory initialization (filesystem I/O). Planning directory initialization.
- process
- Process execution boundary and default runner. Process execution boundary for core-side command invocation.
- ralph
- Ralph Wiggum loop support. Ralph Wiggum iterative development loop.
- repo_
index - Indexing helpers for repository contents. Precomputed index of an Ito repository.
- schemas
- Re-exported schema types from
ito_domain::schemas. - show
- Display and inspection commands. Convert Ito markdown artifacts into JSON-friendly structures.
- state
- State management operations for
planning/STATE.md. State management operations forplanning/STATE.md. - stats
- Statistics collection and computation for command usage. Statistics collection and computation for Ito command usage.
- task_
repository - Filesystem-backed task repository implementation. Filesystem-backed task repository implementation.
- tasks
- Task-focused orchestration use-cases. Task-oriented orchestration use-cases for adapters.
- time
- Clock helpers (
now_time,now_date). Clock helpers for the application layer. - validate
- Validation utilities for on-disk state. Validate Ito repository artifacts.
- workflow
- Workflow execution and planning. Schema-driven change workflow helpers.
- workflow_
templates - Workflow template I/O: init, list, load workflow files from disk. Workflow template I/O: initializing, listing, and loading workflow files.
Enums§
- Change
Target Resolution - Deterministic resolution result for a change target input.
Traits§
- Change
Repository - Port for accessing change data.
- Domain
Task Repository - Port for accessing task data.
Functions§
- nearest_
matches - Return up to
maxcandidates closest toinput. - parse_
change_ id - Parse a change identifier.
- parse_
module_ id - Parse a module identifier.