Verification-And-Regression-Checks

Verification-And-Regression-Checks is a cursor rule for Cursor from Fullive-AI/Anima. It costs 309 tokens per session, scanned A, original, Apache-2.0.

A set of rules for checking code changes with tests and other project checks before considering the work done.

In plain words
What is it for?
It guides validation after bug fixes and new features, including targeted tests, broader test suites, linting, type checks, builds, and static analysis.
Why use it?
It helps catch broken behavior, type errors, style problems, and regressions that may not be visible from reading the code.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

About the project

Anima is an open-source local-network runtime that gives household hardware an AI layer for sensing environments, remembering preferences, planning actions, and controlling devices through adapters. It is intended for intelligent devices such as lights, air conditioners, humidifiers, air purifiers, and speakers, with a dashboard, REST API, and CLI for control and extension. The catalogue entries are skills, rules, and instructions for working with Anima.

Fullive-AI/Anima · 1,049 stars · on GitHub

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.

agentmods
npx agentmods add rules/fullive-ai/anima/verification-and-regression-checks
Clone the repo
git clone --depth 1 https://github.com/Fullive-AI/Anima

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 Verification-And-Regression-Checks

README.md
[![agentmods](https://agentmods.dev/badge/rules/fullive-ai/anima/verification-and-regression-checks.svg)](https://agentmods.dev/rules/fullive-ai/anima/verification-and-regression-checks)
Your own site
<a href="https://agentmods.dev/rules/fullive-ai/anima/verification-and-regression-checks"><img src="https://agentmods.dev/badge/rules/fullive-ai/anima/verification-and-regression-checks.svg" alt="Measured on agentmods" height="20"></a>
Per session 309 This file is loaded in full into every session.
When invoked 309 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00309 $0.00309
Opus 5 $0.00154 $0.00154
Sonnet 5 $0.00062 $0.00062
Haiku 4.5 $0.00031 $0.00031

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

Security

Grade A, and why

Verification-And-Regression-Checks 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 6d 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/Verification-And-Regression-Checks.mdc · 70 lines

What it actually says

Every meaningful change should be validated as strongly as the repo allows.

Required behavior

After making changes, run the most relevant available checks, such as:

  • targeted tests
  • affected test suites
  • lint
  • type-check
  • build
  • static analysis
  • framework-specific validation commands

Do not skip validation just because the code looks correct.

Validation strategy

Prefer this order:

  1. run the most targeted checks first
  2. fix failures
  3. run broader relevant checks as needed
  4. confirm the task outcome
  5. watch for regressions in adjacent behavior

Bug fix rule

For bug fixes:

  • verify the original failure mode is addressed
  • add or update a regression test when feasible
  • confirm related behavior still works

Feature rule

For features:

  • validate the happy path
  • validate obvious edge states
  • ensure the feature is actually wired into the real flow
  • confirm types, imports, and integration points are correct

Failure handling

If a validation step fails:

  1. diagnose the failure
  2. determine whether it is caused by your change
  3. fix it if in scope or required for correctness
  4. re-run validation
  5. continue until passing or truly blocked

Minimum expectation

Never treat "edited code successfully" as equivalent to "task completed successfully."

Reporting

When summarizing work, include:

  • what was validated
  • what passed
  • what could not be validated
  • any remaining caveats
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. 6d ago First seen · 70 lines · 309 tokens per session scan A c7523e5859fc

Subscribe to this mod's changes

Verification-And-Regression-Checks is a cursor rule published in the GitHub repository Fullive-AI/Anima (1,049 stars, last pushed 16d ago), licensed Apache-2.0. It adds 309 tokens to every session, about $0.0015 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.