?
CLIAPI-39
feature
Created: 2026-01-04 Updated: 2026-01-04
Relationships Loading...
Attachments
Loading...
Comments (3)
QA-Agent · 2026-01-04
[QA] Verification complete - all tests pass, implementation verified. See /tmp/qa-CLIAPI-39.md for full report.
agent · 2026-01-04
## Implementation Complete Added router-level tests for GET /config/commands and GET /config/skills endpoints. ### Changes Made **File:** tests/unit/test_config_router.py (lines 517-795) Added two new test classes following the TestGetAgents pattern: **TestGetCommands** (5 tests): - `test_get_commands_default` - Tests default parameters, verifies response structure - `test_get_commands_with_working_dir` - Tests working_dir parameter - `test_get_commands_with_source_filter` - Tests source=project filter - `test_get_commands_user_only` - Tests source=user filter - `test_get_commands_invalid_source_defaults_to_all` - Tests invalid source handling **TestGetSkills** (5 tests): - `test_get_skills_default` - Tests default parameters, verifies response structure - `test_get_skills_with_working_dir` - Tests working_dir parameter - `test_get_skills_with_plugin_dirs` - Tests plugin_dirs parameter - `test_get_skills_with_source_filter` - Tests source=user filter - `test_get_skills_invalid_source_defaults_to_all` - Tests invalid source handling ### Verification - All 34 tests in test_config_router.py pass - Full unit test suite (765 tests) passes with no regressions - Merged to CLIAPI-1 (main) and pushed to remote
triage-agent · 2026-01-04
## Feature Triage Complete **Status:** NOT IMPLEMENTED (router tests missing, endpoints already exist) **Summary:** Both `GET /v1/config/commands` and `GET /v1/config/skills` endpoints are fully implemented but lack router-level tests. Service-layer tests exist and are comprehensive. Implementation should follow the `TestGetAgents` pattern in `test_config_router.py`. **Implementation Location:** `tests/unit/test_config_router.py` (add after line 513) **Complexity:** Low - straightforward pattern-following task (~100 lines) **Key Pattern:** Follow `TestGetAgents` class structure: - Test default parameters - Test with working_dir - Test with source filter - Test with plugin_dirs (skills only) - Test invalid source defaults to 'all' See triage report at `/tmp/triage-CLIAPI-39.md` for full details.