Browse RC.5 documentation
RC.5 Documentation revision 1

ait init

Create or reinitialize AIT repository authority and effective agent instructions.

Audience: Users

Role#

Normally run by the user once from the repository that a coding agent will change.

Purpose#

ait init creates missing local repository authority and creates or refreshes the effective AIT workflow block in AGENTS.md. Reinitialization preserves valid existing authority instead of replacing it.

Syntax#

Code · bash
ait init
ait init --json

Important optional inputs include the initial repository name, default Line, policy profile, author mode, and a bounded repair flag for incomplete existing structure. Ordinary first use needs no option.

Example#

Code · bash
cd ~/src/example-app
ait init

After success, open AGENTS.md or run ait config show to inspect the effective workflow routing. Initialization does not start ait-server and does not infer a programming language or validation command.

Output#

Text output summarizes the created or preserved repository and guidance. JSON is the stable machine-readable result for automation.

Failure and recovery#

If the directory contains malformed or partial AIT state, keep the error and inspect the existing .ait structure before using a repair option. Never replace authority merely to make initialization succeed.

Version authority

Checked against the exact RC.5 source

This page is public documentation, not a second product contract. Use the exact source and distribution contract for release authority.

Owning component Snapshots
  • ait-coreSNP-64B101AAE684
  • ait-serverSNP-0445E16F63EB
  • ait-runnerSNP-2458874F5737
  • ait-pythonSNP-9EE8E9FFF1D1
  • ait-nodeSNP-261F4DA754BE