Skip to main content

Crate ito_core

Crate ito_core 

Source
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 domain modules
errors
Core-layer error types and result alias. Core-layer error types.
git
Git synchronization helpers for coordination workflows. Git synchronization helpers for coordination workflows.
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.
repo_paths
Resolve repository and worktree path roots. Repository and worktree path resolution.
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 for planning/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.
templates
Schema templates execution and planning. Schema/template helpers for change artifacts.
time
Clock helpers (now_time, now_date). Clock helpers for the application layer.
validate
Validation utilities for on-disk state. Validate Ito repository artifacts.

Enums§

ChangeTargetResolution
Deterministic resolution result for a change target input.

Traits§

ChangeRepository
Port for accessing change data.
DomainTaskRepository
Port for accessing task data.

Functions§

nearest_matches
Return up to max candidates closest to input.
parse_change_id
Parse a change identifier.
parse_module_id
Parse a module identifier.