// PART 11
Product profile checks
Before a release ships, the product profile itself is a checkable artifact. These are the profile checks, what each proves, and how to run them locally.
The checks
| Check | Proves | Where |
|---|---|---|
product-profile |
every app is classified always/preview/hidden, owned, and its feature compiles within the complexity budget | scripts/prod_readiness.py (CI: prod-readiness job) |
product_apps_line_matches_the_registry_flag |
the .product lists mirror the app registry’s launcher_visibility flags |
guard test in the registry (botserver/src/apps/registry/) |
app-contracts |
every registry app declares its classification, smoke and API surface | scripts/prod_readiness.py |
| Feature bundles compile | default, minimal, lightweight, full, desktop-local, gblite each build |
release workflows / local cargo |
Running them before you ship
# The full gate (exit 1 on any FAIL)
python3 scripts/prod_readiness.py
python3 scripts/prod_readiness.py --json # machine output
# A product-profile build that is not the default:
cargo build -p botserver --no-default-features --features desktop-local
cargo build -p botserver --no-default-features --features gblite
# The UI suite still renders: build the book/screens and inspect
cd botbook && mdbook build
Profile invariants to keep in mind
hidden_appswins overapps=andpreview_apps=; a hidden app is compiled and routed but refused by the shell.- Core surfaces (
about,admin,settings,auth) are always available without being listed. - The GB Lite edition (
services_off=cache,vector_db,directory) never installs or waits for those services; binaries an earlier version left on disk stay untouched, andGB_SERVICES_ON=directorystarts one again. suite_default_appis resolved against the app registry at runtime — a value naming a non-registry app is a configuration bug, not a soft default.
Edition-specific smoke checks
| Edition | Check after upgrade |
|---|---|
| Cloud | /api/product reports the new version; suite loads on 3000; login on 5000 |
| Desktop-local | sidecar reaches /api/product; suite/desktop.html renders; drive upload works |
| GB Lite | assistant shell loads; Chat and Drive launch; sign-in with the wizard administrator |
| OS image | kiosk session up (cage on tty1); /health answers on loopback |
A failed profile check is a build failure, not a runtime degradation — that is the point: visibility drift is caught before the release, not by users after it.