agentleFS
sipyourdrink-ltdsipyourdrink-ltd/bernstein/.cursor/rules/review-guidelines.mdc

bernstein / rules

Cursor rule1.2k starsChanged 11 days agoApache-2.0View on GitHub

Review guidelines

1 other project uses a version of this.

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 5 mentionsSep 2026: 35 mentionsOct 2026: 0 mentionsNov 2026: 5 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the sipyourdrink-ltd/bernstein repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about sipyourdrink-ltd/bernstein

The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 50

Talked about on GitHub and Hacker News (50 times).

On GitHub · 48

43 more on GitHub

The file

Files
review-guidelines.mdc
---
description: Review guidelines
alwaysApply: true
---

<!-- AUTO-GENERATED by `bernstein agents-md sync` - DO NOT edit by hand. Source: AGENTS.md. -->

Bernstein's job is a record of agent work that can be verified later, so review first for changes that would make the scheduler or the record report something that did not happen.

- Completion: a task or workflow node is done only on an accepted attempt. Flag code that releases dependents, marks a task completed or reports success on a session ID, a spawn, a queued signal or a non-zero exit.
- Cost and budgets: cumulative cost adds, never overwrites; the budget check runs before the next spawn; a late adjustment cannot lower a total already counted.
- Determinism: the scheduler has no model in the loop. Flag unordered iteration, wall-clock or random values in planning, replay or audit output.
- Audit chain and lineage: flag any change that weakens an existing check, skips a write without an error, or describes a receipt as signed when no signing key is configured.
- Back-compat: legacy import paths go through `_REDIRECT_MAP` in `src/bernstein/core/__init__.py`; flag new shim modules at old paths.
- Tests: a behaviour change has a test under `tests/` that fails without it and passes with `uv run python scripts/run_tests.py`.
- Docs: a user-visible or operator change updates its docs in the same PR (see Documentation duty). Claims in README, docs and release notes match the code: no superlatives, no counts the code does not produce, and "test vectors" rather than "conformance vectors".
- Secrets: no keys, tokens or personal data in code, fixtures or logs.

Severity: P0 a false record, data loss, a security or money defect; P1 a wrong result or broken contract; P2 a missing test or doc. Style is ruff's job.

Output: one comment per finding with severity, file:line, the failing scenario in one sentence and a suggested fix. Done when every changed file was read; with no P0-P2 finding, say so and name the checks above that you ran.

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.