Cursor rules vs a real check
Last updated 12 September 2026
| .cursorrules | architecture.hexum | |
|---|---|---|
| Form | Prose for the agent | Layers, match globs, cannot-use rules |
| Enforcement | The model may comply | The check fails the turn. No guessing. |
| Replaces Cursor? | No | No. You keep Cursor. |
Contract guide: what architecture.hexum is. Cursor install: Add Hexum to Cursor.
FAQ
What is the rules file?
A file in the repo (usually architecture.hexum) that groups folders into layers and says which layer cannot import another. Guide: /architecture-hexum.
Does the architecture check use an AI?
No. It reads a rules file in your repo and reports forbidden imports. It does not call a model, so it does not guess.
Does Hexum replace Cursor or Claude Code?
No. You keep Cursor, Claude Code, Antigravity, Codex, or Grok. Hexum is not an editor and not a model. You paste a key into the agent you already use.