agentleFS
CSOAI-ORGCSOAI-ORG/councilof-ai/.cursor/rules/csoai-review.mdc

councilof-ai / rules

Cursor rule2 starsChanged 4 months agoMITView on GitHub

CSOAI review non-negotiables — the defects this estate actually shipped. Flag any of these in review.

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

The file

We split this csoai-review.mdc into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Secrets in code or logs: No tokens/keys inline; secrets come via keystone.

    line 31
  2. Distinctive:

    When unsure whether something is a defect: if the code could report success on a path it didn't complete, it is one.

    line 36

≈ “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
csoai-review.mdc
---
description: CSOAI review non-negotiables — the defects this estate actually shipped. Flag any of these in review.
globs: ["**/*.py", "**/*.ts", "**/*.js"]
alwaysApply: true
---

# CSOAI review rules — flag these, they are real recurring defects

The estate's one rule: **a component must be structurally unable to report success on a path it did not
complete.** Not "log the error" — *unable*. In review, flag any of the following as a bug, not a nit:

1. **Two outcomes where there must be three.** Any grader/scorer that maps an unparsed / empty / failed
   result to `0` or "wrong" instead of **UNMEASURED**. Unparsed must leave the denominator, never score
   as incorrect. (This shipped four times in one day.)

2. **A guard that can pass on an empty scan.** A contamination / validation check that reads zero rows
   and returns "clean" is a false pass. An empty scan must be **fatal**, not silent.

3. **An interval below the gate.** Any confidence interval / ranking published below `usable_n >= 30`,
   including ours. Small-n must withhold the interval explicitly.

4. **A claim without its test.** A capability asserted in a name, comment, or string with no code that
   enforces it. If a function is called `verify_*` / `refuse_*` / `check_*`, the body must actually do it.

5. **Sign AND significance.** A "beats"/"improves" verdict that checks only whether a CI excludes zero,
   not whether the delta is **positive in sign**. (An earlier verdict printed "beats" for a −9.16 delta.)

6. **Contamination by row instead of by theme.** Held-out splits must be theme-level: if any item in a
   statutory theme is in training, the whole theme leaves the clean split.

7. **Secrets in code or logs.** No tokens/keys inline; secrets come via keystone. Flag any printed secret.

8. **Silent truncation / caps.** Any top-N, sampling, or no-retry bound that is not logged. Silent
   truncation reads as "covered everything" when it didn't.

When unsure whether something is a defect: if the code could report success on a path it didn't
complete, it is one.

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.