feat: Enhanced Task Generation with Scheduling and Templates - #301
Merged
Conversation
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.
Summary
cf schedule show/predict/bottlenecks)cf templates list/show/apply)Changes
Phase 1: Task Decomposition
estimated_hoursfieldPhase 2: Dependency Analysis
Phase 3: Task Scheduling
TaskSchedulerwith CPM (Critical Path Method) algorithmPhase 4: Task Templates
Phase 5: CLI Commands
cf schedule show- Display project schedulecf schedule predict- Predict completion datecf schedule bottlenecks- Identify bottleneckscf templates list- List available templatescf templates show <id>- Show template detailscf templates apply <id>- Create tasks from templatePhase 6: API Endpoints
Test plan
uv run pytest -m v2- 795 tests passuv run pytest tests/planning/- All scheduling/template tests passuv run pytest tests/cli/test_schedule_commands.py tests/cli/test_templates_commands.py- CLI tests passuv run pytest tests/api/test_schedule_api.py tests/api/test_templates_api.py- API tests passcf schedule showworks in initialized workspacecf templates listshows 7 builtin templatesSummary by CodeRabbit
New Features
API / CLI / UI
Bug Fixes
Chores
Tests
✏️ Tip: You can customize this high-level summary in your review settings.