libraryPackage manifestv2.0.4

lib.customer-support-runtime

Provider-neutral SupportOS case authority, SLA, autonomy, and ecosystem bridge runtime.

@lssm-tech/lib.customer-support-runtime
Source, release and verification context

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

Package source ↗ Manifest ↗
servernode
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 PACKAGElib.customer-support-runtimedomains

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

5 déclarationsSELECT TO INSPECT

@lssm-tech/lib.customer-support-runtime

Provider-neutral SupportOS runtime with an event-sourced in-memory conformance authority, optimistic concurrency, workspace isolation, keyset pagination, deterministic SLA helpers, graduated-autonomy enforcement, and reference-only ecosystem hand-offs.

The platform-authority, platform-authority-bindings and platform-authority-binding-registry entries own the existing provider-neutral authority composition, required operation/binding checks and legacy adapter. The supported contracts-spec/customer-support exports forward to these same objects. Composition preserves supplied authority ports and does not authorize live effects or provide a concrete persistence adapter.

The relation authority executes merge, split, and link mutations under a per-workspace serialization fence. It validates both case revisions, advances both event streams atomically, and returns the original immutable result for exact idempotent replays.

The skills-routing evaluator is pure and replayable. It filters bounded opaque candidate projections by exclusion, availability, capacity, and required skills, then applies explicit preferred-team, load, oldest-assignment, and stable-reference ordering. Skill fallback is opt-in and visible in the trace. Assignment remains a separate governed effect.

The cryptographic lifecycle facade validates provider-neutral KMS and secret adapters before their evidence reaches a SupportOS authority. It enforces exact purpose/algorithm descriptors, tenant/workspace/data-class context binding, versioned envelope evidence, fenced rotation results, bounded lookup hashes, and scope-bound secret references. Plaintext data keys are always returned as destroyable values and are zeroized even when a provider cleanup hook fails. This facade is not a KMS implementation: managed providers, durable rotation ledgers, re-encryption workers, and production rotation drills remain host work.

CommunicationOS remains authoritative for message bodies and delivery. Forms remains authoritative for answers and verification. Personalization can change presentation only. Consequential CompanyOS operations require typed operation references and Connect evidence.

The OPA handoff authority is a provider-neutral local conformance runtime for public profile and booking journeys. It verifies the current case revision, mints a consent receipt, resolves only through a host-supplied OPA destination port, accepts public HTTPS URLs, isolates tenant/workspace state, and preserves exact idempotent replay. Returned bookings require an opaque booking reference; no owner scope, public bearer token, visitor answer, calendar record, or provider payload is persisted in the SupportOS projection.

The CSAT leaves preserve the canonical response and survey authority ports, complete server authority scope, and synchronous privacy-safe input digest. Forms imports these narrow leaves directly. The digest retains the existing Core canonical serializer and synchronous SHA-256 implementation; grant metadata is excluded before hashing. Other runtime families still have legacy dependencies.

The complete contracts required by the runtime are exposed through narrow contracts/* leaves: case models, authority ports and errors, lifecycle and presence contracts, assignment and relation rules, provider projections, OPA handoffs, skills routing, and cryptographic lifecycle contracts and supplied-evidence validation. These leaves, authority-scope and the CSAT leaves now forward to their canonical owner @lssm-tech/lib.customer-support-spec, as do the legacy ContractSpec exports, so each export keeps one identity. The runtime imports no Legacy source and retains the complete original policy and security checks.

Support resolution workflow (support-resolution-v1)

SupportResolutionWorkflow composes the provider-neutral conversation reader, action, approval, engineering-work and resolution-store ports from @lssm-tech/lib.customer-support-spec. recover records customer issue parts from the provider conversation (the provider stays authoritative); propose requires citations to observed parts, knowledge or the linked engineering work and invalidates earlier approvals; approve needs a non-agent principal with support.resolution.approve and an approval bound to the exact action digest whose verified signer is a human, matches approvedByRef and is neither the proposer nor the responder (supportApproverIdentityHolds compares principal refs; a host that records a provider admin id such as an Intercom admin_id as responderRef binds responderPrincipals, for example staticSupportResponderPrincipals, and then an unmapped responder is refused and the mapped principal may never approve); dispatch refuses agent and unidentified principals and sends customer-visible replies only when approved, re-reading the signer through recordedSupportResolutionApproval(projection, identity) and the responder mapping before the effect (a failed identity or mapping lookup is DEPENDENCY_DEGRADED; an unapproved internal note needs a Connect admission); reconcile resolves response-uncertain by read-back only, and confirmResponseAbsent lets a human confirm an absent response. recordOutcome proves the agreed criterion (customer confirmation, a fixed work item plus a later cited notification, or an answer without follow-up) and a new customer message reopens the workflow. InMemorySupportResolutionStore is a reference store; production hosts bind a durable implementation.

Declared capabilities.

Lib Customer Support Runtime

Provider-neutral SupportOS case authority, SLA, autonomy, and ecosystem bridge runtime.

Use it to

  • Adopt provider-neutral supportos case authority, sla, autonomy, and ecosystem bridge runtime

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.customer-support-runtime package constraints do not match the target runtime or platform.

@lssm-tech/lib.customer-support-runtime

@lssm-tech/lib.customer-support-runtime/authority-keys

@lssm-tech/lib.customer-support-runtime/authority-permissions

@lssm-tech/lib.customer-support-runtime/autonomy

@lssm-tech/lib.customer-support-runtime/bridges

@lssm-tech/lib.customer-support-runtime/case-authority

@lssm-tech/lib.customer-support-runtime/case-presence

@lssm-tech/lib.customer-support-runtime/case-reducer

@lssm-tech/lib.customer-support-runtime/case-relation-receipt

@lssm-tech/lib.customer-support-runtime/case-relation-store

@lssm-tech/lib.customer-support-runtime/case-relation-validation

@lssm-tech/lib.customer-support-runtime/digest

@lssm-tech/lib.customer-support-runtime/authority-scope

@lssm-tech/lib.customer-support-runtime/csat

@lssm-tech/lib.customer-support-runtime/csat-surveys

@lssm-tech/lib.customer-support-runtime/csat-input-digest

@lssm-tech/lib.customer-support-runtime/csat-authority

@lssm-tech/lib.customer-support-runtime/contracts/crypto-lifecycle

@lssm-tech/lib.customer-support-runtime/contracts/case-lifecycle

@lssm-tech/lib.customer-support-runtime/contracts/ports

@lssm-tech/lib.customer-support-runtime/contracts/errors

@lssm-tech/lib.customer-support-runtime/contracts/case-relations

@lssm-tech/lib.customer-support-runtime/contracts/provider

@lssm-tech/lib.customer-support-runtime/contracts/policies

@lssm-tech/lib.customer-support-runtime/contracts/case-assignments

@lssm-tech/lib.customer-support-runtime/contracts/opa-handoffs

@lssm-tech/lib.customer-support-runtime/contracts/event-validation

@lssm-tech/lib.customer-support-runtime/contracts/case-presence

@lssm-tech/lib.customer-support-runtime/contracts/case-cursor

@lssm-tech/lib.customer-support-runtime/contracts/core

@lssm-tech/lib.customer-support-runtime/contracts/case-lifecycle-event-schemas

@lssm-tech/lib.customer-support-runtime/contracts/operation-schemas

@lssm-tech/lib.customer-support-runtime/contracts/skills-routing

@lssm-tech/lib.customer-support-runtime/platform-authority

@lssm-tech/lib.customer-support-runtime/platform-authority-bindings

@lssm-tech/lib.customer-support-runtime/platform-authority-binding-registry

Imports and export paths.

50 entries

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

50 imports · 35 affichés

@lssm-tech/lib.customer-support-runtime/csat

Dependencies and related packages.

Runtime dependencies 5
Development dependencies 3
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.