Skip to main content
Documentation menu

Features

Outcome mode

/outcome <what you want> (or chanto -p --outcome "…"):

  1. Criteria: the agent explores read-only, then writes executable acceptance criteria to .chanto/outcome/<id>/criteria.json, e.g. "signup rejects duplicate emails: pytest .chanto/outcome/<id>/checks/test_signup.py -k duplicate". It can only write there in this phase.
  2. Baseline: every criterion runs before any change. One that already passes is flagged, because it proves nothing about the work.
  3. Approval: you approve the criteria (plain-language titles plus commands), not code.
  4. Build: verified mode with the criteria as checks. The criteria files are locked: loosening them fails the gate, and existing tests stay protected.
  5. Report (report.md): each criterion with its evidence (command output), plus "Review these by hand". Those are changes that passing checks can't vouch for: auth and security code, schema migrations, dependency changes, secrets, CI and infrastructure, public API surface, deleted files, and risky constructs (shell or eval, destructive data operations, concurrency, injection-prone queries).

Edit this page on GitHub Report a problem

Commands, settings, errors: type a few words.