CLI reference

July 9, 2026 · View on GitHub

Install: npx @cobusgreyling/outerloop@latest or npm install -g @cobusgreyling/outerloop.

Global flag: --project-root <path> (default: current directory) on most commands.

init

Scaffold .outerloop/, harness, policy, taste, and optional integrations.

outerloop init [--name <name>] [--boundary strict|moderate|permissive]
               [--with-cursor] [--with-claude-code] [--with-loop-engineering]
               [--no-coordination]

evidence

CommandDescription
evidence packageBuild and save an EvidencePackage from a run
evidence listList indexed evidence packages

package options:

  • --run-id <id> — Run identifier (default: latest)
  • --from <source>loop-engineering, cursor, claude-code, custom-harness, manual
  • --test-output <file> — Test log for risk scoring
  • --output <file> — Write JSON to file instead of saving to .outerloop/
  • --json — Print JSON to stdout

verdict

CommandDescription
verdict review <evidence-id>Interactive TUI review
verdict issueNon-interactive verdict

issue options: --evidence-id, --decision (ship|block|narrow|redirect|reject), --rationale, --owner, --commit.

ledger

CommandDescription
ledger why <id-or-sha>Reconstruct answerability chain
ledger queryFilter by owner, decision, date

taste

CommandDescription
taste captureExtract rules from critique notes
taste applyActivate a profile
taste listList profiles
taste matchTest rules against evidence

policy

CommandDescription
policy initWrite default backpressure.yaml
policy set --file <path>Activate policy
policy showDisplay active policy
policy evaluate <evidence-id>Check backpressure rules

integrate

outerloop integrate <loop-engineering|cursor|claude-code|github>
outerloop cursor setup

dashboard

outerloop dashboard              # text snapshot
outerloop dashboard tui          # Ink TUI
outerloop dashboard serve        # web UI + /api/snapshot

coordination

outerloop coordination init
outerloop coordination list
outerloop coordination register --pattern <name> --owner <user>
outerloop coordination status --pattern <name> --status <state>
outerloop coordination check --pattern <name> --target <id>

Other

CommandDescription
harness init / show / validateBoundary spec
cognitive checkCognitive debt estimate
attention routePending verdict routing
brownfield scanLegacy codebase introspection
auditGovernance health score

Environment

VariablePurpose
OUTERLOOP_CLIOverride CLI binary in integration hooks
OUTERLOOP_RUN_IDRun ID for post-run hooks