@lssm/bundle.lifecycle-managed 0.0.0-canary-20251217083314 โ†’ 0.0.0-canary-20251220002821

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.
Files changed (85) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -0
  3. package/dist/__tests__/assessment-service.test.d.ts +2 -0
  4. package/dist/__tests__/assessment-service.test.d.ts.map +1 -0
  5. package/dist/agents/lifecycle-advisor-agent.d.ts +2 -6
  6. package/dist/agents/lifecycle-advisor-agent.d.ts.map +1 -0
  7. package/dist/api/rest-handlers.d.ts +15 -17
  8. package/dist/api/rest-handlers.d.ts.map +1 -0
  9. package/dist/events/lifecycle-events.d.ts +10 -13
  10. package/dist/events/lifecycle-events.d.ts.map +1 -0
  11. package/dist/index.d.ts +5 -5
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +54 -5
  14. package/dist/services/assessment-service.d.ts +40 -44
  15. package/dist/services/assessment-service.d.ts.map +1 -0
  16. package/package.json +21 -14
  17. package/dist/agents/lifecycle-advisor-agent.js +0 -71
  18. package/dist/api/rest-handlers.js +0 -22
  19. package/dist/events/lifecycle-events.js +0 -45
  20. package/dist/libs/ai-agent/dist/agent/agent-factory.js +0 -1
  21. package/dist/libs/ai-agent/dist/agent/contract-spec-agent.js +0 -18
  22. package/dist/libs/ai-agent/dist/agent/index.js +0 -2
  23. package/dist/libs/ai-agent/dist/approval/index.js +0 -1
  24. package/dist/libs/ai-agent/dist/approval/workflow.js +0 -1
  25. package/dist/libs/ai-agent/dist/index.js +0 -15
  26. package/dist/libs/ai-agent/dist/schema/index.js +0 -2
  27. package/dist/libs/ai-agent/dist/schema/json-schema-to-zod.js +0 -1
  28. package/dist/libs/ai-agent/dist/schema/schema-output.js +0 -3
  29. package/dist/libs/ai-agent/dist/spec/spec.js +0 -23
  30. package/dist/libs/ai-agent/dist/tools/index.js +0 -4
  31. package/dist/libs/ai-agent/dist/tools/knowledge-tool.js +0 -2
  32. package/dist/libs/ai-agent/dist/tools/mcp-client.js +0 -2
  33. package/dist/libs/ai-agent/dist/tools/mcp-server.js +0 -3
  34. package/dist/libs/ai-agent/dist/tools/tool-adapter.js +0 -2
  35. package/dist/libs/analytics/dist/churn/index.js +0 -1
  36. package/dist/libs/analytics/dist/churn/predictor.js +0 -1
  37. package/dist/libs/analytics/dist/cohort/index.js +0 -1
  38. package/dist/libs/analytics/dist/cohort/tracker.js +0 -1
  39. package/dist/libs/analytics/dist/index.js +0 -5
  40. package/dist/libs/analytics/dist/lifecycle/metric-collectors.js +0 -9
  41. package/dist/libs/lifecycle/dist/index.js +0 -5
  42. package/dist/libs/lifecycle/dist/types/axes.js +0 -28
  43. package/dist/libs/lifecycle/dist/types/milestones.js +0 -1
  44. package/dist/libs/lifecycle/dist/types/signals.js +0 -1
  45. package/dist/libs/lifecycle/dist/types/stages.js +0 -151
  46. package/dist/libs/lifecycle/dist/utils/formatters.js +0 -1
  47. package/dist/libs/observability/dist/index.js +0 -8
  48. package/dist/libs/observability/dist/intent/aggregator.js +0 -4
  49. package/dist/libs/observability/dist/intent/detector.js +0 -1
  50. package/dist/libs/observability/dist/lifecycle/dist/index.js +0 -4
  51. package/dist/libs/observability/dist/lifecycle/dist/types/milestones.js +0 -1
  52. package/dist/libs/observability/dist/lifecycle/dist/types/signals.js +0 -1
  53. package/dist/libs/observability/dist/lifecycle/dist/types/stages.js +0 -143
  54. package/dist/libs/observability/dist/lifecycle/dist/utils/formatters.js +0 -7
  55. package/dist/libs/observability/dist/logging/index.js +0 -39
  56. package/dist/libs/observability/dist/metrics/index.js +0 -25
  57. package/dist/libs/observability/dist/pipeline/evolution-pipeline.js +0 -3
  58. package/dist/libs/observability/dist/pipeline/lifecycle-pipeline.js +0 -73
  59. package/dist/libs/observability/dist/tracing/index.js +0 -1
  60. package/dist/libs/observability/dist/tracing/middleware.js +0 -2
  61. package/dist/modules/lifecycle-advisor/dist/ceremony/ceremony-designer.js +0 -17
  62. package/dist/modules/lifecycle-advisor/dist/data/library-stage-map.js +0 -90
  63. package/dist/modules/lifecycle-advisor/dist/data/stage-playbooks.js +0 -240
  64. package/dist/modules/lifecycle-advisor/dist/index.js +0 -3
  65. package/dist/modules/lifecycle-advisor/dist/libs/lifecycle/dist/index.js +0 -4
  66. package/dist/modules/lifecycle-advisor/dist/libs/lifecycle/dist/types/milestones.js +0 -1
  67. package/dist/modules/lifecycle-advisor/dist/libs/lifecycle/dist/types/signals.js +0 -1
  68. package/dist/modules/lifecycle-advisor/dist/libs/lifecycle/dist/types/stages.js +0 -143
  69. package/dist/modules/lifecycle-advisor/dist/libs/lifecycle/dist/utils/formatters.js +0 -1
  70. package/dist/modules/lifecycle-advisor/dist/recommendations/library-recommender.js +0 -19
  71. package/dist/modules/lifecycle-advisor/dist/recommendations/recommendation-engine.js +0 -46
  72. package/dist/modules/lifecycle-core/dist/collectors/signal-collector.js +0 -65
  73. package/dist/modules/lifecycle-core/dist/data/milestones-catalog.js +0 -73
  74. package/dist/modules/lifecycle-core/dist/data/stage-weights.js +0 -169
  75. package/dist/modules/lifecycle-core/dist/index.js +0 -4
  76. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/index.js +0 -4
  77. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/types/axes.js +0 -28
  78. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/types/milestones.js +0 -1
  79. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/types/signals.js +0 -1
  80. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/types/stages.js +0 -143
  81. package/dist/modules/lifecycle-core/dist/libs/lifecycle/dist/utils/formatters.js +0 -1
  82. package/dist/modules/lifecycle-core/dist/orchestrator/lifecycle-orchestrator.js +0 -53
  83. package/dist/modules/lifecycle-core/dist/planning/milestone-planner.js +0 -16
  84. package/dist/modules/lifecycle-core/dist/scoring/stage-scorer.js +0 -64
  85. package/dist/services/assessment-service.js +0 -72
@@ -1 +0,0 @@
1
- import "node:crypto";
@@ -1,4 +0,0 @@
1
- import "./types/stages.js";
2
- import "./utils/formatters.js";
3
- import "./types/signals.js";
4
- import "./types/milestones.js";
@@ -1 +0,0 @@
1
- import "./stages.js";
@@ -1 +0,0 @@
1
- import "./stages.js";
@@ -1,143 +0,0 @@
1
- //#region ../../libs/observability/dist/lifecycle/dist/types/stages.mjs
2
- let LifecycleStage = /* @__PURE__ */ function(LifecycleStage$1) {
3
- LifecycleStage$1[LifecycleStage$1["Exploration"] = 0] = "Exploration";
4
- LifecycleStage$1[LifecycleStage$1["ProblemSolutionFit"] = 1] = "ProblemSolutionFit";
5
- LifecycleStage$1[LifecycleStage$1["MvpEarlyTraction"] = 2] = "MvpEarlyTraction";
6
- LifecycleStage$1[LifecycleStage$1["ProductMarketFit"] = 3] = "ProductMarketFit";
7
- LifecycleStage$1[LifecycleStage$1["GrowthScaleUp"] = 4] = "GrowthScaleUp";
8
- LifecycleStage$1[LifecycleStage$1["ExpansionPlatform"] = 5] = "ExpansionPlatform";
9
- LifecycleStage$1[LifecycleStage$1["MaturityRenewal"] = 6] = "MaturityRenewal";
10
- return LifecycleStage$1;
11
- }({});
12
- LifecycleStage.Exploration, LifecycleStage.ProblemSolutionFit, LifecycleStage.MvpEarlyTraction, LifecycleStage.ProductMarketFit, LifecycleStage.GrowthScaleUp, LifecycleStage.ExpansionPlatform, LifecycleStage.MaturityRenewal;
13
- const LIFECYCLE_STAGE_META = {
14
- [LifecycleStage.Exploration]: {
15
- id: LifecycleStage.Exploration,
16
- order: 0,
17
- slug: "exploration",
18
- name: "Exploration / Ideation",
19
- question: "Is there a problem worth my time?",
20
- signals: [
21
- "20+ discovery interviews",
22
- "Clear problem statement",
23
- "Named ICP"
24
- ],
25
- traps: ["Branding before discovery", "Premature tooling decisions"],
26
- focusAreas: [
27
- "Customer discovery",
28
- "Problem definition",
29
- "Segment clarity"
30
- ]
31
- },
32
- [LifecycleStage.ProblemSolutionFit]: {
33
- id: LifecycleStage.ProblemSolutionFit,
34
- order: 1,
35
- slug: "problem-solution-fit",
36
- name: "Problemโ€“Solution Fit",
37
- question: "Do people care enough about this solution?",
38
- signals: [
39
- "Prototype reuse",
40
- "Referral energy",
41
- "Pre-pay interest"
42
- ],
43
- traps: ["โ€œMarket is hugeโ€ without users", "Skipping qualitative loops"],
44
- focusAreas: [
45
- "Solution hypothesis",
46
- "Value messaging",
47
- "Feedback capture"
48
- ]
49
- },
50
- [LifecycleStage.MvpEarlyTraction]: {
51
- id: LifecycleStage.MvpEarlyTraction,
52
- order: 2,
53
- slug: "mvp-early-traction",
54
- name: "MVP & Early Traction",
55
- question: "Can we get real usage and learn fast?",
56
- signals: [
57
- "20โ€“50 named active users",
58
- "Weekly releases",
59
- "Noisy feedback"
60
- ],
61
- traps: ["Overbuilt infra for 10 users", "Undefined retention metric"],
62
- focusAreas: [
63
- "Activation",
64
- "Cohort tracking",
65
- "Feedback rituals"
66
- ]
67
- },
68
- [LifecycleStage.ProductMarketFit]: {
69
- id: LifecycleStage.ProductMarketFit,
70
- order: 3,
71
- slug: "product-market-fit",
72
- name: "Productโ€“Market Fit",
73
- question: "Is this pulling us forward?",
74
- signals: [
75
- "Retention without heroics",
76
- "Organic word-of-mouth",
77
- "Value stories"
78
- ],
79
- traps: ["Hero growth that does not scale", "Ignoring churn signals"],
80
- focusAreas: [
81
- "Retention",
82
- "Reliability",
83
- "ICP clarity"
84
- ]
85
- },
86
- [LifecycleStage.GrowthScaleUp]: {
87
- id: LifecycleStage.GrowthScaleUp,
88
- order: 4,
89
- slug: "growth-scale-up",
90
- name: "Growth / Scale-up",
91
- question: "Can we grow this repeatably?",
92
- signals: [
93
- "Predictable channels",
94
- "Specialized hires",
95
- "Unit economics on track"
96
- ],
97
- traps: ["Paid spend masking retention gaps", "Infra debt blocking launches"],
98
- focusAreas: [
99
- "Ops systems",
100
- "Growth loops",
101
- "Reliability engineering"
102
- ]
103
- },
104
- [LifecycleStage.ExpansionPlatform]: {
105
- id: LifecycleStage.ExpansionPlatform,
106
- order: 5,
107
- slug: "expansion-platform",
108
- name: "Expansion / Platform",
109
- question: "What is the next growth curve?",
110
- signals: [
111
- "Stable core metrics",
112
- "Partner/API demand",
113
- "Ecosystem pull"
114
- ],
115
- traps: ["Platform theater before wedge is solid"],
116
- focusAreas: [
117
- "Partnerships",
118
- "APIs",
119
- "New market validation"
120
- ]
121
- },
122
- [LifecycleStage.MaturityRenewal]: {
123
- id: LifecycleStage.MaturityRenewal,
124
- order: 6,
125
- slug: "maturity-renewal",
126
- name: "Maturity / Renewal",
127
- question: "Optimize, reinvent, or sunset?",
128
- signals: [
129
- "Margin focus",
130
- "Portfolio bets",
131
- "Narrative refresh"
132
- ],
133
- traps: ["Assuming past success is enough"],
134
- focusAreas: [
135
- "Cost optimization",
136
- "Reinvention bets",
137
- "Sunset planning"
138
- ]
139
- }
140
- };
141
-
142
- //#endregion
143
- export { LIFECYCLE_STAGE_META };
@@ -1,7 +0,0 @@
1
- import { LIFECYCLE_STAGE_META } from "../types/stages.js";
2
-
3
- //#region ../../libs/observability/dist/lifecycle/dist/utils/formatters.mjs
4
- const getStageLabel = (stage) => LIFECYCLE_STAGE_META[stage].name;
5
-
6
- //#endregion
7
- export { getStageLabel };
@@ -1,39 +0,0 @@
1
- import { context, trace } from "@opentelemetry/api";
2
-
3
- //#region ../../libs/observability/dist/logging/index.mjs
4
- var Logger = class {
5
- constructor(serviceName) {
6
- this.serviceName = serviceName;
7
- }
8
- log(level, message, meta = {}) {
9
- const span = trace.getSpan(context.active());
10
- const traceId = span?.spanContext().traceId;
11
- const spanId = span?.spanContext().spanId;
12
- const entry = {
13
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
14
- service: this.serviceName,
15
- level,
16
- message,
17
- traceId,
18
- spanId,
19
- ...meta
20
- };
21
- console.log(JSON.stringify(entry));
22
- }
23
- debug(message, meta) {
24
- this.log("debug", message, meta);
25
- }
26
- info(message, meta) {
27
- this.log("info", message, meta);
28
- }
29
- warn(message, meta) {
30
- this.log("warn", message, meta);
31
- }
32
- error(message, meta) {
33
- this.log("error", message, meta);
34
- }
35
- };
36
- const logger = new Logger(process.env.OTEL_SERVICE_NAME || "unknown-service");
37
-
38
- //#endregion
39
- export { Logger };
@@ -1,25 +0,0 @@
1
- import { metrics } from "@opentelemetry/api";
2
-
3
- //#region ../../libs/observability/dist/metrics/index.mjs
4
- const DEFAULT_METER_NAME = "@lssm/lib.observability";
5
- function getMeter(name = DEFAULT_METER_NAME) {
6
- return metrics.getMeter(name);
7
- }
8
- function createCounter(name, description, meterName) {
9
- return getMeter(meterName).createCounter(name, { description });
10
- }
11
- function createUpDownCounter(name, description, meterName) {
12
- return getMeter(meterName).createUpDownCounter(name, { description });
13
- }
14
- function createHistogram(name, description, meterName) {
15
- return getMeter(meterName).createHistogram(name, { description });
16
- }
17
- const standardMetrics = {
18
- httpRequests: createCounter("http_requests_total", "Total HTTP requests"),
19
- httpDuration: createHistogram("http_request_duration_seconds", "HTTP request duration"),
20
- operationErrors: createCounter("operation_errors_total", "Total operation errors"),
21
- workflowDuration: createHistogram("workflow_duration_seconds", "Workflow execution duration")
22
- };
23
-
24
- //#endregion
25
- export { createCounter, createHistogram, createUpDownCounter, getMeter };
@@ -1,3 +0,0 @@
1
- import "../intent/aggregator.js";
2
- import "../intent/detector.js";
3
- import { EventEmitter } from "node:events";
@@ -1,73 +0,0 @@
1
- import { createCounter, createHistogram, createUpDownCounter } from "../metrics/index.js";
2
- import { getStageLabel } from "../lifecycle/dist/utils/formatters.js";
3
- import "../lifecycle/dist/index.js";
4
- import { EventEmitter } from "node:events";
5
-
6
- //#region ../../libs/observability/dist/pipeline/lifecycle-pipeline.mjs
7
- var LifecycleKpiPipeline = class {
8
- assessmentCounter;
9
- confidenceHistogram;
10
- stageUpDownCounter;
11
- emitter;
12
- lowConfidenceThreshold;
13
- currentStageByTenant = /* @__PURE__ */ new Map();
14
- constructor(options = {}) {
15
- const meterName = options.meterName ?? "@lssm/lib.lifecycle-kpi";
16
- this.assessmentCounter = createCounter("lifecycle_assessments_total", "Total lifecycle assessments", meterName);
17
- this.confidenceHistogram = createHistogram("lifecycle_assessment_confidence", "Lifecycle assessment confidence distribution", meterName);
18
- this.stageUpDownCounter = createUpDownCounter("lifecycle_stage_tenants", "Current tenants per lifecycle stage", meterName);
19
- this.emitter = options.emitter ?? new EventEmitter();
20
- this.lowConfidenceThreshold = options.lowConfidenceThreshold ?? .4;
21
- }
22
- recordAssessment(assessment, tenantId) {
23
- const attributes = {
24
- stage: getStageLabel(assessment.stage),
25
- tenantId
26
- };
27
- this.assessmentCounter.add(1, attributes);
28
- this.confidenceHistogram.record(assessment.confidence, attributes);
29
- this.ensureStageCounters(assessment.stage, tenantId);
30
- this.emitter.emit("event", {
31
- type: "assessment.recorded",
32
- payload: {
33
- tenantId,
34
- stage: assessment.stage
35
- }
36
- });
37
- if (assessment.confidence < this.lowConfidenceThreshold) this.emitter.emit("event", {
38
- type: "confidence.low",
39
- payload: {
40
- tenantId,
41
- confidence: assessment.confidence
42
- }
43
- });
44
- }
45
- on(listener) {
46
- this.emitter.on("event", listener);
47
- }
48
- ensureStageCounters(stage, tenantId) {
49
- if (!tenantId) return;
50
- const previous = this.currentStageByTenant.get(tenantId);
51
- if (previous === stage) return;
52
- if (previous !== void 0) this.stageUpDownCounter.add(-1, {
53
- stage: getStageLabel(previous),
54
- tenantId
55
- });
56
- this.stageUpDownCounter.add(1, {
57
- stage: getStageLabel(stage),
58
- tenantId
59
- });
60
- this.currentStageByTenant.set(tenantId, stage);
61
- this.emitter.emit("event", {
62
- type: "stage.changed",
63
- payload: {
64
- tenantId,
65
- previousStage: previous,
66
- nextStage: stage
67
- }
68
- });
69
- }
70
- };
71
-
72
- //#endregion
73
- export { LifecycleKpiPipeline };
@@ -1 +0,0 @@
1
- import { trace } from "@opentelemetry/api";
@@ -1,2 +0,0 @@
1
- import "./index.js";
2
- import "../metrics/index.js";
@@ -1,17 +0,0 @@
1
- import "../libs/lifecycle/dist/index.js";
2
- import { stage_playbooks_default } from "../data/stage-playbooks.js";
3
-
4
- //#region ../../modules/lifecycle-advisor/dist/ceremony/ceremony-designer.js
5
- const CEREMONY_MAP = new Map(stage_playbooks_default.map((entry) => [entry.stage, entry.ceremony]));
6
- var LifecycleCeremonyDesigner = class {
7
- ceremonies;
8
- constructor(overrides) {
9
- this.ceremonies = overrides?.length ? new Map(overrides.map((entry) => [entry.stage, entry.ceremony])) : CEREMONY_MAP;
10
- }
11
- design(stage) {
12
- return this.ceremonies.get(stage);
13
- }
14
- };
15
-
16
- //#endregion
17
- export { LifecycleCeremonyDesigner };
@@ -1,90 +0,0 @@
1
- //#region ../../modules/lifecycle-advisor/dist/data/library-stage-map.js
2
- var library_stage_map_default = [
3
- {
4
- stage: 0,
5
- items: [{
6
- id: "@lssm/lib.content-gen",
7
- type: "library",
8
- description: "Summarize interviews and synthesize IC insights."
9
- }, {
10
- id: "@lssm/lib.presentation-runtime",
11
- type: "library",
12
- description: "Craft low-fi storyboards without custom code."
13
- }]
14
- },
15
- {
16
- stage: 1,
17
- items: [{
18
- id: "@lssm/lib.progressive-delivery",
19
- type: "library",
20
- description: "Gate prototype features behind lightweight flags."
21
- }, {
22
- id: "@lssm/module.lifecycle-core",
23
- type: "module",
24
- description: "Capture questionnaire signals for early scoring."
25
- }]
26
- },
27
- {
28
- stage: 2,
29
- items: [{
30
- id: "@lssm/lib.analytics",
31
- type: "library",
32
- description: "Instrument activation paths + cohorts."
33
- }, {
34
- id: "@lssm/lib.observability",
35
- type: "library",
36
- description: "Collect minimum viable traces and metrics."
37
- }]
38
- },
39
- {
40
- stage: 3,
41
- items: [{
42
- id: "@lssm/lib.evolution",
43
- type: "library",
44
- description: "Auto-detect contract gaps and spec improvements."
45
- }, {
46
- id: "@lssm/module.lifecycle-advisor",
47
- type: "module",
48
- description: "Generate retention-focused guidance at scale."
49
- }]
50
- },
51
- {
52
- stage: 4,
53
- items: [{
54
- id: "@lssm/lib.growth",
55
- type: "library",
56
- description: "Experiment orchestration with guardrails."
57
- }, {
58
- id: "@lssm/lib.resilience",
59
- type: "library",
60
- description: "Stabilize infra and SLOs as teams split."
61
- }]
62
- },
63
- {
64
- stage: 5,
65
- items: [{
66
- id: "@lssm/lib.workflow-composer",
67
- type: "library",
68
- description: "Automate partner workflows and integrations."
69
- }, {
70
- id: "@lssm/bundle.contractspec-studio",
71
- type: "bundle",
72
- description: "Expose managed partner onboarding via Studio."
73
- }]
74
- },
75
- {
76
- stage: 6,
77
- items: [{
78
- id: "@lssm/lib.cost-tracking",
79
- type: "library",
80
- description: "Model margin scenarios and reinvestment bets."
81
- }, {
82
- id: "@lssm/lib.workflow-composer",
83
- type: "library",
84
- description: "Standardize renewal rituals and automation."
85
- }]
86
- }
87
- ];
88
-
89
- //#endregion
90
- export { library_stage_map_default };
@@ -1,240 +0,0 @@
1
- import { LifecycleStage } from "../libs/lifecycle/dist/types/stages.js";
2
- import "../libs/lifecycle/dist/index.js";
3
-
4
- //#region ../../modules/lifecycle-advisor/dist/data/stage-playbooks.js
5
- var stage_playbooks_default = [
6
- {
7
- stage: LifecycleStage.Exploration,
8
- focusAreas: [
9
- "Discovery",
10
- "Problem clarity",
11
- "Persona"
12
- ],
13
- actions: [{
14
- id: "stage0-interview-burst",
15
- stage: LifecycleStage.Exploration,
16
- title: "Run a 5-day interview burst",
17
- description: "Schedule at least 5 back-to-back interviews and capture raw quotes.",
18
- priority: 1,
19
- estimatedImpact: "medium",
20
- effortLevel: "m",
21
- category: "product",
22
- recommendedLibraries: ["@lssm/lib.content-gen"]
23
- }, {
24
- id: "stage0-problem-story",
25
- stage: LifecycleStage.Exploration,
26
- title: "Write the problem story",
27
- description: "Summarize the pain in one paragraph you can repeat to partners.",
28
- priority: 2,
29
- estimatedImpact: "low",
30
- effortLevel: "s",
31
- category: "product"
32
- }],
33
- ceremony: {
34
- title: "Discovery Spark",
35
- copy: "Share the sharpest pain quote with your crew. Frame it, celebrate focus.",
36
- cues: ["๐Ÿ”Ž", "๐Ÿ—’๏ธ"]
37
- }
38
- },
39
- {
40
- stage: LifecycleStage.ProblemSolutionFit,
41
- focusAreas: [
42
- "Prototype",
43
- "Feedback",
44
- "Value proof"
45
- ],
46
- actions: [{
47
- id: "stage1-demo-loop",
48
- stage: LifecycleStage.ProblemSolutionFit,
49
- title: "Prototype feedback loop",
50
- description: "Ship a low-fidelity prototype and collect 3 rounds of reactions.",
51
- priority: 1,
52
- estimatedImpact: "medium",
53
- effortLevel: "m",
54
- category: "product",
55
- recommendedLibraries: ["@lssm/lib.progressive-delivery"]
56
- }, {
57
- id: "stage1-referrals",
58
- stage: LifecycleStage.ProblemSolutionFit,
59
- title: "Capture referral signals",
60
- description: "Ask each tester who else should see the demo.",
61
- priority: 2,
62
- estimatedImpact: "low",
63
- effortLevel: "s",
64
- category: "growth"
65
- }],
66
- ceremony: {
67
- title: "Solution Resonance",
68
- copy: "Record a short screen share telling the before/after story to your future self.",
69
- cues: ["๐ŸŽค", "โœจ"]
70
- }
71
- },
72
- {
73
- stage: LifecycleStage.MvpEarlyTraction,
74
- focusAreas: [
75
- "Activation",
76
- "Telemetry",
77
- "Feedback"
78
- ],
79
- actions: [{
80
- id: "stage2-activation",
81
- stage: LifecycleStage.MvpEarlyTraction,
82
- title: "Define activation checklist",
83
- description: "Document the 3 steps users must finish to get value.",
84
- priority: 1,
85
- estimatedImpact: "high",
86
- effortLevel: "m",
87
- category: "operations",
88
- recommendedLibraries: ["@lssm/lib.analytics", "@lssm/lib.observability"]
89
- }, {
90
- id: "stage2-weekly-sync",
91
- stage: LifecycleStage.MvpEarlyTraction,
92
- title: "Weekly user sync",
93
- description: "Host a standing call with your 5 most active testers.",
94
- priority: 2,
95
- estimatedImpact: "medium",
96
- effortLevel: "m",
97
- category: "company"
98
- }],
99
- ceremony: {
100
- title: "Traction Toast",
101
- copy: "Toast your first 20 real usersโ€”say their names, tell them why they matter.",
102
- cues: ["๐Ÿฅ‚", "๐Ÿ“ฃ"]
103
- }
104
- },
105
- {
106
- stage: LifecycleStage.ProductMarketFit,
107
- focusAreas: [
108
- "Retention",
109
- "Reliability",
110
- "Story"
111
- ],
112
- actions: [{
113
- id: "stage3-retention-study",
114
- stage: LifecycleStage.ProductMarketFit,
115
- title: "Run a retention study",
116
- description: "Interview 3 retained users and publish their before/after metrics.",
117
- priority: 1,
118
- estimatedImpact: "high",
119
- effortLevel: "m",
120
- category: "product",
121
- recommendedLibraries: ["@lssm/lib.evolution"]
122
- }, {
123
- id: "stage3-incident-review",
124
- stage: LifecycleStage.ProductMarketFit,
125
- title: "Lightweight incident review",
126
- description: "Review the last 2 reliability hiccups and capture fixes.",
127
- priority: 2,
128
- estimatedImpact: "medium",
129
- effortLevel: "s",
130
- category: "operations"
131
- }],
132
- ceremony: {
133
- title: "PMF Signal Fire",
134
- copy: "Write a letter to your future Series A self describing the pull you feel today.",
135
- cues: ["๐Ÿ”ฅ", "๐Ÿ“ฌ"]
136
- }
137
- },
138
- {
139
- stage: LifecycleStage.GrowthScaleUp,
140
- focusAreas: [
141
- "Systems",
142
- "Growth loops",
143
- "Specialization"
144
- ],
145
- actions: [{
146
- id: "stage4-growth-loop",
147
- stage: LifecycleStage.GrowthScaleUp,
148
- title: "Codify a growth loop",
149
- description: "Choose one loop (SEO, referrals, outbound) and document owners + inputs.",
150
- priority: 1,
151
- estimatedImpact: "high",
152
- effortLevel: "l",
153
- category: "growth",
154
- recommendedLibraries: ["@lssm/lib.growth", "@lssm/lib.resilience"]
155
- }, {
156
- id: "stage4-hiring-map",
157
- stage: LifecycleStage.GrowthScaleUp,
158
- title: "Create hiring map",
159
- description: "List specialized roles you need in the next 2 quarters.",
160
- priority: 2,
161
- estimatedImpact: "medium",
162
- effortLevel: "m",
163
- category: "company"
164
- }],
165
- ceremony: {
166
- title: "Scale Systems",
167
- copy: "Invite the team to map the journey from first user to repeatable machine.",
168
- cues: ["๐Ÿ—บ๏ธ", "โš™๏ธ"]
169
- }
170
- },
171
- {
172
- stage: LifecycleStage.ExpansionPlatform,
173
- focusAreas: [
174
- "Partners",
175
- "APIs",
176
- "Expansion bets"
177
- ],
178
- actions: [{
179
- id: "stage5-partner-brief",
180
- stage: LifecycleStage.ExpansionPlatform,
181
- title: "Partner readiness brief",
182
- description: "Document partner types, value props, and onboarding steps.",
183
- priority: 1,
184
- estimatedImpact: "high",
185
- effortLevel: "m",
186
- category: "product",
187
- recommendedLibraries: ["@lssm/lib.workflow-composer"]
188
- }, {
189
- id: "stage5-experiment-portfolio",
190
- stage: LifecycleStage.ExpansionPlatform,
191
- title: "Expansion experiment portfolio",
192
- description: "List the top 3 markets or product lines with owners.",
193
- priority: 2,
194
- estimatedImpact: "medium",
195
- effortLevel: "m",
196
- category: "growth"
197
- }],
198
- ceremony: {
199
- title: "Platform Threshold",
200
- copy: "Host a partner circleโ€”invite allies to share what they need from your platform.",
201
- cues: ["๐Ÿค", "๐ŸŒ"]
202
- }
203
- },
204
- {
205
- stage: LifecycleStage.MaturityRenewal,
206
- focusAreas: [
207
- "Optimization",
208
- "Renewal",
209
- "Portfolio"
210
- ],
211
- actions: [{
212
- id: "stage6-cost-review",
213
- stage: LifecycleStage.MaturityRenewal,
214
- title: "Run a cost-to-value review",
215
- description: "Audit each major surface for margin impact.",
216
- priority: 1,
217
- estimatedImpact: "high",
218
- effortLevel: "m",
219
- category: "operations",
220
- recommendedLibraries: ["@lssm/lib.cost-tracking"]
221
- }, {
222
- id: "stage6-renewal-bet",
223
- stage: LifecycleStage.MaturityRenewal,
224
- title: "Define the renewal bet",
225
- description: "Choose one reinvention or sunset track and set checkpoints.",
226
- priority: 2,
227
- estimatedImpact: "medium",
228
- effortLevel: "m",
229
- category: "product"
230
- }],
231
- ceremony: {
232
- title: "Renewal Summit",
233
- copy: "Pause to honor what got you here, then commit publicly to the next reinvention.",
234
- cues: ["๐Ÿ”๏ธ", "๐Ÿ”"]
235
- }
236
- }
237
- ];
238
-
239
- //#endregion
240
- export { stage_playbooks_default };
@@ -1,3 +0,0 @@
1
- import { LifecycleRecommendationEngine } from "./recommendations/recommendation-engine.js";
2
- import { ContractSpecLibraryRecommender } from "./recommendations/library-recommender.js";
3
- import { LifecycleCeremonyDesigner } from "./ceremony/ceremony-designer.js";
@@ -1,4 +0,0 @@
1
- import "./types/stages.js";
2
- import "./types/signals.js";
3
- import "./types/milestones.js";
4
- import "./utils/formatters.js";