Skip to content

refactor(tui): screen registry + CLI-fork data broker (deepening #6 + #7)#257

Merged
ycpss91255 merged 1 commit into
mainfrom
feat/tui-front-matter
Jun 22, 2026
Merged

refactor(tui): screen registry + CLI-fork data broker (deepening #6 + #7)#257
ycpss91255 merged 1 commit into
mainfrom
feat/tui-front-matter

Conversation

@ycpss91255

Copy link
Copy Markdown
Owner

Summary

TUI front-matter deepenings #6 + #7 (grilling-locked), precursor to phase 3.

Test plan

  • TUI unit specs green in Docker (tui_backend / render_fzf / detail / manage /
    quick_setup / review): 0 failures.
  • G4 gate: TUI sources no engine lib. shellcheck OK.
  • CI full gate (unit + integration + sharded coverage >=80%).

Deepening #6 + #7. .agents/memory untouched.

Generated with Claude Code.

)

#6: one TUI_SCREEN_REGISTRY (token -> handler) + _tui_invoke_screen dispatcher
replaces the duplicated manage/secrets/sysinfo/help token->screen case arms in
the fzf navigator, the whiptail main loop, and _tui_dispatch (one source of
truth; unknown token is a safe no-op). Navigator loop structure unchanged.

#7: tui_broker_init forks list/detect --json ONCE per session into cached temp
files with a single error path; tui_broker_list_json / tui_broker_detect_json
serve the cache (no re-fork). The fzf --preview cache folds into the broker;
per-invocation forks (show / install_plan / manage_plan / installed) stay direct.
G4 preserved (TUI sources no engine lib). Two adapters justify the seam: real
CLI fork (prod) + injected JSON (tests).

Claude-Session: https://claude.ai/code/session_01NX5H2vuMTv4mBmjpPYoS3s

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@ycpss91255 ycpss91255 enabled auto-merge (squash) June 22, 2026 13:59
@ycpss91255 ycpss91255 merged commit a2cce20 into main Jun 22, 2026
104 of 106 checks passed
@ycpss91255 ycpss91255 mentioned this pull request Jun 23, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant