Settings page UI prototype #130

Closed
opened 2026-10-23 10:12:44 +02:00 by AlexKucera · 4 comments
Owner

Part of #125

Question

What should the settings page look like? Throwaway HTML prototype in ref/prototypes/ (house pattern, wf104 precedent): providers section (per provider: endpoint field incl. a z.ai coding-plan vs standard toggle — the key-type trap, API key field with Keychain posture, Test Connection probe showing latency + model count); per-surface model dropdowns (Pass 1 / Pass 2 / Chat…) fed from a mocked /models fetch; GLM thinking-effort control (low/high/max) shown only for z.ai GLM models; each surface row shows its profile name + current model (profiles topology, #131 — no engine selector); two-color DesignTokens palette, warm paper chrome. React-to-artifact: the validated decision folds into the settings build slice; the prototype itself is captured on a throwaway branch. Informs the settings data-model ticket — surface list shown here is a candidate, not settled.

[Generated by AI]

Part of #125 ## Question What should the settings page look like? Throwaway HTML prototype in `ref/prototypes/` (house pattern, wf104 precedent): providers section (per provider: endpoint field incl. a z.ai coding-plan vs standard toggle — the key-type trap, API key field with Keychain posture, Test Connection probe showing latency + model count); per-surface model dropdowns (Pass 1 / Pass 2 / Chat…) fed from a mocked /models fetch; GLM thinking-effort control (low/high/max) shown only for z.ai GLM models; each surface row shows its profile name + current model (profiles topology, #131 — no engine selector); two-color DesignTokens palette, warm paper chrome. React-to-artifact: the validated decision folds into the settings build slice; the prototype itself is captured on a throwaway branch. Informs the settings data-model ticket — surface list shown here is a candidate, not settled. [Generated by AI]
AlexKucera added the wayfinder:prototypewayfinder:prototype labels 2026-10-23 10:12:44 +02:00
Author
Owner

From #128 (resolution: #128 (comment)): model dropdown sources hermes' registry ~/.hermes/provider_models_cache.json + free-text combo; writes via hermes -p X config set model.default|base_url|reasoning_effort, keys = direct .env write per matching profile; effort dropdown per provider vocabulary (zai low/high/max · OpenAI low/med/high/xhigh/max · Anthropic low/med/high/xhigh/max) — human correction, all three providers get the dial; budget is NOT a Settings control (24k written once at provisioning).

[Generated by AI]

From #128 (resolution: https://git.babylondreams.de/AlexKucera/museion/issues/128#issuecomment-25168): model dropdown sources hermes' registry `~/.hermes/provider_models_cache.json` + free-text combo; writes via `hermes -p X config set model.default|base_url|reasoning_effort`, keys = direct `.env` write per matching profile; effort dropdown per provider vocabulary (zai low/high/max · OpenAI low/med/high/xhigh/max · Anthropic low/med/high/xhigh/max) — human correction, all three providers get the dial; budget is NOT a Settings control (24k written once at provisioning). [Generated by AI]
Author
Owner

Constraint from #129 (resolution: #129 (comment)): a Chat model save applies immediately — the resident engine auto-restarts in place (deferred while a turn streams). The prototype copy can say "applies immediately" on the Chat row; pass rows apply on next run. Surface rows: Pass 1 / Pass 2 / Chat over museion-pass1 / museion-pass2 / museion.

[Generated by AI]

Constraint from #129 (resolution: https://git.babylondreams.de/AlexKucera/museion/issues/129#issuecomment-25182): a Chat model save applies immediately — the resident engine auto-restarts in place (deferred while a turn streams). The prototype copy can say "applies immediately" on the Chat row; pass rows apply on next run. Surface rows: Pass 1 / Pass 2 / Chat over museion-pass1 / museion-pass2 / museion. [Generated by AI]
Author
Owner

Constraint from #132's resolution (defaults decided): each surface row in the prototype should show claude-sonnet-5-5 as the selected model value (Pass 1 / Pass 2 / Chat all seed it; Sessions rides Chat). Effort control appears per #128's all-provider vocabulary but only matters when a non-adaptive provider is selected — sonnet runs effort-unset (adaptive), GLM switch posture is low. Note hermes' anthropic registry cache lacks claude-sonnet-5-5 today, so the mocked dropdown can plausibly show it via the free-text combo path.

[Generated by AI]

Constraint from #132's resolution (defaults decided): each surface row in the prototype should show **claude-sonnet-5-5** as the selected model value (Pass 1 / Pass 2 / Chat all seed it; Sessions rides Chat). Effort control appears per #128's all-provider vocabulary but only matters when a non-adaptive provider is selected — sonnet runs effort-unset (adaptive), GLM switch posture is low. Note hermes' anthropic registry cache lacks claude-sonnet-5-5 today, so the mocked dropdown can plausibly show it via the free-text combo path. [Generated by AI]
AlexKucera self-assigned this 2026-10-26 11:34:17 +01:00
Author
Owner

Resolution — Variant C: sidebar + detail (System Settings shape)

Verdict (Alexander, live 2026-10-26): C. Sidebar destinations Content · Pass 1 · Pass 2 · Chat (· Sessions) · Provider Keys, detail pane per destination. Per-surface page carries provider select, model picker, reasoning-effort dropdown; Provider Keys page reuses the provider block (endpoint, z.ai key-type toggle swapping the endpoint family, masked key + reveal, Test Connection).

Validated along the way:

  • Free-text model entry is load-bearing, not a fallback. #132's seed default claude-sonnet-5-5 is NOT in the registry cache (~/.hermes/provider_models_cache.json has claude-sonnet-5, claude-opus-5-5, no sonnet-5-5) — the seeded state renders as custom (not in registry) on every surface. #128's "registry cache + free text" holds only if free text is a first-class path.
  • A/B were rejected as structures, not as parts: A's provider block survives inside C's Provider Keys page; B's "current model as the card's headline" is worth stealing for the per-surface detail page.
  • Fold-in cleanups noted from the pass over the prototype: quiet the field labels (the long effort caption wraps), drop issue-pointer annotations, the Custom… ↩ affordance becomes a proper combobox in SwiftUI.

Prototype captured on main @ 2032534: ref/prototypes/wf130-settings-ui-prototype.html (variants A/B/C, ?variant= + bottom pill; interactions live — provider switch swaps effort menus, z.ai toggle swaps endpoint, Test Connection probes, custom model entry).

[Generated by AI]

## Resolution — Variant C: sidebar + detail (System Settings shape) **Verdict (Alexander, live 2026-10-26): C.** Sidebar destinations `Content · Pass 1 · Pass 2 · Chat (· Sessions) · Provider Keys`, detail pane per destination. Per-surface page carries provider select, model picker, reasoning-effort dropdown; Provider Keys page reuses the provider block (endpoint, z.ai key-type toggle swapping the endpoint family, masked key + reveal, Test Connection). Validated along the way: - **Free-text model entry is load-bearing, not a fallback.** #132's seed default `claude-sonnet-5-5` is NOT in the registry cache (`~/.hermes/provider_models_cache.json` has `claude-sonnet-5`, `claude-opus-5-5`, no sonnet-5-5) — the seeded state renders as `custom (not in registry)` on every surface. #128's "registry cache + free text" holds only if free text is a first-class path. - A/B were rejected as structures, not as parts: A's provider block survives inside C's Provider Keys page; B's "current model as the card's headline" is worth stealing for the per-surface detail page. - Fold-in cleanups noted from the pass over the prototype: quiet the field labels (the long effort caption wraps), drop issue-pointer annotations, the Custom… ↩ affordance becomes a proper combobox in SwiftUI. Prototype captured on main @ 2032534: `ref/prototypes/wf130-settings-ui-prototype.html` (variants A/B/C, `?variant=` + bottom pill; interactions live — provider switch swaps effort menus, z.ai toggle swaps endpoint, Test Connection probes, custom model entry). [Generated by AI]
Sign in to join this conversation.