Frontend-first releases
Release app support for a new response shape before a service starts returning it. Keep older shapes in the app union for as long as the app may encounter them, including after a rollback. Installed older clients only understand the shapes they shipped with.
Capability gating is app logic. Hide controls for unsupported writes and check the capability again when admitting the command. An old queued action or another control can reach the same reducer branch. Lakeport does not infer the meaning of your capability names or add this check for you.
Sketch of a write gate (the application must define the state, capability refresh, and response handling):
EffectReq.httpPost takes a request ID, URL, and body. Use httpRequest when you need explicit headers; consult packages/lakeport-effects/src/LakeportEffects/Types.lean for its signature.
Version stored client data too. New app builds may read drafts and queued writes produced by an earlier build. Keep decoders for formats that users may still hold.
Publish runtime assets from the same build together. This site's postbuild tooling places assets under dist/web/_v/<build-version>/. A cache or Service Worker must follow the generated asset references rather than assume unversioned URLs. Offline boot requires an app-owned cache implementation; an outbox model alone does not provide it.
See for the release-order argument.