Before code

This commit is contained in:
vjrj 2026-07-07 13:20:00 +02:00
parent 23c12ac60c
commit 57c0eeadaf
3 changed files with 45 additions and 1 deletions

View file

@ -14,6 +14,7 @@ Context for AI agents (Claude Code) working in this repo. Read this first, then
- **Local-first**: everything works offline, no account, no central server. Online only enriches (degrades gracefully).
- **Progressive disclosure**: only `Variety.label` is mandatory; every other field optional. Audience is everyone 1080; simple by default, depth on demand. Never build "two modes".
- **License: AGPL-3.0.** Keep new deps compatible.
- **Tests, near-TDD.** Every behavior is covered by automated tests (unit / widget / integration); **do NOT rely on manual testing.** Write tests first for domain logic (`commons_core` is pure Dart — ideal for TDD). Nothing merges without tests covering the new behavior; CI gates it. See [`docs/design/testing.md`](docs/design/testing.md).
- Discussion/design docs may be in Spanish; code and specs in English.
## Stack & structure