Skip to content
ContractSpec
Start here
AI index

Advanced

Overlay Editor

A Next.js app (@lssm-tech/app.overlay-editor) that lets tenant admins tweak field visibility, labels, and ordering, then sign OverlaySpecs.

Features

  • Toggle visibility and rename labels without touching code.

  • Move fields up/down to define the overlay order.

  • Preview JSON output powered by @lssm-tech/lib.overlay-engine.

  • Server action for PEM signing (Ed25519/RSA-PSS).

Project path: packages/apps/overlay-editor

Provisioning flow

  1. Clone the repo and run bun dev inside the app.

  2. Use the UI to craft the overlay for a tenant.

  3. Paste the tenant's PEM private key (stored in Vault/KMS).

  4. Click “Sign overlay” to get the final JSON payload.

  5. Persist in the Overlay table and register with OverlayRegistry.

See also: Overlays specification, Overlay Engine runtime, and Tenant isolation.