review-guidelines

review-guidelines is a cursor rule for Cursor from sipyourdrink-ltd/bernstein. It costs 453 tokens per session, scanned A, original, Apache-2.0.

A set of review rules for checking an agent scheduler and its work records. It focuses on whether reported completion, costs, planning, audit history, compatibility, tests, and documentation match what actually happened.

In plain words
What is it for?
Use it when reviewing changes to scheduling, task completion, cost tracking, audit records, compatibility shims, tests, or user-facing documentation.
Why use it?
It helps reviewers catch false success reports, incorrect budgets, nondeterministic output, weakened audit checks, and undocumented behavior changes.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use it when reviewing changes to scheduling, task completion, cost tracking, audit records, compatibility shims, tests, or user-facing documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/sipyourdrink-ltd/bernstein/review-guidelines
About the project

Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.

sipyourdrink-ltd/bernstein · 1,231 stars · on GitHub · bernstein.run

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.

Clone the repo
git clone --depth 1 https://github.com/sipyourdrink-ltd/bernstein

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 review-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/rules/sipyourdrink-ltd/bernstein/review-guidelines/github.svg)](https://agentmods.dev/rules/sipyourdrink-ltd/bernstein/review-guidelines)
Your own site
<a href="https://agentmods.dev/rules/sipyourdrink-ltd/bernstein/review-guidelines"><img src="https://agentmods.dev/badge/rules/sipyourdrink-ltd/bernstein/review-guidelines/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-guidelines

Your own site · 80×15
<a href="https://agentmods.dev/rules/sipyourdrink-ltd/bernstein/review-guidelines"><img src="https://agentmods.dev/badge/rules/sipyourdrink-ltd/bernstein/review-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 453 This file is loaded in full into every session.
When invoked 453 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00453 $0.00453
Opus 5.5 $0.00181 $0.00181
Sonnet 5.5 $0.00091 $0.00091
Haiku 4.5 $0.00045 $0.00045

Measured 9d ago against content hash 3a938bad5e2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-guidelines 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 9d 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/review-guidelines.mdc · 22 lines

What it actually says

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.

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. 9d ago First seen · 22 lines · 453 tokens per session scan A 3a938bad5e2a

Subscribe to this mod's changes

review-guidelines is a cursor rule published in the GitHub repository sipyourdrink-ltd/bernstein (1,231 stars, last pushed today), licensed Apache-2.0. It adds 453 tokens to every session, about $0.0018 per session on Opus 5.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-11-21.

Related

review-guidelines compared with cursor rules from other repositories

review-guidelines next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-guidelinessipyourdrink-ltd/bernsteinCursor rule1.2ktodayApache-2.0A453Cursor
gsdNaridon-Inc/auraCursor rule565d agoApache-2.0A619Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k4d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor