{"id":"@lssm-tech/module.work-management","slug":"module.work-management","name":"@lssm-tech/module.work-management","version":"2.0.5","path":"packages/domains/work/module","manifestPath":"packages/domains/work/module/package.json","manifestBlobSha":"99d08a0c5a0efd38d4a3ba38312174cf25fc6a82","layer":"domains","physicalArea":"work","primaryArea":"company-and-work","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"module","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Reusable Work OS application services and web/native view models.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"module","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./service","./transports","./view-models"],"documentation":[{"title":"Module Work Management documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.work-management","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.module.work.management","title":"Module Work Management","description":"Reusable Work OS application services and web/native view models.","status":"active","useCases":["Adopt reusable work os application services and web/native view models"],"aliases":["module","work","management"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/module.work-management","symbols":[]},{"from":"@lssm-tech/module.work-management/service","symbols":[]},{"from":"@lssm-tech/module.work-management/transports","symbols":[]},{"from":"@lssm-tech/module.work-management/view-models","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/module.work-management package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.module.work.management","from":"@lssm-tech/module.work-management","symbols":[]},{"capabilityId":"package.lssm.tech.module.work.management","from":"@lssm-tech/module.work-management/service","symbols":[]},{"capabilityId":"package.lssm.tech.module.work.management","from":"@lssm-tech/module.work-management/transports","symbols":[]},{"capabilityId":"package.lssm.tech.module.work.management","from":"@lssm-tech/module.work-management/view-models","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 .","lint:check":"node ../../../../scripts/biome.cjs check .","test":"bun test","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.work-runtime":"workspace:^","@lssm-tech/lib.work-spec":"workspace:^"},"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","./service":"./src/service.ts","./transports":"./src/transports.ts","./view-models":"./src/view-models.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"},"./service":{"types":"./dist/service.d.ts","browser":"./dist/browser/service.js","bun":"./dist/service.js","node":"./dist/node/service.js","default":"./dist/service.js"},"./transports":{"types":"./dist/transports.d.ts","browser":"./dist/browser/transports.js","bun":"./dist/transports.js","node":"./dist/node/transports.js","default":"./dist/transports.js"},"./view-models":{"types":"./dist/view-models.d.ts","browser":"./dist/browser/view-models.js","bun":"./dist/view-models.js","node":"./dist/node/view-models.js","default":"./dist/view-models.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.work-management","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/domains/work/module/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./service","importPath":"@lssm-tech/module.work-management/service","target":"./src/service.ts","targets":[{"conditions":[],"target":"./src/service.ts","sourcePath":"packages/domains/work/module/src/service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/src/service.ts","sourceStatus":"verified source file"}]},{"subpath":"./transports","importPath":"@lssm-tech/module.work-management/transports","target":"./src/transports.ts","targets":[{"conditions":[],"target":"./src/transports.ts","sourcePath":"packages/domains/work/module/src/transports.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/src/transports.ts","sourceStatus":"verified source file"}]},{"subpath":"./view-models","importPath":"@lssm-tech/module.work-management/view-models","target":"./src/view-models.ts","targets":[{"conditions":[],"target":"./src/view-models.ts","sourcePath":"packages/domains/work/module/src/view-models.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/src/view-models.ts","sourceStatus":"verified source file"}]}],"entryCount":4,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Module Work Management documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.work-management","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/module.work-management.txt"},"readme":{"status":"available","body":"# `@lssm-tech/module.work-management`\n\nReusable Work OS application services and view models.\n\nThe module composes `@lssm-tech/lib.work-spec` and\n`@lssm-tech/lib.work-runtime` without binding a database, provider, transport,\nor product shell. Consumers inject durable event/projection/idempotency ports.\n\n`./transports` exposes REST, GraphQL, and MCP adapters over the same injected\n`WorkMutationExecutor`. Hosts bind authentication and tenant context before\ncalling it; the module never creates a permissive or in-memory fallback.\n`createAuthenticatedWorkTransportAdapters` rejects any payload whose actor or\ntenant/organization/workspace scope differs from the verified host context.\n\nManaged CompanyOS can compose this module with OPA, Knowledge, Workflow, and\nintegration packages. Downstream products can consume it independently.\n\nThe current command surface covers object lifecycle and transitions, recurrence,\ntime tracking, relationships, immutable comment creation, attachment linking,\nnative custom-field values, and explicit Inbox Capture for source-provenanced\n`inbox_item` objects. Every command is authorized, idempotent,\ncorrelated, evidence-linked, and committed with at least one explicit\ntransactional-outbox destination through an injected atomic port before its\nprojection is published.\n\nDurable command ports expose optional `lookupCommitted` so services can resolve an authorized retry before object-existence or revision validation. The PostgreSQL adapter fences the request identity and returns its persisted receipt, or an idempotency conflict for changed input. Managed hosts keep lookup, projection reads and commit in one outer authority transaction, so concurrent identical creates return one committed event. Other adapters must implement this receipt lookup to qualify equivalent retry behavior.\n\n\nWork scope validation now includes tenant, organization and workspace on object reads, including both materialized projections and replay fallback. Mismatched projection identities fail closed. Mutation services validate the current object's identity/scope and replay receipts against the authorized actor and scope. PostgreSQL commits serialize by aggregate before revision checks and reject changing an existing aggregate's scope; projection upserts cannot replace a newer revision with an older worker result. These changes preserve existing wire contracts and require no schema migration. Tenant-only event/outbox worker ports remain trusted internal surfaces and must not be exposed as workspace-authorized reads.\n","sourcePath":"packages/domains/work/module/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/work/module/README.md","blobSha":"379f0f59ddbe4df91bb1df05a27cf9fe950e2788","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":"company-and-work","areaTitle":"Company, work and service operations","displayName":"module.work-management","runtimes":["node"],"platforms":["server"],"kind":"module","scope":"Package manifest","canonicalRoute":"/docs/packages/module.work-management/","contextUrl":"/docs/packages/module.work-management.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}