Skip to content

Umbrella: a default install works out of the box — every model role kind-checked and every basic function proved by a live post-install self-check #19739

Open
13 of 58 issues completed

Description

@mrveiss

Goal

Maintainer requirement (2026-10-26): "we need to pack everything perfectly to work out of box with default install."

A default install, and every builtin update, ends with a system where every basic function works, with no manual model or config fixes. "Works" is proved by a live self-check that exercises each function for real; a service being up is not enough. A failure fails the install loudly and names the function.

Why

A local install updated to c1312f2eec on 2026-10-26 was green on every service check, yet the following were broken:

Parts

  1. Self-check (child to file): a post-install and post-update self-check with one probe per function. Chat answers; the embedding model returns a vector of the expected size; a 5 MB upload is retrievable by search; a web connector's first sync ingests pages; chat retrieves from the KB and the code index; the graph renders; backup delete and restore work; a short transcription and a TTS line succeed; an idle backend issues no fact sweep. CI runs it on a fresh default install.
  2. Default model set: feat(llm): a default local model set that works out of the box, a recommended model list with hardware fit, and bring-your-own model per tier #19242 (one default per role, defined once, pulled and kind-checked on every install type, CPU-only included).
  3. Knowledge-base basics: Umbrella: knowledge base intake is built but two legs are severed — upload has no UI, transcriber output cannot land #17527.

Model audit, 2026-10-26: gaps and their homes

Gap Issue
Embedding role resolves to a chat model; the deployed value is preserved forever #18834, #19736
GPU detection misses WSL2; instruction, system and failsafe models never pulled #19731
Failsafe: three defaults, primary equals secondary #19733
TTS model setting never reaches the loader #19734
NPU worker has no default model #19735
Code-embedding model never provisioned #19738
Pulls check the name, never the kind #19736
Model-name guards skip templates and accept agreeing copies #19737
Default chat model is only in the GPU pull list (a CPU-only install has no chat model) #19242
Two whisper defaults #17778, #18014
Reranker setting never read #19355
Generation-parameter defaults defined twice (temperature 0.7 at ssot_constants.py:191 and :646; max_tokens = 2048 and 100 under one name) #19730
gemma3:4b (3.4 GB) installed but referenced only in a comment recorded here

Where it went wrong

These findings come from the audit, which read the commits and code.

  1. PR fix(provisioning): startup_validation.py checks non-existent env vars (#9084) #9085 (2026-05-30) rendered AUTOBOT_EMBEDDING_MODEL={{ backend_light_model | default('phi3:mini') }}, putting a chat model in the embedding slot. Nothing checked kind.
  2. PR refactor(config): one model tier map — frontend reads models from the API, templates and provisioning pinned to it, /llm/current slimmed (#15502) #18274 (2026-10-11) fixed that template line, and in the same PR added the "keep the deployed value" step without calling the existing is_embedding_model_id. So the fix could never reach an existing host. PR fix(kb): an embedding model that cannot embed is reported -- health probe and deploy warning (#18834) #19382 then added only a warning and a "degraded" probe.
  3. GPU detection uses a bare nvidia-smi, which misses WSL2. The post-pull check verifies the node's own list, not the models the env references.
  4. The guards were scoped away from the copies: templates and env files unscanned, 40 grandfathered findings, "equals" accepted as "derives", drift only warned.
  5. Config: reconcile three divergent model maps to the canonical tier map #15502's ticked "exactly one definition" holds for Python constant names only. Its two unticked criteria are exactly today's live failures.

Acceptance criteria

  • Every child here is closed with its own evidence.
  • The self-check passes on a fresh default install in CI, for both a CPU-only and a GPU profile.
  • Host: after the builtin update, the self-check passes on the maintainer's local install, with the output pasted.

Activity

  1. added
    umbrellaEpic/umbrella tracking issue grouping member issues
    phase:M1.4Wizard and SLM: choose a mode, apply it, default models work
    on Oct 26, 2026
  2. mrveiss commented on Oct 26, 2026

    @mrveiss
    OwnerAuthor

    Part 1, the self-check, is #19740. #19242 and #17527 already have native parents (#15494 and #17537), so they are linked here as blockers.

  3. 50 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    phase:M1.4Wizard and SLM: choose a mode, apply it, default models workpriority: highumbrellaEpic/umbrella tracking issue grouping member issues

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions