Commit Graph

2 Commits

Author SHA1 Message Date
c3ba83d101 docs: Update tasks with API Resource Standard completion
- Add API Resource Standard to headroom-foundation phases
- Update test counts to reflect current state
- Document 24 skipped/fixme E2E tests (20 capacity + 4 modal timing)
- Update api-resource-standard tasks.md to COMPLETE status
2026-02-19 17:12:28 -05:00
47068dabce feat(api): Implement API Resource Standard compliance
- Create BaseResource with formatDate() and formatDecimal() utilities
- Create 11 API Resource classes for all models
- Update all 6 controllers to return wrapped responses via wrapResource()
- Update frontend API client with unwrapResponse() helper
- Update all 63+ backend tests to expect 'data' wrapper
- Regenerate Scribe API documentation

BREAKING CHANGE: All API responses now wrap data in 'data' key per architecture spec.

Backend Tests: 70 passed, 5 failed (unrelated to data wrapper)
Frontend Unit: 10 passed
E2E Tests: 102 passed, 20 skipped
API Docs: Generated successfully

Refs: openspec/changes/api-resource-standard
2026-02-19 14:51:56 -05:00