Skip to content

Conversation

@greysonlalonde
Copy link
Contributor

@greysonlalonde greysonlalonde commented Nov 29, 2025

fixes #3953


Note

Use 1-indexed task_number to append plans to matching tasks, with warnings for duplicates/missing, and expand tests to cover ordering and validation.

  • Planning integration:
    • Update Crew._handle_crew_planning to append plans by task_number mapping instead of positional zip.
    • Log warnings for duplicate task_number (use first) and for missing plans; preserve original descriptions.
  • Models:
    • Change PlanPerTask to include required task_number: int (>=1) and keep task, plan fields.
  • Defaults:
    • Set planning agent LLM default to "gpt-4o-mini" in CrewPlanner.
  • Tests:
    • Add integration tests ensuring out-of-order, missing, and duplicate task_number plans are handled correctly.
    • Enforce task_number validation and adjust mocks for knowledge/tools in task summaries.

Written by Cursor Bugbot for commit 3bc4b6e. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 28

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@greysonlalonde greysonlalonde requested a review from a team November 29, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Task planner ends up with wrong order of tasks

2 participants