From f30764d60ff01ba07487b19a6e2f453b3be1431b Mon Sep 17 00:00:00 2001 From: emil User Date: Sat, 11 Jul 2026 23:55:15 +0000 Subject: [PATCH] GRM-145: refactor: adopt devx v0.40.0 --- .env.example | 2 +- AGENTS.md | 6 ++++++ pyproject.toml | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index f28b97f..000f426 100644 --- a/.env.example +++ b/.env.example @@ -51,7 +51,7 @@ GITEA_REGISTRATION_TOKEN=your-registration-token # Used by PIP_INSTALL to configure PIP_EXTRA_INDEX_URL CI_GITEA_USERNAME=your-gitea-username -# Role-based Gitea API tokens (devx 0.38.0+) +# Role-based Gitea API tokens (devx 0.40.0+) # DEVELOPER_GITEA_API_TOKEN is used by local `grm trigger-workflow` and `make create-pr`. # CI_GITEA_API_TOKEN is used by CI workflows (and accepted as a fallback for local tools). # REVIEWER_GITEA_API_TOKEN is used by CI to post APPROVE reviews; it must belong to a diff --git a/AGENTS.md b/AGENTS.md index 30ddcc3..ae76154 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -84,6 +84,12 @@ as a defense-in-depth measure, but branch protection is the primary gate. ### 1. Create Vikunja Task Create a task in Vikunja project 6 via `make create-task -- --title "Task title" --description "

...

"` (requires `VIKUNJA_TOKEN` in `.env`). This prints the `GRM-N` identifier and next-step instructions. +**IMPORTANT:** The task title must NOT include the `GRM-N:` prefix. +The `make create-pr` and `check_auto_merge_ready` commands automatically +prepend `GRM-N: ` to the Vikunja task title when forming the PR title. +If the Vikunja task title already includes the prefix, the PR title will +have a double prefix and auto-merge validation will fail. + ### 2. Create Branch ```bash git checkout master && git pull diff --git a/pyproject.toml b/pyproject.toml index 4b2382c..26d6d46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ ci = [ "build==1.5.0", "twine==6.2.0", # Reusable CI/CD and dev tools (auto-merge, pr-review, pre-push checks, etc.) - "devx==0.38.0", + "devx==0.40.0", ] # Lint and type-checking tools (quality job) lint = [ @@ -54,7 +54,7 @@ molecule = [ dev = [ "grm[ci,lint,molecule]", # Reusable CI/CD and dev tools (pre-push hooks, create-task, create-pr) - "devx==0.38.0", + "devx==0.40.0", # Non-Python dev dependency: checkmake (Makefile linter) # Install via: go install github.com/checkmake/checkmake/cmd/checkmake@latest ]