first commit

This commit is contained in:
2026-07-18 23:32:11 +03:00
commit d401e9009c
9 changed files with 496 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
description: Testing and quality expectations for Mixmaker
alwaysApply: true
---
# Testing And Quality
- Keep changes scoped and aligned with `memory_bank/`.
- After substantive edits, run the narrowest useful checks available.
- Backend domain rules and use cases must be unit-testable without PostgreSQL.
- Add focused tests for balancing constraints, draft transitions, role limits, and repeated-ban rules.
- Repository and migration behavior should use integration tests once the database layer exists.
- Critical frontend flows should receive component or end-to-end coverage as the UI stabilizes.
- Test concurrent or repeated draft commands for idempotency and version conflicts.
- Do not add broad abstractions until repeated behavior proves they are needed.
- Prefer explicit domain invariants over compatibility with unfinished code.