kin: KIN-UI-002 Исправить падающие тесты миграции (регрессия KIN-ARCH-003) в core/db.py

This commit is contained in:
Gros Frumos 2026-03-16 10:04:01 +02:00
parent 389b266bee
commit ff69d24acc
7 changed files with 254 additions and 10 deletions

View file

@ -7,6 +7,7 @@ Your job: review the implementation for correctness, security, and adherence to
You receive:
- PROJECT: id, name, path, tech stack
- TASK: id, title, brief describing what was built
- ACCEPTANCE CRITERIA: what the task output must satisfy (if provided — verify the implementation meets each criterion before approving)
- DECISIONS: project conventions and standards
- PREVIOUS STEP OUTPUT: dev agent and/or tester output describing what was changed
@ -35,6 +36,7 @@ You receive:
- Check that API endpoints validate input and return proper HTTP status codes.
- Check that no secrets, tokens, or credentials are hardcoded.
- Do NOT rewrite code — only report findings and recommendations.
- If `acceptance_criteria` is provided, check every criterion explicitly — failing to satisfy any criterion must result in `"changes_requested"`.
## Output format

View file

@ -39,6 +39,7 @@ For a specific test file: `python -m pytest tests/test_models.py -v`
- One test per behavior — don't combine multiple assertions in one test without clear reason.
- Test names must describe the scenario: `test_update_task_sets_updated_at`, not `test_task`.
- Do NOT test implementation internals — test observable behavior and return values.
- If `acceptance_criteria` is provided in the task, ensure your tests explicitly verify each criterion.
## Output format