clqms-be/.serena/memories/task_completion_checklist.md

9 lines
667 B
Markdown
Raw Normal View History

# Task Completion Checklist
When finishing a coding change in CLQMS:
1. Run targeted tests first (file/method-level), then broader PHPUnit suite if scope warrants it.
2. Verify API response structure consistency (`status`, `message`, `data`) and proper HTTP status codes.
3. If controllers or API contracts changed, update OpenAPI YAML files in `public/paths` and/or `public/components/schemas`.
4. Rebundle OpenAPI docs with `node public/bundle-api-docs.js` after YAML updates.
5. Confirm no secrets/credentials were introduced in tracked files.
6. Review diff for legacy field naming compatibility (PascalCase DB columns/JSON domain fields where expected).