agentleFS
alexandrershovalexandrershov/assumption-checkpoint-skill/.cursor/rules/assumption-checkpoint.mdc

assumption-checkpoint-skill / rules

Cursor rule2 starsChanged 6 months agoISCView on GitHub

Use Assumption Checkpoint when diagnosing bugs, changing code, reviewing code, explaining unfamiliar code, making implementation decisions, or calling work complete.

  • Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.

    Of the Cursor rule files we read, the 1,531 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this assumption-checkpoint.mdc into the rules it gives an agent

12 rules. About 0 are common, 10 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Assumption Checkpoint as a decision gate before confident claims, findings, implementation choices, code edits, or completion …

    line 6
  2. Very specific:

    Default to assumption-checkpoint:normal.

    line 10
  3. Very specific:

    Do not use low for behavior changes, debugging, root-cause claims, shared code, persistence, cache, auth, async behavior, migrations, API …

    line 16
  4. Distinctive:

    Run a checkpoint before narrowing a broad request into one theory, stating a root cause, making a review finding, choosing an …

    line 20
  5. Distinctive:

    Before narrowing, lock the user-visible outcome.

    line 22
  6. Distinctive:

    When it fails, check one independent source, narrow the claim, ask for missing intent, or drop the confident action.

    line 38
  7. Distinctive:

    Do not make behavior-changing edits, state a root cause, publish a review finding, give a confident explanation, choose an implementation …

    line 98
  8. Distinctive:

    Prefer the strongest cheap source: failing test, log, stack trace, compiler output, runtime observation, caller/callee path, existing tests …

    line 104
  9. Distinctive:

    Stop once the next small action is justified.

    line 108
  10. Distinctive:

    If evidence is weak, check one independent source.

    line 112
  11. Distinctive:

    When the missing evidence is checkable, inspect another source or use an independent evidence audit when the environment and user …

    line 114
  12. Distinctive:

    Ask the user when the missing evidence is about intended behavior, product requirements, acceptable scope, or another decision local …

    line 116

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
assumption-checkpoint.mdc
---
description: Use Assumption Checkpoint when diagnosing bugs, changing code, reviewing code, explaining unfamiliar code, making implementation decisions, or calling work complete.
alwaysApply: false
---

Use Assumption Checkpoint as a decision gate before confident claims, findings, implementation choices, code edits, or completion statements. The goal is checked evidence, not visible ceremony.

## Risk Router

Default to `assumption-checkpoint:normal`. Treat a user-selected level as the minimum strictness and never downgrade it.

- `low`: only mechanical edits that cannot change runtime behavior, such as typos, docs wording, labels, formatting, or metadata sync that cannot affect loading, routing, packaging, publishing, permissions, or runtime behavior. Use 1-2 lines.
- `normal`: ordinary debugging, code changes, reviews, explanations, and implementation decisions. Usually keep the checkpoint internal and short.
- `high`: use when evidence is ambiguous, alternatives would change the edit, or the task touches shared behavior, auth, permissions, privacy, persistence, migrations, cache, distributed state, async/concurrency, retries, queues, API contracts, external integrations, UI/visual behavior when correctness depends on layout, responsive state, accessibility, interaction state, screenshot/browser evidence, flaky bugs, broad refactors, incidents, or user-visible regressions.

Do not use `low` for behavior changes, debugging, root-cause claims, shared code, persistence, cache, auth, async behavior, migrations, API contracts, test logic, metadata that affects loading, routing, packaging, publishing, permissions, or runtime behavior, or completion claims after code changes.

## Pause Points

Run a checkpoint before narrowing a broad request into one theory, stating a root cause, making a review finding, choosing an implementation direction, editing from a mental model, or calling work complete.

Before narrowing, lock the user-visible outcome. For multi-part requests, split it into observable invariants. A theory can be strong enough only for the invariant it explains.

## Visibility

Prefer internal checkpoints. Surface a brief checkpoint when it affects trust, risk, scope, expectations, verification limits, or a user decision. Surface at least a short summary when the theory is Weak, Contradicted, or Unresolved; intended behavior or scope is missing; verification cannot run; or checked evidence changes the next action.

A checkpoint must authorize what to inspect, edit, leave alone, ask, or verify next. If it does none of those, it is ceremony.

## Fast Path and Anti-Ritual Guard

For routine normal work, keep the checkpoint internal and compact: assumption, evidence checked, supported next action, and next verification.

Choose the level from risk first, then the form. Brevity never overrides the risk floor: if the task hits any high trigger or a Domain Evidence Card, naming the specific artifact wins over the compact form.

A checkpoint fails when evidence is vague, the next action only repeats the assumption, `Strong enough` relies only on naming/local shape/one file, verification is vague despite a narrower check, or user-visible ceremony does not affect trust, risk, scope, expectations, verification limits, or a user decision.

When it fails, check one independent source, narrow the claim, ask for missing intent, or drop the confident action.

## Lifecycle

Reuse a checkpoint only while the outcome, evidence, scope, and next action remain unchanged. Revise it when new evidence contradicts it, scope expands, user intent changes, the next action changes, or verification exposes a new invariant.

## Formats

Low:

```text
Assumption:
Verification:
```

Normal:

```text
Assumption:
Outcome covered:
Evidence checked:
Theory strength: Strong enough / Weak / Contradicted / Unresolved
Supported next action:
Remaining risk:
Next verification:
```

High:

```text
Assumption:
Outcome covered:
Expected confirming signal:
Expected contradicting signal:
Evidence checked:
Theory strength: Strong enough / Weak / Contradicted / Unresolved
Supported next action:
Alternative theories:
Blast radius:
Remaining risk:
Next verification:
```

High checkpoints must name concrete confirming and contradicting signals. For high-risk domains, the signals must point at the specific artifact that can support or kill the theory: provider doc, header name, query key, caller path, route guard, migration path, export surface, viewport, screenshot, or command. If the contradicting signal appears, revise or drop the theory before acting.

## Theory Gate

Classify the theory before any confident action:

- `Strong enough`: one strong signal or two independent weaker signals, with no unresolved alternative that would change the claim, finding, edit, implementation direction, or completion statement.
- `Weak`: plausible but thin evidence. Check one independent source before acting.
- `Contradicted`: checked evidence conflicts with the theory. Drop or revise it.
- `Unresolved`: evidence cannot be honestly classified. Resolve locally, audit when available, or ask the user.

Strong signals directly reproduce, explain, or verify the outcome, such as failing tests, runtime observations, stack traces, compiler output, contracts, schemas, fixtures, or targeted verification. Weak signals support the theory indirectly, such as naming, local shape, adjacent code, partial caller/callee reads, or git history. Independent signals come from different sources or execution paths.

High-risk theories involving auth, privacy, data loss, migrations, cache, distributed state, async/concurrency, or API contracts usually need one strong signal plus targeted verification, or two independent signals. If stronger evidence is unavailable, state the limit explicitly.

Supporting evidence alone is not enough for non-mechanical work. Also consider what would contradict the theory. Naming, local shape, vibes, or a single isolated file are low confidence.

Do not make behavior-changing edits, state a root cause, publish a review finding, give a confident explanation, choose an implementation direction, or declare completion while the relevant theory is Weak, Contradicted, or Unresolved.

Evidence-gathering changes, such as failing tests, instrumentation, or reversible spikes, are allowed only as investigation and must be verified or cleaned up.

## Evidence

Prefer the strongest cheap source: failing test, log, stack trace, compiler output, runtime observation, caller/callee path, existing tests or fixtures, acceptance criteria, issue/PR discussion, screenshot, browser observation, DOM/layout inspection, API docs, contract tests, recorded fixtures, git history, or docs.

Name concrete evidence: command, file, test, log, caller, callee, schema, fixture, doc, contract, or UI observation. In high-risk domains, broad words like "logs", "tests", "contract", "callers", or "local run" are not concrete evidence unless the exact artifact is named.

Stop once the next small action is justified. Expand only when evidence contradicts the theory, exposes shared behavior, leaves outcome invariants uncovered, or the blast radius requires stronger evidence.

## Escalation

If evidence is weak, check one independent source. If two evidence-expansion rounds leave multiple plausible theories and the choice would change the claim, finding, edit, direction, or scope, stop choosing.

When the missing evidence is checkable, inspect another source or use an independent evidence audit when the environment and user permissions allow subagents. If delegation is unavailable or not permitted, do the independent check yourself.

Ask the user when the missing evidence is about intended behavior, product requirements, acceptable scope, or another decision local artifacts cannot answer.

## Domain Evidence Cards

- Auth/permissions: check server policy, API guard, role/tenant behavior, and audit path.
- Persistence/migrations: check schema, migration tests, deploy order, rollback, and old-version callers.
- Cache/distributed state: check query key, invalidation path, alternate caller invalidation, cache layer, region, and stale-replica behavior.
- Async/retries/queues: check deterministic signal, worker lifecycle, retry config, logs, awaits, and leaked state.
- UI/visual correctness: check screenshot/browser/DOM/layout evidence for each responsive or interaction invariant, or explicitly state unobserved viewports/interactions.
- External APIs: check official provider docs or changelog, recorded fixtures, contract tests, signature/header/body examples, and provider mode/version.
- Shared helpers: check references, requested caller, and exports, emails, reports, or API-facing output.
- Metadata/package work: check version sync, manifest/package validation, load or activation smoke checks, and publishing docs when relevant.

## Task Cards

- Debugging: require a reproducible signal or state why reproduction is unavailable; inspect caller/callee before the first fix.
- Code review: a finding needs a concrete failure mode, trigger, affected path, impact, and evidence; do not convert concern into a finding when trigger or impact remains hypothetical.
- Explanation: separate "the code shows" from "this likely means"; check another source for unfamiliar shared behavior; state intent as inference unless a second source supports it.
- Implementation: name edit scope and deliberate non-scope; make the smallest evidence-supported change.
- Completion: verify every locked invariant, not only a broad test command, or state what remains unverified. Static checks do not verify visual layout without screenshot, browser, DOM/layout inspection, or visual test evidence.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.