Add mock factories for test data.
## Files to modify
- packages/backend/src/services/
- packages/client/app/
## Out of scope
- Refactoring unrelated modules
- Changing public API contracts
- Major version bumps or breaking changes
- Performance optimizations not directly related to the issue
## Acceptance criteria
- [ ] Code changes implemented as per procedure steps
- [ ] All new code has complete type hints
- [ ] Unit tests added/updated with >90% coverage for changed code
- [ ] All tests pass: npm test
- [ ] Linting passes: npm run lint
- [ ] Type checking passes: npm run typecheck
- [ ] Documentation updated if needed
- [ ] Changes reviewed and approved
Description