rock
0296cae6f4
refactor(handlers): extract LearnParams + reusable RBAC helpers
learn_handler refactored:
- Extract LearnParams struct with validation + bounds clamping
- Extract store_compacted_memory helper
- Extract build_learn_response helper
- Reuse check_project_write_access for RBAC
ingest_handler refactored:
- Extract check_project_write_access (reusable)
- Extract execute_ingest helper
New tests (6 total):
- LearnParams validation tests
Total tests: 694 (was 688)
2026-09-03 09:15:35 -07:00
..
2026-09-03 09:15:35 -07:00
2026-08-31 23:22:11 -07:00
2026-08-28 13:34:28 -07:00
2026-08-30 21:36:48 -07:00
2026-08-31 23:22:11 -07:00
2026-08-30 21:36:48 -07:00
2026-08-30 21:36:48 -07:00
2026-08-30 21:36:48 -07:00
2026-08-28 13:50:32 -07:00
2026-08-28 15:33:59 -07:00
2026-08-23 16:33:34 -07:00
2026-08-30 21:36:48 -07:00
2026-08-31 22:48:42 -07:00
2026-08-28 14:45:53 -07:00
2026-09-03 09:15:35 -07:00
2026-08-28 07:47:26 -07:00
2026-08-30 21:36:48 -07:00
2026-08-26 13:35:50 -07:00
2026-08-28 07:47:26 -07:00
2026-09-01 09:44:52 -07:00
2026-08-26 13:50:22 -07:00
2026-09-03 09:12:38 -07:00
2026-09-01 08:41:21 -07:00
2026-08-27 20:25:05 -07:00
2026-08-30 21:36:48 -07:00
2026-08-28 15:33:59 -07:00
2026-08-30 21:36:48 -07:00
2026-08-31 22:42:34 -07:00
2026-08-28 07:47:26 -07:00
2026-08-28 13:11:56 -07:00
2026-08-28 15:33:59 -07:00
2026-08-26 13:35:50 -07:00
2026-08-30 21:36:48 -07:00
2026-08-28 13:50:32 -07:00
2026-08-28 15:01:00 -07:00