Skip to content

Conversation

@greysonlalonde
Copy link
Contributor

@greysonlalonde greysonlalonde commented Nov 29, 2025

fixes #3953


Note

Use 1-indexed task_number to map planner outputs to tasks (with warnings for duplicates/missing), require task_number in PlanPerTask, and add comprehensive tests.

  • Planning alignment
    • Update Crew._handle_crew_planning to map plans by task_number, appending to the corresponding task description.
    • Warn on duplicate task_number (use first plan) and when a task has no plan.
  • Schema update
    • Change PlanPerTask to require task_number (1-indexed) and keep plan/task fields.
  • Tests
    • Update existing tests to include task_number in PlanPerTask.
    • Add integration tests ensuring out-of-order plans map correctly, missing plans are skipped with warning, original descriptions are preserved, and duplicates use the first plan.
    • Adjust knowledge/tools test setup to avoid external dependencies.

Written by Cursor Bugbot for commit 98804da. 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
@greysonlalonde greysonlalonde merged commit e43c7de into main Dec 11, 2025
43 of 107 checks passed
@greysonlalonde greysonlalonde deleted the gl/fix/task-planning-order branch December 11, 2025 15:18
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

3 participants