Skip to content

fix: make /reasoning session-scoped by default - #15522

Closed
Alex-giao wants to merge 1 commit into
NousResearch:mainfrom
Alex-giao:fix/reasoning-session-global
Closed

fix: make /reasoning session-scoped by default#15522
Alex-giao wants to merge 1 commit into
NousResearch:mainfrom
Alex-giao:fix/reasoning-session-global

Conversation

@Alex-giao

@Alex-giao Alex-giao commented Apr 25, 2026

Copy link
Copy Markdown

Summary

  • make /reasoning <level> session-scoped by default across CLI, gateway, and TUI
  • add explicit --global persistence semantics to match /model
  • clear/reapply reasoning overrides correctly on session boundaries and background/TUI agent rebuild paths
  • add regression coverage for malformed --global parsing and TUI session-create races

Test Plan

  • scripts/run_tests.sh tests/cli/test_reasoning_command.py tests/gateway/test_reasoning_command.py tests/test_tui_gateway_server.py
  • git diff --check
  • independent reviewer subagent pass (no blocking findings)

Notes

  • push to upstream origin was not permitted from this checkout, so the branch was pushed to the existing fork remote and the PR was opened from Alex-giao:fix/reasoning-session-global.

- align /reasoning with /model semantics across CLI, gateway, and TUI
- keep --global as the explicit persistence path
- add coverage for malformed flag parsing and TUI session-create races
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery comp/tui Terminal UI (ui-tui/ + tui_gateway/) labels Apr 25, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #14558 — same feature (make /reasoning session-scoped by default with --global flag). Please coordinate to avoid merge conflicts.

@teknium1

Copy link
Copy Markdown
Contributor

Closing as superseded by #15533.

Triage notes (high confidence):
Merged PR #15533 titled 'fix(gateway): make /reasoning session-scoped by default' (2026-04-26) implements the same fix.

Thanks for the contribution — the underlying problem this PR addresses has been resolved by the linked PR on current main. If you believe this was closed in error, please comment and we'll reopen.

(Bulk-closed during a CLI PR triage sweep.)

@teknium1 teknium1 closed this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery comp/tui Terminal UI (ui-tui/ + tui_gateway/) P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants