Skip to content

refactor(admin): fix stale handler name references after Phase A consolidation#115

Merged
intel352 merged 1 commit intomainfrom
refactor/issue-85-consolidate-admin-handlers
Feb 23, 2026
Merged

refactor(admin): fix stale handler name references after Phase A consolidation#115
intel352 merged 1 commit intomainfrom
refactor/issue-85-consolidate-admin-handlers

Conversation

@intel352
Copy link
Contributor

Summary

  • The admin/config.yaml Phase A consolidation (removing 16 domain-specific handler modules, renaming admin-v1-queries/admin-v1-commands to admin-queries/admin-commands) was completed in commit ab226f8
  • Two stale references to the old handler names remained in non-config files

Changes:

  • module/api_v1_handler.go: Update comment to reference admin-queries and admin-commands (was admin-v1-queries and admin-v1-commands)
  • docs/PLATFORM_ROADMAP.md: Update inline YAML example to use handler: admin-queries (was handler: admin-v1-queries)

Verification

  • go build -o /tmp/server ./cmd/server — compiles cleanly
  • ./server -config admin/config.yaml — starts successfully, admin-queries and admin-commands modules register and initialize
  • go test ./... — all tests pass
  • golangci-lint run — 0 issues

Closes #85

🤖 Generated with Claude Code

…olidation

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 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 23, 2026 08:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates remaining documentation/comment references to the consolidated admin handler module names (admin-queries, admin-commands) after Phase A admin config consolidation.

Changes:

  • Update V1APIHandler header comment to reference admin-queries / admin-commands.
  • Update docs/PLATFORM_ROADMAP.md inline YAML example to use handler: admin-queries.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
module/api_v1_handler.go Fixes stale handler module name references in the V1APIHandler comment.
docs/PLATFORM_ROADMAP.md Updates the admin route YAML example to use the consolidated handler name.

@intel352 intel352 merged commit 77cfaa3 into main Feb 23, 2026
17 of 18 checks passed
@intel352 intel352 deleted the refactor/issue-85-consolidate-admin-handlers branch February 23, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Admin Decomposition: Consolidate 18 handler modules into 2 generic handlers (Phase A)

2 participants