fix(tui): reorder project creation options - #2228
Conversation
|
Claude Security Review: no high-confidence findings. (run) |
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Small, self-consistent UI change: reorders PROJECT_KIND_OPTIONS so "agent code" appears before "harness" and drops the "(recommended)" label. The default in emptyCreateProjectForm remains kind: "harness", so harness is still preselected — which is why the tests correctly switch from down to up to navigate to "agent code" (now at index 0 vs. harness at index 1). The new assertion on indexOf in create.screen.test.tsx also correctly pins the visual ordering.
Nothing that needs changing before merge.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #2228 +/- ##
=========================================
Coverage 97.05% 97.05%
=========================================
Files 555 555
Lines 38385 38385
=========================================
+ Hits 37253 37255 +2
+ Misses 1132 1130 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|


Summary
agent codebeforeharnessin the project create TUI(recommended)label fromharnessVerification
bun test— 2,987 pass, 0 failbun run typecheckbun run lint:checkbun run format:check