fix(presets): start a fresh session for every menu launch of Codex / Claude Code#179
Merged
peters merged 1 commit intofix/consolidate-agent-presetsfrom May 1, 2026
Conversation
…Claude Code Coding agents launched from the new-panel menu should always start a fresh session — same behavior as Gemini, OpenCode, and KiloCode after the consolidation in #178. The two remaining holdouts (Codex and Claude Code) defaulted to `resume: last`, which auto-resumes the previous session and surprises users who expected a clean slate from the menu. Switch both default presets to `resume: fresh`. Users who want to resume a previous session can launch via the agent's own resume flow (`codex resume`, `claude --continue`) or customise the preset.
Owner
Author
|
Folding into #178 — these changes belong in the same PR. |
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
Stacks on #178.
After the consolidation, Gemini / OpenCode / KiloCode all default to
resume: freshfrom the menu but Codex and Claude Code still defaulted toresume: last. Inconsistent — and surprising when a user picksCodexfrom the new-panel menu and gets dropped into an old session instead of a clean one. Switch both toresume: freshso every coding agent behaves the same way out of the box.Users who want to resume a previous session can use the agent's own resume flow (
codex resume,claude --continue) or customise the preset'sresumefield.Test plan
cargo test -p horizon-core— 243 passed, 0 failedcargo fmt --all -- --checkcleancargo clippy -p horizon-core --all-targets --all-features -- -D warningsclean./scripts/check-maintainability.shcleanCodexfrom menu → starts a fresh session, not a resumed oneClaude CodeNote on PR base
This PR targets
fix/consolidate-agent-presetsso the diff shows only the new work. When #178 merges tomain, GitHub will auto-retarget this PR tomain.