Getting Started
Install Mission Directives, initialize a project, route the first request, and verify the selected workflow.
Mission Directives installs a command-line runtime globally and pins a complete operational copy inside each project. The project copy keeps routing behavior stable across global package upgrades.
Requirements
- Python 3.11 or newer.
uvis recommended.pipx, user-levelpip, and one-offuvxexecution are also supported.
1. Install the command
uv tool install mission-directivesAlternative installers:
pipx install mission-directives
python -m pip install --user mission-directivesRun a one-off command without persistent installation:
uvx mission-directives --helpAfter installing with pip, the module entry point is available even when the console-script directory is not on PATH:
python -m mission_directives --help2. Initialize a project
Run the command from the project root:
mission-directives init --tracking ignoredThis creates .mission-directives/ with the pinned runtime, Project Config, local viewer, state, and output categories. Use --tracking outputs to track Project Config and generated outputs, or --tracking all to track the complete managed installation except transient state.
See the Installation and Project Integration Guide for the full layout, migration behavior, and tracking rules.
3. Validate Project Config
mission-directives config show
mission-directives config validateOpen the local settings page when project details need review or correction:
mission-directives config openProject Config is a knowledge cache, not an authorization source. Current user instructions and verified repository evidence take precedence.
4. Route the first request
mission-directives route "MD audit this project and report the highest-risk gaps"
mission-directives explain C-108
mission-directives plan C-108 --mode AUDIT_ONLY --root . --dry-runUse the target returned by route in the explain and plan commands. The example target shows the audit, remediation, and verification scenario.
5. View generated output
mission-directives viewThe loopback-only viewer indexes project-specific results, reports, artifacts, plans, outputs, docs, and logs without rewriting the underlying files.
Next steps
- User Manual for routing, modes, artifacts, and completion.
- Operator Guide for daily command workflows.
- Project Config Guide for config-first agent lookup and refresh rules.
- Local Output Viewer Guide for rendering and security behavior.
- Contributing for repository development.