Files
selfpost/.cursor/rules/agent-rules.mdc
T
mixeme 7c79c085e7 docs: consolidate process docs into development.md (v1.x closure phase 3)
Fold documentation-plan and progress into development.md, drop docs/archive,
retarget live links, and point README plus agent-rules at the new home.

Co-Authored-By: Composer <noreply@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-09 00:37:35 +03:00

25 lines
1.0 KiB
Plaintext

---
description: Agent rules for the SelfPost repository (formerly spec §12)
alwaysApply: true
---
# Agent rules
1. **No git commits** without an explicit instruction in the prompt.
2. After Go changes: `go build`, `go vet`; fix all issues. Run `go test` when
tests exist.
3. Before calling a container task done: the image builds and the container starts.
4. Iterate: minimal skeleton first, then features.
5. Security requirements — `docs/security.md`; implement with the feature, not deferred.
6. Do not implement out-of-scope items (`docs/product.md`); do not change fixed
assumptions without agreement.
7. For large tasks: propose a plan before coding unless the user already approved one.
8. Check licence compatibility of new Go dependencies (permissive or GPL-family for
AGPL-3.0).
Model routing — `docs/development.md` § «Model routing». Pre-release security
**review** (not authorship) — Fable.
Commit protocol, CHANGELOG, and phase closure — `docs/development.md` §
«Commits and release build» and «Phase closure».