# @lssm-tech/module.notifications

Notification center module for ContractSpec applications

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `5.0.4`
- Package path: `packages/domains/communication/notifications`
- Manifest path: `packages/domains/communication/notifications/package.json`
- Manifest Git blob: `ffa921d0d8099324fcc31cd2575ebf67cc4efe8f`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/module.notifications](https://lssm.co/docs/packages/module.notifications/)
- 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/communication/notifications)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/module.notifications.txt)

## Package metadata

```json
{
  "layer": "domains",
  "physicalArea": "communication",
  "primaryArea": "communication-and-notifications",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "solutions",
    "catalogKind": "module",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "stable"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

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

Primary area: [Communication and notifications](https://lssm.co/docs/areas/communication-and-notifications/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/domains/communication/notifications/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/README.md",
  "blobSha": "151a3bfffd319b261363f98261e3eef49fc88371",
  "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.

# `@lssm-tech/module.notifications`

Compatibility shim for the former notification module package.

Canonical notification contracts now live under `@lssm-tech/lib.contracts-spec/notifications`. Reusable notification entities, schema contributions, channels, templates, and i18n live in `@lssm-tech/lib.notification`.

## Migration

Prefer new imports for new code:

```ts
import { NotificationsFeature } from "@lssm-tech/lib.contracts-spec/notifications";
import { createChannelRegistry } from "@lssm-tech/lib.notification/channels";
import { notificationsSchemaContribution } from "@lssm-tech/lib.notification/entities";
```


Existing imports from `@lssm-tech/module.notifications` remain supported during the compatibility window. The module shim intentionally preserves:

- `notificationsSchemaContribution.moduleId === "@lssm-tech/module.notifications"`.
- `NotificationsFeature.meta.key === "modules.notifications"`.
- Existing export subpaths including `./channels`, `./contracts`, `./entities`, `./i18n`, `./i18n/catalogs/*`, `./notifications.capability`, `./notifications.feature`, and `./templates`.

## Local Commands

- `bun run test`
- `bun run typecheck`
- `bun run lint:check`
- `bun run build`


## Declared capabilities

### Module Notifications

Capability ID: `package.lssm.tech.module.notifications`

Notification center module for ContractSpec applications

Use cases:

- Adopt notification center module for contractspec applications

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "avoidWhen": [
    "The @lssm-tech/module.notifications package constraints do not match the target runtime or platform."
  ],
  "requires": [
    "TypeScript"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "contractspec",
    "notifications",
    "messaging",
    "channels",
    "email",
    "typescript",
    "module"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/module.notifications",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/channels",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/channels/base",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/channels/provider-channels",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/channels/types",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/contracts",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/entities",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/i18n",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/i18n/catalogs",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/i18n/catalogs/en",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/i18n/catalogs/es",
    "symbols": []
  },
  {
    "from": "@lssm-tech/module.notifications/i18n/catalogs/fr",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "solutions",
  "kind": "module",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "stable",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./channels",
    "./channels/base",
    "./channels/provider-channels",
    "./channels/types",
    "./contracts",
    "./entities",
    "./i18n",
    "./i18n/catalogs",
    "./i18n/catalogs/en",
    "./i18n/catalogs/es",
    "./i18n/catalogs/fr",
    "./i18n/keys",
    "./i18n/locale",
    "./i18n/messages",
    "./notifications.capability",
    "./notifications.feature",
    "./templates"
  ],
  "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": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/channels",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/channels/base",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/channels/provider-channels",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/channels/types",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/contracts",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/entities",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/i18n",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/i18n/catalogs",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/i18n/catalogs/en",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/i18n/catalogs/es",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.module.notifications",
    "from": "@lssm-tech/module.notifications/i18n/catalogs/fr",
    "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/module.notifications` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/index.ts); verified source file.

- `@lssm-tech/module.notifications/channels` — subpath `./channels`
  - `unconditional`: `./src/channels/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/channels/index.ts); verified source file.

- `@lssm-tech/module.notifications/channels/base` — subpath `./channels/base`
  - `unconditional`: `./src/channels/base.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/channels/base.ts); verified source file.

- `@lssm-tech/module.notifications/channels/provider-channels` — subpath `./channels/provider-channels`
  - `unconditional`: `./src/channels/provider-channels.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/channels/provider-channels.ts); verified source file.

- `@lssm-tech/module.notifications/channels/types` — subpath `./channels/types`
  - `unconditional`: `./src/channels/types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/channels/types.ts); verified source file.

- `@lssm-tech/module.notifications/contracts` — subpath `./contracts`
  - `unconditional`: `./src/contracts/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/contracts/index.ts); verified source file.

- `@lssm-tech/module.notifications/entities` — subpath `./entities`
  - `unconditional`: `./src/entities/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/entities/index.ts); verified source file.

- `@lssm-tech/module.notifications/i18n` — subpath `./i18n`
  - `unconditional`: `./src/i18n/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/index.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/catalogs` — subpath `./i18n/catalogs`
  - `unconditional`: `./src/i18n/catalogs/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/catalogs/index.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/catalogs/en` — subpath `./i18n/catalogs/en`
  - `unconditional`: `./src/i18n/catalogs/en.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/catalogs/en.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/catalogs/es` — subpath `./i18n/catalogs/es`
  - `unconditional`: `./src/i18n/catalogs/es.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/catalogs/es.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/catalogs/fr` — subpath `./i18n/catalogs/fr`
  - `unconditional`: `./src/i18n/catalogs/fr.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/catalogs/fr.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/keys` — subpath `./i18n/keys`
  - `unconditional`: `./src/i18n/keys.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/keys.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/locale` — subpath `./i18n/locale`
  - `unconditional`: `./src/i18n/locale.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/locale.ts); verified source file.

- `@lssm-tech/module.notifications/i18n/messages` — subpath `./i18n/messages`
  - `unconditional`: `./src/i18n/messages.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/i18n/messages.ts); verified source file.

- `@lssm-tech/module.notifications/notifications.capability` — subpath `./notifications.capability`
  - `unconditional`: `./src/notifications.capability.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/notifications.capability.ts); verified source file.

- `@lssm-tech/module.notifications/notifications.feature` — subpath `./notifications.feature`
  - `unconditional`: `./src/notifications.feature.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/notifications.feature.ts); verified source file.

- `@lssm-tech/module.notifications/templates` — subpath `./templates`
  - `unconditional`: `./src/templates/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/communication/notifications/src/templates/index.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"
    },
    "./channels": {
      "types": "./dist/channels/index.d.ts",
      "browser": "./dist/browser/channels/index.js",
      "bun": "./dist/channels/index.js",
      "node": "./dist/node/channels/index.js",
      "default": "./dist/channels/index.js"
    },
    "./channels/base": {
      "types": "./dist/channels/base.d.ts",
      "browser": "./dist/browser/channels/base.js",
      "bun": "./dist/channels/base.js",
      "node": "./dist/node/channels/base.js",
      "default": "./dist/channels/base.js"
    },
    "./channels/provider-channels": {
      "types": "./dist/channels/provider-channels.d.ts",
      "browser": "./dist/browser/channels/provider-channels.js",
      "bun": "./dist/channels/provider-channels.js",
      "node": "./dist/node/channels/provider-channels.js",
      "default": "./dist/channels/provider-channels.js"
    },
    "./channels/types": {
      "types": "./dist/channels/types.d.ts",
      "browser": "./dist/browser/channels/types.js",
      "bun": "./dist/channels/types.js",
      "node": "./dist/node/channels/types.js",
      "default": "./dist/channels/types.js"
    },
    "./contracts": {
      "types": "./dist/contracts/index.d.ts",
      "browser": "./dist/browser/contracts/index.js",
      "bun": "./dist/contracts/index.js",
      "node": "./dist/node/contracts/index.js",
      "default": "./dist/contracts/index.js"
    },
    "./entities": {
      "types": "./dist/entities/index.d.ts",
      "browser": "./dist/browser/entities/index.js",
      "bun": "./dist/entities/index.js",
      "node": "./dist/node/entities/index.js",
      "default": "./dist/entities/index.js"
    },
    "./i18n": {
      "types": "./dist/i18n/index.d.ts",
      "browser": "./dist/browser/i18n/index.js",
      "bun": "./dist/i18n/index.js",
      "node": "./dist/node/i18n/index.js",
      "default": "./dist/i18n/index.js"
    },
    "./i18n/catalogs": {
      "types": "./dist/i18n/catalogs/index.d.ts",
      "browser": "./dist/browser/i18n/catalogs/index.js",
      "bun": "./dist/i18n/catalogs/index.js",
      "node": "./dist/node/i18n/catalogs/index.js",
      "default": "./dist/i18n/catalogs/index.js"
    },
    "./i18n/catalogs/en": {
      "types": "./dist/i18n/catalogs/en.d.ts",
      "browser": "./dist/browser/i18n/catalogs/en.js",
      "bun": "./dist/i18n/catalogs/en.js",
      "node": "./dist/node/i18n/catalogs/en.js",
      "default": "./dist/i18n/catalogs/en.js"
    },
    "./i18n/catalogs/es": {
      "types": "./dist/i18n/catalogs/es.d.ts",
      "browser": "./dist/browser/i18n/catalogs/es.js",
      "bun": "./dist/i18n/catalogs/es.js",
      "node": "./dist/node/i18n/catalogs/es.js",
      "default": "./dist/i18n/catalogs/es.js"
    },
    "./i18n/catalogs/fr": {
      "types": "./dist/i18n/catalogs/fr.d.ts",
      "browser": "./dist/browser/i18n/catalogs/fr.js",
      "bun": "./dist/i18n/catalogs/fr.js",
      "node": "./dist/node/i18n/catalogs/fr.js",
      "default": "./dist/i18n/catalogs/fr.js"
    },
    "./i18n/keys": {
      "types": "./dist/i18n/keys.d.ts",
      "browser": "./dist/browser/i18n/keys.js",
      "bun": "./dist/i18n/keys.js",
      "node": "./dist/node/i18n/keys.js",
      "default": "./dist/i18n/keys.js"
    },
    "./i18n/locale": {
      "types": "./dist/i18n/locale.d.ts",
      "browser": "./dist/browser/i18n/locale.js",
      "bun": "./dist/i18n/locale.js",
      "node": "./dist/node/i18n/locale.js",
      "default": "./dist/i18n/locale.js"
    },
    "./i18n/messages": {
      "types": "./dist/i18n/messages.d.ts",
      "browser": "./dist/browser/i18n/messages.js",
      "bun": "./dist/i18n/messages.js",
      "node": "./dist/node/i18n/messages.js",
      "default": "./dist/i18n/messages.js"
    },
    "./notifications.capability": {
      "types": "./dist/notifications.capability.d.ts",
      "browser": "./dist/browser/notifications.capability.js",
      "bun": "./dist/notifications.capability.js",
      "node": "./dist/node/notifications.capability.js",
      "default": "./dist/notifications.capability.js"
    },
    "./notifications.feature": {
      "types": "./dist/notifications.feature.d.ts",
      "browser": "./dist/browser/notifications.feature.js",
      "bun": "./dist/notifications.feature.js",
      "node": "./dist/node/notifications.feature.js",
      "default": "./dist/notifications.feature.js"
    },
    "./templates": {
      "types": "./dist/templates/index.d.ts",
      "browser": "./dist/browser/templates/index.js",
      "bun": "./dist/templates/index.js",
      "node": "./dist/node/templates/index.js",
      "default": "./dist/templates/index.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.communication-spec](https://lssm.co/docs/packages/lib.communication-spec/): `workspace:^`
- [@lssm-tech/lib.contracts-spec-core](https://lssm.co/docs/packages/lib.contracts-spec-core/): `workspace:^`
- [@lssm-tech/lib.notification](https://lssm.co/docs/packages/lib.notification/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@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
{
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
  "publish:pkg:canary": "bun publish:pkg --tag canary",
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "dev": "contractspec-bun-build dev",
  "clean": "rimraf dist .turbo",
  "lint": "bun lint:fix",
  "lint:fix": "node ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .",
  "lint:check": "node ../../../../scripts/biome.cjs check .",
  "test": "bun test",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Module Notifications documentation](https://www.npmjs.com/package/%40lssm-tech%2Fmodule.notifications) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fmodule.notifications",
  "kind": "readme"
}
```

## Existing agent-guide projection

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