Settings data model + surface inventory #126

Closed
opened 2026-10-23 10:12:42 +02:00 by AlexKucera · 1 comment
Owner

Part of #125

Question

What exactly is a configurable "LLM surface" in Museion, and what does each carry? Candidate surfaces from the app today: Pass 1, Pass 2 (PassKind), Chat (mentor freeform), Sessions (brainstorm / new post from session — one engine session model), Research (hermes-only, deferred by map note 5). Pin: the surface list v1 ships (does Sessions get its own model or share Chat's?); the per-surface config shape (provider, model id, GLM reasoning_effort, output budget); where it persists (the state.json pattern vs a new settings store under Application Support — keys in Keychain always); the migration story for an existing museion Home; and whether engine selection (native/hermes) is global or per-surface. Feeds the settings build slice and the gate-UX ticket.

[Generated by AI]

Part of #125 ## Question What exactly is a configurable "LLM surface" in Museion, and what does each carry? Candidate surfaces from the app today: Pass 1, Pass 2 (PassKind), Chat (mentor freeform), Sessions (brainstorm / new post from session — one engine session model), Research (hermes-only, deferred by map note 5). Pin: the surface list v1 ships (does Sessions get its own model or share Chat's?); the per-surface config shape (provider, model id, GLM reasoning_effort, output budget); where it persists (the state.json pattern vs a new settings store under Application Support — keys in Keychain always); the migration story for an existing museion Home; and whether engine selection (native/hermes) is global or per-surface. Feeds the settings build slice and the gate-UX ticket. [Generated by AI]
AlexKucera added the wayfinder:grillingwayfinder:grilling labels 2026-10-23 10:12:42 +02:00
AlexKucera added a new dependency 2026-10-23 10:12:58 +02:00
AlexKucera self-assigned this 2026-10-23 11:15:54 +02:00
Author
Owner

Resolution (2026-10-23, grilling — all five recommendations confirmed)

Surface inventory (v1): 3 surfaces — Pass 1, Pass 2, Chat. Sessions rides Chat's profile (same engine, same model — the Mentor is one mind, two registers). A separate Sessions profile is additive later if a real model split appears. Research stays hermes-native (map note 5).

Config shape = the profile's own model: block, nothing invented: provider, base_url (editable endpoint — the coding-plan vs standard z.ai trap), model id, reasoning_effort (low/high/max, GLM only). Output budget is a fixed 24k guardrail written as extra_body.max_tokens — NOT a v1 UI control (bench: effort is the dominant dial, 20s vs 194s, 7× cost; budget just protects reasoning output). Persona/skills stay provisioned, never user-configured. Verified against hermes source: model.provider/default/base_url/reasoning_effort + extra_body are real config keys; per-model reasoning_effort overrides agent.reasoning_effort.

Keys: per-provider in the UI, fan-out write. One key field per provider (z.ai, Anthropic, OpenAI); Settings writes it into every surface profile whose provider matches. Each profile's .env stays self-contained (hermes reads it there). Endpoint edits fan out the same way.

Persistence: no app-side settings store. Surface→profile mapping is static code (Pass 1→museion-pass1, Pass 2→museion-pass2, Chat→museion); profile config.yaml + .env are the single source of truth; Settings reads/writes those files directly. state.json stays engine-gate-only, schemaVersion 1 untouched.

Migration: Chat adopts the existing museion profile in place — name stays, all existing sessions/memories/transcripts survive. museion-pass1 / museion-pass2 provision fresh: bundled skill payload via ProfileProvisioner, model: block + provider key inherited from museion so passes work on first launch.

Also settled: no surface-disable toggle in v1 — three surfaces, always on (YAGNI).

Glossary: LLM Surface added to CONTEXT.md; Museion Profile updated for the three-profile topology.

Feeds: #129 (provisioning now knows chat = museion in place), #130 (prototype drops any Sessions row and any budget control), new ticket Default model + reasoning effort per surface for the bench-grounded defaults.

[Generated by AI]

## Resolution (2026-10-23, grilling — all five recommendations confirmed) **Surface inventory (v1): 3 surfaces — Pass 1, Pass 2, Chat.** Sessions rides Chat's profile (same engine, same model — the Mentor is one mind, two registers). A separate Sessions profile is additive later if a real model split appears. Research stays hermes-native (map note 5). **Config shape = the profile's own `model:` block, nothing invented:** provider, base_url (editable endpoint — the coding-plan vs standard z.ai trap), model id, reasoning_effort (low/high/max, GLM only). Output budget is a fixed 24k guardrail written as `extra_body.max_tokens` — NOT a v1 UI control (bench: effort is the dominant dial, 20s vs 194s, 7× cost; budget just protects reasoning output). Persona/skills stay provisioned, never user-configured. Verified against hermes source: `model.provider/default/base_url/reasoning_effort` + `extra_body` are real config keys; per-model `reasoning_effort` overrides `agent.reasoning_effort`. **Keys: per-provider in the UI, fan-out write.** One key field per provider (z.ai, Anthropic, OpenAI); Settings writes it into every surface profile whose provider matches. Each profile's `.env` stays self-contained (hermes reads it there). Endpoint edits fan out the same way. **Persistence: no app-side settings store.** Surface→profile mapping is static code (Pass 1→`museion-pass1`, Pass 2→`museion-pass2`, Chat→`museion`); profile `config.yaml` + `.env` are the single source of truth; Settings reads/writes those files directly. `state.json` stays engine-gate-only, schemaVersion 1 untouched. **Migration: Chat adopts the existing `museion` profile in place** — name stays, all existing sessions/memories/transcripts survive. `museion-pass1` / `museion-pass2` provision fresh: bundled skill payload via ProfileProvisioner, `model:` block + provider key inherited from `museion` so passes work on first launch. Also settled: no surface-disable toggle in v1 — three surfaces, always on (YAGNI). Glossary: **LLM Surface** added to CONTEXT.md; **Museion Profile** updated for the three-profile topology. Feeds: #129 (provisioning now knows chat = `museion` in place), #130 (prototype drops any Sessions row and any budget control), new ticket **Default model + reasoning effort per surface** for the bench-grounded defaults. [Generated by AI]
Sign in to join this conversation.