PR Workflow
What Each PR Contains
- Feature branch — Named descriptively based on the task (e.g.,
feat/setup-user-auth) - Implementation code — All files created or modified for the task
- Tests — Unit tests covering the new functionality
- Diff summary — Clear view of what changed and why
- Verification status — All acceptance criteria results
Branch Strategy
pre.dev follows a clean branch strategy:| Branch | Purpose |
|---|---|
main | Your production branch — agents never push here |
feat/* | Feature branches for each completed task |
Reviewing PRs
When reviewing agent-generated PRs:- Check the diff — Verify the implementation matches what you expected
- Review acceptance results — All automated checks should show PASSED
- Test locally (optional) — Pull the branch and run it yourself
- Merge or request changes — If something’s off, the agent can iterate
Merge Strategies
You control how PRs are merged:- Merge immediately — For tasks you’re confident about
- Batch merge — Let several PRs accumulate, review them together, merge in order
- Cherry-pick — Merge only specific PRs while skipping or reworking others
Code Quality
Because every PR passes acceptance verification before it’s opened, you’re reviewing verified, working code — not hoping it compiles.
- Types compile cleanly
- Linting rules pass
- Tests pass
- UI renders correctly (for frontend tasks)
Requesting Changes
If a PR doesn’t match your expectations:- Leave comments on the PR describing what should change
- The agent picks up your feedback
- A new commit is pushed to the same branch
- Verification runs again
- The PR updates with the fixed implementation
PR History
Your project’s PR history serves as a detailed log of how the codebase was built:- Each PR maps to a specific task in the spec
- PRs are opened in milestone order
- The commit history tells the story of the project’s construction

