lib.content-analysis-spec
Evidence-first provider-neutral content analysis and content-generation contracts.
@lssm-tech/lib.content-analysis-specbun add @lssm-tech/lib.content-analysis-specManifest 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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
3 declarations
zodcatalog:
@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.schemaworkspace:^
Read the package manual ↗
Declared capabilities
Evidence-first provider-neutral content analysis contracts.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../../scripts/biome.cjs check .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit