Musketeer logo Musketeer

musketeer init

The init command initializes a Musketeer workspace in the current directory.

Usage

musketeer init

What it does

In SMALL-native mode (the default):

  1. 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)
  2. 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 layer

Notes

  • Both .small/ and .musketeer/ should typically be added to version control
  • Running init in an already-initialized directory is safe; it creates only what is missing

Next steps