$ lexprog.com

// notes from an old coder -- php, databases, and the occasional rant

[October 20, 2026] Cursor

Write rules as operational constraints: during a PR review

Say what the agent must never do: no seed, keep published_at filters, no JS build. Ask for a diff-scoped pass and keep push on the human.

────────────────────────────────────────────────────────

Write rules as operational constraints: during a PR review

Tip: Rules are not a style essay

Say what the agent must never do: no seed, keep published_at filters, no JS build. Ask for a diff-scoped pass and keep push on the human.

---
description: lexprog invariants
globs: src/**/*.rs
---
Never run cargo run --bin seed.

Gotcha: A rule that restates Rust book (during a pr review)

The model already knows Rust. Spend tokens on this repo's footguns. An agent that can force-push will race your rebase.

# What is ownership?

Source: https://docs.cursor.com/context/rules

────────────────────────────────────────────────────────
<-- back to posts