feat(tui): onboarding teaches the model + empty-state teachers#1746
Merged
Conversation
- OnboardingScreen: assert intro step renders teaching copy + pipeline before model picker; Enter advances to model picker; Esc on intro navigates home; update existing tests to advance through intro first - PanelsScreen: assert new teacher empty text ([c]/[n] instructions) - ExpertsScreen: assert new teacher empty text (members-of-panels copy) - SessionsScreen: assert 'No debates' teacher text replaces 'No sessions' Co-authored-by: Copilot <175574315+pedrofuentes@users.noreply.github.com>
OnboardingScreen: add teaching intro step (intro | model) before the model picker. The intro pane shows the mental model pipeline (Council assembles AI experts → panels → convene → debate → conclusion) with a static ASCII pipeline and Enter/Esc hints. Enter advances to the existing model picker; Esc skips directly to home. All existing model- picker logic, inFlight guard, captured-input effect and useInput gating are preserved on the model step unchanged. PanelsScreen: emptyText now teaches [c] auto-compose and [n] build-from- experts actions using the actual keybindings the screen already binds. ExpertsScreen: emptyText now teaches [n] create and explains that experts are the members of panels. SessionsScreen: emptyText now says 'No debates yet' and teaches the user to convene a panel to watch them deliberate. HomeScreen is untouched (launchpad already covers the first-move prompt). Co-authored-by: Copilot <175574315+pedrofuentes@users.noreply.github.com>
Owner
Author
|
Status: APPROVED Sentinel Review ReportRef: feature/tui-onboarding-teach → main Phase 1 — TDD / Test Evidence
Phase 1.5 — Fast-path Evaluation🔴 count: 0 | LOC: 149 non-test source changed (≤150: Y) | Security paths: Y (TUI terminal-rendering surface) | New deps: N | Commit types qualify: N ( Phase 2 — Execution Log
Findings
Details (ordered by severity)No findings. Dimension D's real-timer observation and Dimension F's documentation/i18n observations were calibrated below the materiality floor: they either follow an existing test convention, lack a concrete trigger→mechanism→consequence risk path, or match existing hardcoded-string practice. Follow-ups & Actions
Decision rationale
|
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
Onboarding now opens with a teaching intro step before the model picker: shows the Council mental model (experts → panels → convene → debate → conclusion) with a static ASCII pipeline. Enter advances to the existing model picker; Esc skips to home directly from intro. All existing model-picker logic (inFlight guard, captured-input effect, ↑↓ cursor, confirmation flow) is preserved unchanged.
List-screen empty states became next-step teachers using each screen's actual keybindings:
No panels yet — [c] auto-compose from a topic, or [n] build from expertsNo experts yet — [n] create one. Experts are the members of your panels.No debates yet — convene a panel to watch them deliberateHomeScreen is untouched (launchpad already covers the first-move prompt).
Phase 10 TUI overhaul — PR-14
TDD
test(tui): add failing tests for onboarding intro + empty-state teachers(13 failing tests)feat(tui): onboarding teaches the model + empty-state teachers(impl only, 4 source files)