What problem does it solve? It enforces a consistent, safe end-to-end workflow for landing code changes in the Ava repository, preventing direct pushes to main, non-linear history, unverified merges, and broken shared virtual environments. ## Core Features & Use Cases - Mandatory worktree + PR flow: Every change is developed in an isolated git worktree on an ava-<id>-<task> branch, rebased onto main, and merged only via pull request with squash merge through the Trunk merge queue. - CI gating and watching: Changes are validated locally, then CI is polled via scripts/ci_utils.py or a reference watcher (reference/ci_watcher.py) that wakes the agent with an explicit verdict (green, failed, conflict, or no-workflow-run) instead of silent timeouts. - Edge-case handling: Covers pre-commit hook skips via named SKIP= (never --no-verify), merge-conflict rebasing, GitHub-limbo queued runs, QA qa-approved label gating, and safe worktree removal checks. - Use Case: After making a bug fix, an agent creates a worktree, commits, rebases on main, runs local tests, opens a PR, launches the CI watcher, submits to the Trunk merge queue, and cleans up the worktree once the PR lands. ## Quick Start Ask the agent to ship the current change by creating a worktree, opening a PR, waiting for green CI, and submitting it to the merge queue.