feat(config): persist the new-session work mode via default_work_mode - #7793
Open
lmsn-kang wants to merge 1 commit into
Open
feat(config): persist the new-session work mode via default_work_mode#7793lmsn-kang wants to merge 1 commit into
lmsn-kang wants to merge 1 commit into
Conversation
Adds the top-level default_work_mode key (economy|balanced|delivery) so new sessions start in the configured runtime profile when no --profile flag is passed, mirroring the existing default_model/default_effort persistence. Explicit --profile still wins (flag > config > balanced default); invalid configured values fail exactly like invalid --profile values. Resolves esengine#7658
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.
Adds the top-level default_work_mode key (economy|balanced|delivery) so new sessions start in the configured runtime profile when no --profile flag is passed, mirroring the existing default_model/default_effort persistence. Explicit --profile still wins (flag > config > balanced default); invalid configured values fail exactly like invalid --profile values.
Resolves #7658
Summary
Issues
Verification
Documentation impact
Documentation-impact: updated - documents the new default_work_mode key in docs/GUIDE.md and reasonix.example.toml.
Cache impact
Cache-impact: none - the new key only selects the pre-existing profile path at session start; no system-prompt prefix bytes, tool schemas, or cache behavior change.
Cache-guard: go test ./internal/cli/ ./internal/config/ - the change does not touch boot/tool/provider prompt construction.
System-prompt-review: author-verified against the cache-stable prefix contract - no system prompt, memory prefix, output style, or skill index bytes change; delivery/economy injection is the pre-existing --profile path, untouched; maintainer review welcome.