create-pmos 0.395.0 → 0.397.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.
Files changed (100) hide show
  1. package/package.json +25 -30
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/scripts/nine-stages.js +49 -20
  6. package/payload/state/discoveries.md +1 -1
  7. package/workspace/briefing-premium-adddoc-test.js +20 -40
  8. package/workspace/briefing-premium-board-test.js +145 -107
  9. package/workspace/briefing-premium-calendar-2-test.js +5 -2
  10. package/workspace/briefing-premium-calendar-3-test.js +13 -8
  11. package/workspace/briefing-premium-calendar-test.js +16 -5
  12. package/workspace/briefing-premium-initiative-test.js +50 -41
  13. package/workspace/briefing-premium-insights-test.js +104 -85
  14. package/workspace/briefing-premium-metrics-test.js +11 -32
  15. package/workspace/briefing-premium-sources-test.js +42 -21
  16. package/workspace/briefing-premium-test.js +112 -98
  17. package/workspace/briefing-premium-work-test.js +78 -64
  18. package/workspace/changelog.json +24 -0
  19. package/workspace/fixtures/board-premium-facts.js +2 -1
  20. package/workspace/fixtures/board-premium-jira.js +28 -0
  21. package/workspace/fixtures/initiative-premium-facts.js +2 -1
  22. package/workspace/fixtures/initiatives-api/list.json +30 -42
  23. package/workspace/fixtures/initiatives-api/roadmap.json +40 -56
  24. package/workspace/fixtures/initiatives-api/sheet.json +10 -14
  25. package/workspace/fixtures/insights-premium-facts.js +11 -2
  26. package/workspace/guide/briefing-premium.md +3 -1
  27. package/workspace/guide/index.md +1 -0
  28. package/workspace/guide/lifecycle.md +51 -0
  29. package/workspace/home-shot.js +38 -0
  30. package/workspace/lib/board-premium.js +92 -1
  31. package/workspace/lib/engine/boards.js +15 -14
  32. package/workspace/lib/engine/nine-stages.js +49 -20
  33. package/workspace/lib/engine/signals/detectors.js +13 -11
  34. package/workspace/lib/insights-premium.js +78 -1
  35. package/workspace/lib/routes-board-premium.js +3 -2
  36. package/workspace/lib/routes-initiatives.js +1 -1
  37. package/workspace/lib/routes-insights-premium.js +8 -1
  38. package/workspace/lib/vendor/scripts/nine-stages.js +49 -20
  39. package/workspace/package-lock.json +2 -2
  40. package/workspace/package.json +1 -1
  41. package/workspace/premium-agreed-viewer-shots.js +76 -0
  42. package/workspace/premium-board-actions-test.js +2 -0
  43. package/workspace/premium-chat-chart-tab-test.js +6 -5
  44. package/workspace/premium-chat-context-test.js +8 -6
  45. package/workspace/premium-chat-goal-view-test.js +9 -7
  46. package/workspace/premium-chat-notes-test.js +3 -2
  47. package/workspace/premium-chat-report-tab-test.js +8 -2
  48. package/workspace/premium-chat-term-test.js +3 -1
  49. package/workspace/premium-chat-viewer-test.js +23 -17
  50. package/workspace/premium-core-doc-issue-test.js +2 -0
  51. package/workspace/premium-html-viewer-test.js +4 -2
  52. package/workspace/premium-phone-card-test.js +1 -0
  53. package/workspace/premium-phone-room-test.js +16 -11
  54. package/workspace/premium-report-read-test.js +1 -1
  55. package/workspace/premium-vw-backlog-test.js +2 -0
  56. package/workspace/premium-vw-cal-test.js +9 -4
  57. package/workspace/premium-vw-doc-test.js +1 -1
  58. package/workspace/premium-vw-item-test.js +1 -0
  59. package/workspace/premium-vw-jira-test.js +4 -1
  60. package/workspace/premium-vw-notes-test.js +2 -1
  61. package/workspace/premium-vw-rec-test.js +3 -2
  62. package/workspace/premium-vw-slides-test.js +2 -2
  63. package/workspace/premium-work-depth-test.js +7 -3
  64. package/workspace/public/pm/bd-span.js +120 -0
  65. package/workspace/public/pm/bd-stages.js +33 -0
  66. package/workspace/public/pm/cozy-board.css +373 -0
  67. package/workspace/public/pm/cozy-home.css +152 -0
  68. package/workspace/public/pm/cozy-home.js +170 -0
  69. package/workspace/public/pm/cozy-initiative.css +138 -0
  70. package/workspace/public/pm/cozy-insights.css +292 -0
  71. package/workspace/public/pm/cozy-nav.js +54 -0
  72. package/workspace/public/pm/cozy-viewer.css +143 -0
  73. package/workspace/public/pm/cozy.css +172 -0
  74. package/workspace/public/pm/lifecycle-lens-model.js +45 -27
  75. package/workspace/public/pm/lifecycle-lens.js +22 -11
  76. package/workspace/public/pm/premium-board.js +329 -67
  77. package/workspace/public/pm/premium-brief.js +1 -1
  78. package/workspace/public/pm/premium-chat.js +17 -10
  79. package/workspace/public/pm/premium-initiative-head.js +138 -0
  80. package/workspace/public/pm/premium-initiative.js +28 -4
  81. package/workspace/public/pm/premium-insights.js +530 -244
  82. package/workspace/public/pm/premium-shell.js +40 -10
  83. package/workspace/public/pm/premium-viewer.js +5 -0
  84. package/workspace/public/pm/premium-vw-jira-model.js +22 -5
  85. package/workspace/public/pm/premium-vw-jira.css +11 -0
  86. package/workspace/public/pm/premium-vw-jira.js +11 -4
  87. package/workspace/public/pm/premium-vw-rec.js +5 -2
  88. package/workspace/public/pm/premium-wide.css +30 -0
  89. package/workspace/public/pm/premium-work.js +18 -8
  90. package/workspace/public/pm/premium.js +19 -6
  91. package/workspace/public/premium-board.html +83 -47
  92. package/workspace/public/premium-chat.html +7 -32
  93. package/workspace/public/premium-initiative.html +16 -8
  94. package/workspace/public/premium-insights.html +83 -43
  95. package/workspace/public/premium-work.html +6 -71
  96. package/workspace/public/premium.html +62 -15
  97. package/workspace/public/vendor/nunito-var.woff2 +0 -0
  98. package/workspace/server.js +7 -0
  99. package/workspace/test-lists/premium-agreed-viewer.json +9 -0
  100. package/workspace/third-party/README.md +1 -0
@@ -72,20 +72,20 @@
72
72
  "last_activity": "2026-10-04T09:00:00Z",
73
73
  "nine_stages": [
74
74
  {
75
- "key": "discover",
76
- "label": "Discover",
75
+ "key": "triage",
76
+ "label": "Triage",
77
77
  "status": "pending",
78
78
  "accepted": false
79
79
  },
80
80
  {
81
- "key": "ideate",
82
- "label": "Ideate",
81
+ "key": "discover",
82
+ "label": "Discover",
83
83
  "status": "pending",
84
84
  "accepted": false
85
85
  },
86
86
  {
87
- "key": "strategize",
88
- "label": "Strategize",
87
+ "key": "plan",
88
+ "label": "Plan",
89
89
  "status": "pending",
90
90
  "accepted": false
91
91
  },
@@ -95,12 +95,6 @@
95
95
  "status": "pending",
96
96
  "accepted": false
97
97
  },
98
- {
99
- "key": "plan",
100
- "label": "Plan",
101
- "status": "pending",
102
- "accepted": false
103
- },
104
98
  {
105
99
  "key": "build",
106
100
  "label": "Build",
@@ -111,7 +105,8 @@
111
105
  "key": "deliver",
112
106
  "label": "Deliver",
113
107
  "status": "pending",
114
- "accepted": false
108
+ "accepted": false,
109
+ "milestone": true
115
110
  },
116
111
  {
117
112
  "key": "monitor",
@@ -123,7 +118,8 @@
123
118
  "key": "evaluate",
124
119
  "label": "Evaluate",
125
120
  "status": "pending",
126
- "accepted": false
121
+ "accepted": false,
122
+ "milestone": true
127
123
  }
128
124
  ]
129
125
  }
@@ -183,20 +179,20 @@
183
179
  "last_activity": "2026-09-29T15:00:00Z",
184
180
  "nine_stages": [
185
181
  {
186
- "key": "discover",
187
- "label": "Discover",
182
+ "key": "triage",
183
+ "label": "Triage",
188
184
  "status": "pending",
189
185
  "accepted": false
190
186
  },
191
187
  {
192
- "key": "ideate",
193
- "label": "Ideate",
188
+ "key": "discover",
189
+ "label": "Discover",
194
190
  "status": "pending",
195
191
  "accepted": false
196
192
  },
197
193
  {
198
- "key": "strategize",
199
- "label": "Strategize",
194
+ "key": "plan",
195
+ "label": "Plan",
200
196
  "status": "pending",
201
197
  "accepted": false
202
198
  },
@@ -206,12 +202,6 @@
206
202
  "status": "pending",
207
203
  "accepted": false
208
204
  },
209
- {
210
- "key": "plan",
211
- "label": "Plan",
212
- "status": "pending",
213
- "accepted": false
214
- },
215
205
  {
216
206
  "key": "build",
217
207
  "label": "Build",
@@ -222,7 +212,8 @@
222
212
  "key": "deliver",
223
213
  "label": "Deliver",
224
214
  "status": "pending",
225
- "accepted": false
215
+ "accepted": false,
216
+ "milestone": true
226
217
  },
227
218
  {
228
219
  "key": "monitor",
@@ -234,7 +225,8 @@
234
225
  "key": "evaluate",
235
226
  "label": "Evaluate",
236
227
  "status": "pending",
237
- "accepted": false
228
+ "accepted": false,
229
+ "milestone": true
238
230
  }
239
231
  ]
240
232
  },
@@ -274,20 +266,20 @@
274
266
  "last_activity": "2026-07-01T10:00:00Z",
275
267
  "nine_stages": [
276
268
  {
277
- "key": "discover",
278
- "label": "Discover",
269
+ "key": "triage",
270
+ "label": "Triage",
279
271
  "status": "pending",
280
272
  "accepted": false
281
273
  },
282
274
  {
283
- "key": "ideate",
284
- "label": "Ideate",
275
+ "key": "discover",
276
+ "label": "Discover",
285
277
  "status": "pending",
286
278
  "accepted": false
287
279
  },
288
280
  {
289
- "key": "strategize",
290
- "label": "Strategize",
281
+ "key": "plan",
282
+ "label": "Plan",
291
283
  "status": "pending",
292
284
  "accepted": false
293
285
  },
@@ -297,12 +289,6 @@
297
289
  "status": "pending",
298
290
  "accepted": false
299
291
  },
300
- {
301
- "key": "plan",
302
- "label": "Plan",
303
- "status": "pending",
304
- "accepted": false
305
- },
306
292
  {
307
293
  "key": "build",
308
294
  "label": "Build",
@@ -313,7 +299,8 @@
313
299
  "key": "deliver",
314
300
  "label": "Deliver",
315
301
  "status": "pending",
316
- "accepted": false
302
+ "accepted": false,
303
+ "milestone": true
317
304
  },
318
305
  {
319
306
  "key": "monitor",
@@ -325,7 +312,8 @@
325
312
  "key": "evaluate",
326
313
  "label": "Evaluate",
327
314
  "status": "pending",
328
- "accepted": false
315
+ "accepted": false,
316
+ "milestone": true
329
317
  }
330
318
  ]
331
319
  }
@@ -69,20 +69,20 @@
69
69
  "last_activity": "2026-10-04T09:00:00Z",
70
70
  "nine_stages": [
71
71
  {
72
- "key": "discover",
73
- "label": "Discover",
72
+ "key": "triage",
73
+ "label": "Triage",
74
74
  "status": "pending",
75
75
  "accepted": false
76
76
  },
77
77
  {
78
- "key": "ideate",
79
- "label": "Ideate",
78
+ "key": "discover",
79
+ "label": "Discover",
80
80
  "status": "pending",
81
81
  "accepted": false
82
82
  },
83
83
  {
84
- "key": "strategize",
85
- "label": "Strategize",
84
+ "key": "plan",
85
+ "label": "Plan",
86
86
  "status": "pending",
87
87
  "accepted": false
88
88
  },
@@ -92,12 +92,6 @@
92
92
  "status": "pending",
93
93
  "accepted": false
94
94
  },
95
- {
96
- "key": "plan",
97
- "label": "Plan",
98
- "status": "pending",
99
- "accepted": false
100
- },
101
95
  {
102
96
  "key": "build",
103
97
  "label": "Build",
@@ -108,7 +102,8 @@
108
102
  "key": "deliver",
109
103
  "label": "Deliver",
110
104
  "status": "pending",
111
- "accepted": false
105
+ "accepted": false,
106
+ "milestone": true
112
107
  },
113
108
  {
114
109
  "key": "monitor",
@@ -120,7 +115,8 @@
120
115
  "key": "evaluate",
121
116
  "label": "Evaluate",
122
117
  "status": "pending",
123
- "accepted": false
118
+ "accepted": false,
119
+ "milestone": true
124
120
  }
125
121
  ]
126
122
  },
@@ -167,20 +163,20 @@
167
163
  "last_activity": "2026-09-29T15:00:00Z",
168
164
  "nine_stages": [
169
165
  {
170
- "key": "discover",
171
- "label": "Discover",
166
+ "key": "triage",
167
+ "label": "Triage",
172
168
  "status": "pending",
173
169
  "accepted": false
174
170
  },
175
171
  {
176
- "key": "ideate",
177
- "label": "Ideate",
172
+ "key": "discover",
173
+ "label": "Discover",
178
174
  "status": "pending",
179
175
  "accepted": false
180
176
  },
181
177
  {
182
- "key": "strategize",
183
- "label": "Strategize",
178
+ "key": "plan",
179
+ "label": "Plan",
184
180
  "status": "pending",
185
181
  "accepted": false
186
182
  },
@@ -190,12 +186,6 @@
190
186
  "status": "pending",
191
187
  "accepted": false
192
188
  },
193
- {
194
- "key": "plan",
195
- "label": "Plan",
196
- "status": "pending",
197
- "accepted": false
198
- },
199
189
  {
200
190
  "key": "build",
201
191
  "label": "Build",
@@ -206,7 +196,8 @@
206
196
  "key": "deliver",
207
197
  "label": "Deliver",
208
198
  "status": "pending",
209
- "accepted": false
199
+ "accepted": false,
200
+ "milestone": true
210
201
  },
211
202
  {
212
203
  "key": "monitor",
@@ -218,7 +209,8 @@
218
209
  "key": "evaluate",
219
210
  "label": "Evaluate",
220
211
  "status": "pending",
221
- "accepted": false
212
+ "accepted": false,
213
+ "milestone": true
222
214
  }
223
215
  ]
224
216
  }
@@ -260,20 +252,20 @@
260
252
  "last_activity": "2026-09-20T10:00:00Z",
261
253
  "nine_stages": [
262
254
  {
263
- "key": "discover",
264
- "label": "Discover",
255
+ "key": "triage",
256
+ "label": "Triage",
265
257
  "status": "pending",
266
258
  "accepted": false
267
259
  },
268
260
  {
269
- "key": "ideate",
270
- "label": "Ideate",
261
+ "key": "discover",
262
+ "label": "Discover",
271
263
  "status": "pending",
272
264
  "accepted": false
273
265
  },
274
266
  {
275
- "key": "strategize",
276
- "label": "Strategize",
267
+ "key": "plan",
268
+ "label": "Plan",
277
269
  "status": "pending",
278
270
  "accepted": false
279
271
  },
@@ -283,12 +275,6 @@
283
275
  "status": "pending",
284
276
  "accepted": false
285
277
  },
286
- {
287
- "key": "plan",
288
- "label": "Plan",
289
- "status": "pending",
290
- "accepted": false
291
- },
292
278
  {
293
279
  "key": "build",
294
280
  "label": "Build",
@@ -299,7 +285,8 @@
299
285
  "key": "deliver",
300
286
  "label": "Deliver",
301
287
  "status": "pending",
302
- "accepted": false
288
+ "accepted": false,
289
+ "milestone": true
303
290
  },
304
291
  {
305
292
  "key": "monitor",
@@ -311,7 +298,8 @@
311
298
  "key": "evaluate",
312
299
  "label": "Evaluate",
313
300
  "status": "pending",
314
- "accepted": false
301
+ "accepted": false,
302
+ "milestone": true
315
303
  }
316
304
  ]
317
305
  }
@@ -362,20 +350,20 @@
362
350
  "last_activity": "2026-07-01T10:00:00Z",
363
351
  "nine_stages": [
364
352
  {
365
- "key": "discover",
366
- "label": "Discover",
353
+ "key": "triage",
354
+ "label": "Triage",
367
355
  "status": "pending",
368
356
  "accepted": false
369
357
  },
370
358
  {
371
- "key": "ideate",
372
- "label": "Ideate",
359
+ "key": "discover",
360
+ "label": "Discover",
373
361
  "status": "pending",
374
362
  "accepted": false
375
363
  },
376
364
  {
377
- "key": "strategize",
378
- "label": "Strategize",
365
+ "key": "plan",
366
+ "label": "Plan",
379
367
  "status": "pending",
380
368
  "accepted": false
381
369
  },
@@ -385,12 +373,6 @@
385
373
  "status": "pending",
386
374
  "accepted": false
387
375
  },
388
- {
389
- "key": "plan",
390
- "label": "Plan",
391
- "status": "pending",
392
- "accepted": false
393
- },
394
376
  {
395
377
  "key": "build",
396
378
  "label": "Build",
@@ -401,7 +383,8 @@
401
383
  "key": "deliver",
402
384
  "label": "Deliver",
403
385
  "status": "pending",
404
- "accepted": false
386
+ "accepted": false,
387
+ "milestone": true
405
388
  },
406
389
  {
407
390
  "key": "monitor",
@@ -413,7 +396,8 @@
413
396
  "key": "evaluate",
414
397
  "label": "Evaluate",
415
398
  "status": "pending",
416
- "accepted": false
399
+ "accepted": false,
400
+ "milestone": true
417
401
  }
418
402
  ]
419
403
  }
@@ -51,20 +51,20 @@
51
51
  "last_activity": "2026-10-04T09:00:00Z",
52
52
  "nine_stages": [
53
53
  {
54
- "key": "discover",
55
- "label": "Discover",
54
+ "key": "triage",
55
+ "label": "Triage",
56
56
  "status": "pending",
57
57
  "accepted": false
58
58
  },
59
59
  {
60
- "key": "ideate",
61
- "label": "Ideate",
60
+ "key": "discover",
61
+ "label": "Discover",
62
62
  "status": "pending",
63
63
  "accepted": false
64
64
  },
65
65
  {
66
- "key": "strategize",
67
- "label": "Strategize",
66
+ "key": "plan",
67
+ "label": "Plan",
68
68
  "status": "pending",
69
69
  "accepted": false
70
70
  },
@@ -74,12 +74,6 @@
74
74
  "status": "pending",
75
75
  "accepted": false
76
76
  },
77
- {
78
- "key": "plan",
79
- "label": "Plan",
80
- "status": "pending",
81
- "accepted": false
82
- },
83
77
  {
84
78
  "key": "build",
85
79
  "label": "Build",
@@ -90,7 +84,8 @@
90
84
  "key": "deliver",
91
85
  "label": "Deliver",
92
86
  "status": "pending",
93
- "accepted": false
87
+ "accepted": false,
88
+ "milestone": true
94
89
  },
95
90
  {
96
91
  "key": "monitor",
@@ -102,7 +97,8 @@
102
97
  "key": "evaluate",
103
98
  "label": "Evaluate",
104
99
  "status": "pending",
105
- "accepted": false
100
+ "accepted": false,
101
+ "milestone": true
106
102
  }
107
103
  ]
108
104
  },
@@ -35,12 +35,21 @@ const SETUPS = {
35
35
  { id: 'a-2', text: 'A weekly uptime note', state: 'running', changed: false, error: null, proposal: null }],
36
36
  finder: { cadence: 'weekly', sources: {}, last_run: null, next_run: null },
37
37
  };
38
+ // premium-agreed-design (G1, G2): the board's initiatives, as GET /api/boards/backlog answers them. An anchor names a KR metric by id or by name.
39
+ const INITIATIVES = [
40
+ { id: 'sso-partners', title: 'SSO for partners', lane: 'feature', stage: 'Deliver', status: 'on track', owner: 'Lee', anchor: 'krm-act', end: '2026-10-23' },
41
+ { id: 'self-serve-v2', title: 'Self-serve onboarding v2', lane: 'feature', stage: 'Build', status: 'late', owner: 'Dara', anchor: 'krm-act', end: '2026-10-10' },
42
+ { id: 'first-call-kit', title: 'First call kit', lane: 'feature', stage: 'Discover', status: 'at risk', owner: null, anchor: 'Time to first call', end: null },
43
+ { id: 'refund-reason-codes', title: 'Refund reason codes', lane: 'feature', stage: 'Evaluate', status: 'on track', owner: 'Mira', anchor: 'krm-churn', end: '2026-09-20' },
44
+ { id: 'audit-log-export', title: 'Audit log export', lane: 'feature', stage: 'Monitor', status: 'on track', owner: 'Dara', anchor: 'krm-up', end: '2026-10-02' },
45
+ { id: 'docs-search', title: 'Docs search', lane: 'chore', stage: 'Build', status: 'on track', owner: null, anchor: 'health:docs', end: null },
46
+ ];
38
47
  function facts(o = {}) {
39
48
  return {
40
49
  now: NOW, pending: false, missing: [],
41
50
  board: { ws: 'w1', id: 'w1', name: 'pmos' }, boards: [{ ws: 'w1', id: 'w1', name: 'pmos' }],
42
51
  outcomes: OUTCOMES.map((x) => ({ ...x, readings: x.readings.map((r) => ({ ...r })) })), reports: REPORTS.map((r) => ({ ...r })), reportsOk: true,
43
- saved: JSON.parse(JSON.stringify(SAVED)), setups: JSON.parse(JSON.stringify(SETUPS)), ...o,
52
+ saved: JSON.parse(JSON.stringify(SAVED)), setups: JSON.parse(JSON.stringify(SETUPS)), initiatives: JSON.parse(JSON.stringify(INITIATIVES)), ...o,
44
53
  };
45
54
  }
46
- module.exports = { NOW, facts, OUTCOMES, REPORTS, SAVED, SETUPS };
55
+ module.exports = { NOW, facts, OUTCOMES, REPORTS, SAVED, SETUPS, INITIATIVES };
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "The premium Briefing (/premium.html)"
4
4
  description: "The Briefing page at /premium.html: the hero sentence, What you need to do, Today, the dock, and what each one reads from the repository."
5
- timestamp: 2026-10-21
5
+ timestamp: 2026-10-22
6
6
  ---
7
7
 
8
8
  # The premium Briefing
@@ -13,6 +13,8 @@ Every premium page uses the console's type: Space Grotesk for text, IBM Plex Mon
13
13
 
14
14
  A rail on the left has five places: Briefing, My work, **Chat**, Board and Insights. Chat is in the middle, a large round button, because the chat is the main place to work. Each place is a page; Chat is at `/premium-chat.html`. On a phone the rail is a bar at the bottom of the screen, and Chat rises above it. A grey band marks the page you are on; on the Chat page the solid Chat button is that mark, so no band is drawn under it. It stays at the bottom after you type in a field and the keyboard closes.
15
15
 
16
+ **On a large screen** (1440 px wide and up) the pages grow with the screen, and the text is one size larger; from 1920 px it is two sizes larger. A full-screen chat dialog gives the conversation and the viewer half the width each. Below 1440 px nothing changes.
17
+
16
18
  Every premium page has the same top bar. On the left is where you are. On the right are the **Sources** chip, the bell and one **⋯** menu.
17
19
 
18
20
  - **Chat** (in the rail) opens the Chat page on a conversation with Claude about the page you were on: the Briefing, My work, the board, or the initiative. It is the same conversation the page's chat has always kept, so its history comes with it. From Insights, or opened on its own, the Chat page opens your own chat, which is about no page. An orange dot on Chat means one or more sessions are Ready or Maybe blocked; the button's name says how many.
@@ -71,6 +71,7 @@ On a desktop the workspace is one frame. [Layout](layout.md) explains each part.
71
71
  - [Breakdown › Timeline](timeline.md): an initiative's items on a time axis, split by stage, with milestones, today, and the at-risk flag when an item starts before its predecessor ends.
72
72
  - [Initiatives › Timeline](initiatives-timeline.md): when each initiative runs, one row per initiative, and how to reorder rows by their grip.
73
73
  - [Board](board.md): one Kanban for the items of every initiative, its filters, Release, and `pmos board`.
74
+ - [The lifecycle](lifecycle.md): the six stages and two milestones of an initiative, what each makes, which steps each lane uses, and how the step is read from the records.
74
75
  - [Integrated work](integrated-work.md): how `pmos verify-work` turns a merged commit into Done, and what "Done · your call · not merged" means.
75
76
  - [Report slides](report-slides.md): how the Reports page shows a report as the PM-OS biweekly slides, Present and Print / PDF, and how your notes become the words on the slides.
76
77
  - [Reports: dashboards of reports](reports-dashboards.md): the console Reports page, its dashboards at portfolio, board and initiative scope, how to edit one, how to send one as a report, and the Charts tab.
@@ -0,0 +1,51 @@
1
+ ---
2
+ type: Guide
3
+ title: "The lifecycle: six stages and two milestones"
4
+ description: "The eight steps every initiative goes through, what each step makes, which steps each lane uses, and how the workspace knows where an initiative is."
5
+ timestamp: 2026-10-22
6
+ ---
7
+
8
+ # The lifecycle: six stages and two milestones
9
+
10
+ An initiative goes through eight steps. Six are stages, which take time. Two are milestones (◆), which are one moment: a sign-off or a decision.
11
+
12
+ | Step | What it makes | Who finishes it |
13
+ | --- | --- | --- |
14
+ | Triage | The BRD: the problem, who has it, the anchor. | You take it on or park it. |
15
+ | Discover | The PRD, with done criteria. | The agent drafts; you keep it. |
16
+ | Plan | The scope, the timeline and the work breakdown. | You press **Commit**. Commit pushes the tickets to Jira. |
17
+ | Prioritize | The place of the initiative on the roadmap. | You rank it in Now, Next or Later. |
18
+ | Build | The features, delivered. | The engineers, in Jira. |
19
+ | ◆ Deliver | The release is shipped. | You sign off. |
20
+ | Monitor | The outcome report. | The agent drafts it from the data. |
21
+ | ◆ Evaluate | The verdict: keep, iterate or stop. | You decide. |
22
+
23
+ The engineers build outside PMOS. The Build step shows their Jira tickets: the engineer each ticket is assigned to, its Jira status, and when Jira was last read. PMOS does not show builder agents, pull requests or CI as the build.
24
+
25
+ ## Which steps each lane uses
26
+
27
+ A step that a lane does not use shows as skipped.
28
+
29
+ | Lane | Steps |
30
+ | --- | --- |
31
+ | feature | All eight |
32
+ | discovery | Triage, Discover, Prioritize, Evaluate |
33
+ | chore | Plan, Build, Deliver, Evaluate |
34
+ | incident | Build, Deliver, Monitor, Evaluate |
35
+ | content | Discover, Plan, Build, Deliver |
36
+ | prototype | Triage, Discover, Evaluate |
37
+
38
+ ## How the workspace knows the step
39
+
40
+ Nobody sets the step. The workspace reads it from the records:
41
+
42
+ - Triage, Discover, Plan, Build and Evaluate come from the workflow engine (`node scripts/workflow-state.js`): the PRD, the rubric and contract, the build, and the evaluation.
43
+ - An idea or a hypothesis on the initiative also counts for Discover.
44
+ - A decision or a bet on the initiative counts for Prioritize.
45
+ - A release on the initiative counts for Deliver. Monitor needs the build done and a reading of the anchor's metric.
46
+
47
+ A step with no record that can show it reads "no signal yet". It is not shown as done or pending.
48
+
49
+ ## Ideate and Strategize
50
+
51
+ Earlier versions had nine stages, with Ideate and Strategize. Ideate is now part of Discover, and Strategize is now part of Prioritize. Nothing stored had to change, because the step is always read from the records. An older answer that still names Ideate or Strategize is read as Discover or Prioritize.
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+ /* home-shot.js — screenshots of Home (initiative premium-agreed-design) at 1440x900 and 390x844 against the Briefing's fixture model.
4
+ * Not a suite: a look at the page. OUT=<dir> names where the PNGs go (default: the state folder of this run). */
5
+ const fs = require('fs');
6
+ const path = require('path');
7
+ const { spawn } = require('child_process');
8
+ const { findBrowser } = require('./lib/find-browser');
9
+ const T = require('./test-run').configure({ name: 'home-shot' });
10
+ const B = require('./lib/briefing-premium.js');
11
+ const F = require('./fixtures/briefing-premium-facts.js');
12
+ const OUT = process.env.OUT || T.STATE_DIR;
13
+ (async () => {
14
+ const { chromium } = require('playwright-core');
15
+ const srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
16
+ await T.waitForServer(T.BASE);
17
+ const browser = await chromium.launch({ executablePath: findBrowser() });
18
+ const MODEL = B.build(F.facts());
19
+ const errs = [];
20
+ for (const [w, h, name] of [[1440, 900, 'desktop'], [390, 844, 'phone']]) {
21
+ const ctx = await browser.newContext({ viewport: { width: w, height: h } });
22
+ await ctx.route('**/api/briefing-premium?*', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, model: MODEL, as_of: Date.now() }) }));
23
+ await ctx.route('**/api/briefing-premium', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, model: MODEL, as_of: Date.now() }) }));
24
+ const p = await ctx.newPage();
25
+ p.on('pageerror', (e) => errs.push(name + ': ' + e.message));
26
+ p.on('console', (m) => { if (m.type() === 'error') errs.push(name + ' console: ' + m.text()); });
27
+ await p.goto(T.BASE + '/premium.html' + (process.env.Q || ''));
28
+ await p.waitForTimeout(2500);
29
+ fs.mkdirSync(OUT, { recursive: true });
30
+ await p.screenshot({ path: path.join(OUT, 'home-' + name + '.png') });
31
+ if (process.env.SCROLL) { await p.evaluate(() => { const s = document.querySelector('main.stage'); s.scrollTop = 750; window.scrollTo(0, 1500); }); await p.waitForTimeout(300); await p.screenshot({ path: path.join(OUT, 'home-' + name + '-lower.png') }); }
32
+ if (name === 'desktop' && process.env.ROW && await p.$('#rank .rhd')) { await p.click('#rank .rhd'); await p.waitForTimeout(1200); await p.screenshot({ path: path.join(OUT, 'home-desktop-row.png') }); }
33
+ if (name === 'phone' && process.env.ROW && await p.$('#rank .rhd')) { await p.click('#rank .rhd'); await p.waitForTimeout(1200); await p.screenshot({ path: path.join(OUT, 'home-phone-row.png') }); }
34
+ await ctx.close();
35
+ }
36
+ console.log(errs.join('\n') || 'no page errors');
37
+ await browser.close(); srv.kill('SIGKILL'); T.killTmux(); process.exit(0);
38
+ })();