Decisions and roadmap
ADR 0039: Core components are evergreen; hosts are force-upgraded
- Status: accepted for staging (Samir, 2026-11-21 21:06 EST). Production follows the normal release approval below.
- Deciders: Samir
- Related: ADR 0025 (the Imprint card on Exo's origin) and its amendments, ADR 0031 (email + password), docs/sign-in-template.md (the one form), docs/runbooks/rollback-drill.md.
Context
Exo Imprint has shipped in three generations of host-side code: Construct's own Imprint Embed
prototype (Construct drew the seal and the sign-in from its own origin), the framed /id/embed
card, and the /imprint/slot. Round 6 put Parlour's slot, i42's band and Exo's /id/sign-in on one
form (FlatShell + ImprintFlatCard), but Construct's own /sign-in and every other Exo screen
that still went through ExoKeySurface kept the older card. Each copy drifts: a fix to the form
reached some hosts and not others, and the old card stayed live for months after it was replaced.
Samir's direction (2026-11-21 21:06): core components such as Exo Imprint must force-upgrade every app that uses them, "like Apple". Exo takes a paternalistic view: we update it for them, and that is the contract a host signs with us, in exchange for efficiency and security. No app is ever stuck on an old version.
Decision
1. The contract (host-facing wording)
Exo Imprint is part of Exo, not part of your app. Exo draws it, from Exo's own origin, and keeps it current. When Exo ships a change to Imprint, every app that uses it gets that change at the same moment, with no action on your side and no way to opt out or stay on an earlier version. In return you never maintain sign-in UI, and your users always have the current, reviewed and patched version. You configure Imprint only through the fields Exo publishes; anything else is ignored or refused.
The user-facing clause for the terms is drafted separately (below) and is not published until Samir approves it.
2. The only supported paths
A host reaches Imprint in exactly two ways, both served by Exo:
- Embed: frame Exo's
/imprint/slot(a Surface registered in the host's manifest) or/id/embed(=/id/authorize?embed=1, a property inconfig/imprint-embed.json). Exo checks the frame's origin before it draws a field. - Redirect: send the person to Exo's
/id/authorize(or another/id/*page) and redeem the code server-side with PKCE.
There is no Imprint package, SDK component, copied markup, copied CSS or pinned build. Exo's repo
has none to install (packages/* exports no Imprint UI), and every Exo sign-in state, on every entry
point, draws the one form: since round 7 ExoKeySurface itself renders FlatShell, so /id/authorize,
/id/embed, /id/device, /id/keys, consent, sign-out and the email link pages cannot fall back to
an older card.
3. What a host can configure
Data only, validated by Exo (src/platform/identity/imprint-evergreen.ts,
IMPRINT_HOST_CONFIG_FIELDS):
- Brand: display name, mark (path data in one colour) or lockup (path data, each path its own colour), and whether the lockup spells the name.
- Copy: the portal and owner names; a plain heading for an Exo-side profile.
- Methods: which of Google, phone and email the card offers. Order is fixed by the template.
- Theme tokens within contrast rules: accent, light or dark appearance, and on Exo-side profiles the card background, error colours and button fill. Each token is checked for WCAG AA; one that fails falls back to Exo's.
- Scopes the app asks for, shown to the person as the consent line.
Not configurable: CSS, HTML, fonts, scripts, layout, the Exo Imprint seal, the verified row, the Google button (Google's own light button on every host, per Google's branding guidelines), and any version or build. A host's manifest is read by Exo; an Exo-side profile lives in Exo's repo and changes only by an Exo PR.
4. How breaking changes roll out
Exo ships once; every host gets it. A change to the form is one Exo PR, reviewed with screenshots of
each host on staging (Parlour, Multiplex, i42, Construct, Exo's own /id/*), merged to staging,
deployed to exo-staging, then promoted to production with the release. There is no per-host opt-in,
no feature flag a host controls and no compatibility window for host-side UI, because there is no
host-side UI. What stays versioned is the wire protocol between the frame and the host page
(exo:imprint:code, exo:imprint:size, exo:imprint:close, OAuth + PKCE): changes there are
additive, and a removal ships only after every registered host has moved (Exo owns that migration,
in the hosts' repos, in the same release train).
5. Production release and rollback
- Staging: squash-merge to
staging, deploy the merge SHA to exo-staging through the Render API (auto-deploy is off), confirmhttps://staging.exo.now/api/healthreports the SHA, then capture each host at 390 and 1440. - Production: a release PR from
stagingtomain, approved by Samir; deploy the merge SHA to exo-production through the Render API; confirmhttps://exo.now/api/healthand smoke the production hosts (Parlour on parlour.living). Record the previous live deploy id as the rollback target in the release notes. - Rollback:
POST /v1/services/<service>/rollbackwith the recorded deploy id (or Dashboard > Deploys > Rollback), wait forlive, confirm health shows the previous SHA (docs/runbooks/rollback-drill.md). Because every host renders Exo's form, one rollback restores every host at once; no host deploys anything.
6. How this generalises
Any component Exo designates as core follows the same rules: Exo serves it from Exo's origin (a framed slot, a redirect or a hosted script Exo controls), hosts configure it through a published, validated data contract, there is no installable copy, and a guard in Exo and in each host repo fails the build on a fork or a pin. Candidates: the Exo Imprint stamp, consent and account switching, payment confirmation (Exo Pay), and the Exo command bar. A component becomes core by an ADR that lists its configurable fields and its entry points.
Guards
- Exo:
tests/int/imprint-evergreen.int.spec.tsfails when an Exo sign-in screen stops drawing the one form, a package exports Imprint UI,config/imprint-embed.jsongrows a field outside the configurable list, or a sign-in route reads a version or build pin. - Construct:
tests/imprint-evergreen.test.mjsfails when Construct draws Imprint markup or CSS, installs or pins an Imprint package, adds a version parameter to an Exo URL, or turns the retired host-side prototype back on. ItsPENDING_MIGRATIONlist (one entry: the handoff broker's consent page) may only shrink.
Consequences
- Hosts lose the ability to restyle or delay Imprint. That is the point.
- Exo carries the cost of every host's screenshots on each change, and of migrating hosts when the wire protocol changes.
- A bad Exo release reaches every host at once; so does its rollback. Staging review and the recorded rollback target are the controls.
Draft user-facing clause (NOT PUBLISHED; for Samir's review)
Automatic updates to Exo Imprint. Exo Imprint, the sign-in and identity service you use to sign in to apps built on Exo, is provided and updated by Exo. We update it for every app that uses it at the same time, automatically, so you always get the current version, including security fixes. Apps that use Exo Imprint cannot keep an older version or change how it works, beyond choosing their name, logo, colours and the sign-in methods they offer.
Source: docs/adr/0039-core-components-evergreen-hosts-force-upgraded.md