/certora-autoprover-solana:certora-autoprover-solanafrom Certora AutoProver for Solana
End-to-end formal verification of Solana programs using the Certora Solana Prover. Analyzes Anchor/Pinocchio/jiminy crates, scaffolds CVLR harnesses, formulates security properties as CVLR rules, and iterates the prover until verification or bug discovery.
Ships in Certora AutoProver for Solana. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Formally verify a Solana program end-to-end: understand the program, set up the prover, decide what should be true, express it as CVLR rules, and let the prover check it — iterating on failures until every claim is either proven, exposed as a real bug, or explicitly retired with a reason.
The Certora Solana Prover symbolically executes the program's compiled SBF code, so every rule is checked against all possible inputs and account states, not test cases. Rules are written in CVLR, a Rust library: a rule is a #[rule] function in the program's own crate that builds an arbitrary starting state with nondet(), narrows it with cvlr_assume!, calls one instruction handler, and checks the result with cvlr_assert!. cvlr_rules! instantiates one specification across many handlers.
Three facts drive most of the work:
invariant, which the prover checks against every function by itself. A property that must hold of every account state is proved by hand: a base case per instruction that creates the state, and one step rule per instruction that writes it (Phase 5). Rules then assume the proved predicate with cvlr_assume!.solana-program 1.18, all of solana-program; on 2.x, only what is left in solana-program after the split into solana-* crates; on the 3.x crates, none. The prover warns about these, and a points-to summary stands in for code the pointer analysis refuses. A summary applies at every call it matches, the program's own functions included. It is unsound by construction and must not cover code the property depends on.SANITY_FAILED.A VIOLATED rule comes with a counterexample. Deciding whether it means "my rule or setup is wrong" or "the program has a bug" is the central judgment of this flow. A rule that fails because it exposes a real bug is a success, to be reported, never hidden.
Two prime directives:
certora-cvlr setup writes (below), the CVLR crates' own source at the versions it names, and https://docs.certora.com/en/latest/docs/solana/index.html. Do not assume the prover works some way because it is "intuitive".Inputs: a project root (a Cargo workspace or package), the program to verify when the workspace holds more than one (its package name), optionally a design document. Track the phases explicitly — one entry per phase in whatever task list or plan your agent keeps, marked done as you leave each phase; if it keeps none, state which phase you are entering each time you start one.
Every phase writes its result under the project's certora/ directory, and the rules live in the program's crate, so an interrupted run resumes by reusing artifacts whose inputs haven't changed (check before redoing work, and say when you reuse):
| Artifact | Written by |
|---|---|
certora/analysis/application.json | Phase 2 (component model) |
certora/logs/setup.log, and the edits it lists | Phase 3 (certora-cvlr setup) |
certora/analysis/dependency_moves.json | Phase 3, only when setup refused on dependency versions |
certora/properties/<module>.properties.json, certora/properties/invariant_rules.properties.json | Phase 4 |
<package>/src/certora/specs/invariants.rs, invariant_rules.rs | Phase 5 |
<package>/src/certora/specs/<module>.rs, <package>/src/certora/summaries/<module>.txt, certora/properties/<module>.status.json, certora/properties/<module>.commentary.md, certora/properties/<module>.judge-round<N>.md | Phase 6 |
certora/analysis/source_edits.json | Phase 6 barrier, only when the program's source was edited |
certora/report/report.json, certora/report/report.md | Phase 7 |
On a resumed run, re-run setup naming every component before reusing anything: it is safe, and it refreshes what certora-cvlr writes into the project (the Prover summaries prove composes, and reference/), which an upgrade of this skill changes.
<module> is a component's rule module name: snake_case, a valid Rust module name, unique in the program. It names the component everywhere, including its artifacts. The shared invariants (Phase 5) are proved by the module invariant_rules, so their artifacts carry that name.
Create the artifact directories up front: mkdir -p certora/analysis certora/properties certora/report certora/logs.
All mechanical work goes through one command, certora-cvlr, from the AutoProver commit this skill pins. Never hand-write what it does: the scaffold, the cargo features, the build, the prover configuration, the rule list a job checks. Each of those fails quietly when done by hand. Its subcommands:
| command | what it does |
|---|---|
toolchain | checks the Rust and Solana tools, and prints the command that installs each missing one |
setup <project> --component M ... | scaffolds the crate, declares the rule modules, compiles, writes the reference text |
check <project> --component M | type-checks one module for the SBF target, in seconds |
prove <project> --component M [--rule R] [--loop-iter N] [--optimistic-loop WHY] [--unsat-core] | builds one module, submits its rules, prints the job link |
wait <link> --for S | waits at most S seconds, then prints RUNNING, or FINISHED and every rule's verdict, or FAILED |
cex <link> --rule R | prints the counterexample of each violated instance of a rule: the call trace and the values the rule logged with clog! |
vacuity <link> --rule R | prints the unsat core of a prove --unsat-core job, and whether the rule's assertion is in it |
setup, check and prove take --package P where the workspace has more than one program. Each subcommand's --help lists its other flags.
Waiting for a job. A job takes minutes, longer than a single foreground command should hold your session. prove returns once the job is accepted; then call certora-cvlr wait <link> --for <seconds> in the foreground, and repeat it while it prints RUNNING. The bound must stay under the time your shell tool keeps a call in the foreground. That time is a parameter of the call; the tool's own description gives its name, its default, and its maximum. It is the parameter that backgrounds the command, or stops it, when the time runs out. Read it and pass it on every wait call, rather than a remembered default. A foreground limit of two minutes fits --for 90. A limit of 30 seconds does not: wait is still sleeping when the runtime backgrounds the call, which is the wake-up wait forbidden below. To wait longer, pass a longer limit and set --for about two minutes under it. A limit of 600000 milliseconds fits --for 480; use that pair when the tool allows it. If its maximum is lower, pass the maximum and set --for two minutes under that maximum, in seconds. If the tool has no such parameter, use --for 20. After each RUNNING, emit a short progress note (elapsed time and the status): an agent runtime may cut off a session that goes several minutes without output. Never wait through a background monitor, a watcher script, a timer, or a turn that ends in the hope that a notice wakes you. In real runs those wake-ups did not come, and finished jobs sat unread for hours. A tool description that promises a notice does not change that.
Fail fast with a specific message rather than improvising around a broken environment.
certora-cvlr. It is a command of the ai-composer package (https://github.com/Certora/AutoProver), which is not on PyPI. The commit is pinned because this skill names its subcommands and flags: it is the single line in AUTOPROVER_REF.txt, the file beside this one. Run it through uvx, never uv tool install: the Solidity skill in this marketplace installs the same package as a tool at its own pin, and two installs at two pins would replace each other. uv must already be on PATH; if it is not, stop and point the user at https://docs.astral.sh/uv/getting-started/installation/. Never download and run an installer yourself.
Write a wrapper once, from the project root, substituting the pin for <ref>, and call it for every command below:
mkdir -p .certora_internal/cvlr
cat > .certora_internal/cvlr/certora-cvlr <<'EOF'
#!/bin/sh
exec env -u CERTORA \
GIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0='url.https://github.com/.insteadOf' GIT_CONFIG_VALUE_0='[email protected]:' \
uvx --python 3.12 --from 'ai-composer[certora-cli] @ git+https://github.com/Certora/AutoProver@<ref>' \
certora-cvlr "$@"
EOF
chmod +x .certora_internal/cvlr/certora-cvlr
The GIT_CONFIG_* rewrite clones AutoProver's public graphcore submodule over HTTPS, so no GitHub SSH key is needed. env -u CERTORA is load-bearing: a CERTORA variable in the environment makes the prover CLI refuse every submission before upload, with a message that names neither. Below, certora-cvlr means this wrapper, <project root>/.certora_internal/cvlr/certora-cvlr; give sub-agents its absolute path. When AUTOPROVER_REF.txt changes, rewrite it.
The first call builds the package, which takes a few minutes; later calls reuse the build. Before that first call, tell the user what will be built (ai-composer with certora-cli, from the AutoProver repository at the pinned commit) and ask for their go-ahead.
The toolchain. Run certora-cvlr toolchain. Every line must read ok. For a MISSING line with an install: command, show the user the commands and ask for their go-ahead, run them only after they agree, and run toolchain again. A MISSING line without one (rustup, a C compiler) is the user's to install: stop and tell them.
CERTORAKEY set (cloud prover). No model API key is needed: AutoProver makes no model call in this flow.
The program. The project builds with cargo, and the program's package has a library target and is an Anchor, Pinocchio (0.8 to 0.12), jiminy or plain solana-program program. Other frameworks are not supported yet. setup refuses a project on a Solana platform generation this AutoProver does not support, or one that links two generations, with the reason. Many such projects verify after a change to their dependency versions alone: see When setup refuses in Phase 3.
If the user supplied a doc, use it. Otherwise spend a few minutes looking for one: shortlist by name/location (docs/, files named design/spec/architecture/whitepaper, top-level *.md, READMEs near the program), then judge by content. A doc qualifies if it describes intended behavior: the accounts and who may change them, natural-language descriptions of instruction flows, invariants ("a pool's recorded deposits never exceed its vault balance"), accounting formulas, access-control rules, threat model. Build/deploy instructions, usage docs, changelogs, IDLs and generic READMEs do NOT qualify. Proceeding without a doc is fine; say so and derive intent from the code.
Properties are formulated against intent, so first extract a structured model of what the program is supposed to be. Act as a system architect. Explore the source (skip target/, tests/, node_modules/, .git, generated clients and IDLs, and any existing certora/ or .certora_internal/ leftovers; read whole files, not fragments). Produce certora/analysis/application.json:
application_type (broad category: "AMM", "Lending", "Vault", "Staking", ...) and a 2-3 sentence description.#[account] or zero-copy struct, or each state struct the program serializes by hand: name, path, role, and which instructions create, write and close it. PDAs with their seeds.module name (above), a description of what it does, its instruction handlers by their Rust names, the account types they read and write, requirements phrased as "The implementation must ...", and its CPIs, naming the external actor.Rules that keep the model sound: every instruction handler belongs to exactly one component; names unique; every CPI names a declared external actor; halt at external-actor boundaries (never speculate about what an oracle does inside). Natural language only — no pseudo-code. Validate these rules against your own JSON before moving on.
The components become the unit of work for phases 4-6.
Run, from anywhere:
certora-cvlr setup <project> --component <module> [--component <module> ...] 2>&1 | tee certora/logs/setup.log
It edits the program's crate, and reports every edit: a certora cargo feature and the CVLR dependencies, Certora's forks of anchor-lang and anchor-spl (crates.io Anchor cannot be verified) and of fixed, for each of them the program links, a #[cfg(feature = "certora")] mod certora; line, and src/certora/ with the harness root, the prover's tuning files and one rule module per component behind a feature of its own. On a Pinocchio or jiminy program it also writes the module that builds that framework's accounts for a rule (src/certora/pinocchio.rs or jiminy.rs), and on a no_std program it gates #![no_std], the program's panic handler and the framework's allocator off under the certora feature, since CVLR links std. It also declares two modules of its own, invariants and invariant_rules (Phase 5), and compiles the result. Nothing it adds is compiled into the program unless the certora feature is on.
Then read the end of its output:
reference: names the directory of the CVLR reference text for this project's versions. Read its README.md now: it says what each file holds, and how to read the parts written for AutoProver's own agents. Read cvlr.md before writing any rule. Below, reference/ means that directory.Re-running setup is safe and changes nothing it already did. Every run must name every component: the list replaces the previous one, and a module file already written is kept. setup owns src/certora/mod.rs and src/certora/specs/mod.rs and rewrites them, so a module you declare there is dropped at the next run. Shared harness code of your own (stand-ins, helpers, Nondet impls) goes in invariants.rs or in a submodule of it, src/certora/specs/invariants/<name>.rs, declared from invariants.rs (Phase 5).
When setup refuses. Read the reason. setup does not adapt a project it cannot verify, so any change is yours to propose and the user's to approve. A refusal over dependency versions (a Solana generation it does not support, two Solana generations in one build, a forked crate linked twice or at a version its fork does not cover) can often be cleared by moving the dependencies, with no change to the program's source. references/dependency-moves.md, beside this file, says how, and when it is not possible. Propose the move, wait for the user's go-ahead, record each edit in certora/analysis/dependency_moves.json, and run setup again. Any other refusal, or a move that file says is not possible: stop, and relay the reason.
List the edits setup made in the Phase 7 report (git diff shows them, and setup.log names them).
For each component, formulate security properties as an audit reviewer would. Read reference/properties.md first: it says what makes a property checkable by a rule, which is narrower than what is true. Each property gets a globally unique snake_case title, a sort, and a precise, concise description that names the instruction handlers it is checked at. Three sorts:
total_shares is zero exactly when its vault holds no tokens". Bad: "accounts are consistent".withdraw rejects a signer who is not the position's owner"; "deposit mints shares in proportion to the vault's balance before the deposit". Bad: "users can't steal funds".transfer could double-count the amount".A safety_property can also state that something must be possible: "an owner with a sufficient balance can always withdraw".
Work references/property-classes.md before you draft. For each class, record the property it produced, or one line on why this component does not expose that surface. The record goes in the round's reasoning, and Phase 7 reads it for the coverage section.
Hard rules: derive from first principles — what the program SHOULD do, not what it currently does. Quality over quantity: no padding, no reframed duplicates, no trivial corollaries, no properties whose violation has no consequence. Exclude what the prover can't or shouldn't check: off-chain events (key compromise, phishing), hash and signature collisions, log messages and events, client-side code, and "cannot panic" (a panic reverts the transaction; reference/properties.md has the reasons and what to state instead).
Formalization direction is the same for all three sorts, and it is load-bearing: every rule must be written so that VERIFIED means "the good thing holds / the bad thing cannot happen." An attack_vector is formalized as the attack cannot occur. If you catch yourself writing a rule that passes exactly when the exploit succeeds, invert it.
Run up to 3 rounds per component: after drafting a round, review it against the rules above, then do another pass asking "what did I miss?". A round that adds nothing is the stop signal. Write the result to certora/properties/<module>.properties.json ([{title, sort, description, handlers}]).
Then merge what several components state. Read every component's properties together. Where several state the same program-wide claim (lamport conservation, "no instruction lets a non-owner move a position's funds"), keep one statement of it, over every handler the members name, and move it to a component of its own, protocol. A merged property may state only what its members state: it names no handler none of them names, and covers every member. Remove the members from their components. A property about one component's handlers stays where it is. When you add protocol, re-run setup naming it too. A program-wide property is one rule instantiated per handler with cvlr_rules!, so stating it once costs one rule, not one per component.
Additionally formulate shared invariants as their own batch (certora/properties/invariant_rules.properties.json): "sane state" facts that rule out impossible starting states (a position with debt and no collateral) and so kill spurious counterexamples later. The header setup writes into invariants.rs calls them structural invariants; it is the same thing. Read reference/invariants.md for what makes a good candidate, and what an invariant may be about: one account's fields, or accounts every writer is given together. A relationship over every account of a type has no rule, since no handler sees them all; restate it as what each instruction does to the accounts it touches.
A shared invariant differs from an invariant-sort property in what it is for. Other rules assume a shared invariant, so it is proved at every writer in the program before anything assumes it. An invariant-sort property is a claim reported in its own right, checked at the handlers it names, in its component's module, and nothing assumes it. When a component's invariant property is one that other rules need to assume, move it to the shared batch instead of stating it twice.
The invariants are proved before any component, because components assume them. The method is the "State invariants: a base case and one step per writer" section of reference/author.md. In short:
invariants.rs holds each invariant as a pub fn returning bool, over the account data it reads. Its doc comment lists every writer of each field it reads, found in the code and followed up to the handlers, across the whole program. This module is compiled into every component's build, so it also owns the shared trait impls the predicates need (impl Nondet for Pool). A component that repeats one fails to compile (E0119), and uses the shared one instead. For the same reason it is where every component's shared harness code lives: CPI stand-ins and helpers, in submodules under src/certora/specs/invariants/ when they grow. It holds no rules.invariant_rules.rs proves them: a base case per instruction that creates the state (it has no "before": run it from arbitrary inputs and assert the invariant), and one step rule per writer (assume the invariant, run the writer, assert it). An instruction that may either create or modify the same account (init_if_needed) is both. A realloc is a writer: the bytes it adds are part of the post-state its step asserts over. Write each base case as a rule of its own, and generate the steps with a local macro_rules!, as reference/invariants.md shows. cvlr-spec's cvlr_invariant_rules! generates step rules only: every rule it makes assumes the invariant on the pre-state, and its bases: are the operations the steps run, not base cases. It also takes a cvlr_predicate!, not the bool function above.Run it as a single batch through the Phase 6 generator and judge procedure, with --component invariant_rules. The gate: the judge accepted it, and a full prove of invariant_rules shows every rule VERIFIED. Nothing is ever marked expected-to-fail here: a component that assumed an invariant whose step was marked would assume exactly what failed to prove.
A component uses an invariant with cvlr_assume!(<predicate>(...)) on the rule's pre-state, the counterpart of CVL's requireInvariant, and its commentary names the step rules behind it. The judge rejects an assumption of a predicate that is not in invariants.rs, or whose steps did not all verify.
Each component's rules go in its module, <package>/src/certora/specs/<module>.rs. You are the orchestrator: generation and judging are separate passes, and a module is never judged inside the pass that wrote it.
prove queues on the crate until a job is accepted, and one component's module is not compiled into another's build.Cloud jobs in parallel mode. A sub-agent that has submitted a job never ends its turn while that job runs: it waits with certora-cvlr wait until the job is no longer RUNNING, then reads the result. You never report a sub-agent as idle or still waiting on the strength of its silence: run certora-cvlr wait <link> --for 1 on its job first, and if the job has ended, resume the sub-agent and tell it so.
invariants.rs and the program's own source are compiled into every component's build, so they change only between generation and judging, by you, never by a generator: an edit inside the generation window changes the build underneath a parallel sibling, and underneath a module a judge already accepted. invariant_rules.rs is compiled only into its own build, but every component assumes what it proves, so it too changes only at the barrier. A generator that needs a new invariant or a change to the program writes a request and hands it back.
At the barrier, apply the requests, re-run the Phase 5 gate, and for a change to the program's source, re-run the full prove of every component, including those already accepted: a clean run against source that has since changed is not evidence. A change to the program's source is made only behind the certora feature where it can be (#[cfg(feature = "certora")]), never changes what the property is about, and is recorded with its reason in certora/analysis/source_edits.json for the report.
Keep a set of open components (initially all of them). Each round:
invariants.rs, and — on rounds after the first — its previous module plus the judge feedback that rejected it. It runs the Generator procedure below.certora/properties/<module>.judge-round<N>.md before any fix is applied.prove (no --rule) was clean: every rule VERIFIED or marked expected-to-fail. A barrier re-run that is not clean reopens a component, with the change that broke it as its feedback.certora/properties/<module>.judge-round<N>.md, with a finding or an explicit "no issue" for each point of reference/judge.md, before you apply a single fix.Say plainly to the user that you are in sequential mode, because self-review is its weak point: expect fewer rejections than a separate judge would produce, and treat a component that closes on round 1 with suspicion. The written verdict and the prover half of the completion gate are not relaxed in this mode.
Read reference/cvlr.md before the first rule, and reference/author.md by section as questions come up: it is what AutoProver's own rule author works from, and its sections answer most first-draft questions (reaching a handler on this program's framework, the loop ladder, a bounded stand-in for a computation that will not finish, when a rule should fail). reference/recipes/index.md lists situations by trigger, each with its fix in reference/recipes/<id>.md; match a trigger before improvising. reference/README.md translates the tools both name. Check what exists in the CVLR crates' own source rather than guessing a helper.
invariants.rs; never restate one locally. If you need one that is not there, write a request.certora-cvlr check <project> --component <module>, until it prints ok.certora-cvlr prove <project> --component <module>, and wait for it. prove prints the rules the job checks; a rule you wrote and it does not list is not a rule (a missing #[rule], or a module the feature does not compile).wait prints and act. When it ends by naming recipes, read each one before you change anything: they are what AutoProver hands its own rule author on the same result.
VIOLATED: read the counterexample with certora-cvlr cex <link> --rule <rule>; never dig it out of the job's files. clog! the values your assertion reads, and the counterexample shows them. A starting state no instruction can produce is a missing invariant: request one. A rule that asserted something the property does not say is a rule bug: fix it. A real violation of the property is a finding: mark it expected-to-fail with the reason genuine issue, a description of the pre-state and the call, and keep the rule as it is. Never weaken a rule until it passes.
SANITY_FAILED (vacuous): certora-cvlr prove <project> --component <module> --rule <rule> --unsat-core, wait, then certora-cvlr vacuity <link> --rule <rule>, and read the core as reference/vacuity.md says. When the assertion is in the core, weakening the assumptions is not the fix.
An unwinding failure on a loop: recipe K4, which "The loop ladder" in reference/author.md points to. Bound the inputs that set the trip count first. Then, if the loop is in code the property does not depend on, summarize it out of the way; if the property is about the loop, skip it. Then raise --loop-iter; --optimistic-loop "<why>" is unsound and last.
TIMEOUT: recipe K8, and "When a computation will not finish: a bounded stand-in" in reference/author.md. The statistics wait prints under the verdicts name the functions that held the rule's time; a stand-in for the one that dominates is usually the fix, when the property only consumes its result. After three jobs in a row with a timed-out rule, stop restating the timed-out rules: renaming, splitting or dropping a conjunct does not change what a rule runs over, and each of those jobs runs to the time limit. Change what is under the rule (a stand-in for the function the statistics name), drop a handler-level rule whose fact a rule on the program's accounting function already proves and say how the two connect, or skip the property and cite the timed-out jobs. A job that halted, with no verdicts or with every unfinished rule cut off, is recipe K9: find the rule that halts it before resubmitting the rest.
A pointer-analysis failure that names a function the property does not depend on: recipe K10. Summarize the function in <package>/src/certora/summaries/<module>.txt. A directive is ; lines saying why it is sound here, then at least one #[type(<location>:<kind>)] line typing what the function returns, then the pattern:
; to_string only formats the error message of an #[error_code]; no rule reads the message.
#[type((*i64)(r1+0):ptr_heap)]
#[type((*i64)(r1+8):num)]
#[type((*i64)(r1+16):num)]
^<T as alloc::string::SpecToString>::spec_to_string$
prove adds #[force] before every directive, so a summary applies at every call it matches, even to a function the prover would otherwise inline, the program's own functions included. Before it builds, prove refuses a file the prover would reject, prints summaries rejected, nothing submitted: <path>, line N: <reason>, and submits nothing: a pattern with no #[type] line, a malformed type, any other # line (an inlining directive does not belong here), a duplicate pattern, or type lines with no pattern after them. Fix the line it names. On a job it submits, it says which directives match nothing.
Never summarize a function that returns an enum, a Result or an Option. A type line says a word is a number, never which number, so the summary cannot fix the variant: an error can come back as Ok. Measured on an Anchor program: a summary of its From<ErrorEnum> for anchor_lang::error::Error cleared the [3308] in its #[error_code] message formatting, and an overflow then came back from the handler as Ok with the balance unchanged. For that [3308], summarize the call further in that returns the message as a String: the to_string directive above made the same rules VERIFIED. Never summarize a handler, or a function that writes what a rule reads or returns what a rule asserts over.
The notes wait prints after the verdicts about functions treated as external are not a failure, but read them: a verified rule over an external call proved less than it seems.
A property no rule can express, after a real attempt: skip it, with the reason. A reason that blames the prover cites the job that showed it.
certora/properties/<module>.status.json: property_rules (every property title → the rules that check it, or skipped with the reason), expected_failures (rule → genuine issue or prover limitation, the reason, the pre-state), the settings the last job used (loop_iter, optimistic_loop and why), and the last full job's link and every rule's verdict.prove is clean or the principled fixes are exhausted. Write certora/properties/<module>.commentary.md: what each rule drives, every assumption and why it holds, every summary. Hand over the module, the status file and the commentary, and any barrier requests; then stop.A fresh adversarial reviewer: a separate sub-agent in parallel mode, a fresh-context pass in sequential mode. Give it: reference/judge.md (its brief), the module, the handlers' source, the properties, the design document when there is one, invariants.rs with the Phase 5 status, the status file and the commentary. It produces accept / reject + concrete feedback, on disk before anyone acts on it. It checks in particular that every cvlr_assume! of a shared predicate names one whose steps all verified, that every summary avoids code the property depends on and none returns an enum, a Result or an Option, and that no rule was weakened until it passed. A generator may rebut feedback on its next round only with hard evidence: a compile error, a counterexample, a job link.
Cap each component at about 3 generate↔judge rounds without converging. At the cap, close it: keep the most defensible module, and either skip the offending property with the conflict documented, or mark the rule expected-to-fail with the reason. Cloud runs cost the user time: an unbounded cycle is a failure mode, not diligence. A component the barrier reopened starts a fresh count.
Done means: (a) the judge accepted the module, (b) a full prove with no --rule shows every rule VERIFIED or explicitly expected-to-fail, and (c) property_rules is total — every property mapped, or skipped with a justification the judge accepted.
Write certora/report/report.json and a human-readable certora/report/report.md:
optimistic_loop with its reason, every bare cvlr_assume! that is not a proved invariant, and the functions the prover treated as external in verified rules. Name the property classes that produced no property for any component, with the one-line reason Phase 4 recorded.
A summary applies to every rule of its component, at every call it matches, so a rule over a summarized function checked the summary, not the function. Where a summary covers code a property depends on, the rule passed having checked nothing: state the function writes keeps its old value, and an assertion that it is unchanged or within bounds holds trivially. For each summary, name the properties whose handlers reach it, and say next to their verdicts what the summary removed.setup made, every dependency move from certora/analysis/dependency_moves.json, and every edit to the program's source from certora/analysis/source_edits.json, each with its reason. A property proved after a dependency move is a property of the build with the moved dependencies. Say so next to the verdicts.certora-cvlr prove <project> --component <module> for each component, with the settings each one needs.Finish by telling the user: counts per outcome, suspected bugs (genuine-issue findings) first, then prover-limitation gaps and skips with reasons, and links to the prover jobs.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
formal-verification, solana-prover, cvlr, anchor, smart-contract-audit
npx claudepluginhub certora/autoprover-skill --plugin certora-autoprover-solanaOther plugins' skills for the same job