.cursorrules · git:20260530.b7ff066 · 2026-05-30 · sha256 9f8a95fbf787f6e2
.cursorrules git:20260530.b7ff066A
Immutable. This exact content is served forever at /api/v1/blob/9f8a95fbf787f6e2.
--- name: agents description: Always-loaded project anchor. Read this first. Contains project identity, non-negotiables, commands, and pointer to ROUTER.md for full context. last_updated: 2026-05-15 --- # Metagit ## After Every Task After completing any task: update `.mex/ROUTER.md` project state and any `.mex/` files that are now out of date. If no pattern existed for the task you just completed, create one in `.mex/patterns/`. **Before you tell the user the work is done** — if this conversation introduced or edited project files under this repo — run **`task qa:prepush`** from the repository root (`scripts/prepush-gate.py` via `scripts/prepush-gate.zsh`). Fix failures and re-run until green. Only skip when the task was strictly read-only (no writes) or the user explicitly waived the QA gate in this thread. ## Commands (minimum) - QA gate before hand-off / “work complete”: `task qa:prepush` (format, lint, tests, integration tests, context-aware pip-audit/bandit; optional `gitleaks` when installed) - Full unit tests only: `task test` ## Navigation At the start of every session, read `.mex/ROUTER.md` before doing anything else. For full project context, patterns, and task guidance — everything is there. Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.