pdd checkup explores your project, audits dependencies, build integrity, cross-module interfaces, and tests, then optionally applies fixes, writes regression and end-to-end tests, and opens a pull request — all driven by a GitHub issue.
Usage
Arguments
URL of the GitHub issue describing what to check (e.g.,
https://github.com/myorg/myrepo/issues/42). The issue body describes the scope of the health check — for example, “Check the entire CRM app.”Options
Report-only mode. Discover and report all issues without applying any fixes. Runs steps 1–5 and 7 only.
Additional seconds to add to each step’s timeout. Increase this for large projects with slow build or test steps.
Disable GitHub state persistence and use local-only state.
The 8-step workflow
Discover
Scan the project structure, tech stack, and module inventory to build a complete picture of the codebase.
Dependency audit
Check that all imports resolve, no packages are missing, and no circular dependencies exist.
Interface check
Verify cross-module interfaces are consistent, frontend navigation is reachable, and API call patterns are uniform.
Fix issues
Apply fixes in three sub-steps:
- 6a — Fix missing deps, import errors, interface mismatches, build errors, orphan pages, and inconsistent API patterns.
- 6b — Write regression tests for every fix applied.
- 6c — Write end-to-end and integration tests for cross-module interactions.
Steps 3–7 run in an iterative loop (up to 3 iterations). If step 7 finds remaining issues, the workflow loops back to step 3 for another pass. The loop exits when step 7 reports “All Issues Fixed” or the maximum iteration count is reached.
Worktree isolation
All fix steps run inside an isolated git worktree on acheckup/issue-{N} branch. Your working directory is never modified during the process.
Cross-machine resume
Workflow state is stored as a hidden comment on the GitHub issue by default, allowing you to resume from any machine. Use--no-github-state to disable this behavior and keep state local.