fix(tui): list project first in the root menu; rename 'scaffolded agent code' to 'agent code' - #2220
Merged
Conversation
…nt code' to 'agent code'
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
There was a problem hiding this comment.
AgentCore Harness Review
Verdict: Looks good
Small, focused change that:
- Reorders the root TUI menu so
projectis the first entry (in bothsupportedTuiCommandsand handler registration). - Renames the "scaffolded agent code" wizard option to "agent code".
- Updates all affected tests (
RouterScreen,CliOnlyScreen,root,project createwizard) to match the new order and label.
I checked for stragglers and everything is consistent:
- No remaining references to
"scaffolded agent code"anywhere insrc/. - Handler registration order (
index.tsx) matchessupportedTuiCommands(...)and matches the expected list inroot.test.tsx. - Other menu-related tests (e.g.
project.screen.test.tsx) filter by typing, so they're not affected by the reorder. - The
❯ harnessexample insrc/testing/setup.tsis just an illustrative comment about ANSI styling and doesn't need to change.
Nothing to block on. LGTM.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #2220 +/- ##
=========================================
Coverage 97.04% 97.04%
=========================================
Files 544 544
Lines 37536 37536
=========================================
Hits 36428 36428
Misses 1108 1108 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
nborges-aws
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small UX tweaks to the interactive TUI:
projectis now the first entry (it was last among the screen-backed commands). Menu and--helporder follow handler registration order, socreateProjectHandleris registered first insrc/handlers/index.tsx.project create→ type step: the second option now readsagent codeinstead ofscaffolded agent code.Tests that pinned the old ordering/label are updated accordingly. No behavioral changes beyond ordering and the label.
Before / after
Root menu:
project createtype step:Verification
bun test— 2900 pass, 0 failbun run typecheck,bun run lint:check,bun run format:check— clean