integrationsWorkspace onlyv0.1.3

integration.meeting-effect-worker-postgres-http

Production PostgreSQL, BYOK, authority, rollout, and HTTP delivery composition for the meeting effect worker.

@lssm-tech/integration.meeting-effect-worker-postgres-http
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 0.1.3. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.meeting-effect-worker-postgres-httpintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

3 déclarationsSELECT TO INSPECT

Meeting Effect Worker PostgreSQL + HTTP Composition

Production composition for @lssm-tech/app.meeting-effect-worker. It claims only explicitly assigned owner scopes, binds all five RLS axes inside PostgreSQL transactions, decrypts meeting state with the shared versioned BYOK cipher, obtains fresh authority and effect-time reproof from a host authority service, enforces the host rollout contract, and submits approved artifacts to a live delivery service.

The package does not contain a success stub or a generic “delivered” fallback. A delivery is successful only after the configured HTTPS service returns an exact, identity-matched provider receipt. Network errors, timeouts, non-200 responses, malformed JSON, stale authority, missing rollout, and receipt mismatches all fail closed and flow into the worker's bounded retry policy; typed permanent rejections are dead-lettered with their failure code.

Host configuration

Set the worker host's module to:

texte
OPA_MEETING_EFFECT_WORKER_COMPOSITION_MODULE=@lssm-tech/integration.meeting-effect-worker-postgres-http

Required variables:

Variable Contract
OPA_MEETING_EFFECT_DATABASE_URL PostgreSQL URL for the governed meeting schema.
OPA_MEETING_EFFECT_OWNER_SCOPES_JSON JSON array of 1–100 strict OpaOwnerScope values; duplicates are rejected.
OPA_MEETING_EFFECT_AUTHORITY_URL HTTPS endpoint for fresh resolution and effect-time reproof.
OPA_MEETING_EFFECT_DELIVERY_URL HTTPS endpoint that performs real provider delivery.
OPA_MEETING_EFFECT_AUTHORITY_TOKEN Authority-only bearer credential of at least 32 UTF-8 bytes.
OPA_MEETING_EFFECT_DELIVERY_TOKEN Delivery-only bearer credential of at least 32 UTF-8 bytes.
OPA_MEETING_EFFECT_ROLLOUTS_JSON Strict rollout-config array with one entry for each assigned product.
OPA_BYOK_KEY_VERSION Active version used by EnvMasterKeySource.
OPA_BYOK_MASTER_KEY_v1, _v2, _v3 Current and retained rotation keys; each configured value is at least 32 decoded bytes.

Optional bounded settings are OPA_MEETING_EFFECT_DATABASE_SSL_MODE (require, prefer, or explicit allow), OPA_MEETING_EFFECT_INTERVAL_MS, OPA_MEETING_EFFECT_LIMIT, OPA_MEETING_EFFECT_LEASE_MS, OPA_MEETING_EFFECT_MAX_ATTEMPTS, and OPA_MEETING_EFFECT_HTTP_TIMEOUT_MS. OPA_MEETING_EFFECT_KILL_SWITCH=1 stops new claims (readiness reports paused); any value other than unset, empty, 0 or 1 is rejected at startup.

The database must have migration 0166 (opaMeetingFollowUpMigrationStatements): it adds the dead_letter outbox state, last_error_code, provider_receipt_ref and the host delivery ledger. Without it, settling a lease fails and the effect is retried after its lease expires.

HTTPS boundary

Both endpoints receive authenticated JSON POST requests and must return HTTP 200 with application/json. Authority requests carry version, a unique requestRef, the full lease, and either operation: "resolve" or operation: "reprove". An allow response must echo the request reference and return an active, strict runtime authority containing opa.meeting_dispatch.execute; a deny response contains only version, requestRef, and decision: "deny".

Delivery requests use the v2 envelope defined by OpaMeetingEffectDeliveryRequestSchema in @lssm-tech/lib.organization-planning-spec: operation: "deliver", a requestRef, the effect reference as idempotencyKey, the owner scope, plan and meeting references, the approved effect (target, artifact, recipient and effect digest), the approved artifact digest and the plan approval receipt. Artifact content is never sent; the host reloads and re-verifies it. The API host (/api/internal/opa/meeting-effects/deliver) routes targets to its follow-up adapters and answers with OpaMeetingEffectDeliveryResponseSchema:

JSON
{
  "version": "v2",
  "requestRef": "meeting-effect-request:...",
  "effectRef": "meeting-dispatch-effect:...",
  "status": "delivered",
  "providerReceiptRef": "provider-receipt:..."
}

status may also be drafted (calendar proposals) or rejected with a failure code and retryable flag. Permanent rejections dead-letter the effect at once; retryable ones follow the bounded exponential backoff (1 s doubling to 5 min, OPA_MEETING_EFFECT_MAX_ATTEMPTS, then attempts_exhausted).

The distinct authority and delivery bearers are sent only in the Authorization header. They are never included in configuration errors, response bodies, rollout digests, or persisted meeting state.

Declared capabilities.

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Imports and export paths.

5 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

5 imports

@lssm-tech/integration.meeting-effect-worker-postgres-http
@lssm-tech/integration.meeting-effect-worker-postgres-http/config
@lssm-tech/integration.meeting-effect-worker-postgres-http/postgres

Dependencies and related packages.

Runtime dependencies 3
postgres
^3.4.9
Development dependencies 4
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
cleanrimraf dist .turbo
lint:checknode ../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.