|
1 | 1 | # Crate Map |
2 | 2 |
|
3 | | -The AO workspace contains 17 crates organized into seven groups by responsibility. |
| 3 | +The AO workspace contains 17 crates organized by responsibility. |
4 | 4 |
|
5 | 5 | ## Foundation |
6 | 6 |
|
7 | 7 | | Crate | Description | Key Responsibility | |
8 | 8 | |-------|-------------|-------------------| |
9 | | -| [protocol](../../crates/protocol/README.md) | Wire protocol types shared across all crates | Defines IPC messages, configuration schemas, scoped state paths, model routing defaults, and CLI JSON envelope contracts | |
10 | | -| [orchestrator-logging](../../crates/orchestrator-logging/Cargo.toml) | Shared tracing and logging utilities | Initializes tracing, writes structured JSONL logs, and manages log rotation for runtime processes | |
| 9 | +| [protocol](../../crates/protocol/README.md) | Shared wire and config types | IPC messages, config schemas, scoped runtime paths, CLI JSON envelopes | |
11 | 10 |
|
12 | 11 | ## Core |
13 | 12 |
|
14 | 13 | | Crate | Description | Key Responsibility | |
15 | 14 | |-------|-------------|-------------------| |
16 | | -| [orchestrator-core](../../crates/orchestrator-core/README.md) | Domain logic and state management | ServiceHub trait, service API implementations, workflow state machines, task dispatch policy, execution projections | |
17 | | -| [orchestrator-config](../../crates/orchestrator-config/README.md) | Workflow and runtime configuration | YAML workflow parsing, workflow config compilation, variable expansion, phase plan resolution | |
18 | | -| [orchestrator-store](../../crates/orchestrator-store/README.md) | Persistence primitives | Atomic JSON writes (`write_json_atomic`), `read_json_or_default`, scoped project state directories | |
| 15 | +| [orchestrator-core](../../crates/orchestrator-core/README.md) | Domain logic and services | `ServiceHub`, service APIs, workflow lifecycle, task and requirement state mutation | |
| 16 | +| [orchestrator-config](../../crates/orchestrator-config/README.md) | Workflow and runtime configuration | Workflow YAML parsing, pack loading, scaffolding, phase plan resolution | |
| 17 | +| [orchestrator-store](../../crates/orchestrator-store/README.md) | Persistence primitives | Atomic JSON writes, repo-scoped state directory helpers | |
| 18 | +| `orchestrator-logging` | Shared logging support | Structured logging helpers and runtime log plumbing | |
19 | 19 |
|
20 | 20 | ## Runtime |
21 | 21 |
|
22 | 22 | | Crate | Description | Key Responsibility | |
23 | 23 | |-------|-------------|-------------------| |
24 | | -| [orchestrator-daemon-runtime](../../crates/orchestrator-daemon-runtime/README.md) | Daemon tick loop and dispatch engine | Project tick execution, dispatch queue management, process manager for workflow-runner-v2 subprocesses, schedule evaluation, completion reconciliation | |
25 | | -| [workflow-runner-v2](../../crates/workflow-runner-v2/Cargo.toml) | Standalone workflow execution binary | Phase execution loop, runtime contract construction, IPC client to agent-runner, phase failover classification, merge recovery | |
26 | | -| [agent-runner](../../crates/agent-runner/README.md) | Standalone daemon managing LLM CLI processes | IPC server (Unix socket / TCP), token-based auth, output parsing (tool calls, artifacts, thinking blocks), environment sanitization, provider abstraction | |
| 24 | +| [orchestrator-daemon-runtime](../../crates/orchestrator-daemon-runtime/README.md) | Daemon scheduling runtime | Queue execution, reactive dispatch, subprocess supervision | |
| 25 | +| `workflow-runner-v2` | Workflow execution runtime | Phase execution, state-machine transitions, checkpoint persistence | |
| 26 | +| [agent-runner](../../crates/agent-runner/README.md) | Agent process runner | IPC server, AI CLI execution, output parsing | |
27 | 27 |
|
28 | 28 | ## CLI |
29 | 29 |
|
30 | 30 | | Crate | Description | Key Responsibility | |
31 | 31 | |-------|-------------|-------------------| |
32 | | -| [orchestrator-cli](../../crates/orchestrator-cli/README.md) | Main `ao` binary (clap-based CLI) | CLI dispatch for 22 top-level commands, JSON envelope output, MCP server (via rmcp), error classification | |
| 32 | +| [orchestrator-cli](../../crates/orchestrator-cli/README.md) | Main `ao` binary | Clap command surface, JSON output, MCP server, operational commands | |
33 | 33 |
|
34 | 34 | ## Web |
35 | 35 |
|
36 | 36 | | Crate | Description | Key Responsibility | |
37 | 37 | |-------|-------------|-------------------| |
38 | | -| [orchestrator-web-api](../../crates/orchestrator-web-api/README.md) | Web API business logic | WebApiService bridging HTTP requests to core service APIs | |
39 | | -| [orchestrator-web-contracts](../../crates/orchestrator-web-contracts/README.md) | Shared web types | Request/response types shared between web-api and web-server | |
40 | | -| [orchestrator-web-server](../../crates/orchestrator-web-server/README.md) | Axum web server with embedded static assets | HTTP routing, GraphQL (optional feature), static asset serving, compression | |
| 38 | +| [orchestrator-web-api](../../crates/orchestrator-web-api/README.md) | Web API business logic | HTTP-facing orchestration services | |
| 39 | +| [orchestrator-web-contracts](../../crates/orchestrator-web-contracts/README.md) | Shared web contracts | Request and response types shared between web layers | |
| 40 | +| [orchestrator-web-server](../../crates/orchestrator-web-server/README.md) | Axum web server | HTTP routing, embedded UI delivery, browser entrypoint | |
41 | 41 |
|
42 | 42 | ## Integration |
43 | 43 |
|
44 | 44 | | Crate | Description | Key Responsibility | |
45 | 45 | |-------|-------------|-------------------| |
46 | | -| [orchestrator-providers](../../crates/orchestrator-providers/README.md) | External provider integrations | Git provider abstraction, task/requirements/subject providers; optional Jira, Linear, and GitLab features behind feature flags | |
47 | | -| [orchestrator-notifications](../../crates/orchestrator-notifications/README.md) | Notification delivery | Webhook-based notifications for daemon and workflow events | |
48 | | -| [orchestrator-git-ops](../../crates/orchestrator-git-ops/README.md) | Git workflow operations | Branch management, merge operations, PR creation, merge conflict handling for workflow post-success actions | |
| 46 | +| [orchestrator-providers](../../crates/orchestrator-providers/README.md) | Provider integrations | Built-in task, requirement, subject, and git adapters | |
| 47 | +| [orchestrator-notifications](../../crates/orchestrator-notifications/README.md) | Notification delivery | Webhook and runtime notification support | |
| 48 | +| [orchestrator-git-ops](../../crates/orchestrator-git-ops/README.md) | Git automation | Branching, worktree, merge, and PR helper operations | |
49 | 49 |
|
50 | | -## LLM |
| 50 | +## Model and Runner Adapters |
51 | 51 |
|
52 | 52 | | Crate | Description | Key Responsibility | |
53 | 53 | |-------|-------------|-------------------| |
54 | | -| [llm-cli-wrapper](../../crates/llm-cli-wrapper/README.md) | Abstraction over AI CLI tools | Unified interface for spawning and interacting with claude, codex, gemini, opencode CLI processes | |
55 | | -| [oai-runner](../../crates/oai-runner/README.md) | OpenAI-compatible streaming API client | Direct API streaming for OpenAI-compatible endpoints, MCP client integration via rmcp | |
| 54 | +| [llm-cli-wrapper](../../crates/llm-cli-wrapper/README.md) | AI CLI abstraction layer | Claude, Codex, Gemini, and related CLI integration | |
| 55 | +| [oai-runner](../../crates/oai-runner/README.md) | OpenAI-compatible runner | Streaming API execution for OpenAI-compatible endpoints | |
0 commit comments