Open
Conversation
3f16621 to
c64ae60
Compare
stephanschielke
pushed a commit
that referenced
this pull request
Aug 22, 2025
chore(config): fix typos
stephanschielke
added a commit
that referenced
this pull request
Aug 22, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
stephanschielke
added a commit
that referenced
this pull request
Aug 22, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
04bbb92 to
5e2e4ce
Compare
stephanschielke
added a commit
that referenced
this pull request
Aug 22, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
e968341 to
5e2e4ce
Compare
stephanschielke
added a commit
that referenced
this pull request
Aug 23, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
5e2e4ce to
b74b7ea
Compare
stephanschielke
added a commit
that referenced
this pull request
Aug 23, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
b74b7ea to
158531d
Compare
stephanschielke
added a commit
that referenced
this pull request
Aug 23, 2025
🚀 REVOLUTIONARY BREAKTHROUGH: TaskMaster ↔ cursor-agent recursive integration Core Enhancement: - Enhanced CursorAgentProvider with dual-mode system (sequential/recursive) - Dynamic operation detection for expand_task, parse_prd, etc. - 8,433 character recursive MCP workflow instructions for cursor-agent - Self-managing AI agent workflows with TaskMaster MCP calls MCP Server Fixes: - Fixed performEnhancedResearch import path in research.js - Removed duplicate export in enhanced-research.js - MCP server now starts and runs successfully TaskMaster Integration: - Used TaskMaster to guide development of recursive integration - Task #1 completed with all 4 subtasks done via TaskMaster workflow - Branch cleanup documentation and progress tracking Testing Confirmed: - Recursive prompts successfully delivered to cursor-agent - MCP server runs without errors - Core TaskMaster functionality verified - Ready for meta-TaskMaster development
158531d to
00069b1
Compare
- Implement CursorAgentProvider class with tmux-based execution - Solve cursor-agent interactive mode issues using detached tmux sessions - Add cursor-agent to provider registry and configuration - Enable TaskMaster to use Cursor subscription instead of separate API keys - Support sonnet-4 and other Cursor models with full workspace context - Includes robust error handling, session cleanup, and JSON parsing
- Introduced `restart-mcp-server.sh` for graceful stopping and starting of the MCP server. - Added logging and status verification features to enhance server management. - Created `validate-restart.sh` to test the restart process without disrupting active sessions, ensuring script readiness and core dependency availability.
- Wrap temp file creation in proper try-catch block - Fix misplaced brace that made force-kill logic unreachable - Implement consistent temp file cleanup in all error paths - Add proper error handling in getClient method - Ensure tmux session cleanup happens in all scenarios - Fix stray brace at line 335 that broke control flow Fixes critical bugs that could cause provider crashes on file I/O errors and ensures proper resource cleanup in all execution paths.
- Add proper fs import at top of file
- Replace all require('fs') calls with direct fs usage
- Fixes ES module compatibility issue
- Provider now initializes without crashes
🌐 ENHANCED RESEARCH CAPABILITIES: ✅ Smart Web Search Detection: - Automatically detects queries needing current/web information - Keywords: 'latest', 'best practices', '2025', 'vs', 'documentation' - Detail level consideration (high = more web search) ✅ Rate-Limited Web Integration: - Respectful 2-second intervals between searches - Multiple search engine support (Bing, DuckDuckGo, Brave) - GitHub README fetching for repository research ✅ Enhanced Research Flow: 1. Query analysis -> web search decision 2. Parallel local context + web search gathering 3. AI analysis with integrated web + local context 4. Comprehensive results with source attribution ✅ Production-Ready Features: - Graceful fallbacks when MCP unavailable - Comprehensive error handling - Usage telemetry and monitoring - Configurable result limits by detail level 🧪 TESTED FUNCTIONALITY: - Web search detection: 5/6 test cases passing - Rate limiting: 2-second delays enforced correctly - Telemetry: Complete usage tracking functional - Module integration: All imports working 🔗 INTEGRATION POINTS: - Enhanced research replaces standard research in MCP - MCP client placeholder ready for open-webSearch server - TaskMaster research commands now web-enhanced Agents can now seamlessly get current information from the web while maintaining local project context. Rate limiting prevents abuse while ensuring comprehensive research capabilities.
- Changed main provider from 'anthropic' to 'cursor-agent' in config.json. - Updated modelId to 'sonnet' and increased maxTokens to 163840 for enhanced performance. - Modified currentTag in state.json to 'CURSOR' and updated lastSwitched timestamp. - Added new research documentation on agent persistence and warming strategies. - Created tasks for cursor-agent CLI provider integration and research MCP timeout fixes, focusing on performance and reliability improvements.
…ion with TaskMaster - Added architecture guide detailing the integration of cursor-agent CLI with TaskMaster AI, highlighting key achievements and system architecture. - Created optimization proposal for CursorAgentProvider, focusing on enhanced prompt construction and response processing. - Developed a user guide for configuring and utilizing cursor-agent CLI, emphasizing cost-effective AI operations. - Compiled operations guide for managing the TaskMaster MCP server, including restart protocols and provider integration. - Documented web research MCP proposal to enhance TaskMaster's capabilities without additional API keys. - Included user reports detailing model configuration verification and server logs for troubleshooting. This extensive documentation aims to facilitate better understanding and usage of the Cursor Agent integration, ensuring users can leverage its full potential effectively.
…tion script - Introduced a new document outlining the Remote Tag Authority Workflow to ensure consistency between local and remote Git tags. - Added a synchronization script to automate the process of checking for and resolving tag conflicts between local and remote repositories. - The script includes functionality for conflict detection, force synchronization, and verification of successful tag operations. - Provided usage instructions and examples for both automated and manual workflows, enhancing developer onboarding and CI/CD integration.
…t-specific storage - Updated session management to support project-specific session files, enhancing organization and isolation of sessions. - Refactored caching methods to accept project root parameters, allowing for dynamic session file paths. - Implemented cleanup and statistics functions tailored to project-specific sessions, improving performance and reliability. - Enhanced unit tests to validate new project-specific session handling and ensure comprehensive coverage of session management features.
…hanced lifecycle and performance features - Updated task descriptions to reflect the implementation of a global session store with file locking to prevent race conditions. - Introduced intelligent session lifecycle management with expiration policies and context-aware cleanup. - Added cross-project session sharing capabilities to maintain isolation while optimizing resource usage. - Enhanced performance optimization strategies including session pre-warming and intelligent caching. - Created a comprehensive testing framework for session management, ensuring reliability and performance metrics are met.
…up and CLI compatibility - Removed background monitoring in favor of a lazy cleanup approach to enhance CLI compatibility. - Implemented non-blocking lazy cleanup during session registration and when retrieving session statistics. - Updated comments to reflect changes in session management strategy.
…tProvider - Added permissions configuration in .cursor/cli.json to allow specific shell commands while denying critical operations for security. - Increased maxTokens in .taskmaster/config.json from 64000 to 164000 to improve processing capabilities. - Introduced a new .taskmaster/cursor-agent-sessions.json file for session management. - Updated commands.js to refine interactive setup options and improve user experience with follow-up questions. - Enhanced CursorAgentProvider to support session ID extraction from multiple sources, improving session management reliability.
…sorAgentProvider - Fixed formatting issue in .taskmaster/cursor-agent-sessions.json by ensuring proper newline at the end of the file. - Updated commands.js to improve the user experience during interactive setup by refining the display of cost information. - Enhanced CursorAgentProvider to support session ID extraction from an additional source, improving session management reliability.
…sorAgent - Updated the MCP Operation Framework to simplify the design, focusing on basic recursion support and essential task optimization capabilities. - Added detailed subtasks for schema design, recursion limit management, workflow orchestration, and error recovery mechanisms. - Implemented a specialized JSON parser for cursor-agent output, improving reliability in handling large response buffers and ensuring proper session ID preservation. - Resolved critical JSON parsing failures, enhancing user experience and restoring functionality for cursor-agent operations. - Documented the investigation process and findings related to session management and JSON parsing issues.
- Updated the analyzeTaskComplexityDirect function to return structured data for better clarity. - Added detailed debug logging in analyzeTaskComplexityDirect and handleApiResult functions to assist in troubleshooting. - Enhanced JSON parsing in createContentResponse to handle various content types more robustly. - Improved error handling and logging in parseCursorAgentOutput to capture and analyze malformed responses effectively.
…exity report - Added initial session data for cursor-agent in .taskmaster/cursor-agent-sessions.json to track chat sessions. - Updated task complexity report to reflect changes in task complexity scores and subtasks, improving clarity and accuracy. - Revised task statuses in .taskmaster/tasks/tasks.json to better represent current progress. - Enhanced timestamp management in task metadata for accurate tracking of updates.
- Fixed indentation inconsistencies (spaces -> tabs) - Fixed line length violations (>80 chars) - Fixed object formatting with proper line breaks - Fixed import statement formatting - All format-check CI failures resolved Resolves GitHub Actions format-check failures
… failures - Added .taskmaster, .cursor, .vscode to biome ignore list - These directories contain runtime configs that shouldn't be formatted - Prevents future CI failures from development config changes This completes the GitHub Actions CI format-check fix
…mentation **Verified Claims:** - File paths and components exist as documented ✓ - tmux dependency confirmed (v3.4) ✓ - cursor-agent CLI authenticated and working ✓ - Session cache structure matches documentation ✓ - MCP restart scripts exist and correctly named ✓ **Corrections Made:** - Available models: sonnet-4, opus-4.1, gpt-5 (verified via CLI) - Config example: Updated to match actual working configuration - Model IDs: Updated from 'sonnet' to 'sonnet-4' in examples - Token limits: Updated to actual values (163840/164000) All documentation now reflects verified, working implementation.
- Revised session data in .taskmaster/cursor-agent-sessions.json to reflect new chat IDs and timestamps. - Enhanced permissions structure in .cursor/cli.json for improved security by allowing specific shell commands while denying critical operations. - Fixed formatting inconsistencies across JSON files for better readability and compliance with coding standards. - Updated README.md to ensure accurate testing instructions for basic functionality.
- Updated session data in .taskmaster/cursor-agent-sessions.json with new chat IDs and timestamps for improved tracking. - Enhanced cursor-agent JSON parser with debug logging capabilities to facilitate troubleshooting. - Added comprehensive unit tests for the cursor-agent JSON parser, covering various scenarios including valid, malformed, and large responses. - Revised task details in .taskmaster/tasks/tasks.json to reflect completed enhancements and testing strategies.
- Deleted obsolete reports, task analysis files, and documentation (.taskmaster/reports, CLAUDE.md, and others) to reduce clutter. - Removed duplicate server scripts for MCP operations and test scripts no longer in use. - Simplified project structure while ensuring all dependencies and active scripts remain intact.
- Changed modelId from 'sonnet-4' to 'auto' in .taskmaster/config.json for main, research, and fallback models to streamline model selection. - Updated lastUsedAt timestamp in .taskmaster/cursor-agent-sessions.json to reflect the latest session activity.
- Enhanced error logging to provide comprehensive diagnostic information when MCP connection errors occur. - Updated error message structure to include specific MCP connection error details, aiding in troubleshooting and clarity for users.
- Updated client connection messages to include default name for unnamed clients. - Added logging for client disconnections and server errors to improve monitoring and diagnostics. - Adjusted server timeout settings for testing purposes. - Modified warning message for missing session capabilities to clarify the impact on AI provider features.
- Added detailed error information from provider responses, including mcpErrors, errors, and warnings, to improve diagnostics. - Updated logging mechanism to use console.error for all log levels, ensuring JSON responses remain uncontaminated.
…ent JSON parser - Introduced a DebugLogger utility to manage debug and warning logs, preventing console contamination. - Enhanced error detection for MCP errors, general errors, and warnings during cursor-agent output parsing. - Improved response object construction to include detailed error information and usage metrics. - Implemented strategies for handling concatenated and malformed JSON responses, ensuring robust parsing.
…nd logging - Refactored error handling to provide comprehensive diagnostic information for MCP connection errors and additional errors during task complexity analysis. - Updated logging to include detailed error messages, preserving context for easier troubleshooting. - Enhanced output formatting for analysis summaries, ensuring clarity in console outputs based on the specified format.
- Corrected formatting for the PRD file location instruction in the README to ensure consistency and clarity for new projects.
stephanschielke
pushed a commit
that referenced
this pull request
Dec 8, 2025
…yaltoledano#1403) Co-authored-by: Ralph Khreish <35776126+Crunchyman-ralph@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.