ISSUE DESCRIPTION fix(installer): back navigation from Pi-only install shows unrelated…
- User
ISSUE DESCRIPTION
fix(installer): back navigation from Pi-only install shows unrelated Gentle AI configuration
Pre-flight Checklist
- I have searched existing issues and this is not a duplicate
- I understand that PRs will be rejected if the linked issue does not have
status:approved
📝 Bug Description
When running the
gentle-piinstaller fromgentle-ai, if I select onlyPias the installation target and then useBackon the next step,
the installer returns to an unexpected configuration flow.Instead of going back to the previous installation target selection, it shows configuration options that do not correspond to the selected
Pi-only path, such as TDD configuration, multi-agent installation, communication style, and related Gentle AI setup options.🔄 Steps to Reproduce
- Start the
gentle-aiinstaller.
2. Select onlyPias the installation target.
3. Continue to the next step.
4. SelectBack.
5. Observe that the installer shows configuration screens for TDD, multi-agent setup, speaking style, etc.
✅ Expected Behavior
After selecting
Back, the installer should return to the previous relevant step in the Pi-only installation flow, likely the installation
target selection screen.❌ Actual Behavior
The installer jumps to unrelated Gentle AI configuration screens, including TDD setup, multi-agent installation, communication style, and other
options that were not expected after choosing a Pi-only installation.Gentle AI Version
v 1.30.5
Operating System
macOS
AI Agent / Client
Other
📋 Affected Area
CLI (commands, flags)
💡 Logs / Error Output
shellNo logs available. This appears to be an installer navigation/state-flow issue.Additional Context
This happens specifically when selecting only
Piduring installation and then navigating back from the following step. - Assistant
I’ll trace the installer flow and its back-navigation state, identify where the Pi-only branch falls through to the general Gentle AI configuration, then patch the narrowest routing/state issue. I’ll run the relevant tests (or a focused reproduction if tests are absent), inspect the diff, and only then submit.
- Assistant
The bug is in the Pi-only shortcut: continuing from
ScreenAgentsjumps directly toScreenDependencyTree, but the selection keeps a non-custom preset value. Both dependency-tree back paths therefore apply generic preset-flow logic, which can route through unrelated configuration screens. I’ll special-case Pi-only navigation so Back returns toScreenAgents, preserving the existing combined-Pi generic flow. - Assistant
The code change is in place. The first test attempt was blocked by the environment having neither
GOMODCACHEnorGOPATHconfigured, rather than by a test failure. I’ll configure a temporary Go cache and rerun the focused packages, then manually exercise both Esc and Enter-on-Back behavior through a temporary test harness if needed. - Assistant
The focused TUI/model tests and the full repository test suite pass, and the diff has no whitespace errors. To directly verify the reported interaction, I’ll run a temporary package test covering both forms of Back from the Pi-only dependency screen, remove that temporary file, and recheck repository state before submission.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.