Skip to content

fix: harden reasoning effort state handling#1

Merged
ian-pascoe merged 3 commits into
mainfrom
feat/prepare-for-release
Apr 25, 2026
Merged

fix: harden reasoning effort state handling#1
ian-pascoe merged 3 commits into
mainfrom
feat/prepare-for-release

Conversation

@ian-pascoe
Copy link
Copy Markdown
Owner

Summary

  • Split reasoning-effort state into current, persisted, and temporary reset variants so idle resets happen only once.
  • Validate reasoning effort levels before prompting or mutating state, and consolidate system guidance into a single prompt entry.
  • Add regression tests covering reset behavior, persisted settings, invalid levels, and new-session guidance.

Verification

  • pnpm run format:check
  • pnpm run lint
  • pnpm run test
  • pnpm run typecheck
  • pnpm run build

@ian-pascoe ian-pascoe changed the title Harden reasoning effort state handling fix: harden reasoning effort state handling Apr 25, 2026
@ian-pascoe ian-pascoe merged commit 5616012 into main Apr 25, 2026
2 checks passed
@ian-pascoe ian-pascoe deleted the feat/prepare-for-release branch April 25, 2026 12:18
@github-actions github-actions Bot mentioned this pull request Apr 25, 2026
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