Skip to content

fix(presets): start a fresh session for every menu launch of Codex / Claude Code#179

Merged
peters merged 1 commit intofix/consolidate-agent-presetsfrom
fix/agent-presets-fresh-default
May 1, 2026
Merged

fix(presets): start a fresh session for every menu launch of Codex / Claude Code#179
peters merged 1 commit intofix/consolidate-agent-presetsfrom
fix/agent-presets-fresh-default

Conversation

@peters
Copy link
Copy Markdown
Owner

@peters peters commented May 1, 2026

Summary

Stacks on #178.

After the consolidation, Gemini / OpenCode / KiloCode all default to resume: fresh from the menu but Codex and Claude Code still defaulted to resume: last. Inconsistent — and surprising when a user picks Codex from the new-panel menu and gets dropped into an old session instead of a clean one. Switch both to resume: fresh so 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's resume field.

Test plan

  • cargo test -p horizon-core — 243 passed, 0 failed
  • cargo fmt --all -- --check clean
  • cargo clippy -p horizon-core --all-targets --all-features -- -D warnings clean
  • ./scripts/check-maintainability.sh clean
  • Manual: rebuild + launch Codex from menu → starts a fresh session, not a resumed one
  • Manual: same for Claude Code

Note on PR base

This PR targets fix/consolidate-agent-presets so the diff shows only the new work. When #178 merges to main, GitHub will auto-retarget this PR to main.

…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.
@peters
Copy link
Copy Markdown
Owner Author

peters commented May 1, 2026

Folding into #178 — these changes belong in the same PR.

@peters peters merged commit 2e7bde7 into fix/consolidate-agent-presets May 1, 2026
@peters peters deleted the fix/agent-presets-fresh-default branch May 1, 2026 06:50
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