# @lssm-tech/lib.customer-support-conformance

Portable behavioral conformance harness for managed and self-hosted SupportOS authorities.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.0.4`
- Package path: `packages/domains/customer-support/customer-support-conformance`
- Manifest path: `packages/domains/customer-support/customer-support-conformance/package.json`
- Manifest Git blob: `fb373b5a2ebf4a934506b0e28542cbe13a9208ac`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/lib.customer-support-conformance](https://lssm.co/docs/packages/lib.customer-support-conformance/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.customer-support-conformance.txt)

## Package metadata

```json
{
  "layer": "domains",
  "physicalArea": "customer-support",
  "primaryArea": "company-and-work",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "sharedLibs",
    "catalogKind": "library",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Company, work and service operations](https://lssm.co/docs/areas/company-and-work/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/domains/customer-support/customer-support-conformance/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/README.md",
  "blobSha": "f0d874859d719b71f78e8e6af19fa0ed44a31548",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "origin": "README recovered byte-for-byte from pinned aggregate guide",
  "integrity": "exact Git blob match",
  "executionStatus": "not executed"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# SupportOS authority conformance

Portable deterministic conformance harness for managed and self-hosted
implementations of `SupportPlatformAuthorityPort`.

The core profile verifies platform discovery, exact create replay, changed-input
conflicts, same-tenant cross-workspace and cross-tenant read/list isolation,
canonical conflict codes, optimistic event fencing, and real two-record bounded
collection behavior. Every case receives a fresh authority instance and
the resulting receipt is digest-bound to the target, source revision, profile,
case registry, assertions, and outcomes.

Adapters provide their own factory, workspace preparation, and disposal hooks;
the harness never receives database credentials or bypasses the public
authority. A passing core receipt is deterministic fixture evidence, not a
production, migration, accessibility, disaster-recovery, or live canary claim.
Case execution is deadline-bound, adapter error text is never copied into a
receipt, and failure codes use a fixed privacy-safe vocabulary.


## Declared capabilities

### Support authority conformance harness

Capability ID: `support.authority.conformance`

Run deterministic, digest-bound behavioral checks against managed or self-hosted SupportOS authority implementations.

Use cases:

- Qualify a SupportPlatformAuthorityPort adapter without sharing database credentials
- Verify tenant and workspace isolation, replay, conflicts, fencing, and bounded collection behavior

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "bun",
    "node"
  ],
  "avoidWhen": [
    "The implementation cannot expose the public SupportPlatformAuthorityPort lifecycle used by the harness.",
    "A live production qualification claim is required; this package produces deterministic fixture evidence only."
  ],
  "requires": [
    "TypeScript",
    "SupportPlatformAuthorityPort adapter"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "SupportOS",
    "authority conformance",
    "adapter qualification"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 70
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/lib.customer-support-conformance",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "sharedLibs",
  "kind": "library",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "experimental",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "bun",
    "node"
  ],
  "entrypoints": [
    "."
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "capabilityId": "support.authority.conformance",
    "from": "@lssm-tech/lib.customer-support-conformance",
    "symbols": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/lib.customer-support-conformance` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/src/index.ts); verified source file.

- `@lssm-tech/lib.customer-support-conformance/canonical` — subpath `./canonical`
  - `unconditional`: `./src/canonical.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/src/canonical.ts); verified source file.

- `@lssm-tech/lib.customer-support-conformance/runner` — subpath `./runner`
  - `unconditional`: `./src/runner.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/src/runner.ts); verified source file.

- `@lssm-tech/lib.customer-support-conformance/support-action-stores` — subpath `./support-action-stores`
  - `unconditional`: `./src/support-action-stores.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/src/support-action-stores.ts); verified source file.

- `@lssm-tech/lib.customer-support-conformance/types` — subpath `./types`
  - `unconditional`: `./src/types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/customer-support/customer-support-conformance/src/types.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/browser/index.js",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./canonical": {
      "types": "./dist/canonical.d.ts",
      "browser": "./dist/browser/canonical.js",
      "bun": "./dist/canonical.js",
      "node": "./dist/node/canonical.js",
      "default": "./dist/canonical.js"
    },
    "./runner": {
      "types": "./dist/runner.d.ts",
      "browser": "./dist/browser/runner.js",
      "bun": "./dist/runner.js",
      "node": "./dist/node/runner.js",
      "default": "./dist/runner.js"
    },
    "./support-action-stores": {
      "types": "./dist/support-action-stores.d.ts",
      "browser": "./dist/browser/support-action-stores.js",
      "bun": "./dist/support-action-stores.js",
      "node": "./dist/node/support-action-stores.js",
      "default": "./dist/support-action-stores.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "browser": "./dist/browser/types.js",
      "bun": "./dist/types.js",
      "node": "./dist/node/types.js",
      "default": "./dist/types.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.customer-support-spec](https://lssm.co/docs/packages/lib.customer-support-spec/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/lib.customer-support-runtime](https://lssm.co/docs/packages/lib.customer-support-runtime/): `workspace:*`
- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "lint:check": "node ../../../../scripts/biome.cjs check .",
  "lint:fix": "node ../../../../scripts/biome.cjs check --write .",
  "test": "bun test",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [SupportOS authority conformance](https://www.npmjs.com/package/%40lssm-tech%2Flib.customer-support-conformance) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Flib.customer-support-conformance",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/lib.customer-support-conformance.txt",
  "route": "/llms/lib.customer-support-conformance",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.customer-support-conformance.txt",
  "blobSha": "f0d874859d719b71f78e8e6af19fa0ed44a31548",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
