mason_init
Inspect a project for documentation and committed-diff findings, decision/map status, and a quickstart playbook; optionally configure setup or request an architecture map.
Instructions
Inspect this project now: returns documentation audit findings, committed-diff review findings, decision/map status, and a quickstart playbook. Quickstart and map modes are read-only and deterministic. Explicit mode: setup configures MCP, instructions and lifecycle hooks to use mason on PATH while retaining original audit evidence; use it only when the user requests setup. Optional host selects codex or claude. Optional base selects the review comparison; evidence imports CI manifests with check outcomes, commit freshness, and links to changed files and accepted decisions. mode: map returns the full Map-Reduce build workflow. Repeat calls refresh findings even after setup.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | Absolute path to the project root directory | |
| base | No | Git ref for committed-diff review. Defaults to the first available main branch ref. | |
| host | No | Assistant to configure in setup mode; inferred only when unambiguous. | |
| mode | No | Quickstart inspects without edits; map requests an architecture build; setup installs the shared onboarding flow. | quickstart |
| evidence | No | Repository-local CI evidence manifests to include in the review. Imports Vitest JSON, SARIF, and native-validator mason-check-json results without executing check commands. |