v1.0 — parallel execution + merge strategy
The first stable milestone. Praetor now drains task DAGs in parallel using per-task git worktrees, with verify-gated commits and configurable merge strategy.
What's new
Parallel execution
praetor run --max-parallel Ndrains eligible siblings concurrently- Each task gets its own git worktree at
.praetor/worktrees/<task-id>/ parallel_ok: falsetasks run alone (pool drains first)- Worktree-collision recovery: failed tasks don't crash the run
- Stale-running detection at startup (fails closed with recovery guidance)
Merge strategy
manualdefault — verified tasks park aspending_mergefor human integrationautoopt-in via--merge-strategy autoonpraetor run, or per-task via frontmatterpraetor merge [TASK_ID...] [--all] [--retry]for selective or batch integrationgit merge --no-ff --no-editwith deterministic merge message- Idempotent (already-merged branches return success); abort hygiene on conflict
Other
- New
TaskStatusvalues:pending_merge,merge_failed(recoverable; does not cascade) praetor statusshows new statuses with distinct stylespraetor add --parallel-ok/--no-parallel-ok --merge-strategy auto|manual- Runner now owns task commits (
git add -A && git commitafter verify passes, in the worktree) - GitHub Actions CI on Python 3.11 + 3.12 + Docker build
- 115 tests across unit + integration + e2e
- Design spec published in roadmap.md
Backward compatibility
Sequential mode (--max-parallel 1, the default) preserves v0 behavior exactly — no worktrees, no runner-owned commits, no merge step. Existing v0 workflows continue to work without changes.
Install
PyPI publication is the next polish step. For now, install from source:
```bash
pipx install git+https://github.com/sid-valecha/praetor.git@v1.0
```
Then verify:
```bash
praetor --help
```
Honest limitations
These items are intentionally not in v1; each tracked as a GitHub issue:
- Conflict detection at dispatch time (#4)
- Post-merge verification on the base branch (#5)
- Recovery UX (`praetor reset`) for stale-running tasks (#6)
- Worktree cleanup flag for disk-pressure management (#7)
- Multi-OS CI matrix (#8)
- Code coverage reporting (#9)
- CLI progress / event callback API (#10)
Acknowledgements
v1's design picks were sharpened through Codex-based consultation passes (model: gpt-5.5, effort: high) before each implementation phase — auto-vs-manual merge default, worktree model expansion, and the runner-owned-commit pattern all came from those reviews. Implementation dispatches were verified independently before commit.