Recipes
These are the workflows that make up working with Aristo, written the way you run them: through your agent. Each names what it gets you, why it earns its place, and the steps your agent takes. They build on each other. Author a claim, check it locally, bind the serious ones to the canon, prove them, resolve what fails, and put the whole thing on rails in CI. The first two are open source and need no account; canon and deep verification run on Aristo Cloud.
Author and refine an intent
Section titled “Author and refine an intent”Open source.
Achieves. A claim worth verifying: sharp, falsifiable, and reviewed before it sets.
Why. A claim is only as good as its words. Vague or overreaching, it verifies the wrong thing or nothing at all. This loop drafts the claim, pressure-tests the prose, and keeps only what you sign off on.
Driven by /aristo-authoring and /aristo-critique:
- Your agent writes a function and, with
/aristo-authoring, states in one line above it what the function is for. - The commit hook records the claim. You never stamp by hand.
- Run
/aristo-critique. It reads the prose of each claim and raises what’s weak: vague wording, an unfalsifiable claim, an overreach the code can’t back. - It surfaces each finding for you to accept, refuse, or defer. A finding keeps coming back until you rule on it.
- The edits you accept sharpen the claim. Now it’s worth checking.
Verify your claims locally
Section titled “Verify your claims locally”Open source.
Achieves. A holds-or-refuted verdict on each claim, from an AI critic running inside your agent.
Why. This is your fast feedback, the check you run constantly. The neural critic reads the code against the claim and tells you whether it holds. It catches the drift that compiles and passes tests, long before you reach for a proof.
Driven by /aristo-verify:
- Run it. The default checks the claims you changed, with the local neural critic.
- It walks the results one card at a time.
- Holds, you mark it reviewed. Refuted, you fix it or waive it (see Resolve a failed verification).
Bind a claim to the canon
Section titled “Bind a claim to the canon”Aristo Cloud.
Achieves. Turns one of your claims into a known, checkable property, so Aretta can prove it directly.
Why. Deep verification works by matching your claim to a canon entry Aretta already knows how to check. Binding is what unlocks it. Until a claim is bound it can be authored and neural-checked, but never deeply verified.
Driven by /aristo-intent-suggestions:
- Run it on a claim you’ve authored. It matches your claims against the canon and opens the matches for review.
- For each one, the agent puts your claim next to the canon entry it hit, with a confidence score. You accept or reject.
- On accept, it rewrites your claim to the canonical phrasing and binds it: the
id gains an
aristos:orkanon:prefix. - It also surfaces the sibling properties of the same objective. Adopt the ones worth claiming; skip the rest.
Deeply verify a change before you ship
Section titled “Deeply verify a change before you ship”Aristo Cloud.
Achieves. A server-side proof of your bound claims against the exact code you’re about to merge.
Why. Neural and tests catch a lot, but full is the strongest check Aristo
offers, from tests up to formal proofs. It is where your canon-bound claims get
held to their machine-checkable definition. Run it on what you changed, while the
context is fresh.
Driven by /aristo-verify:
- Push your branch. The backend checks a commit that’s on your remote; any branch
works, not just
main. - Run it and choose
full. It needs sign-in and runs in the background. - Keep working. It proves in the background and surfaces results when they land.
- Walk the results card by card. Every card is about your code, never Aretta’s internals.
- Mark the verified claims reviewed. For anything refuted, go to the next recipe.
Resolve a failed verification
Section titled “Resolve a failed verification”Wherever the failure came from, neural or full.
Achieves. Turns a refutation into a fix or a recorded, defensible exception, so a failure is a decision and not noise.
Why. A refutation means your code no longer does what the claim says. Usually that’s a real bug, caught before it shipped. Sometimes the claim was wrong, or true-someday. Either way it needs a ruling, not silence.
Continuing in /aristo-verify:
- The failure card names the claim, what was tested, and the path through your own code that broke it.
- Ask the real question: is the code wrong, or is the claim wrong?
- Code is wrong: choose Fix in code. Your agent fixes the source, then re-verifies just that claim.
- Claim is wrong, or not true yet: choose Waive, with a reason. The waiver is recorded, so the failure is acknowledged rather than buried, and it comes back whenever you ask.
- Move on. Whatever you leave undecided lands in the review backlog. Nothing drops silently.
Keep verification running in CI
Section titled “Keep verification running in CI”Lite checks are free; the deep check needs a token.
Achieves. Verification that runs on every pull request and every night on its own, instead of whenever someone remembers.
Why. A check you run by hand is a check you’ll skip under pressure. CI makes it a gate. The lite checks are free and tokenless; the deep check uses your token, on the schedule and branches where the guarantees matter.
aristo init --ci-verify scaffolds both workflows (your agent can add them, or you
run it once). The free gate works the moment it lands; the deep check needs one
secret.
The free lite gate
Section titled “The free lite gate”.github/workflows/aristo.yml calls aretta-ai/aristo-action@v1 with
checks: stamp, lint, doc. On every push and pull request it confirms your claims
still match their code and the prose lints clean. No token, nothing to configure.
The token-backed deep check
Section titled “The token-backed deep check”.github/workflows/aristo-verify.yml runs aristo verify (server-side canon
conformance) against your bound claims, nightly and on demand. It is not a PR
check, because verify needs a commit that’s already pushed. Two prerequisites:
1. Install the Aretta CI App. The server clones your repo with the App’s installation token, so this is required, not optional.
- Install it on each repo you’ll verify: github.com/apps/aretta-ci
- Without it, every run fails with
aretta[bot] is not installed on this repo.
2. Get your token, then add it as the ARETTA_TOKEN secret.
- Copy the token:
aristo auth token | pbcopy(macOS) oraristo auth token | xclip -selection clipboard(Linux). No token yet?aristo auth loginmints one (it’s repo-scoped, so use the repo you’re wiring up). - Or grab it by hand: it lives under
[aretta]in~/.config/aristo/credentials(Linux) or~/Library/Application Support/aristo/credentials(macOS). - Add the secret: on GitHub, go to Settings → Secrets and variables →
Actions → New repository secret, named exactly
ARETTA_TOKEN. Link (swap in your repo):https://github.com/<owner>/<repo>/settings/secrets/actions, or rungh secret set ARETTA_TOKEN -R <owner>/<repo>.
That’s it. The workflow runs nightly on its own; to run it now, use the repo’s Actions tab → aristo verify → Run workflow. It checks your bound claims against the latest pushed commit and reports each verdict.
Prefer it on a PR? With the App installed, comment @aretta verify and the bot
runs the same check, posting the verdict right there.
Where to next
Section titled “Where to next”- Deep verification: the concepts under these recipes, the canon, matching, and the binding tiers.