{"id":"@lssm-tech/lib.growth-runtime","slug":"lib.growth-runtime","name":"@lssm-tech/lib.growth-runtime","version":"2.1.4","path":"packages/domains/growth/runtime","manifestPath":"packages/domains/growth/runtime/package.json","manifestBlobSha":"a73b3e8b9ceb412142890da344595a5ef1508935","layer":"domains","physicalArea":"growth","primaryArea":"content-and-growth","classification":{"privateDeclared":null,"catalogFamily":"runtime","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Pure deterministic runtime for GrowthOS referral, affiliate, reward, and payout lifecycles.","descriptionOrigin":"package.json","catalog":{"family":"runtime","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./acquisition-token","./attribution","./ledger","./payouts","./rewards","./marketing"],"documentation":[{"title":"Lib Growth Runtime documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.growth-runtime","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.growth.runtime","title":"Lib Growth Runtime","description":"Pure deterministic runtime for GrowthOS referral, affiliate, reward, and payout lifecycles.","status":"active","useCases":["Adopt pure deterministic runtime for growthos referral, affiliate, reward, and payout lifecycles"],"aliases":["lib","growth","runtime"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.growth-runtime","symbols":[]},{"from":"@lssm-tech/lib.growth-runtime/acquisition-token","symbols":[]},{"from":"@lssm-tech/lib.growth-runtime/attribution","symbols":[]},{"from":"@lssm-tech/lib.growth-runtime/ledger","symbols":[]},{"from":"@lssm-tech/lib.growth-runtime/payouts","symbols":[]},{"from":"@lssm-tech/lib.growth-runtime/rewards","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.growth-runtime package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime","symbols":[]},{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime/acquisition-token","symbols":[]},{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime/attribution","symbols":[]},{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime/ledger","symbols":[]},{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime/payouts","symbols":[]},{"capabilityId":"package.lssm.tech.lib.growth.runtime","from":"@lssm-tech/lib.growth-runtime/rewards","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.billing-spec":"workspace:^","@lssm-tech/lib.growth-spec":"workspace:^","@lssm-tech/lib.contracts-runtime-core":"workspace:^","@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.contracts-runtime-kernel":"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","./acquisition-token":"./src/acquisition-token.ts","./attribution":"./src/attribution.ts","./ledger":"./src/ledger.ts","./marketing":"./src/marketing/index.ts","./marketing/conversion-identity":"./src/marketing/conversion-identity.ts","./marketing/conversion-service":"./src/marketing/conversion-service.ts","./marketing/editorial-deployment":"./src/marketing/editorial-deployment.ts","./marketing/editorial-digest":"./src/marketing/editorial-digest.ts","./marketing/editorial-due":"./src/marketing/editorial-due.ts","./marketing/editorial-git":"./src/marketing/editorial-git.ts","./marketing/editorial-git-preparation":"./src/marketing/editorial-git-preparation.ts","./marketing/editorial-history":"./src/marketing/editorial-history.ts","./marketing/editorial-list":"./src/marketing/editorial-list.ts","./marketing/editorial-publisher":"./src/marketing/editorial-publisher.ts","./marketing/editorial-recovery":"./src/marketing/editorial-recovery.ts","./marketing/editorial-resume":"./src/marketing/editorial-resume.ts","./marketing/editorial-service":"./src/marketing/editorial-service.ts","./marketing/executor":"./src/marketing/executor.ts","./marketing/executor-resume":"./src/marketing/executor-resume.ts","./marketing/experiment":"./src/marketing/experiment.ts","./marketing/mandate":"./src/marketing/mandate.ts","./marketing/measurement":"./src/marketing/measurement.ts","./marketing/measurement-report":"./src/marketing/measurement-report.ts","./marketing/observation-service":"./src/marketing/observation-service.ts","./marketing/planning-approval":"./src/marketing/planning-approval.ts","./payouts":"./src/payouts.ts","./rewards":"./src/rewards.ts","./marketing/forms":"./src/marketing/forms.ts","./operations/marketing.handlers":"./src/operations/marketing.handlers.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./acquisition-token":{"types":"./dist/acquisition-token.d.ts","bun":"./dist/acquisition-token.js","node":"./dist/node/acquisition-token.js","default":"./dist/acquisition-token.js"},"./attribution":{"types":"./dist/attribution.d.ts","bun":"./dist/attribution.js","node":"./dist/node/attribution.js","default":"./dist/attribution.js"},"./ledger":{"types":"./dist/ledger.d.ts","bun":"./dist/ledger.js","node":"./dist/node/ledger.js","default":"./dist/ledger.js"},"./marketing":{"types":"./dist/marketing/index.d.ts","bun":"./dist/marketing/index.js","node":"./dist/node/marketing/index.js","default":"./dist/marketing/index.js"},"./marketing/conversion-identity":{"types":"./dist/marketing/conversion-identity.d.ts","bun":"./dist/marketing/conversion-identity.js","node":"./dist/node/marketing/conversion-identity.js","default":"./dist/marketing/conversion-identity.js"},"./marketing/conversion-service":{"types":"./dist/marketing/conversion-service.d.ts","bun":"./dist/marketing/conversion-service.js","node":"./dist/node/marketing/conversion-service.js","default":"./dist/marketing/conversion-service.js"},"./marketing/editorial-deployment":{"types":"./dist/marketing/editorial-deployment.d.ts","bun":"./dist/marketing/editorial-deployment.js","node":"./dist/node/marketing/editorial-deployment.js","default":"./dist/marketing/editorial-deployment.js"},"./marketing/editorial-digest":{"types":"./dist/marketing/editorial-digest.d.ts","bun":"./dist/marketing/editorial-digest.js","node":"./dist/node/marketing/editorial-digest.js","default":"./dist/marketing/editorial-digest.js"},"./marketing/editorial-due":{"types":"./dist/marketing/editorial-due.d.ts","bun":"./dist/marketing/editorial-due.js","node":"./dist/node/marketing/editorial-due.js","default":"./dist/marketing/editorial-due.js"},"./marketing/editorial-git":{"types":"./dist/marketing/editorial-git.d.ts","bun":"./dist/marketing/editorial-git.js","node":"./dist/node/marketing/editorial-git.js","default":"./dist/marketing/editorial-git.js"},"./marketing/editorial-git-preparation":{"types":"./dist/marketing/editorial-git-preparation.d.ts","bun":"./dist/marketing/editorial-git-preparation.js","node":"./dist/node/marketing/editorial-git-preparation.js","default":"./dist/marketing/editorial-git-preparation.js"},"./marketing/editorial-history":{"types":"./dist/marketing/editorial-history.d.ts","bun":"./dist/marketing/editorial-history.js","node":"./dist/node/marketing/editorial-history.js","default":"./dist/marketing/editorial-history.js"},"./marketing/editorial-list":{"types":"./dist/marketing/editorial-list.d.ts","bun":"./dist/marketing/editorial-list.js","node":"./dist/node/marketing/editorial-list.js","default":"./dist/marketing/editorial-list.js"},"./marketing/editorial-publisher":{"types":"./dist/marketing/editorial-publisher.d.ts","bun":"./dist/marketing/editorial-publisher.js","node":"./dist/node/marketing/editorial-publisher.js","default":"./dist/marketing/editorial-publisher.js"},"./marketing/editorial-recovery":{"types":"./dist/marketing/editorial-recovery.d.ts","bun":"./dist/marketing/editorial-recovery.js","node":"./dist/node/marketing/editorial-recovery.js","default":"./dist/marketing/editorial-recovery.js"},"./marketing/editorial-resume":{"types":"./dist/marketing/editorial-resume.d.ts","bun":"./dist/marketing/editorial-resume.js","node":"./dist/node/marketing/editorial-resume.js","default":"./dist/marketing/editorial-resume.js"},"./marketing/editorial-service":{"types":"./dist/marketing/editorial-service.d.ts","bun":"./dist/marketing/editorial-service.js","node":"./dist/node/marketing/editorial-service.js","default":"./dist/marketing/editorial-service.js"},"./marketing/executor":{"types":"./dist/marketing/executor.d.ts","bun":"./dist/marketing/executor.js","node":"./dist/node/marketing/executor.js","default":"./dist/marketing/executor.js"},"./marketing/executor-resume":{"types":"./dist/marketing/executor-resume.d.ts","bun":"./dist/marketing/executor-resume.js","node":"./dist/node/marketing/executor-resume.js","default":"./dist/marketing/executor-resume.js"},"./marketing/experiment":{"types":"./dist/marketing/experiment.d.ts","bun":"./dist/marketing/experiment.js","node":"./dist/node/marketing/experiment.js","default":"./dist/marketing/experiment.js"},"./marketing/mandate":{"types":"./dist/marketing/mandate.d.ts","bun":"./dist/marketing/mandate.js","node":"./dist/node/marketing/mandate.js","default":"./dist/marketing/mandate.js"},"./marketing/measurement":{"types":"./dist/marketing/measurement.d.ts","bun":"./dist/marketing/measurement.js","node":"./dist/node/marketing/measurement.js","default":"./dist/marketing/measurement.js"},"./marketing/measurement-report":{"types":"./dist/marketing/measurement-report.d.ts","bun":"./dist/marketing/measurement-report.js","node":"./dist/node/marketing/measurement-report.js","default":"./dist/marketing/measurement-report.js"},"./marketing/observation-service":{"types":"./dist/marketing/observation-service.d.ts","bun":"./dist/marketing/observation-service.js","node":"./dist/node/marketing/observation-service.js","default":"./dist/marketing/observation-service.js"},"./marketing/planning-approval":{"types":"./dist/marketing/planning-approval.d.ts","bun":"./dist/marketing/planning-approval.js","node":"./dist/node/marketing/planning-approval.js","default":"./dist/marketing/planning-approval.js"},"./payouts":{"types":"./dist/payouts.d.ts","bun":"./dist/payouts.js","node":"./dist/node/payouts.js","default":"./dist/payouts.js"},"./rewards":{"types":"./dist/rewards.d.ts","bun":"./dist/rewards.js","node":"./dist/node/rewards.js","default":"./dist/rewards.js"},"./marketing/forms":{"types":"./dist/marketing/forms.d.ts","bun":"./dist/marketing/forms.js","node":"./dist/node/marketing/forms.js","default":"./dist/marketing/forms.js"},"./operations/marketing.handlers":{"types":"./dist/operations/marketing.handlers.d.ts","bun":"./dist/operations/marketing.handlers.js","node":"./dist/node/operations/marketing.handlers.js","default":"./dist/operations/marketing.handlers.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.growth-runtime","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/domains/growth/runtime/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./acquisition-token","importPath":"@lssm-tech/lib.growth-runtime/acquisition-token","target":"./src/acquisition-token.ts","targets":[{"conditions":[],"target":"./src/acquisition-token.ts","sourcePath":"packages/domains/growth/runtime/src/acquisition-token.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/acquisition-token.ts","sourceStatus":"verified source file"}]},{"subpath":"./attribution","importPath":"@lssm-tech/lib.growth-runtime/attribution","target":"./src/attribution.ts","targets":[{"conditions":[],"target":"./src/attribution.ts","sourcePath":"packages/domains/growth/runtime/src/attribution.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/attribution.ts","sourceStatus":"verified source file"}]},{"subpath":"./ledger","importPath":"@lssm-tech/lib.growth-runtime/ledger","target":"./src/ledger.ts","targets":[{"conditions":[],"target":"./src/ledger.ts","sourcePath":"packages/domains/growth/runtime/src/ledger.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/ledger.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing","importPath":"@lssm-tech/lib.growth-runtime/marketing","target":"./src/marketing/index.ts","targets":[{"conditions":[],"target":"./src/marketing/index.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/conversion-identity","importPath":"@lssm-tech/lib.growth-runtime/marketing/conversion-identity","target":"./src/marketing/conversion-identity.ts","targets":[{"conditions":[],"target":"./src/marketing/conversion-identity.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/conversion-identity.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/conversion-identity.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/conversion-service","importPath":"@lssm-tech/lib.growth-runtime/marketing/conversion-service","target":"./src/marketing/conversion-service.ts","targets":[{"conditions":[],"target":"./src/marketing/conversion-service.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/conversion-service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/conversion-service.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-deployment","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-deployment","target":"./src/marketing/editorial-deployment.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-deployment.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-deployment.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-deployment.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-digest","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-digest","target":"./src/marketing/editorial-digest.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-digest.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-digest.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-digest.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-due","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-due","target":"./src/marketing/editorial-due.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-due.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-due.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-due.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-git","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-git","target":"./src/marketing/editorial-git.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-git.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-git.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-git.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-git-preparation","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-git-preparation","target":"./src/marketing/editorial-git-preparation.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-git-preparation.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-git-preparation.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-git-preparation.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-history","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-history","target":"./src/marketing/editorial-history.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-history.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-history.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-history.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-list","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-list","target":"./src/marketing/editorial-list.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-list.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-list.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-list.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-publisher","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-publisher","target":"./src/marketing/editorial-publisher.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-publisher.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-publisher.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-publisher.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-recovery","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-recovery","target":"./src/marketing/editorial-recovery.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-recovery.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-recovery.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-recovery.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-resume","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-resume","target":"./src/marketing/editorial-resume.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-resume.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-resume.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-resume.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/editorial-service","importPath":"@lssm-tech/lib.growth-runtime/marketing/editorial-service","target":"./src/marketing/editorial-service.ts","targets":[{"conditions":[],"target":"./src/marketing/editorial-service.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/editorial-service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/editorial-service.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/executor","importPath":"@lssm-tech/lib.growth-runtime/marketing/executor","target":"./src/marketing/executor.ts","targets":[{"conditions":[],"target":"./src/marketing/executor.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/executor.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/executor.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/executor-resume","importPath":"@lssm-tech/lib.growth-runtime/marketing/executor-resume","target":"./src/marketing/executor-resume.ts","targets":[{"conditions":[],"target":"./src/marketing/executor-resume.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/executor-resume.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/executor-resume.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/experiment","importPath":"@lssm-tech/lib.growth-runtime/marketing/experiment","target":"./src/marketing/experiment.ts","targets":[{"conditions":[],"target":"./src/marketing/experiment.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/experiment.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/experiment.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/mandate","importPath":"@lssm-tech/lib.growth-runtime/marketing/mandate","target":"./src/marketing/mandate.ts","targets":[{"conditions":[],"target":"./src/marketing/mandate.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/mandate.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/mandate.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/measurement","importPath":"@lssm-tech/lib.growth-runtime/marketing/measurement","target":"./src/marketing/measurement.ts","targets":[{"conditions":[],"target":"./src/marketing/measurement.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/measurement.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/measurement.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/measurement-report","importPath":"@lssm-tech/lib.growth-runtime/marketing/measurement-report","target":"./src/marketing/measurement-report.ts","targets":[{"conditions":[],"target":"./src/marketing/measurement-report.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/measurement-report.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/measurement-report.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/observation-service","importPath":"@lssm-tech/lib.growth-runtime/marketing/observation-service","target":"./src/marketing/observation-service.ts","targets":[{"conditions":[],"target":"./src/marketing/observation-service.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/observation-service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/observation-service.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/planning-approval","importPath":"@lssm-tech/lib.growth-runtime/marketing/planning-approval","target":"./src/marketing/planning-approval.ts","targets":[{"conditions":[],"target":"./src/marketing/planning-approval.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/planning-approval.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/planning-approval.ts","sourceStatus":"verified source file"}]},{"subpath":"./payouts","importPath":"@lssm-tech/lib.growth-runtime/payouts","target":"./src/payouts.ts","targets":[{"conditions":[],"target":"./src/payouts.ts","sourcePath":"packages/domains/growth/runtime/src/payouts.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/payouts.ts","sourceStatus":"verified source file"}]},{"subpath":"./rewards","importPath":"@lssm-tech/lib.growth-runtime/rewards","target":"./src/rewards.ts","targets":[{"conditions":[],"target":"./src/rewards.ts","sourcePath":"packages/domains/growth/runtime/src/rewards.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/rewards.ts","sourceStatus":"verified source file"}]},{"subpath":"./marketing/forms","importPath":"@lssm-tech/lib.growth-runtime/marketing/forms","target":"./src/marketing/forms.ts","targets":[{"conditions":[],"target":"./src/marketing/forms.ts","sourcePath":"packages/domains/growth/runtime/src/marketing/forms.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/marketing/forms.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/marketing.handlers","importPath":"@lssm-tech/lib.growth-runtime/operations/marketing.handlers","target":"./src/operations/marketing.handlers.ts","targets":[{"conditions":[],"target":"./src/operations/marketing.handlers.ts","sourcePath":"packages/domains/growth/runtime/src/operations/marketing.handlers.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/src/operations/marketing.handlers.ts","sourceStatus":"verified source file"}]}],"entryCount":30,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Growth Runtime documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.growth-runtime","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.growth-runtime.txt"},"readme":{"status":"available","body":"# `@lssm-tech/lib.growth-runtime`\n\nPure, provider-neutral GrowthOS lifecycle logic for referral and affiliate programs.\n\n`./marketing/forms` owns the existing demo-request form and registry using the\ncanonical Growth operation schemas. `./operations/marketing.handlers` retains\nthe deterministic sample catalog handlers and synthetic authenticated demo\nbooking behavior; it does not contact a real booking service. Handler signatures\nuse the complete canonical RuntimeCore installation types.\n\nIt selects one prioritized, non-stackable attribution winner, enforces consent and identity/organization loop boundaries, projects fixed or BillingOS commission-based rewards, applies approval, maturity, and compensating ledger transitions, builds homogeneous payout batches, validates payout readiness, and signs short-lived acquisition context. Persistence and provider SDK calls belong to integrations.\n\n## Marketing and editorial runtime\n\nThe optional `./marketing` subpath adds `MarketingExecutor`,\n`EditorialService`, `EditorialPublicationService`, source-aware measurement\nreconciliation and review-only experiment assessment. Supply current authorization,\ndurable CAS storage, provider, clock and ID ports. No provider effects are available\nby default. Concurrent workers share durable reservations and publication intents;\nambiguous outcomes require reconciliation rather than blind redispatch.\n\nEditorial edits invalidate previous approvals and scheduling. Reviews bind to the\nexact content digest. Published content requires a separate withdrawal workflow;\narchiving cannot silently remove a live publication.\n\n## Commands\n\n- `bun run test`\n- `bun run typecheck`\n- `bun run lint:check`\n- `bun run build`\n\n`MarketingConversionService` reserves conversion identity before dispatch, rechecks\ncurrent consent and retains uncertain outcomes for read-only reconciliation. Corrections\nrequire the accepted predecessor; retractions are terminal. Host authority governs data\negress and may independently authorize a retraction after consent revocation.\n\n`MarketingObservationService` authorizes refresh/read scopes, rejects substituted provider\nrequests and persists observations. `marketingObservedStateDigest` excludes timestamps\nand evidence references while retaining scoped resource states for execution planning.\n\n\n`marketing/planning-approval` supplies MarketingPlanningApprovalService. Inject current\npricing/brand authorization, human-review verification and durable storage. The service\nissues the existing OperationApprovalReceipt format, bound to exact parsed input and\nmaximum cost. Configure its verifyEvidence callback on createOperationApprovalPort\nwith a durable nonce store; omitting evidence verification is not a supported setup.\nIssuance returns the persisted receipt, so concurrent calls and replay agree.\n\n\n`marketing/measurement-report` sums explicitly requested reporting buckets after source\nreconciliation. It preserves campaign/creative/creator, currency, timezone and attribution\ndimensions; missing, partial, stale or future observations keep totals unavailable.\nOverlapping periods and duplicate authoritative buckets are rejected. These numeric\nanalytics totals do not replace exact-money settlement calculations.\n\n\nPublished builds keep workspace package imports external so dependencies resolve through\ntheir owning package manifests rather than being silently inlined across package boundaries.\n\n\n`EditorialService.recovery` authorizes scope and each record, validates claim/digest/status/age, and returns a bounded oldest-first batch. It never dispatches publication.\n\n\n`verifyEditorialDeployment` checks exact release SHA, ready state, receipt digest, locale coverage and expected canonical URL before returning verified evidence. Hosts must obtain observations from an authorized deployment origin and bind the compiler expectation to the persisted publication claim. This pure verifier does not publish or fetch.\n\n\n`GitEditorialPublisher` persists an immutable compiled artifact before its sole Git write attempt. Existing claims reconcile through read-only transport recovery; committed artifacts still require exact deployment proof. The host must implement current authority and native compiler validation.\n\n\nGit compiler/artifact/authority rejections before dispatch can now return a durable failed-publication receipt when the store supports preparation failures. Existing stores without the capability retain conservative unknown behavior. A failure never supersedes an existing Git attempt, and raw error text is not recorded.\n\n\nQualified publishers may implement `resumePreparation`. The publication service preserves the claim ID, rechecks review/content/current publish authority and claims the expected revision before invoking it. Git resumes reconcile existing attempts and honor preparation-failure fences.\n\n\nEditorial discovery validates page bounds, UTF-8 ID ordering, scope and all filter bindings before returning summary-schema projections. Scope and every row, including lookahead, require read authorization; denied rows fail the request.\n\n\n`compareEditorialIds` exposes the same UTF-8 ordering used by SQL-backed listing so clients can reject non-advancing pages.\n\n\n`readEditorialHistory` requires current scope/record authorization and separate authorization for every historical revision. It verifies identity, scope, content digest and ordering before returning historical content.\n\n\nEditorial history requires contiguous revisions and detects incomplete pages before the observed current revision. Corrupt audit trails fail explicitly.\n","sourcePath":"packages/domains/growth/runtime/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/growth/runtime/README.md","blobSha":"655aaf67adce12a1644e2d54f74f0cd7ab30e72e","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":"content-and-growth","areaTitle":"Content, growth and creator operations","displayName":"lib.growth-runtime","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.growth-runtime/","contextUrl":"/docs/packages/lib.growth-runtime.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}