An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others.
JavaScript aicursorcursor-aicursorailovablelovable-devroocodetask-managertaskstasks-listwindsurfwindsurf-ai
fix: remove default value from complexity report option to enable tag-specific detection (#1049)
Ben Vargas45a14c323d21
diff --git a/.changeset/fix-tag-complexity-detection.md b/.changeset/fix-tag-complexity-detection.mdnew file mode 100644index 00000000..4c74d978--- /dev/null+++ b/.changeset/fix-tag-complexity-detection.md@@ -0,0 +1,7 @@+---+"task-master-ai": patch+---++Fix tag-specific complexity report detection in expand command++The expand command now correctly finds and uses tag-specific complexity reports (e.g., `task-complexity-report_feature-xyz.json`) when operating in a tag context. Previously, it would always look for the generic `task-complexity-report.json` file due to a default value in the CLI option definition.\ No newline at end of filediff --git a/scripts/modules/commands.js b/scripts/modules/commands.jsindex 5a2d9023..48a284c6 100644--- a/scripts/modules/commands.js+++ b/scripts/modules/commands.js@@ -1564,8 +1564,8 @@ function registerCommands(programInstance) {) // Allow file override.option('-cr, --complexity-report <file>',- 'Path to the report file',- COMPLEXITY_REPORT_FILE+ 'Path to the complexity report file (use this to specify the complexity report, not --file)'+ // Removed default value to allow tag-specific auto-detection).option('--tag <tag>', 'Specify tag context for task operations').action(async (options) => {