Block a user
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Fixed in bd4a066 — domain no longer imports common/errors.
Replaced the alias with errors.New("not implemented") so the domain package has zero internal dependencies.
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
Resolved in 9088caf — removed domain.ErrNotFound entirely, consolidated all usages to errors.ErrNotFound:
sqlite_organization_repository.go→cerrors.ErrNotFound- `sqlite_learning_cate…
fix: critical bugs from code review (data corruption, error contract, HTTP hardening)
test: add unit tests for domain and business logic
test: add unit tests for domain and business logic
📋 PR #4 — Triage Review
Files: 3 new test files, 411 lines, 14 tests
✅ What's good
- Well-structured — table-driven where appropriate, sentinel errors with
ErrorIs+…
test: add unit tests for domain and business logic