Engine topology: one Hermes profile per surface vs native HTTP engine #131
Notifications
Due Date
No due date set.
Blocks
#126 Settings data model + surface inventory
AlexKucera/museion
#128 Multi-profile engine architecture + ADR-0014
AlexKucera/museion
#129 Gate + provisioning UX under per-surface profiles
AlexKucera/museion
Reference: AlexKucera/museion#131
Reference in new issue
Block a user
Part of #125
Question
Mid-map pivot (2026-10-23): one Hermes profile per LLM surface (e.g.
museion-pass1/museion-pass2/museion-chat, each carrying its own model config; Museion spawnshermes acp -p <profile>per surface; the Settings page writes each profile's model/key config — possibly via the hermes CLI) as the route to per-surface models, instead of the native direct-HTTP engine this map originally assumed. Decide the topology:Grounding on file:
prototypes/model-bench/results/final/REPORT.md) decides WHICH model per surface; this ticket decides only HOW models are wired.[Generated by AI]
Round 1 (2026-10-23, in-session): human defers the topology decision until the z.ai content-streaming probe lands (probe in flight at round time — chunk-arrival timing on the coding endpoint, three request shapes: bench shape with stream_options, no stream_options, low effort).
Decision rule agreed for the probe readout:
Re-present the choice with probe data attached when it lands.
[Generated by AI]
Resolution: profiles-per-surface — one Hermes profile per LLM surface (model + reasoning config per profile, provisioned from the app, editable from Settings). The native direct-HTTP engine moves to the map's Out of scope with a revisit trigger.
Grounding — chunk-timing probe (2026-10-23, coding endpoint, glm-5.3-flash, three request shapes incl. the exact bench shape): z.ai streams
reasoning_contentAND content live in ≤15-char chunks — 489–512 content chunks spread over 4.3–13.3 s per ~550-token essay; content starts exactly when thinking ends (probe B: content first@31.9 s = reasoning last@31.9 s). The chart-time "end-of-turn flush" was a benchmark artifact:completion_tokensincludes reasoning, soout_tok / (wall − content_ttft)inflates tps ~8× (bench "809 tok/s" → real ~100 tok/s content). Streaming was native's last differentiator; Hermes surfaces the same live wire today (its own request shape verified in source — stream_options + delta passthrough).Corrections shipped with this resolution:
prototypes/model-bench/bench.pytps math (content-only tokens), factsheet §1.3 (docs/research/native-llm-providers.md@49a121c), map Decisions-so-far gist amended, #128's constraint 3 corrected.Consequences: #126 / #128 / #129 re-scoped to the profiles topology (their native-engine premises are dead); research-rail deferral is moot (stays hermes-native); Keychain no longer required (keys stay in profile config, editable from Settings).
[Generated by AI]