@lssm/module.lifecycle-advisor 0.1.2 โ†’ 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,3 +32,14 @@ Data is stored in JSON playbooks so ContractSpec teams can update copy or mappin
32
32
 
33
33
 
34
34
 
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
@@ -1,2 +1,2 @@
1
- import"../libs/lifecycle/dist/index.js";const e=new Map((void 0)(e=>[e.stage,e.ceremony]));var t=class{ceremonies;constructor(t){this.ceremonies=t?.length?new Map(t.map(e=>[e.stage,e.ceremony])):e}design(e){return this.ceremonies.get(e)}};export{t as LifecycleCeremonyDesigner};
1
+ import"../libs/lifecycle/dist/index.js";import e from"../data/stage-playbooks.js";const t=new Map(e.map(e=>[e.stage,e.ceremony]));var n=class{ceremonies;constructor(e){this.ceremonies=e?.length?new Map(e.map(e=>[e.stage,e.ceremony])):t}design(e){return this.ceremonies.get(e)}};export{n as LifecycleCeremonyDesigner};
2
2
  //# sourceMappingURL=ceremony-designer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ceremony-designer.js","names":[],"sources":["../../src/ceremony/ceremony-designer.ts"],"sourcesContent":["import type { LifecycleRecommendation } from '@lssm/lib.lifecycle';\nimport { LifecycleStage } from '@lssm/lib.lifecycle';\nimport playbooks from '../data/stage-playbooks.json' assert { type: 'json' };\n\ntype CeremonyConfig = NonNullable<LifecycleRecommendation['ceremony']>;\n\ninterface PlaybookCeremonyEntry {\n stage: LifecycleStage;\n ceremony?: CeremonyConfig;\n}\n\nconst CEREMONY_MAP = new Map<LifecycleStage, CeremonyConfig | undefined>(\n (playbooks as PlaybookCeremonyEntry[]).map((entry) => [\n entry.stage,\n entry.ceremony,\n ])\n);\n\nexport class LifecycleCeremonyDesigner {\n private readonly ceremonies: Map<LifecycleStage, CeremonyConfig | undefined>;\n\n constructor(overrides?: PlaybookCeremonyEntry[]) {\n this.ceremonies = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry.ceremony]))\n : CEREMONY_MAP;\n }\n\n design(stage: LifecycleStage): CeremonyConfig | undefined {\n return this.ceremonies.get(stage);\n }\n}\n"],"mappings":"wCAWA,MAAM,EAAe,IAAI,KACvB,IAAA,IAA4C,GAAU,CACpD,EAAM,MACN,EAAM,SACP,CAAC,CACH,CAED,IAAa,EAAb,KAAuC,CACrC,WAEA,YAAY,EAAqC,CAC/C,KAAK,WAAa,GAAW,OACzB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,SAAS,CAAC,CAAC,CAChE,EAGN,OAAO,EAAmD,CACxD,OAAO,KAAK,WAAW,IAAI,EAAM"}
1
+ {"version":3,"file":"ceremony-designer.js","names":["stagePlaybooks"],"sources":["../../src/ceremony/ceremony-designer.ts"],"sourcesContent":["import type { LifecycleRecommendation } from '@lssm/lib.lifecycle';\nimport { LifecycleStage } from '@lssm/lib.lifecycle';\nimport stagePlaybooks from '../data/stage-playbooks';\n\ntype CeremonyConfig = NonNullable<LifecycleRecommendation['ceremony']>;\n\ninterface PlaybookCeremonyEntry {\n stage: LifecycleStage;\n ceremony?: CeremonyConfig;\n}\n\nconst CEREMONY_MAP = new Map<LifecycleStage, CeremonyConfig | undefined>(\n (stagePlaybooks as PlaybookCeremonyEntry[]).map((entry) => [\n entry.stage,\n entry.ceremony,\n ])\n);\n\nexport class LifecycleCeremonyDesigner {\n private readonly ceremonies: Map<LifecycleStage, CeremonyConfig | undefined>;\n\n constructor(overrides?: PlaybookCeremonyEntry[]) {\n this.ceremonies = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry.ceremony]))\n : CEREMONY_MAP;\n }\n\n design(stage: LifecycleStage): CeremonyConfig | undefined {\n return this.ceremonies.get(stage);\n }\n}\n"],"mappings":"kFAWA,MAAM,EAAe,IAAI,IACtBA,EAA2C,IAAK,GAAU,CACzD,EAAM,MACN,EAAM,SACP,CAAC,CACH,CAED,IAAa,EAAb,KAAuC,CACrC,WAEA,YAAY,EAAqC,CAC/C,KAAK,WAAa,GAAW,OACzB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,SAAS,CAAC,CAAC,CAChE,EAGN,OAAO,EAAmD,CACxD,OAAO,KAAK,WAAW,IAAI,EAAM"}
@@ -0,0 +1,11 @@
1
+ import { LibraryRecommendation } from "../recommendations/library-recommender.js";
2
+ import { LifecycleStage } from "@lssm/lib.lifecycle";
3
+
4
+ //#region src/data/library-stage-map.d.ts
5
+ interface LibraryStageEntry {
6
+ stage: LifecycleStage;
7
+ items: LibraryRecommendation[];
8
+ }
9
+ //#endregion
10
+ export { LibraryStageEntry };
11
+ //# sourceMappingURL=library-stage-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-stage-map.d.ts","names":[],"sources":["../../src/data/library-stage-map.ts"],"sourcesContent":[],"mappings":";;;;UAGiB,iBAAA;SACR;EADQ,KAAA,EAER,qBAFyB,EAAA"}
@@ -0,0 +1,2 @@
1
+ var e=[{stage:0,items:[{id:`@lssm/lib.content-gen`,type:`library`,description:`Summarize interviews and synthesize IC insights.`},{id:`@lssm/lib.presentation-runtime`,type:`library`,description:`Craft low-fi storyboards without custom code.`}]},{stage:1,items:[{id:`@lssm/lib.progressive-delivery`,type:`library`,description:`Gate prototype features behind lightweight flags.`},{id:`@lssm/module.lifecycle-core`,type:`module`,description:`Capture questionnaire signals for early scoring.`}]},{stage:2,items:[{id:`@lssm/lib.analytics`,type:`library`,description:`Instrument activation paths + cohorts.`},{id:`@lssm/lib.observability`,type:`library`,description:`Collect minimum viable traces and metrics.`}]},{stage:3,items:[{id:`@lssm/lib.evolution`,type:`library`,description:`Auto-detect contract gaps and spec improvements.`},{id:`@lssm/module.lifecycle-advisor`,type:`module`,description:`Generate retention-focused guidance at scale.`}]},{stage:4,items:[{id:`@lssm/lib.growth`,type:`library`,description:`Experiment orchestration with guardrails.`},{id:`@lssm/lib.resilience`,type:`library`,description:`Stabilize infra and SLOs as teams split.`}]},{stage:5,items:[{id:`@lssm/lib.workflow-composer`,type:`library`,description:`Automate partner workflows and integrations.`},{id:`@lssm/bundle.contractspec-studio`,type:`bundle`,description:`Expose managed partner onboarding via Studio.`}]},{stage:6,items:[{id:`@lssm/lib.cost-tracking`,type:`library`,description:`Model margin scenarios and reinvestment bets.`},{id:`@lssm/lib.workflow-composer`,type:`library`,description:`Standardize renewal rituals and automation.`}]}];export{e as default};
2
+ //# sourceMappingURL=library-stage-map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"library-stage-map.js","names":["libraryStageMap: LibraryStageEntry[]"],"sources":["../../src/data/library-stage-map.ts"],"sourcesContent":["import type { LifecycleStage } from '@lssm/lib.lifecycle';\nimport type { LibraryRecommendation } from '../recommendations/library-recommender';\n\nexport interface LibraryStageEntry {\n stage: LifecycleStage;\n items: LibraryRecommendation[];\n}\n\nconst libraryStageMap: LibraryStageEntry[] = [\n {\n stage: 0 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.content-gen',\n type: 'library',\n description: 'Summarize interviews and synthesize IC insights.',\n },\n {\n id: '@lssm/lib.presentation-runtime',\n type: 'library',\n description: 'Craft low-fi storyboards without custom code.',\n },\n ],\n },\n {\n stage: 1 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.progressive-delivery',\n type: 'library',\n description: 'Gate prototype features behind lightweight flags.',\n },\n {\n id: '@lssm/module.lifecycle-core',\n type: 'module',\n description: 'Capture questionnaire signals for early scoring.',\n },\n ],\n },\n {\n stage: 2 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.analytics',\n type: 'library',\n description: 'Instrument activation paths + cohorts.',\n },\n {\n id: '@lssm/lib.observability',\n type: 'library',\n description: 'Collect minimum viable traces and metrics.',\n },\n ],\n },\n {\n stage: 3 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.evolution',\n type: 'library',\n description: 'Auto-detect contract gaps and spec improvements.',\n },\n {\n id: '@lssm/module.lifecycle-advisor',\n type: 'module',\n description: 'Generate retention-focused guidance at scale.',\n },\n ],\n },\n {\n stage: 4 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.growth',\n type: 'library',\n description: 'Experiment orchestration with guardrails.',\n },\n {\n id: '@lssm/lib.resilience',\n type: 'library',\n description: 'Stabilize infra and SLOs as teams split.',\n },\n ],\n },\n {\n stage: 5 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.workflow-composer',\n type: 'library',\n description: 'Automate partner workflows and integrations.',\n },\n {\n id: '@lssm/bundle.contractspec-studio',\n type: 'bundle',\n description: 'Expose managed partner onboarding via Studio.',\n },\n ],\n },\n {\n stage: 6 as LifecycleStage,\n items: [\n {\n id: '@lssm/lib.cost-tracking',\n type: 'library',\n description: 'Model margin scenarios and reinvestment bets.',\n },\n {\n id: '@lssm/lib.workflow-composer',\n type: 'library',\n description: 'Standardize renewal rituals and automation.',\n },\n ],\n },\n];\n\nexport default libraryStageMap;\n"],"mappings":"AAoHA,IAAA,EA5G6C,CAC3C,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,wBACJ,KAAM,UACN,YAAa,mDACd,CACD,CACE,GAAI,iCACJ,KAAM,UACN,YAAa,gDACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,iCACJ,KAAM,UACN,YAAa,oDACd,CACD,CACE,GAAI,8BACJ,KAAM,SACN,YAAa,mDACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,sBACJ,KAAM,UACN,YAAa,yCACd,CACD,CACE,GAAI,0BACJ,KAAM,UACN,YAAa,6CACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,sBACJ,KAAM,UACN,YAAa,mDACd,CACD,CACE,GAAI,iCACJ,KAAM,SACN,YAAa,gDACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,mBACJ,KAAM,UACN,YAAa,4CACd,CACD,CACE,GAAI,uBACJ,KAAM,UACN,YAAa,2CACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,8BACJ,KAAM,UACN,YAAa,+CACd,CACD,CACE,GAAI,mCACJ,KAAM,SACN,YAAa,gDACd,CACF,CACF,CACD,CACE,MAAO,EACP,MAAO,CACL,CACE,GAAI,0BACJ,KAAM,UACN,YAAa,gDACd,CACD,CACE,GAAI,8BACJ,KAAM,UACN,YAAa,8CACd,CACF,CACF,CACF"}
@@ -0,0 +1,12 @@
1
+ import { LifecycleAction, LifecycleRecommendation, LifecycleStage } from "@lssm/lib.lifecycle";
2
+
3
+ //#region src/data/stage-playbooks.d.ts
4
+ interface StagePlaybookData {
5
+ stage: LifecycleStage;
6
+ focusAreas: string[];
7
+ actions: LifecycleAction[];
8
+ ceremony?: LifecycleRecommendation['ceremony'];
9
+ }
10
+ //#endregion
11
+ export { StagePlaybookData };
12
+ //# sourceMappingURL=stage-playbooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stage-playbooks.d.ts","names":[],"sources":["../../src/data/stage-playbooks.ts"],"sourcesContent":[],"mappings":";;;UAMiB,iBAAA;EAAA,KAAA,EACR,cADyB;EACzB,UAAA,EAAA,MAAA,EAAA;EAEE,OAAA,EAAA,eAAA,EAAA;EACE,QAAA,CAAA,EAAA,uBAAA,CAAA,UAAA,CAAA"}
@@ -0,0 +1,2 @@
1
+ import{e}from"../libs/lifecycle/dist/types/stages.js";import"../libs/lifecycle/dist/index.js";var t=[{stage:e.Exploration,focusAreas:[`Discovery`,`Problem clarity`,`Persona`],actions:[{id:`stage0-interview-burst`,stage:e.Exploration,title:`Run a 5-day interview burst`,description:`Schedule at least 5 back-to-back interviews and capture raw quotes.`,priority:1,estimatedImpact:`medium`,effortLevel:`m`,category:`product`,recommendedLibraries:[`@lssm/lib.content-gen`]},{id:`stage0-problem-story`,stage:e.Exploration,title:`Write the problem story`,description:`Summarize the pain in one paragraph you can repeat to partners.`,priority:2,estimatedImpact:`low`,effortLevel:`s`,category:`product`}],ceremony:{title:`Discovery Spark`,copy:`Share the sharpest pain quote with your crew. Frame it, celebrate focus.`,cues:[`๐Ÿ”Ž`,`๐Ÿ—’๏ธ`]}},{stage:e.ProblemSolutionFit,focusAreas:[`Prototype`,`Feedback`,`Value proof`],actions:[{id:`stage1-demo-loop`,stage:e.ProblemSolutionFit,title:`Prototype feedback loop`,description:`Ship a low-fidelity prototype and collect 3 rounds of reactions.`,priority:1,estimatedImpact:`medium`,effortLevel:`m`,category:`product`,recommendedLibraries:[`@lssm/lib.progressive-delivery`]},{id:`stage1-referrals`,stage:e.ProblemSolutionFit,title:`Capture referral signals`,description:`Ask each tester who else should see the demo.`,priority:2,estimatedImpact:`low`,effortLevel:`s`,category:`growth`}],ceremony:{title:`Solution Resonance`,copy:`Record a short screen share telling the before/after story to your future self.`,cues:[`๐ŸŽค`,`โœจ`]}},{stage:e.MvpEarlyTraction,focusAreas:[`Activation`,`Telemetry`,`Feedback`],actions:[{id:`stage2-activation`,stage:e.MvpEarlyTraction,title:`Define activation checklist`,description:`Document the 3 steps users must finish to get value.`,priority:1,estimatedImpact:`high`,effortLevel:`m`,category:`operations`,recommendedLibraries:[`@lssm/lib.analytics`,`@lssm/lib.observability`]},{id:`stage2-weekly-sync`,stage:e.MvpEarlyTraction,title:`Weekly user sync`,description:`Host a standing call with your 5 most active testers.`,priority:2,estimatedImpact:`medium`,effortLevel:`m`,category:`company`}],ceremony:{title:`Traction Toast`,copy:`Toast your first 20 real usersโ€”say their names, tell them why they matter.`,cues:[`๐Ÿฅ‚`,`๐Ÿ“ฃ`]}},{stage:e.ProductMarketFit,focusAreas:[`Retention`,`Reliability`,`Story`],actions:[{id:`stage3-retention-study`,stage:e.ProductMarketFit,title:`Run a retention study`,description:`Interview 3 retained users and publish their before/after metrics.`,priority:1,estimatedImpact:`high`,effortLevel:`m`,category:`product`,recommendedLibraries:[`@lssm/lib.evolution`]},{id:`stage3-incident-review`,stage:e.ProductMarketFit,title:`Lightweight incident review`,description:`Review the last 2 reliability hiccups and capture fixes.`,priority:2,estimatedImpact:`medium`,effortLevel:`s`,category:`operations`}],ceremony:{title:`PMF Signal Fire`,copy:`Write a letter to your future Series A self describing the pull you feel today.`,cues:[`๐Ÿ”ฅ`,`๐Ÿ“ฌ`]}},{stage:e.GrowthScaleUp,focusAreas:[`Systems`,`Growth loops`,`Specialization`],actions:[{id:`stage4-growth-loop`,stage:e.GrowthScaleUp,title:`Codify a growth loop`,description:`Choose one loop (SEO, referrals, outbound) and document owners + inputs.`,priority:1,estimatedImpact:`high`,effortLevel:`l`,category:`growth`,recommendedLibraries:[`@lssm/lib.growth`,`@lssm/lib.resilience`]},{id:`stage4-hiring-map`,stage:e.GrowthScaleUp,title:`Create hiring map`,description:`List specialized roles you need in the next 2 quarters.`,priority:2,estimatedImpact:`medium`,effortLevel:`m`,category:`company`}],ceremony:{title:`Scale Systems`,copy:`Invite the team to map the journey from first user to repeatable machine.`,cues:[`๐Ÿ—บ๏ธ`,`โš™๏ธ`]}},{stage:e.ExpansionPlatform,focusAreas:[`Partners`,`APIs`,`Expansion bets`],actions:[{id:`stage5-partner-brief`,stage:e.ExpansionPlatform,title:`Partner readiness brief`,description:`Document partner types, value props, and onboarding steps.`,priority:1,estimatedImpact:`high`,effortLevel:`m`,category:`product`,recommendedLibraries:[`@lssm/lib.workflow-composer`]},{id:`stage5-experiment-portfolio`,stage:e.ExpansionPlatform,title:`Expansion experiment portfolio`,description:`List the top 3 markets or product lines with owners.`,priority:2,estimatedImpact:`medium`,effortLevel:`m`,category:`growth`}],ceremony:{title:`Platform Threshold`,copy:`Host a partner circleโ€”invite allies to share what they need from your platform.`,cues:[`๐Ÿค`,`๐ŸŒ`]}},{stage:e.MaturityRenewal,focusAreas:[`Optimization`,`Renewal`,`Portfolio`],actions:[{id:`stage6-cost-review`,stage:e.MaturityRenewal,title:`Run a cost-to-value review`,description:`Audit each major surface for margin impact.`,priority:1,estimatedImpact:`high`,effortLevel:`m`,category:`operations`,recommendedLibraries:[`@lssm/lib.cost-tracking`]},{id:`stage6-renewal-bet`,stage:e.MaturityRenewal,title:`Define the renewal bet`,description:`Choose one reinvention or sunset track and set checkpoints.`,priority:2,estimatedImpact:`medium`,effortLevel:`m`,category:`product`}],ceremony:{title:`Renewal Summit`,copy:`Pause to honor what got you here, then commit publicly to the next reinvention.`,cues:[`๐Ÿ”๏ธ`,`๐Ÿ”`]}}];export{t as default};
2
+ //# sourceMappingURL=stage-playbooks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stage-playbooks.js","names":["stagePlaybooks: StagePlaybookData[]","LifecycleStage"],"sources":["../../src/data/stage-playbooks.ts"],"sourcesContent":["import type {\n LifecycleAction,\n LifecycleRecommendation,\n} from '@lssm/lib.lifecycle';\nimport { LifecycleStage } from '@lssm/lib.lifecycle';\n\nexport interface StagePlaybookData {\n stage: LifecycleStage;\n focusAreas: string[];\n actions: LifecycleAction[];\n ceremony?: LifecycleRecommendation['ceremony'];\n}\n\nconst stagePlaybooks: StagePlaybookData[] = [\n {\n stage: LifecycleStage.Exploration,\n focusAreas: ['Discovery', 'Problem clarity', 'Persona'],\n actions: [\n {\n id: 'stage0-interview-burst',\n stage: LifecycleStage.Exploration,\n title: 'Run a 5-day interview burst',\n description:\n 'Schedule at least 5 back-to-back interviews and capture raw quotes.',\n priority: 1,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'product',\n recommendedLibraries: ['@lssm/lib.content-gen'],\n },\n {\n id: 'stage0-problem-story',\n stage: LifecycleStage.Exploration,\n title: 'Write the problem story',\n description:\n 'Summarize the pain in one paragraph you can repeat to partners.',\n priority: 2,\n estimatedImpact: 'low',\n effortLevel: 's',\n category: 'product',\n },\n ],\n ceremony: {\n title: 'Discovery Spark',\n copy: 'Share the sharpest pain quote with your crew. Frame it, celebrate focus.',\n cues: ['๐Ÿ”Ž', '๐Ÿ—’๏ธ'],\n },\n },\n {\n stage: LifecycleStage.ProblemSolutionFit,\n focusAreas: ['Prototype', 'Feedback', 'Value proof'],\n actions: [\n {\n id: 'stage1-demo-loop',\n stage: LifecycleStage.ProblemSolutionFit,\n title: 'Prototype feedback loop',\n description:\n 'Ship a low-fidelity prototype and collect 3 rounds of reactions.',\n priority: 1,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'product',\n recommendedLibraries: ['@lssm/lib.progressive-delivery'],\n },\n {\n id: 'stage1-referrals',\n stage: LifecycleStage.ProblemSolutionFit,\n title: 'Capture referral signals',\n description: 'Ask each tester who else should see the demo.',\n priority: 2,\n estimatedImpact: 'low',\n effortLevel: 's',\n category: 'growth',\n },\n ],\n ceremony: {\n title: 'Solution Resonance',\n copy: 'Record a short screen share telling the before/after story to your future self.',\n cues: ['๐ŸŽค', 'โœจ'],\n },\n },\n {\n stage: LifecycleStage.MvpEarlyTraction,\n focusAreas: ['Activation', 'Telemetry', 'Feedback'],\n actions: [\n {\n id: 'stage2-activation',\n stage: LifecycleStage.MvpEarlyTraction,\n title: 'Define activation checklist',\n description: 'Document the 3 steps users must finish to get value.',\n priority: 1,\n estimatedImpact: 'high',\n effortLevel: 'm',\n category: 'operations',\n recommendedLibraries: [\n '@lssm/lib.analytics',\n '@lssm/lib.observability',\n ],\n },\n {\n id: 'stage2-weekly-sync',\n stage: LifecycleStage.MvpEarlyTraction,\n title: 'Weekly user sync',\n description: 'Host a standing call with your 5 most active testers.',\n priority: 2,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'company',\n },\n ],\n ceremony: {\n title: 'Traction Toast',\n copy: 'Toast your first 20 real usersโ€”say their names, tell them why they matter.',\n cues: ['๐Ÿฅ‚', '๐Ÿ“ฃ'],\n },\n },\n {\n stage: LifecycleStage.ProductMarketFit,\n focusAreas: ['Retention', 'Reliability', 'Story'],\n actions: [\n {\n id: 'stage3-retention-study',\n stage: LifecycleStage.ProductMarketFit,\n title: 'Run a retention study',\n description:\n 'Interview 3 retained users and publish their before/after metrics.',\n priority: 1,\n estimatedImpact: 'high',\n effortLevel: 'm',\n category: 'product',\n recommendedLibraries: ['@lssm/lib.evolution'],\n },\n {\n id: 'stage3-incident-review',\n stage: LifecycleStage.ProductMarketFit,\n title: 'Lightweight incident review',\n description: 'Review the last 2 reliability hiccups and capture fixes.',\n priority: 2,\n estimatedImpact: 'medium',\n effortLevel: 's',\n category: 'operations',\n },\n ],\n ceremony: {\n title: 'PMF Signal Fire',\n copy: 'Write a letter to your future Series A self describing the pull you feel today.',\n cues: ['๐Ÿ”ฅ', '๐Ÿ“ฌ'],\n },\n },\n {\n stage: LifecycleStage.GrowthScaleUp,\n focusAreas: ['Systems', 'Growth loops', 'Specialization'],\n actions: [\n {\n id: 'stage4-growth-loop',\n stage: LifecycleStage.GrowthScaleUp,\n title: 'Codify a growth loop',\n description:\n 'Choose one loop (SEO, referrals, outbound) and document owners + inputs.',\n priority: 1,\n estimatedImpact: 'high',\n effortLevel: 'l',\n category: 'growth',\n recommendedLibraries: ['@lssm/lib.growth', '@lssm/lib.resilience'],\n },\n {\n id: 'stage4-hiring-map',\n stage: LifecycleStage.GrowthScaleUp,\n title: 'Create hiring map',\n description: 'List specialized roles you need in the next 2 quarters.',\n priority: 2,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'company',\n },\n ],\n ceremony: {\n title: 'Scale Systems',\n copy: 'Invite the team to map the journey from first user to repeatable machine.',\n cues: ['๐Ÿ—บ๏ธ', 'โš™๏ธ'],\n },\n },\n {\n stage: LifecycleStage.ExpansionPlatform,\n focusAreas: ['Partners', 'APIs', 'Expansion bets'],\n actions: [\n {\n id: 'stage5-partner-brief',\n stage: LifecycleStage.ExpansionPlatform,\n title: 'Partner readiness brief',\n description:\n 'Document partner types, value props, and onboarding steps.',\n priority: 1,\n estimatedImpact: 'high',\n effortLevel: 'm',\n category: 'product',\n recommendedLibraries: ['@lssm/lib.workflow-composer'],\n },\n {\n id: 'stage5-experiment-portfolio',\n stage: LifecycleStage.ExpansionPlatform,\n title: 'Expansion experiment portfolio',\n description: 'List the top 3 markets or product lines with owners.',\n priority: 2,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'growth',\n },\n ],\n ceremony: {\n title: 'Platform Threshold',\n copy: 'Host a partner circleโ€”invite allies to share what they need from your platform.',\n cues: ['๐Ÿค', '๐ŸŒ'],\n },\n },\n {\n stage: LifecycleStage.MaturityRenewal,\n focusAreas: ['Optimization', 'Renewal', 'Portfolio'],\n actions: [\n {\n id: 'stage6-cost-review',\n stage: LifecycleStage.MaturityRenewal,\n title: 'Run a cost-to-value review',\n description: 'Audit each major surface for margin impact.',\n priority: 1,\n estimatedImpact: 'high',\n effortLevel: 'm',\n category: 'operations',\n recommendedLibraries: ['@lssm/lib.cost-tracking'],\n },\n {\n id: 'stage6-renewal-bet',\n stage: LifecycleStage.MaturityRenewal,\n title: 'Define the renewal bet',\n description:\n 'Choose one reinvention or sunset track and set checkpoints.',\n priority: 2,\n estimatedImpact: 'medium',\n effortLevel: 'm',\n category: 'product',\n },\n ],\n ceremony: {\n title: 'Renewal Summit',\n copy: 'Pause to honor what got you here, then commit publicly to the next reinvention.',\n cues: ['๐Ÿ”๏ธ', '๐Ÿ”'],\n },\n },\n];\n\nexport default stagePlaybooks;\n"],"mappings":"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"}
@@ -1,3 +1,4 @@
1
+ import { LibraryStageEntry } from "../data/library-stage-map.js";
1
2
  import { LifecycleStage } from "@lssm/lib.lifecycle";
2
3
 
3
4
  //#region src/recommendations/library-recommender.d.ts
@@ -6,10 +7,6 @@ interface LibraryRecommendation {
6
7
  type: 'library' | 'module' | 'bundle';
7
8
  description: string;
8
9
  }
9
- interface LibraryStageEntry {
10
- stage: LifecycleStage;
11
- items: LibraryRecommendation[];
12
- }
13
10
  declare class ContractSpecLibraryRecommender {
14
11
  private readonly mapping;
15
12
  constructor(overrides?: LibraryStageEntry[]);
@@ -1 +1 @@
1
- {"version":3,"file":"library-recommender.d.ts","names":[],"sources":["../../src/recommendations/library-recommender.ts"],"sourcesContent":[],"mappings":";;;UAGiB,qBAAA;;EAAA,IAAA,EAAA,SAAA,GAAA,QAAqB,GAAA,QAAA;EAM5B,WAAA,EAAA,MAAA;AASV;UATU,iBAAA,CAYgB;EAMP,KAAA,EAjBV,cAiBU;EAA4B,KAAA,EAhBtC,qBAgBsC,EAAA;;cATlC,8BAAA;;0BAGa;mBAMP,iCAA4B"}
1
+ {"version":3,"file":"library-recommender.d.ts","names":[],"sources":["../../src/recommendations/library-recommender.ts"],"sourcesContent":[],"mappings":";;;;UAKiB,qBAAA;;EAAA,IAAA,EAAA,SAAA,GAAA,QAAqB,GAAA,QAAA;EAUzB,WAAA,EAAA,MAAA;;AASM,cATN,8BAAA,CASM;EAA4B,iBAAA,OAAA;EAAqB,WAAA,CAAA,SAAA,CAAA,EAN1C,iBAM0C,EAAA;mBAAjD,iCAA4B"}
@@ -1,2 +1,2 @@
1
- import"../libs/lifecycle/dist/index.js";const e=new Map((void 0)(e=>[e.stage,e.items]));var t=class{mapping;constructor(t){this.mapping=t?.length?new Map(t.map(e=>[e.stage,e.items])):e}recommend(e,t=4){let n=this.mapping.get(e);return n?.length?n.slice(0,t):[]}};export{t as ContractSpecLibraryRecommender};
1
+ import"../libs/lifecycle/dist/index.js";import e from"../data/library-stage-map.js";const t=new Map(e.map(e=>[e.stage,e.items]));var n=class{mapping;constructor(e){this.mapping=e?.length?new Map(e.map(e=>[e.stage,e.items])):t}recommend(e,t=4){let n=this.mapping.get(e);return n?.length?n.slice(0,t):[]}};export{n as ContractSpecLibraryRecommender};
2
2
  //# sourceMappingURL=library-recommender.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"library-recommender.js","names":[],"sources":["../../src/recommendations/library-recommender.ts"],"sourcesContent":["import { LifecycleStage } from '@lssm/lib.lifecycle';\nimport libraryMap from '../data/library-stage-map.json' assert { type: 'json' };\n\nexport interface LibraryRecommendation {\n id: string;\n type: 'library' | 'module' | 'bundle';\n description: string;\n}\n\ninterface LibraryStageEntry {\n stage: LifecycleStage;\n items: LibraryRecommendation[];\n}\n\nconst LIBRARY_MAP = new Map<LifecycleStage, LibraryRecommendation[]>(\n (libraryMap as LibraryStageEntry[]).map((entry) => [entry.stage, entry.items])\n);\n\nexport class ContractSpecLibraryRecommender {\n private readonly mapping: Map<LifecycleStage, LibraryRecommendation[]>;\n\n constructor(overrides?: LibraryStageEntry[]) {\n this.mapping = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry.items]))\n : LIBRARY_MAP;\n }\n\n recommend(stage: LifecycleStage, limit = 4): LibraryRecommendation[] {\n const items = this.mapping.get(stage);\n if (!items?.length) return [];\n return items.slice(0, limit);\n }\n}\n"],"mappings":"wCAcA,MAAM,EAAc,IAAI,KACtB,IAAA,IAAyC,GAAU,CAAC,EAAM,MAAO,EAAM,MAAM,CAAC,CAC/E,CAED,IAAa,EAAb,KAA4C,CAC1C,QAEA,YAAY,EAAiC,CAC3C,KAAK,QAAU,GAAW,OACtB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,MAAM,CAAC,CAAC,CAC7D,EAGN,UAAU,EAAuB,EAAQ,EAA4B,CACnE,IAAM,EAAQ,KAAK,QAAQ,IAAI,EAAM,CAErC,OADK,GAAO,OACL,EAAM,MAAM,EAAG,EAAM,CADD,EAAE"}
1
+ {"version":3,"file":"library-recommender.js","names":["libraryStageMap"],"sources":["../../src/recommendations/library-recommender.ts"],"sourcesContent":["import { LifecycleStage } from '@lssm/lib.lifecycle';\nimport libraryStageMap, {\n type LibraryStageEntry,\n} from '../data/library-stage-map';\n\nexport interface LibraryRecommendation {\n id: string;\n type: 'library' | 'module' | 'bundle';\n description: string;\n}\n\nconst LIBRARY_MAP = new Map<LifecycleStage, LibraryRecommendation[]>(\n libraryStageMap.map((entry) => [entry.stage, entry.items])\n);\n\nexport class ContractSpecLibraryRecommender {\n private readonly mapping: Map<LifecycleStage, LibraryRecommendation[]>;\n\n constructor(overrides?: LibraryStageEntry[]) {\n this.mapping = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry.items]))\n : LIBRARY_MAP;\n }\n\n recommend(stage: LifecycleStage, limit = 4): LibraryRecommendation[] {\n const items = this.mapping.get(stage);\n if (!items?.length) return [];\n return items.slice(0, limit);\n }\n}\n"],"mappings":"oFAWA,MAAM,EAAc,IAAI,IACtBA,EAAgB,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,MAAM,CAAC,CAC3D,CAED,IAAa,EAAb,KAA4C,CAC1C,QAEA,YAAY,EAAiC,CAC3C,KAAK,QAAU,GAAW,OACtB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,MAAM,CAAC,CAAC,CAC7D,EAGN,UAAU,EAAuB,EAAQ,EAA4B,CACnE,IAAM,EAAQ,KAAK,QAAQ,IAAI,EAAM,CAErC,OADK,GAAO,OACL,EAAM,MAAM,EAAG,EAAM,CADD,EAAE"}
@@ -1,12 +1,8 @@
1
- import { LifecycleAction, LifecycleAssessment, LifecycleMilestone, LifecycleRecommendation, LifecycleStage } from "@lssm/lib.lifecycle";
1
+ import { StagePlaybookData } from "../data/stage-playbooks.js";
2
+ import { LifecycleAssessment, LifecycleMilestone, LifecycleRecommendation } from "@lssm/lib.lifecycle";
2
3
 
3
4
  //#region src/recommendations/recommendation-engine.d.ts
4
- interface StagePlaybook {
5
- stage: LifecycleStage;
6
- actions: LifecycleAction[];
7
- focusAreas?: string[];
8
- ceremony?: LifecycleRecommendation['ceremony'];
9
- }
5
+ interface StagePlaybook extends StagePlaybookData {}
10
6
  interface RecommendationOptions {
11
7
  limit?: number;
12
8
  upcomingMilestones?: LifecycleMilestone[];
@@ -1 +1 @@
1
- {"version":3,"file":"recommendation-engine.d.ts","names":[],"sources":["../../src/recommendations/recommendation-engine.ts"],"sourcesContent":[],"mappings":";;;UASU,aAAA;EAAA,KAAA,EACD,cADc;EACd,OAAA,EACE,eADF,EAAA;EACE,UAAA,CAAA,EAAA,MAAA,EAAA;EAEE,QAAA,CAAA,EAAA,uBAAA,CAAA,UAAA,CAAA;;AAGI,UAAA,qBAAA,CAEM;EAaV,KAAA,CAAA,EAAA,MAAA;EAGa,kBAAA,CAAA,EAhBH,kBAgBG,EAAA;;AAQb,cAXA,6BAAA,CAWA;EACR,iBAAA,SAAA;EAAuB,WAAA,CAAA,SAAA,CAAA,EATF,aASE,EAAA;uBAFZ,+BACH,wBACR"}
1
+ {"version":3,"file":"recommendation-engine.d.ts","names":[],"sources":["../../src/recommendations/recommendation-engine.ts"],"sourcesContent":[],"mappings":";;;;UAWU,aAAA,SAAsB;AAAtB,UAEO,qBAAA,CAFe;EAEf,KAAA,CAAA,EAAA,MAAA;EAeJ,kBAAA,CAAA,EAbU,kBAamB,EAAA;;AAU1B,cAVH,6BAAA,CAUG;EACH,iBAAA,SAAA;EACR,WAAA,CAAA,SAAA,CAAA,EATqB,aASrB,EAAA;EAAuB,QAAA,CAAA,UAAA,EAFZ,mBAEY,EAAA,OAAA,CAAA,EADf,qBACe,CAAA,EAAvB,uBAAuB"}
@@ -1,2 +1,2 @@
1
- import{n as e}from"../libs/lifecycle/dist/types/stages.js";import"../libs/lifecycle/dist/index.js";const t=new Map((void 0)(e=>[e.stage,{...e,stage:e.stage}]));var n=class{playbooks;constructor(e){this.playbooks=e?.length?new Map(e.map(e=>[e.stage,e])):t}generate(e,t={}){let n=this.playbooks.get(e.stage)??r(e.stage),a=t.limit??3,o=(n.actions??[]).slice(0,a),s=o.length>0?o:i(e,a);return{assessmentId:e.generatedAt,stage:e.stage,actions:s,upcomingMilestones:t.upcomingMilestones??[],ceremony:n.ceremony}}};const r=t=>({stage:t,actions:[],focusAreas:e[t].focusAreas}),i=(t,n)=>(t.focusAreas??e[t.stage].focusAreas).slice(0,n).map((e,n)=>({id:`fallback-${t.stage}-${n}`,stage:t.stage,title:`Advance ${e}`,description:`Identify one task that will improve "${e}" this week.`,priority:n+1,estimatedImpact:`low`,effortLevel:`s`,category:`product`}));export{n as LifecycleRecommendationEngine};
1
+ import{n as e}from"../libs/lifecycle/dist/types/stages.js";import"../libs/lifecycle/dist/index.js";import t from"../data/stage-playbooks.js";const n=new Map(t.map(e=>[e.stage,{...e,stage:e.stage}]));var r=class{playbooks;constructor(e){this.playbooks=e?.length?new Map(e.map(e=>[e.stage,e])):n}generate(e,t={}){let n=this.playbooks.get(e.stage)??i(e.stage),r=t.limit??3,o=(n.actions??[]).slice(0,r),s=o.length>0?o:a(e,r);return{assessmentId:e.generatedAt,stage:e.stage,actions:s,upcomingMilestones:t.upcomingMilestones??[],ceremony:n.ceremony}}};const i=t=>({stage:t,actions:[],focusAreas:e[t].focusAreas}),a=(t,n)=>(t.focusAreas??e[t.stage].focusAreas).slice(0,n).map((e,n)=>({id:`fallback-${t.stage}-${n}`,stage:t.stage,title:`Advance ${e}`,description:`Identify one task that will improve "${e}" this week.`,priority:n+1,estimatedImpact:`low`,effortLevel:`s`,category:`product`}));export{r as LifecycleRecommendationEngine};
2
2
  //# sourceMappingURL=recommendation-engine.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recommendation-engine.js","names":["LIFECYCLE_STAGE_META"],"sources":["../../src/recommendations/recommendation-engine.ts"],"sourcesContent":["import type {\n LifecycleAssessment,\n LifecycleMilestone,\n LifecycleRecommendation,\n LifecycleAction,\n} from '@lssm/lib.lifecycle';\nimport { LIFECYCLE_STAGE_META, LifecycleStage } from '@lssm/lib.lifecycle';\nimport playbooks from '../data/stage-playbooks.json' assert { type: 'json' };\n\ninterface StagePlaybook {\n stage: LifecycleStage;\n actions: LifecycleAction[];\n focusAreas?: string[];\n ceremony?: LifecycleRecommendation['ceremony'];\n}\n\nexport interface RecommendationOptions {\n limit?: number;\n upcomingMilestones?: LifecycleMilestone[];\n}\n\nconst PLAYBOOK_MAP = new Map<LifecycleStage, StagePlaybook>(\n (playbooks as StagePlaybook[]).map((entry) => [\n entry.stage,\n {\n ...entry,\n stage: entry.stage as LifecycleStage,\n },\n ])\n);\n\nexport class LifecycleRecommendationEngine {\n private readonly playbooks: Map<LifecycleStage, StagePlaybook>;\n\n constructor(overrides?: StagePlaybook[]) {\n this.playbooks = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry]))\n : PLAYBOOK_MAP;\n }\n\n generate(\n assessment: LifecycleAssessment,\n options: RecommendationOptions = {}\n ): LifecycleRecommendation {\n const entry =\n this.playbooks.get(assessment.stage) ??\n createFallbackPlaybook(assessment.stage);\n const limit = options.limit ?? 3;\n const actions = (entry.actions ?? []).slice(0, limit);\n const finalActions =\n actions.length > 0 ? actions : fallbackActions(assessment, limit);\n\n return {\n assessmentId: assessment.generatedAt,\n stage: assessment.stage,\n actions: finalActions,\n upcomingMilestones: options.upcomingMilestones ?? [],\n ceremony: entry.ceremony,\n };\n }\n}\n\nconst createFallbackPlaybook = (stage: LifecycleStage): StagePlaybook => ({\n stage,\n actions: [],\n focusAreas: LIFECYCLE_STAGE_META[stage].focusAreas,\n});\n\nconst fallbackActions = (\n assessment: LifecycleAssessment,\n limit: number\n): LifecycleAction[] =>\n (assessment.focusAreas ?? LIFECYCLE_STAGE_META[assessment.stage].focusAreas)\n .slice(0, limit)\n .map((focus, index) => ({\n id: `fallback-${assessment.stage}-${index}`,\n stage: assessment.stage,\n title: `Advance ${focus}`,\n description: `Identify one task that will improve \"${focus}\" this week.`,\n priority: index + 1,\n estimatedImpact: 'low',\n effortLevel: 's',\n category: 'product',\n }));\n"],"mappings":"mGAqBA,MAAM,EAAe,IAAI,KACvB,IAAA,IAAoC,GAAU,CAC5C,EAAM,MACN,CACE,GAAG,EACH,MAAO,EAAM,MACd,CACF,CAAC,CACH,CAED,IAAa,EAAb,KAA2C,CACzC,UAEA,YAAY,EAA6B,CACvC,KAAK,UAAY,GAAW,OACxB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,CAAC,CAAC,CACvD,EAGN,SACE,EACA,EAAiC,EAAE,CACV,CACzB,IAAM,EACJ,KAAK,UAAU,IAAI,EAAW,MAAM,EACpC,EAAuB,EAAW,MAAM,CACpC,EAAQ,EAAQ,OAAS,EACzB,GAAW,EAAM,SAAW,EAAE,EAAE,MAAM,EAAG,EAAM,CAC/C,EACJ,EAAQ,OAAS,EAAI,EAAU,EAAgB,EAAY,EAAM,CAEnE,MAAO,CACL,aAAc,EAAW,YACzB,MAAO,EAAW,MAClB,QAAS,EACT,mBAAoB,EAAQ,oBAAsB,EAAE,CACpD,SAAU,EAAM,SACjB,GAIL,MAAM,EAA0B,IAA0C,CACxE,QACA,QAAS,EAAE,CACX,WAAYA,EAAqB,GAAO,WACzC,EAEK,GACJ,EACA,KAEC,EAAW,YAAcA,EAAqB,EAAW,OAAO,YAC9D,MAAM,EAAG,EAAM,CACf,KAAK,EAAO,KAAW,CACtB,GAAI,YAAY,EAAW,MAAM,GAAG,IACpC,MAAO,EAAW,MAClB,MAAO,WAAW,IAClB,YAAa,wCAAwC,EAAM,cAC3D,SAAU,EAAQ,EAClB,gBAAiB,MACjB,YAAa,IACb,SAAU,UACX,EAAE"}
1
+ {"version":3,"file":"recommendation-engine.js","names":["stagePlaybooks","LIFECYCLE_STAGE_META"],"sources":["../../src/recommendations/recommendation-engine.ts"],"sourcesContent":["import type {\n LifecycleAssessment,\n LifecycleMilestone,\n LifecycleRecommendation,\n LifecycleAction,\n} from '@lssm/lib.lifecycle';\nimport { LIFECYCLE_STAGE_META, LifecycleStage } from '@lssm/lib.lifecycle';\nimport stagePlaybooks, {\n type StagePlaybookData,\n} from '../data/stage-playbooks';\n\ninterface StagePlaybook extends StagePlaybookData {}\n\nexport interface RecommendationOptions {\n limit?: number;\n upcomingMilestones?: LifecycleMilestone[];\n}\n\nconst PLAYBOOK_MAP = new Map<LifecycleStage, StagePlaybook>(\n stagePlaybooks.map((entry) => [\n entry.stage,\n {\n ...entry,\n stage: entry.stage as LifecycleStage,\n },\n ])\n);\n\nexport class LifecycleRecommendationEngine {\n private readonly playbooks: Map<LifecycleStage, StagePlaybook>;\n\n constructor(overrides?: StagePlaybook[]) {\n this.playbooks = overrides?.length\n ? new Map(overrides.map((entry) => [entry.stage, entry]))\n : PLAYBOOK_MAP;\n }\n\n generate(\n assessment: LifecycleAssessment,\n options: RecommendationOptions = {}\n ): LifecycleRecommendation {\n const entry =\n this.playbooks.get(assessment.stage) ??\n createFallbackPlaybook(assessment.stage);\n const limit = options.limit ?? 3;\n const actions = (entry.actions ?? []).slice(0, limit);\n const finalActions =\n actions.length > 0 ? actions : fallbackActions(assessment, limit);\n\n return {\n assessmentId: assessment.generatedAt,\n stage: assessment.stage,\n actions: finalActions,\n upcomingMilestones: options.upcomingMilestones ?? [],\n ceremony: entry.ceremony,\n };\n }\n}\n\nconst createFallbackPlaybook = (stage: LifecycleStage): StagePlaybook => ({\n stage,\n actions: [],\n focusAreas: LIFECYCLE_STAGE_META[stage].focusAreas,\n});\n\nconst fallbackActions = (\n assessment: LifecycleAssessment,\n limit: number\n): LifecycleAction[] =>\n (assessment.focusAreas ?? LIFECYCLE_STAGE_META[assessment.stage].focusAreas)\n .slice(0, limit)\n .map((focus, index) => ({\n id: `fallback-${assessment.stage}-${index}`,\n stage: assessment.stage,\n title: `Advance ${focus}`,\n description: `Identify one task that will improve \"${focus}\" this week.`,\n priority: index + 1,\n estimatedImpact: 'low',\n effortLevel: 's',\n category: 'product',\n }));\n"],"mappings":"6IAkBA,MAAM,EAAe,IAAI,IACvBA,EAAe,IAAK,GAAU,CAC5B,EAAM,MACN,CACE,GAAG,EACH,MAAO,EAAM,MACd,CACF,CAAC,CACH,CAED,IAAa,EAAb,KAA2C,CACzC,UAEA,YAAY,EAA6B,CACvC,KAAK,UAAY,GAAW,OACxB,IAAI,IAAI,EAAU,IAAK,GAAU,CAAC,EAAM,MAAO,EAAM,CAAC,CAAC,CACvD,EAGN,SACE,EACA,EAAiC,EAAE,CACV,CACzB,IAAM,EACJ,KAAK,UAAU,IAAI,EAAW,MAAM,EACpC,EAAuB,EAAW,MAAM,CACpC,EAAQ,EAAQ,OAAS,EACzB,GAAW,EAAM,SAAW,EAAE,EAAE,MAAM,EAAG,EAAM,CAC/C,EACJ,EAAQ,OAAS,EAAI,EAAU,EAAgB,EAAY,EAAM,CAEnE,MAAO,CACL,aAAc,EAAW,YACzB,MAAO,EAAW,MAClB,QAAS,EACT,mBAAoB,EAAQ,oBAAsB,EAAE,CACpD,SAAU,EAAM,SACjB,GAIL,MAAM,EAA0B,IAA0C,CACxE,QACA,QAAS,EAAE,CACX,WAAYC,EAAqB,GAAO,WACzC,EAEK,GACJ,EACA,KAEC,EAAW,YAAcA,EAAqB,EAAW,OAAO,YAC9D,MAAM,EAAG,EAAM,CACf,KAAK,EAAO,KAAW,CACtB,GAAI,YAAY,EAAW,MAAM,GAAG,IACpC,MAAO,EAAW,MAClB,MAAO,WAAW,IAClB,YAAa,wCAAwC,EAAM,cAC3D,SAAU,EAAQ,EAClB,gBAAiB,MACjB,YAAa,IACb,SAAU,UACX,EAAE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/module.lifecycle-advisor",
3
- "version": "0.1.2",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -11,6 +11,7 @@
11
11
  "src/data"
12
12
  ],
13
13
  "scripts": {
14
+ "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
14
15
  "build": "bun build:bundle && bun build:types",
15
16
  "build:bundle": "tsdown",
16
17
  "build:types": "tsc --noEmit",
@@ -19,20 +20,22 @@
19
20
  "lint": "bun lint:fix",
20
21
  "lint:fix": "eslint src --fix",
21
22
  "lint:check": "eslint src",
22
- "test": "vitest run"
23
+ "test": "bun run"
23
24
  },
24
25
  "dependencies": {
25
- "@lssm/lib.lifecycle": "*"
26
+ "@lssm/lib.lifecycle": "0.3.0"
26
27
  },
27
28
  "devDependencies": {
28
- "@lssm/tool.tsdown": "*",
29
- "@lssm/tool.typescript": "*",
29
+ "@lssm/tool.tsdown": "0.12.0",
30
+ "@lssm/tool.typescript": "0.11.0",
30
31
  "tsdown": "^0.16.6",
31
- "typescript": "^5.9.3",
32
- "vitest": "^1.6.0"
32
+ "typescript": "^5.9.3"
33
33
  },
34
34
  "exports": {
35
35
  ".": "./dist/index.js",
36
36
  "./*": "./*"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public"
37
40
  }
38
41
  }
@@ -0,0 +1,117 @@
1
+ import type { LifecycleStage } from '@lssm/lib.lifecycle';
2
+ import type { LibraryRecommendation } from '../recommendations/library-recommender';
3
+
4
+ export interface LibraryStageEntry {
5
+ stage: LifecycleStage;
6
+ items: LibraryRecommendation[];
7
+ }
8
+
9
+ const libraryStageMap: LibraryStageEntry[] = [
10
+ {
11
+ stage: 0 as LifecycleStage,
12
+ items: [
13
+ {
14
+ id: '@lssm/lib.content-gen',
15
+ type: 'library',
16
+ description: 'Summarize interviews and synthesize IC insights.',
17
+ },
18
+ {
19
+ id: '@lssm/lib.presentation-runtime',
20
+ type: 'library',
21
+ description: 'Craft low-fi storyboards without custom code.',
22
+ },
23
+ ],
24
+ },
25
+ {
26
+ stage: 1 as LifecycleStage,
27
+ items: [
28
+ {
29
+ id: '@lssm/lib.progressive-delivery',
30
+ type: 'library',
31
+ description: 'Gate prototype features behind lightweight flags.',
32
+ },
33
+ {
34
+ id: '@lssm/module.lifecycle-core',
35
+ type: 'module',
36
+ description: 'Capture questionnaire signals for early scoring.',
37
+ },
38
+ ],
39
+ },
40
+ {
41
+ stage: 2 as LifecycleStage,
42
+ items: [
43
+ {
44
+ id: '@lssm/lib.analytics',
45
+ type: 'library',
46
+ description: 'Instrument activation paths + cohorts.',
47
+ },
48
+ {
49
+ id: '@lssm/lib.observability',
50
+ type: 'library',
51
+ description: 'Collect minimum viable traces and metrics.',
52
+ },
53
+ ],
54
+ },
55
+ {
56
+ stage: 3 as LifecycleStage,
57
+ items: [
58
+ {
59
+ id: '@lssm/lib.evolution',
60
+ type: 'library',
61
+ description: 'Auto-detect contract gaps and spec improvements.',
62
+ },
63
+ {
64
+ id: '@lssm/module.lifecycle-advisor',
65
+ type: 'module',
66
+ description: 'Generate retention-focused guidance at scale.',
67
+ },
68
+ ],
69
+ },
70
+ {
71
+ stage: 4 as LifecycleStage,
72
+ items: [
73
+ {
74
+ id: '@lssm/lib.growth',
75
+ type: 'library',
76
+ description: 'Experiment orchestration with guardrails.',
77
+ },
78
+ {
79
+ id: '@lssm/lib.resilience',
80
+ type: 'library',
81
+ description: 'Stabilize infra and SLOs as teams split.',
82
+ },
83
+ ],
84
+ },
85
+ {
86
+ stage: 5 as LifecycleStage,
87
+ items: [
88
+ {
89
+ id: '@lssm/lib.workflow-composer',
90
+ type: 'library',
91
+ description: 'Automate partner workflows and integrations.',
92
+ },
93
+ {
94
+ id: '@lssm/bundle.contractspec-studio',
95
+ type: 'bundle',
96
+ description: 'Expose managed partner onboarding via Studio.',
97
+ },
98
+ ],
99
+ },
100
+ {
101
+ stage: 6 as LifecycleStage,
102
+ items: [
103
+ {
104
+ id: '@lssm/lib.cost-tracking',
105
+ type: 'library',
106
+ description: 'Model margin scenarios and reinvestment bets.',
107
+ },
108
+ {
109
+ id: '@lssm/lib.workflow-composer',
110
+ type: 'library',
111
+ description: 'Standardize renewal rituals and automation.',
112
+ },
113
+ ],
114
+ },
115
+ ];
116
+
117
+ export default libraryStageMap;
@@ -0,0 +1,251 @@
1
+ import type {
2
+ LifecycleAction,
3
+ LifecycleRecommendation,
4
+ } from '@lssm/lib.lifecycle';
5
+ import { LifecycleStage } from '@lssm/lib.lifecycle';
6
+
7
+ export interface StagePlaybookData {
8
+ stage: LifecycleStage;
9
+ focusAreas: string[];
10
+ actions: LifecycleAction[];
11
+ ceremony?: LifecycleRecommendation['ceremony'];
12
+ }
13
+
14
+ const stagePlaybooks: StagePlaybookData[] = [
15
+ {
16
+ stage: LifecycleStage.Exploration,
17
+ focusAreas: ['Discovery', 'Problem clarity', 'Persona'],
18
+ actions: [
19
+ {
20
+ id: 'stage0-interview-burst',
21
+ stage: LifecycleStage.Exploration,
22
+ title: 'Run a 5-day interview burst',
23
+ description:
24
+ 'Schedule at least 5 back-to-back interviews and capture raw quotes.',
25
+ priority: 1,
26
+ estimatedImpact: 'medium',
27
+ effortLevel: 'm',
28
+ category: 'product',
29
+ recommendedLibraries: ['@lssm/lib.content-gen'],
30
+ },
31
+ {
32
+ id: 'stage0-problem-story',
33
+ stage: LifecycleStage.Exploration,
34
+ title: 'Write the problem story',
35
+ description:
36
+ 'Summarize the pain in one paragraph you can repeat to partners.',
37
+ priority: 2,
38
+ estimatedImpact: 'low',
39
+ effortLevel: 's',
40
+ category: 'product',
41
+ },
42
+ ],
43
+ ceremony: {
44
+ title: 'Discovery Spark',
45
+ copy: 'Share the sharpest pain quote with your crew. Frame it, celebrate focus.',
46
+ cues: ['๐Ÿ”Ž', '๐Ÿ—’๏ธ'],
47
+ },
48
+ },
49
+ {
50
+ stage: LifecycleStage.ProblemSolutionFit,
51
+ focusAreas: ['Prototype', 'Feedback', 'Value proof'],
52
+ actions: [
53
+ {
54
+ id: 'stage1-demo-loop',
55
+ stage: LifecycleStage.ProblemSolutionFit,
56
+ title: 'Prototype feedback loop',
57
+ description:
58
+ 'Ship a low-fidelity prototype and collect 3 rounds of reactions.',
59
+ priority: 1,
60
+ estimatedImpact: 'medium',
61
+ effortLevel: 'm',
62
+ category: 'product',
63
+ recommendedLibraries: ['@lssm/lib.progressive-delivery'],
64
+ },
65
+ {
66
+ id: 'stage1-referrals',
67
+ stage: LifecycleStage.ProblemSolutionFit,
68
+ title: 'Capture referral signals',
69
+ description: 'Ask each tester who else should see the demo.',
70
+ priority: 2,
71
+ estimatedImpact: 'low',
72
+ effortLevel: 's',
73
+ category: 'growth',
74
+ },
75
+ ],
76
+ ceremony: {
77
+ title: 'Solution Resonance',
78
+ copy: 'Record a short screen share telling the before/after story to your future self.',
79
+ cues: ['๐ŸŽค', 'โœจ'],
80
+ },
81
+ },
82
+ {
83
+ stage: LifecycleStage.MvpEarlyTraction,
84
+ focusAreas: ['Activation', 'Telemetry', 'Feedback'],
85
+ actions: [
86
+ {
87
+ id: 'stage2-activation',
88
+ stage: LifecycleStage.MvpEarlyTraction,
89
+ title: 'Define activation checklist',
90
+ description: 'Document the 3 steps users must finish to get value.',
91
+ priority: 1,
92
+ estimatedImpact: 'high',
93
+ effortLevel: 'm',
94
+ category: 'operations',
95
+ recommendedLibraries: [
96
+ '@lssm/lib.analytics',
97
+ '@lssm/lib.observability',
98
+ ],
99
+ },
100
+ {
101
+ id: 'stage2-weekly-sync',
102
+ stage: LifecycleStage.MvpEarlyTraction,
103
+ title: 'Weekly user sync',
104
+ description: 'Host a standing call with your 5 most active testers.',
105
+ priority: 2,
106
+ estimatedImpact: 'medium',
107
+ effortLevel: 'm',
108
+ category: 'company',
109
+ },
110
+ ],
111
+ ceremony: {
112
+ title: 'Traction Toast',
113
+ copy: 'Toast your first 20 real usersโ€”say their names, tell them why they matter.',
114
+ cues: ['๐Ÿฅ‚', '๐Ÿ“ฃ'],
115
+ },
116
+ },
117
+ {
118
+ stage: LifecycleStage.ProductMarketFit,
119
+ focusAreas: ['Retention', 'Reliability', 'Story'],
120
+ actions: [
121
+ {
122
+ id: 'stage3-retention-study',
123
+ stage: LifecycleStage.ProductMarketFit,
124
+ title: 'Run a retention study',
125
+ description:
126
+ 'Interview 3 retained users and publish their before/after metrics.',
127
+ priority: 1,
128
+ estimatedImpact: 'high',
129
+ effortLevel: 'm',
130
+ category: 'product',
131
+ recommendedLibraries: ['@lssm/lib.evolution'],
132
+ },
133
+ {
134
+ id: 'stage3-incident-review',
135
+ stage: LifecycleStage.ProductMarketFit,
136
+ title: 'Lightweight incident review',
137
+ description: 'Review the last 2 reliability hiccups and capture fixes.',
138
+ priority: 2,
139
+ estimatedImpact: 'medium',
140
+ effortLevel: 's',
141
+ category: 'operations',
142
+ },
143
+ ],
144
+ ceremony: {
145
+ title: 'PMF Signal Fire',
146
+ copy: 'Write a letter to your future Series A self describing the pull you feel today.',
147
+ cues: ['๐Ÿ”ฅ', '๐Ÿ“ฌ'],
148
+ },
149
+ },
150
+ {
151
+ stage: LifecycleStage.GrowthScaleUp,
152
+ focusAreas: ['Systems', 'Growth loops', 'Specialization'],
153
+ actions: [
154
+ {
155
+ id: 'stage4-growth-loop',
156
+ stage: LifecycleStage.GrowthScaleUp,
157
+ title: 'Codify a growth loop',
158
+ description:
159
+ 'Choose one loop (SEO, referrals, outbound) and document owners + inputs.',
160
+ priority: 1,
161
+ estimatedImpact: 'high',
162
+ effortLevel: 'l',
163
+ category: 'growth',
164
+ recommendedLibraries: ['@lssm/lib.growth', '@lssm/lib.resilience'],
165
+ },
166
+ {
167
+ id: 'stage4-hiring-map',
168
+ stage: LifecycleStage.GrowthScaleUp,
169
+ title: 'Create hiring map',
170
+ description: 'List specialized roles you need in the next 2 quarters.',
171
+ priority: 2,
172
+ estimatedImpact: 'medium',
173
+ effortLevel: 'm',
174
+ category: 'company',
175
+ },
176
+ ],
177
+ ceremony: {
178
+ title: 'Scale Systems',
179
+ copy: 'Invite the team to map the journey from first user to repeatable machine.',
180
+ cues: ['๐Ÿ—บ๏ธ', 'โš™๏ธ'],
181
+ },
182
+ },
183
+ {
184
+ stage: LifecycleStage.ExpansionPlatform,
185
+ focusAreas: ['Partners', 'APIs', 'Expansion bets'],
186
+ actions: [
187
+ {
188
+ id: 'stage5-partner-brief',
189
+ stage: LifecycleStage.ExpansionPlatform,
190
+ title: 'Partner readiness brief',
191
+ description:
192
+ 'Document partner types, value props, and onboarding steps.',
193
+ priority: 1,
194
+ estimatedImpact: 'high',
195
+ effortLevel: 'm',
196
+ category: 'product',
197
+ recommendedLibraries: ['@lssm/lib.workflow-composer'],
198
+ },
199
+ {
200
+ id: 'stage5-experiment-portfolio',
201
+ stage: LifecycleStage.ExpansionPlatform,
202
+ title: 'Expansion experiment portfolio',
203
+ description: 'List the top 3 markets or product lines with owners.',
204
+ priority: 2,
205
+ estimatedImpact: 'medium',
206
+ effortLevel: 'm',
207
+ category: 'growth',
208
+ },
209
+ ],
210
+ ceremony: {
211
+ title: 'Platform Threshold',
212
+ copy: 'Host a partner circleโ€”invite allies to share what they need from your platform.',
213
+ cues: ['๐Ÿค', '๐ŸŒ'],
214
+ },
215
+ },
216
+ {
217
+ stage: LifecycleStage.MaturityRenewal,
218
+ focusAreas: ['Optimization', 'Renewal', 'Portfolio'],
219
+ actions: [
220
+ {
221
+ id: 'stage6-cost-review',
222
+ stage: LifecycleStage.MaturityRenewal,
223
+ title: 'Run a cost-to-value review',
224
+ description: 'Audit each major surface for margin impact.',
225
+ priority: 1,
226
+ estimatedImpact: 'high',
227
+ effortLevel: 'm',
228
+ category: 'operations',
229
+ recommendedLibraries: ['@lssm/lib.cost-tracking'],
230
+ },
231
+ {
232
+ id: 'stage6-renewal-bet',
233
+ stage: LifecycleStage.MaturityRenewal,
234
+ title: 'Define the renewal bet',
235
+ description:
236
+ 'Choose one reinvention or sunset track and set checkpoints.',
237
+ priority: 2,
238
+ estimatedImpact: 'medium',
239
+ effortLevel: 'm',
240
+ category: 'product',
241
+ },
242
+ ],
243
+ ceremony: {
244
+ title: 'Renewal Summit',
245
+ copy: 'Pause to honor what got you here, then commit publicly to the next reinvention.',
246
+ cues: ['๐Ÿ”๏ธ', '๐Ÿ”'],
247
+ },
248
+ },
249
+ ];
250
+
251
+ export default stagePlaybooks;
@@ -1,107 +0,0 @@
1
- [
2
- {
3
- "stage": 0,
4
- "items": [
5
- {
6
- "id": "@lssm/lib.content-gen",
7
- "type": "library",
8
- "description": "Summarize interviews and synthesize IC insights."
9
- },
10
- {
11
- "id": "@lssm/lib.presentation-runtime",
12
- "type": "library",
13
- "description": "Craft low-fi storyboards without custom code."
14
- }
15
- ]
16
- },
17
- {
18
- "stage": 1,
19
- "items": [
20
- {
21
- "id": "@lssm/lib.progressive-delivery",
22
- "type": "library",
23
- "description": "Gate prototype features behind lightweight flags."
24
- },
25
- {
26
- "id": "@lssm/module.lifecycle-core",
27
- "type": "module",
28
- "description": "Capture questionnaire signals for early scoring."
29
- }
30
- ]
31
- },
32
- {
33
- "stage": 2,
34
- "items": [
35
- {
36
- "id": "@lssm/lib.analytics",
37
- "type": "library",
38
- "description": "Instrument activation paths + cohorts."
39
- },
40
- {
41
- "id": "@lssm/lib.observability",
42
- "type": "library",
43
- "description": "Collect minimum viable traces and metrics."
44
- }
45
- ]
46
- },
47
- {
48
- "stage": 3,
49
- "items": [
50
- {
51
- "id": "@lssm/lib.evolution",
52
- "type": "library",
53
- "description": "Auto-detect contract gaps and spec improvements."
54
- },
55
- {
56
- "id": "@lssm/module.lifecycle-advisor",
57
- "type": "module",
58
- "description": "Generate retention-focused guidance at scale."
59
- }
60
- ]
61
- },
62
- {
63
- "stage": 4,
64
- "items": [
65
- {
66
- "id": "@lssm/lib.growth",
67
- "type": "library",
68
- "description": "Experiment orchestration with guardrails."
69
- },
70
- {
71
- "id": "@lssm/lib.resilience",
72
- "type": "library",
73
- "description": "Stabilize infra and SLOs as teams split."
74
- }
75
- ]
76
- },
77
- {
78
- "stage": 5,
79
- "items": [
80
- {
81
- "id": "@lssm/lib.workflow-composer",
82
- "type": "library",
83
- "description": "Automate partner workflows and integrations."
84
- },
85
- {
86
- "id": "@lssm/bundle.contractspec-studio",
87
- "type": "bundle",
88
- "description": "Expose managed partner onboarding via Studio."
89
- }
90
- ]
91
- },
92
- {
93
- "stage": 6,
94
- "items": [
95
- {
96
- "id": "@lssm/lib.cost-tracking",
97
- "type": "library",
98
- "description": "Model margin scenarios and reinvestment bets."
99
- },
100
- {
101
- "id": "@lssm/lib.workflow-composer",
102
- "type": "library",
103
- "description": "Standardize renewal rituals and automation."
104
- }
105
- ]
106
- }
107
- ]
@@ -1,229 +0,0 @@
1
- [
2
- {
3
- "stage": 0,
4
- "focusAreas": ["Discovery", "Problem clarity", "Persona"],
5
- "actions": [
6
- {
7
- "id": "stage0-interview-burst",
8
- "stage": 0,
9
- "title": "Run a 5-day interview burst",
10
- "description": "Schedule at least 5 back-to-back interviews and capture raw quotes.",
11
- "priority": 1,
12
- "estimatedImpact": "medium",
13
- "effortLevel": "m",
14
- "category": "product",
15
- "recommendedLibraries": ["@lssm/lib.content-gen"]
16
- },
17
- {
18
- "id": "stage0-problem-story",
19
- "stage": 0,
20
- "title": "Write the problem story",
21
- "description": "Summarize the pain in one paragraph you can repeat to partners.",
22
- "priority": 2,
23
- "estimatedImpact": "low",
24
- "effortLevel": "s",
25
- "category": "product"
26
- }
27
- ],
28
- "ceremony": {
29
- "title": "Discovery Spark",
30
- "copy": "Share the sharpest pain quote with your crew. Frame it, celebrate focus.",
31
- "cues": ["๐Ÿ”Ž", "๐Ÿ—’๏ธ"]
32
- }
33
- },
34
- {
35
- "stage": 1,
36
- "focusAreas": ["Prototype", "Feedback", "Value proof"],
37
- "actions": [
38
- {
39
- "id": "stage1-demo-loop",
40
- "stage": 1,
41
- "title": "Prototype feedback loop",
42
- "description": "Ship a low-fidelity prototype and collect 3 rounds of reactions.",
43
- "priority": 1,
44
- "estimatedImpact": "medium",
45
- "effortLevel": "m",
46
- "category": "product",
47
- "recommendedLibraries": ["@lssm/lib.progressive-delivery"]
48
- },
49
- {
50
- "id": "stage1-referrals",
51
- "stage": 1,
52
- "title": "Capture referral signals",
53
- "description": "Ask each tester who else should see the demo.",
54
- "priority": 2,
55
- "estimatedImpact": "low",
56
- "effortLevel": "s",
57
- "category": "growth"
58
- }
59
- ],
60
- "ceremony": {
61
- "title": "Solution Resonance",
62
- "copy": "Record a short screen share telling the before/after story to your future self.",
63
- "cues": ["๐ŸŽค", "โœจ"]
64
- }
65
- },
66
- {
67
- "stage": 2,
68
- "focusAreas": ["Activation", "Telemetry", "Feedback"],
69
- "actions": [
70
- {
71
- "id": "stage2-activation",
72
- "stage": 2,
73
- "title": "Define activation checklist",
74
- "description": "Document the 3 steps users must finish to get value.",
75
- "priority": 1,
76
- "estimatedImpact": "high",
77
- "effortLevel": "m",
78
- "category": "operations",
79
- "recommendedLibraries": [
80
- "@lssm/lib.analytics",
81
- "@lssm/lib.observability"
82
- ]
83
- },
84
- {
85
- "id": "stage2-weekly-sync",
86
- "stage": 2,
87
- "title": "Weekly user sync",
88
- "description": "Host a standing call with your 5 most active testers.",
89
- "priority": 2,
90
- "estimatedImpact": "medium",
91
- "effortLevel": "m",
92
- "category": "company"
93
- }
94
- ],
95
- "ceremony": {
96
- "title": "Traction Toast",
97
- "copy": "Toast your first 20 real usersโ€”say their names, tell them why they matter.",
98
- "cues": ["๐Ÿฅ‚", "๐Ÿ“ฃ"]
99
- }
100
- },
101
- {
102
- "stage": 3,
103
- "focusAreas": ["Retention", "Reliability", "Story"],
104
- "actions": [
105
- {
106
- "id": "stage3-retention-study",
107
- "stage": 3,
108
- "title": "Run a retention study",
109
- "description": "Interview 3 retained users and publish their before/after metrics.",
110
- "priority": 1,
111
- "estimatedImpact": "high",
112
- "effortLevel": "m",
113
- "category": "product",
114
- "recommendedLibraries": ["@lssm/lib.evolution"]
115
- },
116
- {
117
- "id": "stage3-incident-review",
118
- "stage": 3,
119
- "title": "Lightweight incident review",
120
- "description": "Review the last 2 reliability hiccups and capture fixes.",
121
- "priority": 2,
122
- "estimatedImpact": "medium",
123
- "effortLevel": "s",
124
- "category": "operations"
125
- }
126
- ],
127
- "ceremony": {
128
- "title": "PMF Signal Fire",
129
- "copy": "Write a letter to your future Series A self describing the pull you feel today.",
130
- "cues": ["๐Ÿ”ฅ", "๐Ÿ“ฌ"]
131
- }
132
- },
133
- {
134
- "stage": 4,
135
- "focusAreas": ["Systems", "Growth loops", "Specialization"],
136
- "actions": [
137
- {
138
- "id": "stage4-growth-loop",
139
- "stage": 4,
140
- "title": "Codify a growth loop",
141
- "description": "Choose one loop (SEO, referrals, outbound) and document owners + inputs.",
142
- "priority": 1,
143
- "estimatedImpact": "high",
144
- "effortLevel": "l",
145
- "category": "growth",
146
- "recommendedLibraries": ["@lssm/lib.growth", "@lssm/lib.resilience"]
147
- },
148
- {
149
- "id": "stage4-hiring-map",
150
- "stage": 4,
151
- "title": "Create hiring map",
152
- "description": "List specialized roles you need in the next 2 quarters.",
153
- "priority": 2,
154
- "estimatedImpact": "medium",
155
- "effortLevel": "m",
156
- "category": "company"
157
- }
158
- ],
159
- "ceremony": {
160
- "title": "Scale Systems",
161
- "copy": "Invite the team to map the journey from first user to repeatable machine.",
162
- "cues": ["๐Ÿ—บ๏ธ", "โš™๏ธ"]
163
- }
164
- },
165
- {
166
- "stage": 5,
167
- "focusAreas": ["Partners", "APIs", "Expansion bets"],
168
- "actions": [
169
- {
170
- "id": "stage5-partner-brief",
171
- "stage": 5,
172
- "title": "Partner readiness brief",
173
- "description": "Document partner types, value props, and onboarding steps.",
174
- "priority": 1,
175
- "estimatedImpact": "high",
176
- "effortLevel": "m",
177
- "category": "product",
178
- "recommendedLibraries": ["@lssm/lib.workflow-composer"]
179
- },
180
- {
181
- "id": "stage5-experiment-portfolio",
182
- "stage": 5,
183
- "title": "Expansion experiment portfolio",
184
- "description": "List the top 3 markets or product lines with owners.",
185
- "priority": 2,
186
- "estimatedImpact": "medium",
187
- "effortLevel": "m",
188
- "category": "growth"
189
- }
190
- ],
191
- "ceremony": {
192
- "title": "Platform Threshold",
193
- "copy": "Host a partner circleโ€”invite allies to share what they need from your platform.",
194
- "cues": ["๐Ÿค", "๐ŸŒ"]
195
- }
196
- },
197
- {
198
- "stage": 6,
199
- "focusAreas": ["Optimization", "Renewal", "Portfolio"],
200
- "actions": [
201
- {
202
- "id": "stage6-cost-review",
203
- "stage": 6,
204
- "title": "Run a cost-to-value review",
205
- "description": "Audit each major surface for margin impact.",
206
- "priority": 1,
207
- "estimatedImpact": "high",
208
- "effortLevel": "m",
209
- "category": "operations",
210
- "recommendedLibraries": ["@lssm/lib.cost-tracking"]
211
- },
212
- {
213
- "id": "stage6-renewal-bet",
214
- "stage": 6,
215
- "title": "Define the renewal bet",
216
- "description": "Choose one reinvention or sunset track and set checkpoints.",
217
- "priority": 2,
218
- "estimatedImpact": "medium",
219
- "effortLevel": "m",
220
- "category": "product"
221
- }
222
- ],
223
- "ceremony": {
224
- "title": "Renewal Summit",
225
- "copy": "Pause to honor what got you here, then commit publicly to the next reinvention.",
226
- "cues": ["๐Ÿ”๏ธ", "๐Ÿ”"]
227
- }
228
- }
229
- ]