Musketeer logo Musketeer

musketeer init

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

Usage

musketeer init

What it does

Running init creates the Musketeer workspace structure:

.musketeer/
  musketeer.yml    # Workspace configuration
  runs/            # Directory for execution runs

The generated musketeer.yml contains default configuration:

version: 1
workspace:
  state_dir: .musketeer
agents:
  originator:
    adapter: local
  cross_examiner:
    adapter: local
  executor:
    adapter: local
policy:
  executor_allowlist: []
  redaction:
    enabled: false
    patterns: []

Options

The init command takes no options.

Example

mkdir my-project
cd my-project
musketeer init
ls -la .musketeer/

Notes

  • The .musketeer directory should typically be added to version control
  • Running init in an already-initialized directory will create the structure if it does not exist

Next steps

After initialization: