# Roadmap Milestone overview. Each step becomes one or more Gitea issues; link them here once they exist. Status lives on the project board only (see [agentic-workflow.md](agentic-workflow.md)), so this file has no checkboxes. ## Setup - **0. Project skeleton and CI:** `pyproject.toml` with uv, ruff (rule sets `E`, `F`, `I`, `B`, `UP`, `ASYNC`) and pyright in strict mode; empty `src/deverenz/` and `tests/` layout. A Gitea Actions workflow runs ruff, pyright and pytest on every PR. First check on the dev Gitea that Actions is enabled and a runner is available. ## MVP - **1. PR draft prompt (most important):** `deverenz pr create --dry-run` reads the local diff and the linked issue and prints the generated title and description. Iterate on the prompt until reviewers find it genuinely useful. Everything else depends on this. - Judge the prompt mainly on the requirement check: the deliberate-deviation case must be caught, and nothing may be falsely reported as implemented. - Include the ticket checks: "no linked ticket" warning and the ticket quality rating with concrete gaps. - Keep 3–5 realistic cases in `tests/prompt_cases//` (`diff.patch` + `issue.md`), including one with a deliberate deviation from the issue. - `--case ` runs a stored case instead of the local repo; render all cases into gitignored `out/` to compare prompt versions side by side. - Once that works, add a project skill `/try-prompt` that runs all cases. - **2. Open PRs from the CLI:** `deverenz pr create` pushes the branch and opens the PR via the Gitea API. - **3. Merge report from the CLI:** `deverenz merged owner/repo ` posts the delivery summary with the record block on the ticket, links it from the PR, and applies the Done gate (close + move to Done only when clean, otherwise leave open for a PO decision). Has `--dry-run`. - **4. Webhook server:** FastAPI route and signature check. `synchronized` refreshes the PR body block; merge runs step 3's pipeline. - **5. Packaging:** Dockerfile, `docker-compose.yml` (deverenz service only), `deverenz register owner/repo` to create the webhook via the API. - **6. Tests:** replay stored payloads with pytest + respx. ## Developer tooling (later) - Claude Code status line: show model, context usage, current branch and the open roadmap step at the bottom of each session (set up via `/statusline`) ## Later - `--short` / `--detailed` output length flags - Extra board columns (e.g. "Test todo" / "Test done") - Let the LLM pick PR labels from the repo's existing labels - Forgejo verification Bigger ideas (other forges, Jira, sprint reports, Definition of Ready, the customizing assistant) live in `vision.md`.