fix(installer): back navigation from Pi-only install shows unrelated Gentle AI…
- User
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
No 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.Interface
No new interfaces are introduced.
- Assistant
I’ll trace the installer’s Pi-only navigation state, load any repo workflow instructions that apply, then patch and run the focused tests.
- Assistant
rgisn’t installed in this environment, so I’m switching tofind/grepand continuing the same scoped inspection. - Assistant
The cause is confirmed: Pi-only deliberately skips persona/preset configuration on the way forward, but both Dependency Tree “Back” paths still use the generic preset-driven reverse route. I’m centralizing that reverse transition so Enter-on-Back and Esc both return Pi-only installs to agent selection.
- Assistant
The fix and regression coverage are in place. The focused test run is still completing; I’m also checking that the shared navigation helper preserved the existing OpenCode/Claude/custom back routes.
- Assistant
A focused regression test exposed a pre-existing difference between Enter-Back and Esc for OpenCode’s optional-plugin step. That is outside this Pi-only fix, so I’m narrowing the patch to preserve every existing non-Pi route exactly while handling Pi-only first in both paths.
- Assistant
The focused TUI suite now passes, including both Pi-only Back mechanisms and the existing navigation regression tests. I’m running the repository-wide test suite offline for the final verification.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.