{"id":"@lssm-tech/module.editions","slug":"module.editions","name":"@lssm-tech/module.editions","version":"2.0.4","path":"packages/platform/governance/editions","manifestPath":"packages/platform/governance/editions/package.json","manifestBlobSha":"bb55c5d1aa84f31dd1d14c96b61e6d884dba7797","layer":"platform","physicalArea":"governance","primaryArea":"governance-and-approvals","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"module","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Reusable deterministic edition platform surfaces for resources, UI, workflows, storage, agents, and evidence.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"module","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./agents","./evidence","./proof","./resources","./storage","./ui","./workflow"],"documentation":[{"title":"Module Editions documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.editions","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.module.editions","title":"Module Editions","description":"Reusable deterministic edition platform surfaces for resources, UI, workflows, storage, agents, and evidence.","status":"active","useCases":["Adopt reusable deterministic edition platform surfaces for resources, ui, workflows, storage, agents, and evidence"],"aliases":["contractspec","editions","module","workflow","evidence"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/module.editions","symbols":[]},{"from":"@lssm-tech/module.editions/agents","symbols":[]},{"from":"@lssm-tech/module.editions/evidence","symbols":[]},{"from":"@lssm-tech/module.editions/proof","symbols":[]},{"from":"@lssm-tech/module.editions/resources","symbols":[]},{"from":"@lssm-tech/module.editions/storage","symbols":[]},{"from":"@lssm-tech/module.editions/ui","symbols":[]},{"from":"@lssm-tech/module.editions/workflow","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/module.editions package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/agents","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/evidence","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/proof","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/resources","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/storage","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/ui","symbols":[]},{"capabilityId":"package.lssm.tech.module.editions","from":"@lssm-tech/module.editions/workflow","symbols":[]}],"scripts":{"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 .","prebuild":"contractspec-bun-build prebuild","test":"bun test","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-library":"workspace:^","@lssm-tech/lib.contracts-runtime-kernel":"workspace:^","zod":"catalog:"},"devDependencies":{"@lssm-tech/tool.bun":"workspace:*","@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./agents":"./src/agents/index.ts","./evidence":"./src/evidence/index.ts","./proof":"./src/proof.ts","./resources":"./src/resources/index.ts","./storage":"./src/storage/index.ts","./ui":"./src/ui/index.ts","./workflow":"./src/workflow/index.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./agents":{"types":"./dist/agents/index.d.ts","browser":"./dist/browser/agents/index.js","bun":"./dist/agents/index.js","node":"./dist/node/agents/index.js","default":"./dist/agents/index.js"},"./evidence":{"types":"./dist/evidence/index.d.ts","browser":"./dist/browser/evidence/index.js","bun":"./dist/evidence/index.js","node":"./dist/node/evidence/index.js","default":"./dist/evidence/index.js"},"./proof":{"types":"./dist/proof.d.ts","browser":"./dist/browser/proof.js","bun":"./dist/proof.js","node":"./dist/node/proof.js","default":"./dist/proof.js"},"./resources":{"types":"./dist/resources/index.d.ts","browser":"./dist/browser/resources/index.js","bun":"./dist/resources/index.js","node":"./dist/node/resources/index.js","default":"./dist/resources/index.js"},"./storage":{"types":"./dist/storage/index.d.ts","browser":"./dist/browser/storage/index.js","bun":"./dist/storage/index.js","node":"./dist/node/storage/index.js","default":"./dist/storage/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","browser":"./dist/browser/ui/index.js","bun":"./dist/ui/index.js","node":"./dist/node/ui/index.js","default":"./dist/ui/index.js"},"./workflow":{"types":"./dist/workflow/index.d.ts","browser":"./dist/browser/workflow/index.js","bun":"./dist/workflow/index.js","node":"./dist/node/workflow/index.js","default":"./dist/workflow/index.js"}},"types":"./dist/index.d.ts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/module.editions","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/governance/editions/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./agents","importPath":"@lssm-tech/module.editions/agents","target":"./src/agents/index.ts","targets":[{"conditions":[],"target":"./src/agents/index.ts","sourcePath":"packages/platform/governance/editions/src/agents/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/agents/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./evidence","importPath":"@lssm-tech/module.editions/evidence","target":"./src/evidence/index.ts","targets":[{"conditions":[],"target":"./src/evidence/index.ts","sourcePath":"packages/platform/governance/editions/src/evidence/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/evidence/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./proof","importPath":"@lssm-tech/module.editions/proof","target":"./src/proof.ts","targets":[{"conditions":[],"target":"./src/proof.ts","sourcePath":"packages/platform/governance/editions/src/proof.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/proof.ts","sourceStatus":"verified source file"}]},{"subpath":"./resources","importPath":"@lssm-tech/module.editions/resources","target":"./src/resources/index.ts","targets":[{"conditions":[],"target":"./src/resources/index.ts","sourcePath":"packages/platform/governance/editions/src/resources/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/resources/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./storage","importPath":"@lssm-tech/module.editions/storage","target":"./src/storage/index.ts","targets":[{"conditions":[],"target":"./src/storage/index.ts","sourcePath":"packages/platform/governance/editions/src/storage/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/storage/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./ui","importPath":"@lssm-tech/module.editions/ui","target":"./src/ui/index.ts","targets":[{"conditions":[],"target":"./src/ui/index.ts","sourcePath":"packages/platform/governance/editions/src/ui/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/ui/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./workflow","importPath":"@lssm-tech/module.editions/workflow","target":"./src/workflow/index.ts","targets":[{"conditions":[],"target":"./src/workflow/index.ts","sourcePath":"packages/platform/governance/editions/src/workflow/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/src/workflow/index.ts","sourceStatus":"verified source file"}]}],"entryCount":8,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Module Editions documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.editions","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/module.editions.txt"},"readme":{"status":"available","body":"# @lssm-tech/module.editions\n\nReusable deterministic edition platform surfaces for ContractSpec.\n\nThis module owns composed behavior around canonical `@lssm-tech/lib.contracts-spec/editions` contracts: resource builders, UI view models, workflows, storage adapter wiring, deterministic agent plans, and evidence composition.\n\n## Boundaries\n\n- Imports libs only.\n- No peer modules, bundles, apps, examples, provider SDKs, raw secrets, external database requirement, or production writes.\n- Public tracks stay narrow and acyclic: `./resources`, `./ui`, `./workflow`, `./storage`, `./agents`, `./evidence`. `./proof` intentionally composes those tracks into an aggregate readiness proof.\n\n## Public tracks and review boundaries\n\nThe module is a composition layer over `@lssm-tech/lib.contracts-spec/editions`;\nit must not create a second edition ontology. Keep each track deterministic and\ncredential-free:\n\n| Track | Responsibility | Review focus |\n| --- | --- | --- |\n| `./resources` | Resource template metadata for live proof/showcase callers. | No injected resolver side effects or provider calls. |\n| `./ui` | View-model projection for edition screens. | Uses typed edition identity/evidence fields; no private source imports. |\n| `./workflow` | Lifecycle transitions and audit events. | Published, rollback, archive, and migration transitions preserve evidence refs. |\n| `./storage` | Adapter composition over file/database edition projections. | File and database counts derive from lib storage kinds, not product-specific ids. |\n| `./agents` | Deterministic improvement plans. | No provider execution; plans cite edition refs and reversible steps. |\n| `./evidence` | Harness/replay/knowledge evidence composition. | Reuses canonical evidence refs instead of inventing module-local proof systems. |\n| `./proof` | Aggregate platform readiness proof. | Public exports, runtime wiring, and gate refs stay aligned with package exports. |\n\nFor published-edition API work, review code and docs against the subject-generic\nidentity contract in `packages/platform/delivery/contracts-spec-compat/src/editions/README.md`: module\ncallers should depend on `subjectKey`, `subjectType`, `editionKind`, `editionId`, storage\nprojection refs, authority scopes, and evidence refs rather than parsing\nCompanyOS-specific fixture ids.\n\n## Commands\n\n```bash\nbun run test\nbun run typecheck\nbun run build\nnode ../../../scripts/biome.cjs check .\n```\n","sourcePath":"packages/platform/governance/editions/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/editions/README.md","blobSha":"ca31f22d62cac3dd3562c27cec456f6ebb34ffb7","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"governance-and-approvals","areaTitle":"Governance, decisions and approvals","displayName":"module.editions","runtimes":["node"],"platforms":["server"],"kind":"module","scope":"Package manifest","canonicalRoute":"/docs/packages/module.editions/","contextUrl":"/docs/packages/module.editions.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}