$ lexprog.com

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

[October 25, 2026] Cursor

Keep AGENTS.md in the project root: with repo rules enabled

Cursor Agent reads AGENTS.md; put the published filter and seed warning there. Put always-on constraints in .cursor/rules or AGENTS.md.

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

Keep AGENTS.md in the project root: with repo rules enabled

Tip: Many products look here

Cursor Agent reads AGENTS.md; put the published filter and seed warning there. Put always-on constraints in .cursor/rules or AGENTS.md.

DATABASE_URL defaults to sqlite:data/blog.db?mode=rwc.

Gotcha: Hiding the rule in docs/old.md (with repo rules enabled)

The agent will not see it. A 20k rule file will bury the one footgun; keep rules short.

docs/history/notes.md

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

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