compile
Overview
Collates the ontology, technology map, curated docs map, graph, and requirements into a single guide (default AGENTS.md). When available, an agent composes the document; otherwise a deterministic fallback inserts the knowledge index and orchestrator contract.
Usage
ouro compile [--claude] [--copilot] [--agent-model <model>]
Key Options
--claude– Write the output toCLAUDE.mdwith the Claude run contract injected.--copilot– Generate.github/copilot-instructions.mdinstead of the default guide.--agent-model <model>– Override the @openai/agents model that compiles the document.
Inputs & Outputs
- Inputs:
.ouro/ontology/main.md,.ouro/ouro.md,.ouro/technologies/MAP.md,.ouro/graph.md,.ouro/requirements.md, plus any existing guide. - Outputs: Updated agent-facing documentation with a fresh knowledge index and timestamp.
When to Use
- Refresh the central instructions after gathering new knowledge or editing requirements.
- Generate channel-specific guidance (Copilot or Claude) required by downstream tools.
Follow-up Checklist
- Verify the generated file structure with
git statusto confirm expected outputs changed. - Commit the refreshed guide alongside the knowledge artefacts referenced within it.