Expand description
outrig init – three-phase orchestrator for end-to-end setup.
Each phase is independently idempotent:
- Global config – defer to [
config::init::run_with] when~/.outrig/config.tomlis absent; log + skip when present. - Repo config –
repo::ensurewrites.agents/outrig/config.tomlagainstcwdif missing. Also reused byoutrig image addas a fallback when run in an uninitialized repo. - Image loop – offer to scaffold image-configs by
delegating to [
image::add::run_with] in a loop.
One PromptSource is threaded through all three phases so scripted
tests can drive the entire flow with a single byte stream.
Modules§
- prompt
- Interactive prompts with
[default: ...]rendering and?-help. - repo
- Repo-config phase of
outrig init, plus the bootstrap fallback used byoutrig image addwhen run in an uninitialized repo.
Constants§
- DOC_
SYNC_ FIELDS - Slice of every
Fielddeclared in this module, forprompt_doc_sync.rs.