Prompt file imported from WillWhittakerDHP/LEGACY_DHP_Differential_Scheduler (
.cursor/commands/docs/troubleshooting-guide.md). Copyright stays with the author.
Troubleshooting Guide
Purpose: Solutions and workarounds for common workflow command and documentation issues
Date Created: 2025-11-16
Location: .cursor/commands/docs/
Overview
This guide provides solutions for common issues encountered when using the workflow manager system. Issues are organized by category: command issues, workflow problems, file path errors, and documentation sync problems.
Command Issues
Commands Not Working as Expected
Issue: Command syntax error
Symptoms:
- Command not recognized
- Unexpected behavior
- Error message about invalid syntax
Solution:
- Verify command syntax matches documented format
- Check command naming:
/{action}-{tier}for composite,/{tier}-atomic-{action}for atomic - Ensure all required parameters are provided
- Check for typos in tier identifiers (feature name, phase number, session ID)
Example:
❌ Wrong: /start-feature user authentication
✅ Correct: /start-feature user-authentication "Build user authentication system"
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for command syntax - See
.cursor/commands/docs/atomic-commands-architecture.mdfor atomic command syntax
Issue: Command creates wrong file structure
Symptoms:
- Files created in wrong location
- Incorrect file naming
- Missing files
Solution:
- Verify feature name matches existing feature directory
- Check file path structure:
.cursor/project-manager/features/[name]/ - Ensure phase/session numbers match existing structure
- Verify git branch name matches feature name
File Path Structure:
.cursor/project-manager/features/[name]/
├── feature-[name]-guide.md
├── feature-[name]-log.md
├── feature-[name]-handoff.md
├── phases/
│ └── phase-[N]-guide.md
└── sessions/
└── session-[X.Y]-guide.md
Reference:
- See
.cursor/project-manager/docs/feature-tier-architecture.mdfor file structure
Issue: Atomic command not found
Symptoms:
- Error: "Command not found"
- Atomic command doesn't exist
Solution:
- Verify atomic command naming:
/{tier}-atomic-{action} - Check available atomic commands in Rule 22
- Use composite command if atomic command doesn't exist
- Verify tier level (feature/phase/session/task)
Available Atomic Commands:
- Feature:
/feature-atomic-create,/feature-atomic-research,/feature-atomic-load,/feature-atomic-checkpoint,/feature-atomic-summarize,/feature-atomic-close - Phase:
/phase-atomic-create,/phase-atomic-load,/phase-atomic-checkpoint,/phase-atomic-summarize,/phase-atomic-close - Session:
/session-atomic-create,/session-atomic-load,/session-atomic-checkpoint,/session-atomic-summarize,/session-atomic-close - Task:
/task-atomic-create,/task-atomic-load,/task-atomic-checkpoint,/task-atomic-close
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for atomic commands list - See
.cursor/commands/docs/atomic-commands-architecture.mdfor complete documentation
File Path Errors
Issue: Feature not found
Symptoms:
- Error: "Feature [name] not found"
- Cannot load feature context
Solution:
- Verify feature directory exists:
.cursor/project-manager/features/[name]/ - Check feature name spelling (case-sensitive, use kebab-case)
- Ensure feature guide exists:
feature-[name]-guide.md - Create feature structure if missing:
/plan-feature [name] [description]
Example:
❌ Wrong: /start-feature UserAuthentication
✅ Correct: /start-feature user-authentication
Reference:
- See
.cursor/project-manager/docs/feature-tier-architecture.mdfor feature structure
Issue: Phase not found
Symptoms:
- Error: "Phase [N] not found"
- Cannot load phase context
Solution:
- Verify phase directory exists:
.cursor/project-manager/features/[name]/phases/ - Check phase guide exists:
phase-[N]-guide.md - Verify phase number matches existing phases
- Create phase if missing:
/plan-phase [N] [description]
Note: /start-phase will automatically create phase if it doesn't exist (conditional composition)
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for conditional compositions
Issue: Session not found
Symptoms:
- Error: "Session [X.Y] not found"
- Cannot load session context
Solution:
- Verify session directory exists:
.cursor/project-manager/features/[name]/sessions/ - Check session guide exists:
session-[X.Y]-guide.md - Verify session ID format:
[phase].[session](e.g.,2.1) - Create session if missing:
/plan-session [X.Y] [description]
Note: /start-session will automatically create session if it doesn't exist (conditional composition)
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for conditional compositions
Git Branch Issues
Issue: Feature branch not created
Symptoms:
- Git branch missing after
/start-feature - Cannot find
feature/[name]branch
Solution:
- Verify git repository is initialized
- Check current branch:
git branch - Ensure
developbranch exists (feature branches branch fromdevelop) - Manually create branch if needed:
git checkout -b feature/[name]
Branch Strategy:
- Feature branches:
feature/[name](fromdevelop) - Created at:
/start-feature - Merged at:
/end-feature - Deleted after merge
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for git branch strategy
Issue: Wrong base branch
Symptoms:
- Feature branch created from wrong branch
- Merge conflicts
Solution:
- Verify feature branches branch from
develop(notmain) - Check current branch before creating feature:
git branch - Switch to
developif needed:git checkout develop - Pull latest changes:
git pull origin develop - Create feature branch:
git checkout -b feature/[name]
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for git branch strategy
Workflow Problems
Session/Phase/Feature Not Found Errors
Issue: Cannot start session
Symptoms:
/start-sessionfails- Session files not found
Solution:
- Verify session exists or use
/plan-sessionfirst - Check session ID format:
[phase].[session](e.g.,2.1) - Verify parent phase exists
- Use
/start-session- it will create session if missing (conditional composition)
Workaround:
/plan-session 2.1 "Build login component"
/start-session 2.1 "Build login component"
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for session commands
Issue: Cannot start phase
Symptoms:
/start-phasefails- Phase files not found
Solution:
- Verify phase exists or use
/plan-phasefirst - Check phase number matches existing phases
- Verify parent feature exists
- Use
/start-phase- it will create phase if missing (conditional composition)
Workaround:
/plan-phase 2 "Implement authentication middleware"
/start-phase 2 "Implement authentication middleware"
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for phase commands
Checkpoint Issues
Issue: Checkpoint not updating
Symptoms:
- Checkpoint command runs but log not updated
- Progress not tracked
Solution:
- Verify log file exists:
feature-[name]-log.md,phase-[N]-log.md,session-[X.Y]-log.md - Check file permissions (should be writable)
- Verify checkpoint format matches template
- Manually update log if needed
Checkpoint Format:
### Checkpoint: [Date]
**Status:** [Current status]
**Progress:** [What was accomplished]
**Next:** [Next steps]
Reference:
- See
.cursor/commands/tiers/*/templates/for log templates
Issue: Checkpoint creates duplicate entries
Symptoms:
- Multiple checkpoint entries for same task
- Log file has duplicates
Solution:
- Check if checkpoint already exists before creating new one
- Update existing checkpoint instead of creating duplicate
- Review log file before adding checkpoint
- Use unique checkpoint identifiers (date/time)
Best Practice:
- One checkpoint per task completion
- Update existing checkpoint if task continues
- Use dates/timestamps for checkpoint identification
Documentation Sync Problems
Issue: Handoff document out of sync
Symptoms:
- Handoff document shows outdated information
- Next steps don't match current state
Solution:
- Update handoff document after each task/session
- Use
/update-handoffcommand if available - Manually update handoff sections:
- Current State
- Next Action
- Files Modified
- Dependencies
Handoff Update Process:
- Review current work state
- Update "Current State" section
- Update "Next Action" with immediate next step
- List files modified since last update
- Update dependencies if changed
Reference:
- See
.cursor/commands/tiers/session/templates/session-handoff.mdfor handoff format
Issue: Guide and log out of sync
Symptoms:
- Guide shows different status than log
- Checkboxes not updated
Solution:
- Update guide checkboxes as work progresses
- Keep log entries aligned with guide structure
- Review both documents regularly
- Use consistent status indicators
Sync Process:
- After completing task: Update log entry
- Update guide checkbox:
- [ ]→- [x] - Update status in both documents
- Verify consistency
Reference:
- See
.cursor/commands/tiers/*/templates/for guide and log templates
Tier Confusion
Issue: Wrong tier level selected
Symptoms:
- Work planned at wrong tier (e.g., feature instead of session)
- Scope mismatch
Solution:
- Use
/tier-discriminator [description]or/what-tier [description]before planning - Review tier criteria:
- Feature: Weeks/months, multiple phases, architectural decisions, new git branch
- Phase: Weeks, multiple sessions, major milestones
- Session: Hours/days, multiple tasks, focused work
- Task: Minutes/hours, single focused work item
- Adjust tier level if needed
Tier Selection Guide:
/tier-discriminator "Build login component"
Returns recommended tier, reasoning, and suggested command.
Reference:
- See
.cursor/commands/docs/tier-discriminator-guide.mdfor tier selection guide
Issue: Work spans multiple tiers
Symptoms:
- Work doesn't fit single tier
- Unclear which tier to use
Solution:
- Break work into appropriate tier levels
- Use feature for overall initiative
- Use phases for major milestones
- Use sessions for focused work
- Use tasks for specific implementations
Example:
- Feature: "User Authentication System"
- Phase 1: "Backend API"
- Session 1.1: "JWT Implementation"
- Task 1.1.1: "Create JWT token generator"
Reference:
- See
.cursor/project-manager/docs/feature-tier-architecture.mdfor tier hierarchy
Command-Specific Issues
Feature Commands
Issue: /end-feature prompts but merge fails
Symptoms:
- Feature end workflow starts
- Git merge fails
- Branch not deleted
Solution:
- Verify all changes committed:
git status - Check for merge conflicts:
git merge feature/[name] - Resolve conflicts if any
- Ensure
developbranch is up to date:git pull origin develop - Retry merge manually if needed
Manual Merge Process:
git checkout develop
git pull origin develop
git merge feature/[name]
# Resolve conflicts if any
git push origin develop
git branch -d feature/[name]
Issue: Research phase not completed
Symptoms:
/start-featurerequires research phase- Research questions not answered
Solution:
- Complete research phase:
/feature-atomic-research [name] - Answer all research questions (30+ questions)
- Document research findings in feature guide
- Update feature log with research phase entry
Research Phase Requirements:
- 30+ questions covering 6 categories
- Architecture & Design (5 questions)
- Scope & Phases (5 questions)
- External Research (5 questions)
- Risk & Mitigation (5 questions)
- Testing & Quality (5 questions)
- Documentation & Communication (5 questions)
Reference:
- See
.cursor/commands/docs/research-question-set.mdfor research questions
Phase Commands
Issue: Phase change creates confusion
Symptoms:
/change-phasecreates new phase structure- Old phase structure still exists
Solution:
- Review phase-change documentation before using
- Understand difference between pivot changes and renumbering
- Update all references to old phase number
- Document change reason clearly
Phase Change Types:
- Pivot Change: Architecture/scope change, creates phase-change document
- Renumbering: Simple renumbering, updates references
Reference:
- See
.cursor/project-manager/docs/phase-change-workflow.mdfor phase change guide
Session Commands
Issue: Session end workflow incomplete
Symptoms:
/end-sessiondoesn't complete all steps- Some steps skipped
Solution:
- Verify app starts:
npm run start:dev:vueor/verify-app - Run quality checks:
/verify vueor linting - Update session log manually if needed
- Update handoff document manually if needed
- Git commit/push manually if needed
Manual Session End Process:
- Verify app starts
- Run quality checks
- Update session log
- Update handoff document
- Git commit and push
Reference:
- See
.cursor/rules/USER_CODING_RULES.mdRule 22 for session end workflow
Common Error Messages
"Feature [name] not found"
Cause: Feature directory doesn't exist or name mismatch
Solution: Create feature with /plan-feature [name] [description] or verify name spelling
"Phase [N] not found"
Cause: Phase directory doesn't exist or number mismatch
Solution: Create phase with /plan-phase [N] [description] or use /start-phase (creates if missing)
"Session [X.Y] not found"
Cause: Session directory doesn't exist or ID mismatch
Solution: Create session with /plan-session [X.Y] [description] or use /start-session (creates if missing)
"Command not recognized"
Cause: Command syntax error or typo
Solution: Verify command syntax, check command naming format, ensure all parameters provided
"Git branch [name] not found"
Cause: Feature branch not created or wrong name
Solution: Create branch manually: git checkout -b feature/[name] or verify /start-feature completed
Best Practices to Avoid Issues
1. Use Tier Discriminator
Before planning work, use /tier-discriminator to determine appropriate tier level.
2. Follow Command Naming
- Composite:
/{action}-{tier}(e.g.,/start-feature) - Atomic:
/{tier}-atomic-{action}(e.g.,/feature-atomic-load)
3. Verify File Structure
Before using commands, verify file structure exists or use commands that create structure automatically.
4. Keep Documentation Updated
Update guides, logs, and handoffs regularly to avoid sync issues.
5. Use Conditional Compositions
Use /start-phase and /start-session which automatically create structure if missing.
6. Check Git Status
Before ending features, verify git status and resolve any conflicts.
7. Complete Research Phase
Complete research phase before starting feature implementation.
8. Review Templates
Review templates before creating new documents to ensure proper structure.
Getting Help
Documentation References
- Command Syntax:
.cursor/rules/USER_CODING_RULES.mdRule 22 - Architecture:
.cursor/project-manager/docs/feature-tier-architecture.md - Atomic Commands:
.cursor/commands/docs/atomic-commands-architecture.md - Tier Selection:
.cursor/commands/docs/tier-discriminator-guide.md - Templates:
.cursor/commands/docs/template-usage-guide.md
Workflow Examples
- Active Feature:
.cursor/project-manager/features/vue-migration/ - Example Feature:
.cursor/commands/docs/examples/features/EXAMPLE-user-authentication/
Common Commands
/tier-discriminator [description]- Determine appropriate tier/plan-feature [name] [description]- Plan new feature/start-feature [name]- Start feature/plan-phase [N] [description]- Plan new phase/start-phase [N] [description]- Start phase/plan-session [X.Y] [description]- Plan new session/start-session [X.Y] [description]- Start session
Reporting Issues
If you encounter an issue not covered in this guide:
-
Document the issue:
- Command used
- Expected behavior
- Actual behavior
- Error messages
-
Check documentation:
- Review relevant architecture docs
- Check command syntax
- Verify file structure
-
Try workarounds:
- Use alternative commands
- Manual file creation
- Manual git operations
-
Update this guide:
- Add new issues and solutions
- Improve existing solutions
- Share with team
End of Troubleshooting Guide
This guide should be updated as new issues are discovered and resolved.
