@productbrain/mcp 0.0.1-beta.8945 → 0.0.1-beta.8955

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.
@@ -234,12 +234,17 @@ function sanitizeSingleLineField(str) {
234
234
  }
235
235
 
236
236
  // src/lib/ownerLine.ts
237
+ function ownerLineParts(owner) {
238
+ return owner.kind === "one" ? { role: owner.role.name, team: owner.team.name } : null;
239
+ }
237
240
  function formatOwnerLine(owner, options = {}) {
238
241
  const ids = options.ids ?? true;
239
242
  const label = options.label ?? "Owner:";
240
243
  switch (owner.kind) {
241
- case "one":
242
- return `${label} ${owner.role.name} in ${owner.team.name}`;
244
+ case "one": {
245
+ const { role, team } = ownerLineParts(owner);
246
+ return `${label} ${role} in ${team}`;
247
+ }
243
248
  case "none":
244
249
  return `${label} none`;
245
250
  case "many":
@@ -1158,16 +1163,33 @@ function buildCaptureForRealNextAction(payload) {
1158
1163
 
1159
1164
  // src/lib/checklist.ts
1160
1165
  var CHECKLIST_LINES = {
1161
- strategy: {
1162
- coherent_narrative: "Connect the diagnosis, the policy and the first actions (40+ words)",
1163
- decisiveness: "Say what you will not do",
1164
- time_bounded: "Name a horizon: a date, a duration or a milestone"
1166
+ purpose: {
1167
+ stranger_test: "Explain it so a stranger knows why this company exists",
1168
+ specificity: "Say what would be missing from the world without this company",
1169
+ not_a_platitude: "Say something a reasonable company would not also claim",
1170
+ beneficiary_named: "Name who the company exists for: a role, a persona or a segment",
1171
+ durable_not_dated: "Leave out dates and planning cycles; those belong on goals"
1165
1172
  },
1166
1173
  vision: {
1167
- specificity: "Say what will be different, in words only this product could use (15+ words)",
1174
+ specificity: "Say what will be different, in words only this product could use",
1168
1175
  beneficiary: "Name who benefits: a role, a persona or a segment",
1169
1176
  falsifiability: "Choose a direction a reasonable rival would reject",
1170
- stranger_test: "Explain it so a stranger knows what you build (20+ words)"
1177
+ stranger_test: "Explain it so a stranger knows what will be different, and for whom"
1178
+ },
1179
+ strategy: {
1180
+ coherent_narrative: "Connect the diagnosis, the policy and the first actions",
1181
+ decisiveness: "Say what you will not do",
1182
+ time_bounded: "Name a horizon: a date, a duration or a milestone"
1183
+ },
1184
+ objective: {
1185
+ outcome_not_activity: "State what will be true once it is met, not the work to do",
1186
+ serves_strategy: "Say what must be true for the strategy to succeed",
1187
+ observable: "Make it something a reader could see has happened"
1188
+ },
1189
+ key_result: {
1190
+ measurable: "Name a measure and the target value or state",
1191
+ bounded: "Say by when, or how often, the measure is read",
1192
+ moves_the_objective: "Pick a result that shows the objective is happening, not that work was done"
1171
1193
  },
1172
1194
  /** One line per spine rung, keyed by the rung it reaches (kernel/strategy/spineTrace.ts order). */
1173
1195
  strategy_link: {
@@ -13590,4 +13612,4 @@ export {
13590
13612
  createProductBrainServer,
13591
13613
  initFeatureFlags
13592
13614
  };
13593
- //# sourceMappingURL=chunk-VCTEGRTF.js.map
13615
+ //# sourceMappingURL=chunk-AXHFX5FE.js.map