Use this guide to get one governed MartinLoop run and one evidence review in a few minutes.
- Node.js 20+
- npm for the packaged demo
- pnpm 10.x if you are working from this repository
- optional for live runs: Claude Code or Codex CLI installed and authenticated
npx martin-loop demo
cd martin-loop-demo
npm install
MARTIN_LIVE=false npx martin-loop run "Summarize the demo workspace and confirm the verifier is green" --verify "npm test"
npx martin-loop dossier --latestThis uses stub mode, so it validates the loop, verifier, persistence, and dossier path without model spend.
npm install -g martin-loop
npx martin-loop doctordoctor checks whether MartinLoop can find the tools and local run directories it needs.
npx martin-loop run "fix the auth regression" --budget 3.00 --verify "pnpm test"The run can only finish as complete when the adapter result and verifier state both pass.
npx martin-loop triage
npx martin-loop dossier --latestUse triage to rank saved runs by urgency. Use dossier when you want the receipt for one run: stop reason, verifier evidence, budget status, rollback or artifact evidence, and the next safe action.
pnpm install --frozen-lockfile
pnpm build
pnpm test
pnpm lintMore detail: