Skip to content

Settings overhaul - #733

Open
RANGROO wants to merge 31 commits into
unstablefrom
codex/global-settings-presets
Open

Settings overhaul#733
RANGROO wants to merge 31 commits into
unstablefrom
codex/global-settings-presets

Conversation

@RANGROO

@RANGROO RANGROO commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add Default and Local LLM Setup choices to Global Settings and Quickstart
  • add Default, Local LLM, Follower, and Passive presets to Profiles
  • add custom preset save, overwrite, export, and import for Global Settings and Profiles
  • make Local LLM a lightweight 13B-friendly setup while retaining NPC dialogue/actions, Player Respeech, and Director Mode
  • add independent availability switches for all eight global connector task families
  • add guided LM Studio, Ollama, llama.cpp, KoboldCPP, and OpenAI-compatible Local LLM setup/testing to Quickstart
  • reorganize Config Hub as Settings / AI & Voice / World & Behavior, with separate Player and Narration buttons and matching compact layouts
  • include the selected Setup name in Global Settings export filenames

Preset boundaries

  • Global Settings presets save/apply managed settings, context choices, profile defaults, and the eight availability switches.
  • Profile presets save/apply only the 18 managed roleplay, context, rechat, diary, combat, and event settings.
  • Neither preset system saves or changes connector assignments, models, URLs, credentials, profile identity, profile prompt, or profile slot.
  • Quickstart Local LLM remains the one explicit workflow that creates or updates its managed local connector.

Validation

  • focused preset regression: 8 tests, 48 assertions, all passing
  • exact-head PHP syntax checks and git diff --check pass
  • live Global Settings, Profiles, Quickstart, preset catalog, and profile APIs return HTTP 200
  • Global Settings export includes all eight availability switches, excludes connector assignments, and returns chim_global_settings_default.json
  • Prisma/PHP endpoint and operation contracts match for global apply/save/overwrite and profile apply/save/overwrite/export/import
  • browser layout checks pass at 1920, 1366, 1280, 760, and 390 px; all three Config Hub groups have identical computed widths, heights, and column counts
  • browser checks confirm Quickstart Default/Local LLM buttons, Local LLM follow-up controls, Other AI tasks: OpenRouter, Global Settings presets, and Profile presets
  • final server cleanup files are deployed to /var/www/html/HerikaServer with source/runtime SHA-256 matches
  • branch merges cleanly with current unstable
  • unstable push guard result: PR_REQUIRED; this PR is the intended publication path

Full-suite baseline

  • feature head: 275 tests, 2,664 assertions, 16 errors, 2 failures, 1 warning
  • current unstable: 268 tests, 2,617 assertions, 16 errors, 2 failures, 1 warning
  • the failure shape is unchanged; inherited issues are the Windows PostgreSQL/test double, missing ZipArchive, two unrelated assertions, and the missing OghmaContextRulesTest class

Review notes

Linked PR

Screenshots

Config Hub

config-hub-1366

Global Settings presets

global-settings-presets

Profile presets

profile-presets

Quickstart Local LLM

quickstart-local-llm

@RANGROO RANGROO changed the title Add reusable Global Settings presets Settings overhaul Aug 24, 2026
@RANGROO
RANGROO marked this pull request as ready for review August 25, 2026 03:31
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