// PART 01
GB Lite install
GB Lite is the Chat and Drive government desktop edition (botserver/.product.gblite, branch gbgov). It is a feature build, not a fork: the default full build is unchanged.
Build and product file
cargo build -p botserver --no-default-features --features gblite
The edition is Chat and Drive on the user’s own machine, with the agent workspace (agent-vm) compiled in. On Windows the Incus backend is unavailable without a WSL2 wrapper; agent mode is disabled gracefully at runtime. Every other registry app is listed as hidden: the suite shell refuses it and the launcher never advertises it. Core surfaces (about, settings, sign-in) are always available without being listed.
Key facts from botserver/.product.gblite:
| Key | Value | Meaning |
|---|---|---|
apps |
chat,drive |
the only always-visible apps |
preview_apps |
(empty) | no preview tier in this edition |
suite_default_app |
chat |
chat opens automatically when the suite loads |
sidebar |
true |
conversation history is reachable |
search_enabled |
false |
the taskbar search box is off |
menu_launcher_enabled |
true |
the launcher switches Chat and Drive |
no_security |
false |
authentication is required |
edition |
desktop |
desktop deployment edition |
shell |
assistant |
the chat-first shell (assistant.html) |
services_off |
cache,vector_db,directory |
these bundled services are never installed, started or waited for |
services_off is the edition’s defining operational difference: the
assistant’s built-in cache replaces the cache service, the vector database is
not provisioned, and — without directory — sign-in uses the local
administrator only. Binaries and data an earlier version left on disk stay
untouched, so removing a name from the list (or naming it in the
GB_SERVICES_ON environment variable, e.g. GB_SERVICES_ON=directory) starts
it again as before.
First-run wizard creates the administrator
The first-run wizard (botui/ui/wizard/) provisions the stack headlessly and
creates the administrator account. Its record lands in
admin-credentials.json inside the stack and is checked first at sign-in; the
directory admin is synced to it when the directory service is enabled. The
user then signs in through /api/auth/login and keeps a real suite session.
Identity on the desktop
HTTP requests resolve the signed-in owner through the auth middleware; the
chat WebSocket resolves its own identity (token, then user_id, then a guest).
Each handshake logs which of the three it used (WS handshake: identity=...).
A turn that runs as a guest produces the “Connect your Claude Code / Codex
account” symptom against Settings showing the agent connected — check the
handshake log line first, then user_sessions.user_id against
user_llm_accounts.user_id.