agentleFS
zoe-code-universezoe-code-universe/evidence-first-engineering-sop/.cursor/rules/evidence-first-engineering-sop.mdc

evidence-first-engineering-sop / rules

Cursor rule1 starsChanged 6 months agoMITView on GitHub

Evidence-first engineering workflow for debugging, fixes, deployment, and regression checks

  • 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 repository4 other files it gives its agents.

The file

We split this evidence-first-engineering-sop.mdc into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not diagnose before collecting evidence.

    line 8
  2. Distinctive:

    Use logs, frontend Console, Network traces, backend output, deployment logs, returned data, tests, recent diffs, and config changes before …

    line 10
  3. Distinctive:

    Before deployment, provide validation commands, expected output, target page or API, and rollback or stop-loss plan.

    line 23
  4. Distinctive:

    Add or update regression checks when behavior changes.

    line 25
  5. Distinctive:

    Keep risky features disabled by default until reviewed.

    line 27

≈ “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
evidence-first-engineering-sop.mdc
---
description: Evidence-first engineering workflow for debugging, fixes, deployment, and regression checks
alwaysApply: true
---

# Evidence-First Engineering SOP

Do not diagnose before collecting evidence.

Use logs, frontend Console, Network traces, backend output, deployment logs, returned data, tests, recent diffs, and config changes before deciding root cause.

Follow this sequence:

```text
Discover issue -> collect logs -> locate root cause -> show evidence -> plan fix -> inspect diff -> deploy or run -> regression check -> archive result
```

Rules:

- Inspect local code and config before blaming external services.
- HTTP `200` is not enough; verify response shape, required fields, and UI behavior.
- Work one issue at a time.
- Before deployment, provide validation commands, expected output, target page or API, and rollback or stop-loss plan.
- Re-check a user suspicion if it is repeated three times.
- Add or update regression checks when behavior changes.
- Define exit criteria for every feature.
- Keep risky features disabled by default until reviewed.
- Mock third-party integrations before connecting real services unless approved.

Finish with evidence, changed files, validation result, regression result, and remaining risks.

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.