Update app/electron/services/mcp-server-factory.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ben
2025-12-11 08:50:13 -06:00
committed by GitHub
parent 626219fa62
commit 9381162a8e

View File

@@ -44,8 +44,8 @@ class McpServerFactory {
// If agent tries to mark as verified but feature has skipTests=true, convert to waiting_approval
let finalStatus = args.status;
// Convert 'todo' to 'backlog' for consistency
if (finalStatus === "todo") {
// Convert 'todo' to 'backlog' for consistency, but only for new features
if (!feature && finalStatus === "todo") {
finalStatus = "backlog";
}
if (feature && args.status === "verified" && feature.skipTests === true) {