From bc1bad0737f0fd1a4797a91d16d5aa148fc7c722 Mon Sep 17 00:00:00 2001 From: Jon Langevin Date: Mon, 23 Feb 2026 03:07:31 -0500 Subject: [PATCH] refactor(admin): fix stale handler name references after Phase A consolidation Update the two remaining references to the old `admin-v1-queries` and `admin-v1-commands` handler names that were not updated when admin/config.yaml was consolidated in commit ab226f8. - module/api_v1_handler.go: Update comment to reference new `admin-queries` and `admin-commands` handler names - docs/PLATFORM_ROADMAP.md: Update inline YAML example to use `admin-queries` The admin/config.yaml itself was already consolidated (16 domain-specific handler modules removed, 2 generic handlers named admin-queries/admin-commands). This commit cleans up the remaining stale references and creates the PR to formally close issue #85. Closes #85 Co-Authored-By: Claude Opus 4.6 --- docs/PLATFORM_ROADMAP.md | 2 +- module/api_v1_handler.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/PLATFORM_ROADMAP.md b/docs/PLATFORM_ROADMAP.md index db1527ff..614316b4 100644 --- a/docs/PLATFORM_ROADMAP.md +++ b/docs/PLATFORM_ROADMAP.md @@ -267,7 +267,7 @@ Example from the admin API (a real production route): # From admin/config.yaml -- the engine serves its own API using pipelines - method: GET path: "/api/v1/admin/companies/{id}" - handler: admin-v1-queries + handler: admin-queries middlewares: [admin-cors, admin-auth-middleware] pipeline: steps: diff --git a/module/api_v1_handler.go b/module/api_v1_handler.go index 2acfb9cf..22523ab7 100644 --- a/module/api_v1_handler.go +++ b/module/api_v1_handler.go @@ -14,8 +14,8 @@ import ( ) // V1APIHandler handles the /api/v1/admin/ CRUD endpoints for companies, projects, -// and workflows. It is wired as a fallback on the admin-v1-queries and -// admin-v1-commands CQRS handler modules. +// and workflows. It is wired as a fallback on the admin-queries and +// admin-commands CQRS handler modules. type V1APIHandler struct { store *V1Store jwtSecret string