{"id":"@lssm-tech/lib.personal-os-runtime","slug":"lib.personal-os-runtime","name":"@lssm-tech/lib.personal-os-runtime","version":"2.0.4","path":"packages/domains/personal-agency/runtime","manifestPath":"packages/domains/personal-agency/runtime/package.json","manifestBlobSha":"f4ec0fc9a8d8554bc4216224e79c3d71af195db3","layer":"domains","physicalArea":"personal-agency","primaryArea":"personal-and-learning","classification":{"privateDeclared":null,"catalogFamily":"runtime","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Pure fail-closed PersonalOS authority, replay, projection, and rights runtime.","descriptionOrigin":"package.json","catalog":{"family":"runtime","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./authority","./command-envelope","./consent-command-builder","./digest","./digest-port","./guardrail-command-builder","./household-command-builder","./journey-command-context","./ports","./projection","./replay","./rights","./productivity-command-builder","./progress-celebration-command-builder"],"documentation":[{"title":"Lib Personal Os Runtime documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-os-runtime","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.personal.os.runtime","title":"Lib Personal Os Runtime","description":"Pure fail-closed PersonalOS authority, replay, projection, and rights runtime.","status":"active","useCases":["Adopt pure fail-closed personalos authority, replay, projection, and rights runtime"],"aliases":["lib","personal","runtime"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.personal-os-runtime","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/authority","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/command-envelope","symbols":["bindPersonalWorkspaceCommandV1","buildUnboundPersonalCommandEnvelopeV1"]},{"from":"@lssm-tech/lib.personal-os-runtime/consent-command-builder","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/digest","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/guardrail-command-builder","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/household-command-builder","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/ports","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/projection","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/replay","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/rights","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/productivity-command-builder","symbols":["buildPersonalPlanCommandV1"]},{"from":"@lssm-tech/lib.personal-os-runtime/progress-celebration-command-builder","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/journey-command-context","symbols":[]},{"from":"@lssm-tech/lib.personal-os-runtime/digest-port","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.personal-os-runtime package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/authority","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/command-envelope","symbols":["bindPersonalWorkspaceCommandV1","buildUnboundPersonalCommandEnvelopeV1"]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/consent-command-builder","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/digest","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/guardrail-command-builder","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/household-command-builder","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/ports","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/projection","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/replay","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/rights","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/productivity-command-builder","symbols":["buildPersonalPlanCommandV1"]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/progress-celebration-command-builder","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/journey-command-context","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.os.runtime","from":"@lssm-tech/lib.personal-os-runtime/digest-port","symbols":[]}],"scripts":{"build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","clean":"rimraf dist .turbo","lint:check":"node ../../../../scripts/biome.cjs check .","lint:fix":"node ../../../../scripts/biome.cjs check --write .","prebuild":"contractspec-bun-build prebuild","test":"bun test","typecheck":"tsgo --noEmit --tsBuildInfoFile .cache/typecheck.tsbuildinfo"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.lssm-os-runtime":"workspace:^","@lssm-tech/lib.personal-os-spec":"workspace:^"},"devDependencies":{"@lssm-tech/tool.bun":"workspace:*","@lssm-tech/tool.typescript":"workspace:*","@types/bun":"catalog:types","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./authority":"./src/authority.ts","./coach-command-builder":"./src/coach-command-builder.ts","./command-envelope":"./src/command-envelope.ts","./consent-command-builder":"./src/consent-command-builder.ts","./digest":"./src/digest.ts","./digest-port":"./src/digest-port.ts","./foundation-command-builder":"./src/foundation-command-builder.ts","./guardrail-command-builder":"./src/guardrail-command-builder.ts","./household-command-builder":"./src/household-command-builder.ts","./journey-command-context":"./src/journey-command-context.ts","./meeting-context-consumer":"./src/meeting-context-consumer.ts","./meeting-memory-intake":"./src/meeting-memory-intake.ts","./outcome-command-builder":"./src/outcome-command-builder.ts","./ports":"./src/ports.ts","./projection":"./src/projection.ts","./replay":"./src/replay.ts","./rights":"./src/rights.ts","./rights-command-builder":"./src/rights-command-builder.ts","./support-command-builder":"./src/support-command-builder.ts","./productivity-command-builder":"./src/productivity-command-builder.ts","./progress-celebration-command-builder":"./src/progress-celebration-command-builder.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"},"./authority":{"types":"./dist/authority.d.ts","browser":"./dist/browser/authority.js","bun":"./dist/authority.js","node":"./dist/node/authority.js","default":"./dist/authority.js"},"./coach-command-builder":{"types":"./dist/coach-command-builder.d.ts","browser":"./dist/browser/coach-command-builder.js","bun":"./dist/coach-command-builder.js","node":"./dist/node/coach-command-builder.js","default":"./dist/coach-command-builder.js"},"./consent-command-builder":{"types":"./dist/consent-command-builder.d.ts","browser":"./dist/browser/consent-command-builder.js","bun":"./dist/consent-command-builder.js","node":"./dist/node/consent-command-builder.js","default":"./dist/consent-command-builder.js"},"./digest":{"types":"./dist/digest.d.ts","browser":"./dist/browser/digest.js","bun":"./dist/digest.js","node":"./dist/node/digest.js","default":"./dist/digest.js"},"./foundation-command-builder":{"types":"./dist/foundation-command-builder.d.ts","browser":"./dist/browser/foundation-command-builder.js","bun":"./dist/foundation-command-builder.js","node":"./dist/node/foundation-command-builder.js","default":"./dist/foundation-command-builder.js"},"./guardrail-command-builder":{"types":"./dist/guardrail-command-builder.d.ts","browser":"./dist/browser/guardrail-command-builder.js","bun":"./dist/guardrail-command-builder.js","node":"./dist/node/guardrail-command-builder.js","default":"./dist/guardrail-command-builder.js"},"./household-command-builder":{"types":"./dist/household-command-builder.d.ts","browser":"./dist/browser/household-command-builder.js","bun":"./dist/household-command-builder.js","node":"./dist/node/household-command-builder.js","default":"./dist/household-command-builder.js"},"./outcome-command-builder":{"types":"./dist/outcome-command-builder.d.ts","browser":"./dist/browser/outcome-command-builder.js","bun":"./dist/outcome-command-builder.js","node":"./dist/node/outcome-command-builder.js","default":"./dist/outcome-command-builder.js"},"./ports":{"types":"./dist/ports.d.ts","browser":"./dist/browser/ports.js","bun":"./dist/ports.js","node":"./dist/node/ports.js","default":"./dist/ports.js"},"./projection":{"types":"./dist/projection.d.ts","browser":"./dist/browser/projection.js","bun":"./dist/projection.js","node":"./dist/node/projection.js","default":"./dist/projection.js"},"./replay":{"types":"./dist/replay.d.ts","browser":"./dist/browser/replay.js","bun":"./dist/replay.js","node":"./dist/node/replay.js","default":"./dist/replay.js"},"./rights":{"types":"./dist/rights.d.ts","browser":"./dist/browser/rights.js","bun":"./dist/rights.js","node":"./dist/node/rights.js","default":"./dist/rights.js"},"./rights-command-builder":{"types":"./dist/rights-command-builder.d.ts","browser":"./dist/browser/rights-command-builder.js","bun":"./dist/rights-command-builder.js","node":"./dist/node/rights-command-builder.js","default":"./dist/rights-command-builder.js"},"./support-command-builder":{"types":"./dist/support-command-builder.d.ts","browser":"./dist/browser/support-command-builder.js","bun":"./dist/support-command-builder.js","node":"./dist/node/support-command-builder.js","default":"./dist/support-command-builder.js"},"./productivity-command-builder":{"types":"./dist/productivity-command-builder.d.ts","browser":"./dist/browser/productivity-command-builder.js","bun":"./dist/productivity-command-builder.js","node":"./dist/node/productivity-command-builder.js","default":"./dist/productivity-command-builder.js"},"./command-envelope":{"types":"./dist/command-envelope.d.ts","browser":"./dist/browser/command-envelope.js","bun":"./dist/command-envelope.js","node":"./dist/node/command-envelope.js","default":"./dist/command-envelope.js"},"./digest-port":{"types":"./dist/digest-port.d.ts","browser":"./dist/browser/digest-port.js","bun":"./dist/digest-port.js","node":"./dist/node/digest-port.js","default":"./dist/digest-port.js"},"./journey-command-context":{"types":"./dist/journey-command-context.d.ts","browser":"./dist/browser/journey-command-context.js","bun":"./dist/journey-command-context.js","node":"./dist/node/journey-command-context.js","default":"./dist/journey-command-context.js"},"./meeting-context-consumer":{"types":"./dist/meeting-context-consumer.d.ts","browser":"./dist/browser/meeting-context-consumer.js","bun":"./dist/meeting-context-consumer.js","node":"./dist/node/meeting-context-consumer.js","default":"./dist/meeting-context-consumer.js"},"./meeting-memory-intake":{"types":"./dist/meeting-memory-intake.d.ts","browser":"./dist/browser/meeting-memory-intake.js","bun":"./dist/meeting-memory-intake.js","node":"./dist/node/meeting-memory-intake.js","default":"./dist/meeting-memory-intake.js"},"./progress-celebration-command-builder":{"types":"./dist/progress-celebration-command-builder.d.ts","browser":"./dist/browser/progress-celebration-command-builder.js","bun":"./dist/progress-celebration-command-builder.js","node":"./dist/node/progress-celebration-command-builder.js","default":"./dist/progress-celebration-command-builder.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/lib.personal-os-runtime","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/domains/personal-agency/runtime/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./authority","importPath":"@lssm-tech/lib.personal-os-runtime/authority","target":"./src/authority.ts","targets":[{"conditions":[],"target":"./src/authority.ts","sourcePath":"packages/domains/personal-agency/runtime/src/authority.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/authority.ts","sourceStatus":"verified source file"}]},{"subpath":"./coach-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/coach-command-builder","target":"./src/coach-command-builder.ts","targets":[{"conditions":[],"target":"./src/coach-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/coach-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/coach-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./command-envelope","importPath":"@lssm-tech/lib.personal-os-runtime/command-envelope","target":"./src/command-envelope.ts","targets":[{"conditions":[],"target":"./src/command-envelope.ts","sourcePath":"packages/domains/personal-agency/runtime/src/command-envelope.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/command-envelope.ts","sourceStatus":"verified source file"}]},{"subpath":"./consent-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/consent-command-builder","target":"./src/consent-command-builder.ts","targets":[{"conditions":[],"target":"./src/consent-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/consent-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/consent-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./digest","importPath":"@lssm-tech/lib.personal-os-runtime/digest","target":"./src/digest.ts","targets":[{"conditions":[],"target":"./src/digest.ts","sourcePath":"packages/domains/personal-agency/runtime/src/digest.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/digest.ts","sourceStatus":"verified source file"}]},{"subpath":"./digest-port","importPath":"@lssm-tech/lib.personal-os-runtime/digest-port","target":"./src/digest-port.ts","targets":[{"conditions":[],"target":"./src/digest-port.ts","sourcePath":"packages/domains/personal-agency/runtime/src/digest-port.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/digest-port.ts","sourceStatus":"verified source file"}]},{"subpath":"./foundation-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/foundation-command-builder","target":"./src/foundation-command-builder.ts","targets":[{"conditions":[],"target":"./src/foundation-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/foundation-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/foundation-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./guardrail-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/guardrail-command-builder","target":"./src/guardrail-command-builder.ts","targets":[{"conditions":[],"target":"./src/guardrail-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/guardrail-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/guardrail-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./household-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/household-command-builder","target":"./src/household-command-builder.ts","targets":[{"conditions":[],"target":"./src/household-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/household-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/household-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./journey-command-context","importPath":"@lssm-tech/lib.personal-os-runtime/journey-command-context","target":"./src/journey-command-context.ts","targets":[{"conditions":[],"target":"./src/journey-command-context.ts","sourcePath":"packages/domains/personal-agency/runtime/src/journey-command-context.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/journey-command-context.ts","sourceStatus":"verified source file"}]},{"subpath":"./meeting-context-consumer","importPath":"@lssm-tech/lib.personal-os-runtime/meeting-context-consumer","target":"./src/meeting-context-consumer.ts","targets":[{"conditions":[],"target":"./src/meeting-context-consumer.ts","sourcePath":"packages/domains/personal-agency/runtime/src/meeting-context-consumer.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/meeting-context-consumer.ts","sourceStatus":"verified source file"}]},{"subpath":"./meeting-memory-intake","importPath":"@lssm-tech/lib.personal-os-runtime/meeting-memory-intake","target":"./src/meeting-memory-intake.ts","targets":[{"conditions":[],"target":"./src/meeting-memory-intake.ts","sourcePath":"packages/domains/personal-agency/runtime/src/meeting-memory-intake.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/meeting-memory-intake.ts","sourceStatus":"verified source file"}]},{"subpath":"./outcome-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/outcome-command-builder","target":"./src/outcome-command-builder.ts","targets":[{"conditions":[],"target":"./src/outcome-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/outcome-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/outcome-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./ports","importPath":"@lssm-tech/lib.personal-os-runtime/ports","target":"./src/ports.ts","targets":[{"conditions":[],"target":"./src/ports.ts","sourcePath":"packages/domains/personal-agency/runtime/src/ports.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/ports.ts","sourceStatus":"verified source file"}]},{"subpath":"./projection","importPath":"@lssm-tech/lib.personal-os-runtime/projection","target":"./src/projection.ts","targets":[{"conditions":[],"target":"./src/projection.ts","sourcePath":"packages/domains/personal-agency/runtime/src/projection.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/projection.ts","sourceStatus":"verified source file"}]},{"subpath":"./replay","importPath":"@lssm-tech/lib.personal-os-runtime/replay","target":"./src/replay.ts","targets":[{"conditions":[],"target":"./src/replay.ts","sourcePath":"packages/domains/personal-agency/runtime/src/replay.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/replay.ts","sourceStatus":"verified source file"}]},{"subpath":"./rights","importPath":"@lssm-tech/lib.personal-os-runtime/rights","target":"./src/rights.ts","targets":[{"conditions":[],"target":"./src/rights.ts","sourcePath":"packages/domains/personal-agency/runtime/src/rights.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/rights.ts","sourceStatus":"verified source file"}]},{"subpath":"./rights-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/rights-command-builder","target":"./src/rights-command-builder.ts","targets":[{"conditions":[],"target":"./src/rights-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/rights-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/rights-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./support-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/support-command-builder","target":"./src/support-command-builder.ts","targets":[{"conditions":[],"target":"./src/support-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/support-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/support-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./productivity-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/productivity-command-builder","target":"./src/productivity-command-builder.ts","targets":[{"conditions":[],"target":"./src/productivity-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/productivity-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/productivity-command-builder.ts","sourceStatus":"verified source file"}]},{"subpath":"./progress-celebration-command-builder","importPath":"@lssm-tech/lib.personal-os-runtime/progress-celebration-command-builder","target":"./src/progress-celebration-command-builder.ts","targets":[{"conditions":[],"target":"./src/progress-celebration-command-builder.ts","sourcePath":"packages/domains/personal-agency/runtime/src/progress-celebration-command-builder.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/src/progress-celebration-command-builder.ts","sourceStatus":"verified source file"}]}],"entryCount":22,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Personal Os Runtime documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-os-runtime","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.personal-os-runtime.txt"},"readme":{"status":"available","body":"# `@lssm-tech/lib.personal-os-runtime`\n\nPure PersonalOS runtime primitives for subject-bound authorization, autonomy\npolicy resolution, immutable event replay, minimized projections, and portable\ndata-rights plans.\n\nThe runtime performs no I/O. Hosts provide durable stores, verified identity,\nclock, audit, encryption, and effect execution through explicit ports.\n\n`PersonalSubjectStateTransactionPort` is the production persistence seam. It\natomically commits an exact authority-bound command, receipt, immutable event,\nencrypted snapshot, idempotency result, and outbox records, then supports\nsubject-bound hydration and cursor-safe worker reads. Digest helpers expose the\nsame canonical, domain-separated payload binding used by domain reducers.\nThe digest map includes online-only, human-required private progress-celebration\nconfiguration, disable commands, and goal-scoped support commands.\n`./household-command-builder` is the shared browser-safe constructor for the\ninvite, activate, delegate, and revoke journey. Hosts provide exact IDs,\nidentity, revisions, evidence, timestamps, and native digest execution where\nneeded; the builder fixes high-risk, human-required, online-only policy and\nnever treats a newly created delegation as authority for its own command.\n`./productivity-command-builder` owns Today-plan and habit command construction.\nHosts supply IDs, trusted subject/actor, revision, time and evidence; the pure\nbuilder preserves low-risk, human-required, queueable policy and binds the\nexisting canonical payload digest. Form parsing and trusted-context binding stay\nin delivery hosts. Construction does not execute a command or authorize a retry.\n`createPersonalPlanCommandDraftV1` returns the same command unbound (zero\npayload digest) for hosts that bind digests through a native port.\nThe same subpath exports `buildPersonalReflectionCommandV1` and\n`createPersonalReflectionCommandDraftV1` for check-in, missed-day recovery and\nweekly-review commands: observed-values-only, no invented metrics, neutral\nno-shame recovery tone and submission evidence on the review. Hosts keep form\nparsing, week/period selection, identifiers, time and undo routing.\n`./command-envelope` owns the generic unbound command envelope\n(`buildUnboundPersonalCommandEnvelopeV1`: the submitting surface's evidence\nfirst, copied consent/delegation ids, placeholder digest) and\n`bindPersonalWorkspaceCommandV1`, which validates a workspace command and binds\nits domain-separated payload digest. Hosts keep form parsing, identifiers, time\nand the surface evidence reference; native hosts with digest ports bind\nthemselves.\n`./coach-command-builder` owns coach adaptation propose/activate/inspect/undo/\nreset construction. Hosts supply IDs, trusted subject/actor, consent, coach and\nadaptation revisions, time, evidence and proposal copy; the builder fixes\nhuman-required, online-only policy, per-action risk, the presentation-only\nToday-density change and its seven-day expiry. `createPersonalCoachCommandDraftV1`\nleaves digest binding to native hosts. Construction grants no authority.\n`./outcome-command-builder` owns record/correct/remove outcome observation\ncommands: self-declared, full-confidence observations at submission time with\nthe submission evidence as provenance, no raw sensitive data and no\nprotected-trait inference. Hosts keep value parsing, metric resolution,\nidentifiers, time and digest ports; `createPersonalOutcomeCommandDraftV1` leaves\ndigest binding to native hosts.\n`./foundation-command-builder` owns household creation, mission establishment\nand first-goal construction: households are created online at revision 0 with\nthe creator as sole active owner and the non-waivable member exclusions;\nmissions and goals are self-declared, and a goal starts one self-reported\n0→target percent metric over 90 days. Hosts keep form parsing, identifiers,\nconsent/guardrail selection, time and digest ports.\n`./rights-command-builder` owns export/deletion rights requests: all personal\ndata, portable JSON exports, exact-subject deletion confirmation, high-risk,\nhuman-required and online-only. The request itself exports or deletes nothing.\n`./support-command-builder` owns goal-scoped support grant/report/revoke/block\nconstruction: seven-day single-goal read-and-encourage grants with the\nnon-waivable delegate exclusions and one-day goal-scope evidence referenced\nfrom the envelope. The goal-scope digest stays with the support domain and is\ninjected by hosts (`digestGoalScope`); hosts also keep delegation/grant lookup,\nidentifiers, time and digest ports.\n`createPersonalConsentCommandDraftV1` returns the unbound consent command for\nnative digest ports. `./consent-command-builder` creates the canonical grant/revoke envelope with no\nambient consent, delegation, or autonomy authority. The host runtime rechecks\nevery referenced lifecycle consent at the command submission time once a\nworkspace has adopted the consent domain; revoked and expired grants deny\nbefore authority or persistence.\n`./meeting-context-consumer` and `./meeting-memory-intake` are the PersonalOS\nhost decisions for the `companyos_meeting_context` consumer.\n`answerPersonalMeetingContextReadV1` and `decidePersonalMeetingMemoryIntakeV1`\ntake the host-resolved subject, its consent ledger, the self-declared\ndeclaration and the host clock (a request more than five minutes off it is\nrefused). They answer only under one current consent (granted, purpose\n`projection_sharing`, category `personal_projection`, unrevoked by status or\nreceipt, inside expiry and `retentionDays`) and otherwise withhold everything.\nStored memory entries keep `retainUntil = storedAt + retentionDays`; the host\npersists entry and receipt atomically and answers a repeated entry id with the\nfirst receipt.\n`./guardrail-command-builder` creates the canonical guardrail and goal-conflict\nenvelopes. It fixes high risk, human-required authority, and online-only\neligibility while binding exact subject, revision, evidence, idempotency, and\ndomain-separated payload digest; it cannot itself declare a trigger safe.\n`./digest-port` is the native-safe binding lane: it exports the workspace\ncommand digest domain map, the canonical digest material, the shared canonical\nJSON serializer, and `bindPersonalWorkspaceCommandWithDigestPortV1`, which binds\nthe payload digest through an injected (async, platform-native) SHA-256 port.\nReact Native hosts use it with expo-crypto instead of copying the domain map;\nthe result equals `bindPersonalWorkspaceCommandV1`.\n`./journey-command-context` exports `projectPersonalJourneyCommandContextV1`,\nthe one pure derivation of the command-building context from a\n`PersonalWorkspaceProjectionV1`: revisions, mission/goal/outcome ids (with the\nlatest observation), granted consent ids, delegations and the first active\n`propose_support` delegation, support grants and the first active grant, and\ncoach adaptation revisions. Web, desktop, and mobile hosts use it instead of\nre-deriving references; it selects ids only and grants no authority.\n`./progress-celebration-command-builder` owns configure/disable progress\ncelebration construction: low risk, human-required, online-only, bound to the\ngranted consent, private privacy mode, and the fixed anti-dark-pattern\nguardrails (`PERSONAL_PROGRESS_CELEBRATION_GUARDRAILS_V1`: no pay-to-win, no\nartificial scarcity, no protected-trait targeting, no leaderboards). Hosts keep\nform parsing, identifiers, time and consent selection.\n`PersonalAuthorityReceiptVerificationPort` keeps receipt signature/replay proof\nhost-owned while binding its result to the exact canonical receipt, authority\ndraft, and proposal digests. A receipt allowlist alone cannot authorize a\nself-consistently resealed draft or proposal.\n\nProduction execution is two-phase: `PersonalAuthorityTwoPhasePort.prepare`\nreserves an immutable receipt identity and decision tuple without effects, a\npure reducer computes the proposed state, and `finalize` binds the canonical\nbefore/after semantic state digests. Encryption then binds that state digest as\nAAD while keeping ciphertext integrity separate, so randomized nonces never\nchange the authority meaning of the proposal.\nDenied and confirmation-required drafts are finalized with identical\nbefore/after state digests and recorded through\n`PersonalAuthorityDecisionAuditPort`; they never produce an event, snapshot, or\noutbox effect.\n\nThe productivity constructor validates through the existing productivity contract\nleaf and returns only that domain, preserving the canonical workspace digest.\nFresh typing-cost and packed-consumer acceptance remain separate qualification.\n","sourcePath":"packages/domains/personal-agency/runtime/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-agency/runtime/README.md","blobSha":"948fa8308ef589396ced47f78ad03133de03bac3","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":"personal-and-learning","areaTitle":"Personal workflows, learning and progress","displayName":"lib.personal-os-runtime","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.personal-os-runtime/","contextUrl":"/docs/packages/lib.personal-os-runtime.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}