19 lines
887 B
Text
19 lines
887 B
Text
완료 일시: 2026-05-04
|
|
|
|
요약: CLI capabilities가 실제 등록된 profile만 노출하도록 수정한 작업을 1회 리뷰 루프로 완료했다.
|
|
|
|
루프 이력:
|
|
|
|
| plan log | code review log | verdict |
|
|
|----------|-----------------|---------|
|
|
| `plan_0.log` | `code_review_0.log` | PASS |
|
|
|
|
최종 리뷰 요약:
|
|
|
|
- `apps/node/internal/adapters/cli/cli.go`에서 `knownAgents` 하드코딩 목록과 관련 추가 로직을 제거했다.
|
|
- `CLI.Capabilities`가 `c.profiles`의 키만 수집해 정렬된 `Models`로 반환하도록 단순화했다.
|
|
- `apps/node/internal/adapters/cli/cli_test.go`에 등록된 profile만 노출하는 케이스와 빈 profile 케이스 테스트를 추가했다.
|
|
|
|
잔여 Nit:
|
|
|
|
- `TestCapabilities_EmptyProfilesReturnsEmptyModels`에 non-nil empty slice 여부까지 단언하면 설계 결정이 테스트에 더 직접적으로 고정된다.
|