refactor: resolve critical concurrency, data loss, schema, and search audit passes
This commit is contained in:
1 parent
e4a0fe72df
commit
d80915635f
7 files changed
+846
-450
No files matched your search
+537
-268
File diff suppressed because it is too large.
Load diff
@@ -269,7 +269,7 @@ impl McpTool for TasksHandler {
|
||||
let status_match = match req.status.as_deref() {
|
||||
Some("all") => true,
|
||||
Some(s) => t.status.eq_ignore_ascii_case(s),
|
||||
None => t.status != "done" && t.status != "completed",
|
||||
None => t.is_active(),
|
||||
};
|
||||
let branch_match = match &req.git_branch {
|
||||
Some(branch) => t.git_branch.is_none() || t.git_branch.as_deref() == Some(branch.as_str()),
|
||||
|
||||
Reference in new issue
Block a user