Backend Blueprint
Workflow
- Read
requirements.md,design.md, frontend data states, and security constraints. - Produce
API_SPEC.md,DB_SCHEMA.md,ERROR_MODEL.md, and backend task slices. - Define auth, permissions, rate limits, audit logs, concurrency assumptions, and rollback points.
- Keep endpoint contracts stable before G6 backend implementation starts.
- Link decisions back to
MEMORY_CONTEXT.mdand relevant cases when available.
Hard rules
- Do not implement backend code before API contract and DB schema are clear.
- Do not store secrets in code, docs, screenshots, or memory.
- Prefer boring, maintainable infrastructure over new dependencies unless the project demands them.
- Every non-trivial error path needs a visible test or manual verification command.