Skip to content
ContractSpec
Start here

Package manual · domains

·Content, growth and creator operations

lib.content-analysis-spec

Evidence-first provider-neutral content analysis and content-generation contracts.

domainslibraryv2.0.4experimentalservernode
@lssm-tech/lib.content-analysis-spec
bun add @lssm-tech/lib.content-analysis-spec
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Provider-neutral contracts and strict validation for evidence-first analysis of text, image, audio, and video. Analyses bind exact asset, rubric, prompt/model, policy, evidence, usage, and cost versions. They are assistive, contestable, and cannot approve content, select creators, publish, rank, or authorize money.

Entrypoints: ., ./schemas, ./content-analysis-spec.feature, and the narrow ./contracts family (constants, events, operations, registry, types).

This package owns the canonical declarations in src/contracts/. Legacy @lssm-tech/lib.contracts-spec/content-analysis imports forward to these same instances. This behavior-compatible relocation preserves all contract keys, versions, schemas, policies and evidence/authority boundaries.

The content domain's generation contracts live in src/content-generation/, exposed as ./content-generation and ./content-generation/<leaf> (capabilities, content-generation.feature, contracts, media-status, ports, rights, rights-operations, rights-withdrawal, types). Legacy @lssm-tech/lib.contracts-spec/content-generation imports forward to the same instances. The registration helpers take structural registrar ports, so the spec never depends on the operation or capability registry runtimes.

Relationships

THIS PACKAGElib.content-analysis-spec19 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

3 declarations

Declared capabilities

Lib Content Analysis Spec

Evidence-first provider-neutral content analysis contracts.

Scripts

  • 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