On APP_ENV=onprem the registry's mails (new findings, published documents)
no longer carry our company signature, address, register entry, contact
address or legal pages. They say the installation sent them, name the
customer's contact (MAIL_CONTACT) and link the customer's imprint and
privacy notice (LEGAL_IMPRINT_URL, LEGAL_PRIVACY_URL), each only when set.
mail.View gets a Site; the zero value is the cloud, so cloud mails stay as
they were (checked byte for byte against the previous templates) apart from
the spelling "Breakpilot", also in the default sender name. The legal line
moved from every text template into signature.tmpl.
On-prem the registry also refuses to start when MAIL_FROM, PORTAL_URL,
INVITE_REDIRECT_URI or LEGAL_* point at breakpilot.com.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 6058a94254)
The registry on a customer's node must never reach a Breakpilot host and
must not run the cloud's commercial machinery.
- APP_ENV=onprem: no ERP (nothing queued, webhook off), no trial (new
workspaces start active, the ladder never escalates by time), and the
trial-offer, trial-terms, catalog/trial request and admin trial routes
answer 404 not_available.
- PRODUCTS, PRODUCT_LAUNCH_URLS, PRODUCT_PROVISION_URLS: one store
decorator applies the product list and URLs to every catalog read
(catalog, activation, provisioning, entitlement checks). On-prem has no
seeded URLs, so provisioning goes only to the local products. Checked at
start ({id} in provision URLs, absolute http(s)).
- On-prem start fails when the values leave something to a cloud or dev
default (auth off, no authz rules, ephemeral licence key, portal, invite,
sender, LLM gateway) or set an ERP or contract documents.
- SMTP_TLS=starttls|tls|none: a plain relay inside the customer's network;
no AUTH without encryption.
- Migration 0032: the Werkpilot text no longer names our LLM host.
Cloud behaviour is unchanged without the new variables (tested).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2f6fa5f3e8)