Profa
b91627f282
fix(quality): implement GOAP Issue #149 code quality remediation
...
Phase 1: Test Determinism
- Create SeededRandom utility with Mulberry32 PRNG (src/utils/SeededRandom.ts)
- Migrate 258+ Math.random() calls to SeededRandom across 65+ test files
- Add timer test utilities (tests/helpers/timerTestUtils.ts)
- Add jest.useFakeTimers() pattern to 13 test files
Phase 2: Type Safety (63.5% reduction)
- Reduce `any` types from ~1,800 to 656
- Add 50+ new interfaces across agents, core, mcp, cli modules
- Fix all TypeScript errors (0 errors, build passes)
- Replace Record<string, any> with Record<string, unknown>
- Add proper type guards for hook methods (PostTaskData, TaskErrorData)
Key improvements:
- agents/: 105 → 0 any types (100% reduction)
- mcp/: 226 → 102 any types (55% reduction)
- cli/: 277 → 168 any types (39% reduction)
- core/: 199 → 175 any types (12% reduction)
Closes #149
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2025-12-27 17:08:12 +00:00
..
2025-10-22 11:14:15 +00:00
2025-12-12 09:26:52 +00:00
2025-10-22 08:59:21 +00:00
2025-10-22 08:59:21 +00:00
2025-10-22 08:59:21 +00:00
2025-10-22 08:59:21 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-20 17:05:49 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-12-27 17:08:12 +00:00
2025-10-23 09:09:35 +00:00
2025-10-22 08:59:21 +00:00
2025-10-17 15:53:02 +00:00
2025-10-22 08:59:21 +00:00
2025-10-24 10:39:41 +00:00
2025-11-14 10:58:32 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-10-24 10:39:41 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-17 15:53:02 +00:00
2025-11-18 11:44:44 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-11-18 11:44:44 +00:00
2025-10-23 09:09:35 +00:00
2025-10-22 08:59:21 +00:00
2025-10-21 16:10:04 +00:00
2025-10-20 14:48:24 +00:00
2025-10-21 16:10:04 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 18:18:00 +00:00
2025-10-21 18:18:00 +00:00
2025-10-21 18:18:00 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-11-14 10:58:32 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 18:18:00 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-22 08:59:21 +00:00
2025-10-20 16:02:52 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-11-14 11:27:06 +00:00
2025-12-02 11:31:30 +01:00
2025-12-07 16:03:44 +00:00
2025-11-18 11:44:44 +00:00
2025-11-18 11:44:44 +00:00
2025-11-18 11:44:44 +00:00
2025-11-18 11:44:44 +00:00
2025-10-17 15:53:02 +00:00
2025-10-20 14:48:24 +00:00
2025-10-17 15:53:02 +00:00
2025-11-14 10:58:32 +00:00
2025-12-11 07:36:21 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-12-11 20:12:04 +00:00
2025-12-12 09:26:52 +00:00
2025-10-20 14:48:24 +00:00
2025-12-27 17:08:12 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 14:48:24 +00:00
2025-12-11 20:12:04 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 17:05:49 +00:00
2025-12-11 16:10:47 +00:00
2025-12-11 16:10:47 +00:00
2025-12-11 16:10:47 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 17:05:49 +00:00
2025-12-11 16:10:47 +00:00
2025-12-11 16:10:47 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 14:48:24 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 17:05:49 +00:00
2025-10-20 17:05:49 +00:00
2025-10-22 08:59:21 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 10:58:32 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-20 14:48:24 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 18:18:00 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-24 10:39:41 +00:00
2025-10-24 10:39:41 +00:00
2025-10-21 16:10:04 +00:00
2025-10-24 10:39:41 +00:00
2025-10-21 18:18:00 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 13:10:03 +00:00
2025-10-22 08:59:21 +00:00
2025-10-24 10:39:41 +00:00
2025-10-24 10:39:41 +00:00
2025-10-20 17:05:49 +00:00
2025-10-23 09:09:35 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 18:18:00 +00:00
2025-11-14 10:58:32 +00:00
2025-10-22 11:14:15 +00:00
2025-10-22 11:14:15 +00:00
2025-10-22 09:10:54 +00:00
2025-10-22 11:14:15 +00:00
2025-10-22 09:10:54 +00:00
2025-10-22 11:14:15 +00:00
2025-10-22 11:14:15 +00:00
2025-10-22 11:14:15 +00:00
2025-10-26 10:14:37 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-10-24 10:39:41 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 13:10:03 +00:00
2025-10-24 10:39:41 +00:00
2025-10-21 16:10:04 +00:00
2025-11-18 11:44:44 +00:00
2025-12-27 17:08:12 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-10-21 16:10:04 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 10:58:32 +00:00
2025-10-17 15:53:02 +00:00
2025-10-21 16:10:04 +00:00
2025-10-24 10:39:41 +00:00
2025-10-24 10:39:41 +00:00
2025-10-21 16:10:04 +00:00
2025-11-14 10:58:32 +00:00
2025-11-14 11:27:06 +00:00
2025-11-14 10:58:32 +00:00
2025-10-24 10:39:41 +00:00
2025-10-24 10:39:41 +00:00
2025-11-14 10:58:32 +00:00
2025-10-20 16:02:52 +00:00
2025-10-20 16:02:52 +00:00
2025-10-21 16:10:04 +00:00