# @lssm-tech/module.creator-operations

Reusable creator operations module.

## Source and release context

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

## Package metadata

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

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

Primary area: [Content, growth and creator operations](https://lssm.co/docs/areas/content-and-growth/)

## Package guide

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

# Creator Operations module

`registerCreatorOperations` binds eleven provider-neutral operations for creator
campaigns, immutable agreements, submissions, cumulative accrual, canonical wallets
and settlement. Contracts live in `lib.contracts-spec/creator-operations`; domain
behavior lives in `lib.creator-operations-runtime`.

Inject a trusted current authority, transactional store and settlement provider.
The authenticated handler context supplies actor/tenant/workspace independently of
input. Economic operations require scoped approval receipts before handler entry.
No permitting authority or live payout rail is configured by default.

Existing Hirly operation identities are preserved; these additive identities enable
an explicit adapter migration and do not claim parity with all 213 existing operations.


The optional `training` registrar exposes training open/update commands through the
canonical registry. Open may initialize state, so it declares read/write effects.
Authenticated scope is checked before service course/quiz authorization and persistence.


## Declared capabilities

### Scoped creator operation registry

Capability ID: `package.lssm.tech.module.creator.operations`

Reusable creator operations module.

Use cases:

- Scoped creator operation registry

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "bun",
    "node"
  ],
  "requires": [
    "TypeScript",
    "Host-owned authority"
  ],
  "avoidWhen": [
    "Full Hirly application parity or live payment qualification is required without host integration."
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "creator",
    "campaign",
    "wallet",
    "settlement"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 65
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/module.creator-operations",
    "symbols": [
      "registerCreatorOperations"
    ]
  }
]
```

## Catalogue metadata

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

## 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.creator.operations",
    "from": "@lssm-tech/module.creator-operations",
    "symbols": [
      "registerCreatorOperations"
    ]
  }
]
```

## 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.creator-operations` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/creator/module/src/index.ts); verified source file.

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

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

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

- `@lssm-tech/module.creator-operations/training-quiz-read` — subpath `./training-quiz-read`
  - `unconditional`: `./src/training-quiz-read.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/creator/module/src/training-quiz-read.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"
    },
    "./training": {
      "types": "./dist/training.d.ts",
      "browser": "./dist/browser/training.js",
      "bun": "./dist/training.js",
      "node": "./dist/node/training.js",
      "default": "./dist/training.js"
    },
    "./training-progress": {
      "types": "./dist/training-progress.d.ts",
      "browser": "./dist/browser/training-progress.js",
      "bun": "./dist/training-progress.js",
      "node": "./dist/node/training-progress.js",
      "default": "./dist/training-progress.js"
    },
    "./training-quiz": {
      "types": "./dist/training-quiz.d.ts",
      "browser": "./dist/browser/training-quiz.js",
      "bun": "./dist/training-quiz.js",
      "node": "./dist/node/training-quiz.js",
      "default": "./dist/training-quiz.js"
    },
    "./training-quiz-read": {
      "types": "./dist/training-quiz-read.d.ts",
      "browser": "./dist/browser/training-quiz-read.js",
      "bun": "./dist/training-quiz-read.js",
      "node": "./dist/node/training-quiz-read.js",
      "default": "./dist/training-quiz-read.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

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

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/lib.contracts-spec](https://lssm.co/docs/packages/lib.contracts-spec/): `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:*`
- `@types/bun`: `catalog:types`
- `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 .",
  "test": "bun test",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit",
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose"
}
```

## Declared documentation links

- [Creator Operations](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/creator/module) — verified pinned repository path.

```json
{
  "url": "https://github.com/lssm-tech/contractspec/tree/main/packages/domains/creator/module",
  "kind": "readme"
}
```

## Existing agent-guide projection

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