accept-hole-rule

accept-hole-rule is a cursor rule for Cursor from briangmilnes/APAS-VERUS. It costs 478 tokens per session, scanned A, original, MIT.

A rule controlling the use of accept holes in APAS proof code. An accept hole marks an intentional proof gap for review instead of pretending that the gap has been proved.

In plain words
What is it for?
Use it when working on formal proofs and deciding whether an unproved assumption has been explicitly approved.
Why use it?
It prevents agents from hiding failed proof obligations just to make verification pass.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when working on formal proofs and deciding whether an unproved assumption has been explicitly approved.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/briangmilnes/apas-verus/accept-hole-rule
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/briangmilnes/APAS-VERUS

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for accept-hole-rule

README.md
[![agentmods](https://agentmods.dev/badge/rules/briangmilnes/apas-verus/accept-hole-rule/github.svg)](https://agentmods.dev/rules/briangmilnes/apas-verus/accept-hole-rule)
Your own site
<a href="https://agentmods.dev/rules/briangmilnes/apas-verus/accept-hole-rule"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/accept-hole-rule/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for accept-hole-rule

Your own site · 80×15
<a href="https://agentmods.dev/rules/briangmilnes/apas-verus/accept-hole-rule"><img src="https://agentmods.dev/badge/rules/briangmilnes/apas-verus/accept-hole-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 478 This file is loaded in full into every session.
When invoked 478 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00478 $0.00478
Opus 5 $0.00239 $0.00239
Sonnet 5 $0.00096 $0.00096
Haiku 4.5 $0.00048 $0.00048

Measured 8d ago against content hash e41f5c5f38ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

accept-hole-rule scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/apas-verus/accept-hole-rule.mdc · 49 lines

What it actually says

Accept Hole Rule

accept() is an APAS proof function (crate::vstdplus::accept::accept) that replaces assume for intentional, reviewed holes. Adding accept() without explicit user approval hides real proof obligations and defeats the verification effort.

Covered patterns

Pattern Purpose
// accept hole Comment near external_body; Veracity treats as info
accept(...) / proof { accept(cond); } APAS accept proof fn; replaces assume for intentional holes

Rule

  • DO NOT add accept() or // accept hole proactively. EVER.
  • DO NOT add them to silence verification errors or proof-hole reports.
  • DO NOT "fix" a failing proof by adding accept(). That is not fixing — it is hiding.
  • DO add them only when the user explicitly says to (e.g., "add accept hole", "mark as accepted", "add APAS accept").
  • When in doubt, leave the hole as-is and flag it for review.

Allowed assume/accept patterns (no per-instance approval needed)

These are the ONLY patterns that may exist without the user explicitly requesting each one:

  1. assume inside PartialEq::eq body (the eq/clone workaround).
  2. assume inside Clone::clone body (the eq/clone workaround).
  3. assume(false); diverge() in unreachable thread-join error arms.
  4. external_body at thread-spawn boundaries (not around algorithmic logic).

Everything else requires explicit user approval per instance.

Rationale

These annotations document known gaps. Adding them without explicit approval hides real issues, masks incomplete verification, and makes the project's proof-hole counts meaningless. A proof hole flagged by Veracity is data. An accept() added by an agent is lost data.

When the user asks

If the user says "add accept hole", "mark as accepted", "APAS accept", or similar, add the requested annotation at the specified location.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 49 lines · 478 tokens per session scan A e41f5c5f38ad

Subscribe to this mod's changes

accept-hole-rule is a cursor rule published in the GitHub repository briangmilnes/APAS-VERUS (10 stars, last pushed 1mo ago), licensed MIT. It adds 478 tokens to every session, about $0.0024 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.