musketeer init
The init command initializes a Musketeer workspace in the current directory.
Usage
musketeer initWhat it does
In SMALL-native mode (the default):
- Bootstraps
.small/if it does not exist, creating the canonical SMALL artifacts (workspace.small.yml,intent.small.yml,constraints.small.yml,plan.small.yml,progress.small.yml,handoff.small.yml) - Creates
.musketeer/with default configuration (musketeer.yml,packets/,verdicts/,runs/)
If .small/ already exists, init attaches to the existing SMALL workspace and only creates the .musketeer/ execution layer.
Generated musketeer.yml
version: 1
workspace:
state_dir: .musketeer
agents:
originator:
adapter: local
cross_examiner:
adapter: local
executor:
adapter: local
policy:
executor_allowlist: []
redaction:
enabled: false
patterns: []Example
mkdir my-project
cd my-project
musketeer init
ls .small/ # canonical SMALL state
ls .musketeer/ # Musketeer execution layerNotes
- Both
.small/and.musketeer/should typically be added to version control - Running
initin an already-initialized directory is safe; it creates only what is missing
Next steps
- Start a new run
- State model to understand the workspace structure