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)
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
pub mod query;
|
||||
pub mod ingest;
|
||||
pub mod learn;
|
||||
|
||||
pub use query::*;
|
||||
pub use ingest::*;
|
||||
pub use learn::*;
|
||||
|
||||
Reference in New Issue
Block a user