Skip to content

rules striping - #177

Open
jtoman wants to merge 2 commits into
masterfrom
jtoman/rules-striping
Open

rules striping#177
jtoman wants to merge 2 commits into
masterfrom
jtoman/rules-striping

Conversation

@jtoman

@jtoman jtoman commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Allow the author agent to get their spec stamped by "striping" the rules across different runs. This requires the AP infrastructure to get access to a list of all the rules in a spec file. The way this PR achieves that currently is ... not great, but can be easily swapped in for a "proper" certora-cli invocation whenever that comes down the pipe.

This necessitated adding an exclude_rules option to the certora prover tool which maps directly onto the conf flag. While updating the prompts around the verify_spec/prover usage, I took the opportunity to point some outdated advice to the context documents and/or delete some advice that was mooted by more thorough treatment in said docs.

@jtoman
jtoman requested a review from shellygr August 19, 2026 01:34

@shellygr shellygr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit

l, curr_digest, curr_status
):
for (k, stat) in history:
if stat != "VERIFIED" and k.rule not in expected_to_fail:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if a rule is expected to fail but yielded timeout, doesn't it mean it's not covered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants