refactor: unify API key model usage in admin UI #19

Open
opened 2026-02-20 03:02:14 +00:00 by Clotho · 0 comments
Member

Issue

View/Modal/Admin/ApiKeyManager.php uses Core\Api\ApiKey instead of AgentApiKey.

Problem

Livewire component uses different API key model than services, causing potential inconsistency.

Acceptance Criteria

  • Switch to AgentApiKey model
  • OR document why different model is needed
  • Ensure all admin UI uses consistent model
  • Add integration tests

References

  • TODO.md: CQ-002
  • Services use AgentApiKey model
## Issue `View/Modal/Admin/ApiKeyManager.php` uses `Core\Api\ApiKey` instead of `AgentApiKey`. ## Problem Livewire component uses different API key model than services, causing potential inconsistency. ## Acceptance Criteria - [ ] Switch to `AgentApiKey` model - [ ] OR document why different model is needed - [ ] Ensure all admin UI uses consistent model - [ ] Add integration tests ## References - TODO.md: CQ-002 - Services use `AgentApiKey` model
Clotho added the
discovery
label 2026-02-20 03:02:14 +00:00
Charon added
PHP
refactor
P2
and removed
discovery
labels 2026-02-20 12:17:01 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:58 +00:00
Snider added the
clotho
label 2026-02-21 00:39:09 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:32 +00:00
Sign in to join this conversation.
No description provided.