boffin-post-change-audit

boffin-post-change-audit is a cursor rule for Cursor from MicSm/boffin. It costs 729 tokens per session, scanned A, original, MIT.

A set of rules for reviewing coding changes before reporting results. It checks scope, audit records, invariants, and verification after edits.

In plain words
What is it for?
Running pre-flight checks, completing review ledgers, preserving state and lifecycle rules, and confirming edits were tested.
Why use it?
It helps catch incomplete reviews and changes that may violate existing program behavior.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Running pre-flight checks, completing review ledgers, preserving state and lifecycle rules, and confirming edits were tested.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/micsm/boffin/boffin-post-change-audit
View source ↗ MicSm/boffin
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/MicSm/boffin

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 boffin-post-change-audit

README.md
[![agentmods](https://agentmods.dev/badge/rules/micsm/boffin/boffin-post-change-audit.svg)](https://agentmods.dev/rules/micsm/boffin/boffin-post-change-audit)
Your own site
<a href="https://agentmods.dev/rules/micsm/boffin/boffin-post-change-audit"><img src="https://agentmods.dev/badge/rules/micsm/boffin/boffin-post-change-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 729 This file is loaded in full into every session.
When invoked 729 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.00729 $0.00729
Opus 5 $0.00365 $0.00365
Sonnet 5 $0.00146 $0.00146
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade A, and why

boffin-post-change-audit 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 7d 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/boffin-post-change-audit.mdc · 35 lines

How it starts

The opening of the file, as written. The whole thing — 35 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pre-Flight Review and Post-Change Audit

Before presenting code-task results

  • Re-read the loaded pack index and all loaded leaf packs; do not rely on memory.
  • For a focused change, confirm you stayed within the requested scope and proved the change with a check; the ledger checks below apply to refactor/review tasks.
  • For a refactor/review task, confirm the Pass 1 audit ledger lists a row for every in-scope stage; a stage with no row is an incomplete audit, not a clean file.
  • Confirm every ledger row is done or skip, that each skip carries a reason, and that no row recorded as todo was downgraded to skip:clean.
  • Confirm every fix named in Pass 1 reasoning has its own ledger row; a fix discussed but left unrecorded is an incomplete audit.
  • If a change touches ownership, lifecycle, completion semantics, state-machine transitions, concurrent access, or logic currently encoded through flags or sentinels, name the exact invariant from stages S01-S03 it must preserve before editing.
  • On user request, render the ledger and the blocking earlier-stage invariants as concise ordered bullets in the user's language.

After any code edit

  • MUST verify the edit with an external check (the narrowest test or lint that proves it), not by re-reading your own reasoning or the diff alone.
  • MUST review the change as if a different author wrote it: read the final file region, not only the diff, and ask what a fresh reviewer would flag.
  • MUST re-read the relevant loaded leaf pack(s) and confirm no ## EXCLUDES pattern was introduced and no earlier-stage (S00-S03) invariant was weakened to satisfy a later-stage (S04-S06) cleanup goal.
  • MUST NOT silently drop a ledger finding: it ends as done (with its check) or skip:<reason>.
  • MUST present the filled ledger as the result; do not add rows for kernels that found nothing, and never cite a kernel a row does not actually rest on.
  • When a loaded kernel actually changed a code decision, leave one short host-language comment at that site: start it with the boffin: prefix and state, in the code's own vocabulary, what the code now does or refuses, never restating the kernel. The judgment verb is encouraged (kept .../refused .../cut ...); the boffin: prefix is the machine-readable key; the clause MUST NOT contain a kernel id, kernel scope-names, or any other pack vocabulary. Readability bar (the one mandatory wording check): mentally dropping the boffin: prefix, the remaining sentence MUST still read as a comment a senior engineer would write -- otherwise rewrite the clause or drop the mark; this is only a mental check, so always keep the boffin: prefix in the emitted comment. MUST NOT mark a purely stylistic rewrite of already-correct code that averts no failure and preserves no load-bearing invariant, nor emit anything when a .boffin-trace-off file exists at the repo root. Keep to about one mark per hunk and roughly three per changeset; no URLs, marketing, or tool jargon; only in venues that forbid tool marks, omit the boffin: prefix (keep the senior-voice clause alone).

Read the full file on GitHub · 35 lines

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. 7d ago First seen · 35 lines · 729 tokens per session scan A 7b0f0ef104d8

Subscribe to this mod's changes

boffin-post-change-audit is a cursor rule published in the GitHub repository MicSm/boffin (38 stars, last pushed 15d ago), licensed MIT. It adds 729 tokens to every session, about $0.0036 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-30.