From 7b2fb257eb39004c2ef44741f0090f77515e5036 Mon Sep 17 00:00:00 2001 From: Andrew Phillips Date: Mon, 25 Aug 2025 12:35:18 -0300 Subject: [PATCH] chore: mark CLI modes refactoring as complete Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) --- PLAN.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PLAN.md b/PLAN.md index 2ca5abd..a86eddc 100644 --- a/PLAN.md +++ b/PLAN.md @@ -6,7 +6,7 @@ - [x] 3. Update database layer for batch operations - [x] 4. Create core services with clear boundaries (synchronous) - [ ] 5. Add async wrappers for API use -- [ ] 6. Refactor CLI modes to use services (partially done) +- [x] 6. Refactor CLI modes to use services (DONE) - [ ] 7. Refactor REST API to use async services - [ ] 8. Refactor MCP tools to use services - [x] 9. Create unified error handling @@ -107,14 +107,14 @@ - Provide examples for safe async/sync boundaries - Use `tokio::task::spawn_blocking` for CPU-bound or blocking I/O operations -## 6. Refactor CLI Modes to Use Services (PARTIALLY DONE) +## 6. Refactor CLI Modes to Use Services (DONE) **Files:** - Change: `src/modes/get.rs` (DONE) - Change: `src/modes/save.rs` (DONE) - Change: `src/modes/list.rs` (DONE) - Change: `src/modes/info.rs` (DONE) - Change: `src/modes/delete.rs` (DONE) -- Change: `src/modes/diff.rs` (NOT DONE) +- Change: `src/modes/diff.rs` (DONE) - Change: `src/modes/status.rs` (DONE, uses shared function) **Functions:** @@ -123,7 +123,7 @@ - Change: `mode_list` to use `item_service` (DONE) - Change: `mode_info` to use `item_service` (DONE) - Change: `mode_delete` to use `item_service` (DONE) -- Change: `mode_diff` to use `item_service` (NOT DONE) +- Change: `mode_diff` to use `item_service` (DONE) - Change: `mode_status` to use new status service functions (DONE, uses shared function) **Reason:** Remove direct database and file system access from modes