fix: validate API keys on AgenticManager init #57
No reviewers
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-agentic#57
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/validate-api-keys-on-init"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Log::warning()inAgenticManager::registerProviders()for each provider registered without an API keyisAvailable() = false, preserving backward compatibilityChanges
Services/AgenticManager.php- threeLog::warning()checks before provider instantiation; inline docblock lists the three env varstests/Unit/AgenticManagerTest.php- newAPI key validation warningsdescribe block (7 test cases); updatedhandles missing configuration gracefullyto also assert 3 warnings are loggedTODO.md- mark DX-002 resolvedTest plan
./vendor/bin/pest --filter=AgenticManagerpassesCloses #29
Generated with Claude Code