Check plan completion status by verifying issues, PRs, and actual implementation
Verifies plan completion by checking issues, PRs, and validating actual implementation and test coverage.
/plugin marketplace add dgriffith/bad-daves-robot-army/plugin install dgriffith-bad-daves-robot-army@dgriffith/bad-daves-robot-armyVerify the completion status of a plan by checking associated issues, pull requests, and validating that the actual functionality has been implemented and tested.
The user invoked: /update-plan-status {plan_file_path}
If GitHub is available:
gh issue list --search "in:body {plan_file_name}" --state all --json number,title,state,labels,closedAtIf using local files:
/issues/*.md for files with source_plan: {plan_file_path} in frontmatterFor each issue with an associated PR:
If GitHub is available:
gh pr view {pr_number} --json number,title,state,mergedAt,mergeable,reviewsIf using local files:
git branch --merged main and git branch --no-merged mainThis is the critical step that goes beyond just checking tickets.
For each task in the plan:
Identify what should exist based on the task description
Search the codebase to verify implementation:
Verify tests exist:
gh pr checks {pr_number} or check test files directlyValidate integration:
Assign each task one of these statuses:
Create a comprehensive report with:
# Plan Status Report: {plan_file_name}
Generated: {timestamp}
## Overall Status
- Total Tasks: {count}
- ✅ Complete: {count} ({percentage}%)
- ⚠️ Partially Complete: {count} ({percentage}%)
- 🚧 In Progress: {count} ({percentage}%)
- ❌ Not Started: {count} ({percentage}%)
- ⛔ Blocked: {count} ({percentage}%)
## Detailed Task Status
### ✅ Complete ({count})
1. **{task_title}**
- Issue: #{number} (Closed)
- PR: #{number} (Merged on {date})
- Implementation: Verified at {file_path}:{line}
- Tests: ✓ {test_count} tests found
- Coverage: {percentage}% of new code
### ⚠️ Partially Complete ({count})
1. **{task_title}**
- Issue: #{number} (Closed)
- PR: #{number} (Merged on {date})
- Implementation: Found at {file_path}:{line}
- ⚠️ Issues: {missing_tests | incomplete_implementation | missing_docs}
### 🚧 In Progress ({count})
1. **{task_title}**
- Issue: #{number} (Open)
- PR: #{number} (Under review)
- Review Status: {approved | changes_requested | pending}
### ❌ Not Started ({count})
1. **{task_title}**
- No issue found
- Action: Run `/tasks-from-plan {plan_file}` to create issues
### ⛔ Blocked ({count})
1. **{task_title}**
- Issue: #{number} (Open)
- Blocker: {reason}
- Dependencies: {dependency_list}
## Recommendations
### High Priority Actions
- [ ] {action_item_1}
- [ ] {action_item_2}
### Quality Improvements Needed
- [ ] {quality_issue_1}
- [ ] {quality_issue_2}
### Next Steps
1. {next_step_1}
2. {next_step_2}
## Implementation Verification Details
### Missing Tests
- {feature_name}: Expected tests in {expected_location}, but not found
### Incomplete Implementations
- {feature_name}: PR #{number} merged but {specific_functionality} not found in codebase
### Documentation Gaps
- {feature_name}: No documentation found for {aspect}
Add a status section to the plan file (at the end):
---
## Implementation Status
Last updated: {timestamp}
### Completion Summary
- Overall: {percentage}% complete
- Tasks Complete: {count}/{total}
- All PRs Merged: {yes/no}
- All Tests Passing: {yes/no}
### Detailed Status
{link_to_status_report}
### Outstanding Items
- {item_1}
- {item_2}
# Find issues related to a plan (GitHub)
gh issue list --search "in:body security-review-2024" --state all --json number,title,state
# Check PR status
gh pr view 42 --json state,mergedAt,reviews,checks
# Find test files for a feature
grep -r "test.*userValidation" --include="*.test.ts" --include="*.spec.ts"
# Check if specific functionality exists
grep -r "function validateUserInput" src/
# Check test coverage (if coverage tool available)
npm run test:coverage | grep "userValidation"
/tasks-from-plan firstA task is only marked ✅ Complete when ALL of these are true:
This rigorous verification ensures that "done" actually means "done and tested".