mix harness.init (ex_harness v0.1.3)

Copy Markdown View Source

Full-codebase audit via dialyzer + reach

Runs mix dialyzer --format short and Reach.Project taint / dead-code analysis against the host project, then writes a Markdown audit report to .harness/audit-<timestamp>.md plus a latest.md copy and a latest.json machine-readable dump.

Examples

mix harness.init
mix harness.init --skip dialyzer
mix harness.init --quick

Options

  • --root DIR — project root to analyze (default: cwd)
  • --skip LIST — comma-separated runners to skip (dialyzer, reach)
  • --quick — skip the mix dialyzer --plt rebuild step

Always exits 0 — the report is the deliverable. CI gating with thresholds is intentionally a separate task (harness.init.ci, planned for v0.2).