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 declarationsSELECT 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 · showing 35

@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
Your view

Make room for your context.

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

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

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

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.