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 declaracionesSELECT 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:

texto
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 importaciones

@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
Tu vista

Make room for your context.

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

Tu contexto

The different parts of you

Choose a starting point

Una mezcla útil de contexto, imágenes y orientación discreta.

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

Comodidad de lectura

Elige tu idioma

El idioma de la interfaz solo cambia el texto. Los mercados, precios y flujos de trabajo conservan sus propios ajustes.

Cobertura de traducción

Parte del contenido se muestra en inglés.

Navegación151
Grafo616
Categorías188
Portafolio332
Ejemplos2035
Vista previa de la fuente41

Se añadirán más traducciones a medida que se revise el contenido.

Esta preferencia se guarda en este navegador.

Buscar en el sitio web

Puntos de partida útiles

Sin resultados. Prueba una frase más corta, un nombre de operación u otro ámbito de búsqueda.

UN POCO DE ESPACIO PARA EXPLORAR

Encuentra algo que explorar.

Abre una vista detallada en esta página, prueba otra perspectiva o sigue el detalle a su propia página.

Cómo funcionan las vistas previas y los controles
01

Mirar antes de salir

Pasa el cursor por un enlace o enfócalo con Tab para ver una vista previa. Hacer clic en el enlace original o pulsar Intro siempre abre su destino.

02

Mantener el contexto

Entra en la vista previa para explorar sus secciones. Usa Alt + ↓ desde un enlace enfocado para entrar con el teclado. Escape la cierra.

03

Abrir las posibilidades

Las filas desplegables, las perspectivas y los controles destacados revelan más. Tu vista cambia la comodidad de lectura y el contexto que exploras.

Un botón separado para mirar más de cerca

Muestra pequeños botones de vista previa junto a los enlaces donde haya espacio. Toca el ojo para inspeccionar o el enlace para ir directamente. Esta elección permanece en esta pestaña.

No se recoge historial de navegación. El movimiento reducido sigue tu dispositivo y Tu vista.