create-pmos 0.492.0 → 0.493.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 (57) hide show
  1. package/package.json +14 -14
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/mods/pmos-cockpit/README.md +1 -1
  4. package/payload/mods/pmos-cockpit/hooks/lib/guard.mjs +2 -2
  5. package/payload/planning/evals/eval-calibration.md +1 -1
  6. package/payload/planning/okrs/health-budgets.md +1 -1
  7. package/payload/state/discoveries.md +1 -1
  8. package/workspace/changelog.json +13 -0
  9. package/workspace/fixtures/initiatives-api/list.json +0 -4
  10. package/workspace/fixtures/initiatives-api/roadmap.json +255 -275
  11. package/workspace/fixtures/initiatives-api/sheet.json +2 -3
  12. package/workspace/fixtures/report-api/draft.json +4 -4
  13. package/workspace/fixtures/reports-page/draft-biweekly-2026-10-16.md +4 -4
  14. package/workspace/guide/board.md +2 -2
  15. package/workspace/guide/index.md +2 -2
  16. package/workspace/guide/initiative-boards.md +2 -2
  17. package/workspace/guide/initiatives-roadmap.md +38 -39
  18. package/workspace/guide/initiatives-screen.md +20 -20
  19. package/workspace/guide/initiatives-timeline.md +7 -9
  20. package/workspace/guide/integrated-work.md +7 -8
  21. package/workspace/guide/layout.md +2 -2
  22. package/workspace/guide/lifecycle.md +2 -2
  23. package/workspace/guide/notes.md +1 -1
  24. package/workspace/guide/pm-only-acts.md +5 -5
  25. package/workspace/guide/pm-only-lines.md +3 -3
  26. package/workspace/guide/reports.md +2 -2
  27. package/workspace/guide/today.md +2 -2
  28. package/workspace/lib/board-cli.js +1 -1
  29. package/workspace/lib/board-fold.js +6 -6
  30. package/workspace/lib/board-premium.js +3 -3
  31. package/workspace/lib/calendar-tidy.js +1 -1
  32. package/workspace/lib/core-docs.js +2 -2
  33. package/workspace/lib/engine/boards.js +11 -11
  34. package/workspace/lib/engine/signals/detectors.js +13 -13
  35. package/workspace/lib/engine/signals/facts.js +5 -3
  36. package/workspace/lib/health-rules-factory.js +13 -14
  37. package/workspace/lib/health-rules-plan.js +8 -7
  38. package/workspace/lib/initiative-cli.js +59 -63
  39. package/workspace/lib/initiative-needs.js +6 -6
  40. package/workspace/lib/initiative-premium.js +2 -2
  41. package/workspace/lib/initiative-writer.js +2 -2
  42. package/workspace/lib/lifecycle-stage.js +39 -0
  43. package/workspace/lib/placements.js +117 -95
  44. package/workspace/lib/plan-rules.js +7 -5
  45. package/workspace/lib/pm-guard.js +1 -3
  46. package/workspace/lib/pm-lines-needs.js +1 -1
  47. package/workspace/lib/report-draft.js +17 -16
  48. package/workspace/lib/report-slides-data.js +11 -7
  49. package/workspace/lib/routes-boards.js +8 -7
  50. package/workspace/lib/routes-initiatives.js +29 -43
  51. package/workspace/lib/routes-notes.js +24 -15
  52. package/workspace/lib/split-merge.js +2 -3
  53. package/workspace/package-lock.json +2 -2
  54. package/workspace/package.json +1 -1
  55. package/workspace/public/pm/http.js +1 -1
  56. package/workspace/public/pm/view-notes.js +8 -8
  57. package/workspace/replaced-tests.json +14 -0
@@ -13,299 +13,281 @@
13
13
  "stall_days": 5,
14
14
  "dormant_days": 45,
15
15
  "report_cycle_days": 14,
16
- "now_cap": null,
17
16
  "via_required_from": null
18
17
  },
19
18
  "header": {
20
- "now": {
21
- "count": 2,
22
- "kr": 1,
23
- "health": 1,
24
- "cap": null
25
- },
26
- "next": {
27
- "count": 1
28
- },
29
- "later": {
30
- "count": 0,
31
- "dormant": 1
32
- }
19
+ "count": 3,
20
+ "dormant": 1,
21
+ "kr": 1,
22
+ "health": 1
33
23
  },
34
- "horizons": {
35
- "now": [
36
- {
37
- "id": "partner-sso",
38
- "title": "Partner SSO",
39
- "lane": "feature",
40
- "anchor": "KR 2.1",
41
- "anchor_kind": "kr",
42
- "horizon": "now",
43
- "rank": 0,
44
- "confirmed": true,
45
- "dormant": false,
46
- "check_by": "2026-10-30",
47
- "stage": {
48
- "id": "build",
49
- "label": "Build"
24
+ "rows": [
25
+ {
26
+ "id": "partner-sso",
27
+ "title": "Partner SSO",
28
+ "lane": "feature",
29
+ "anchor": "KR 2.1",
30
+ "anchor_kind": "kr",
31
+ "rank": 0,
32
+ "confirmed": true,
33
+ "dormant": false,
34
+ "check_by": "2026-10-30",
35
+ "stage": {
36
+ "id": "build",
37
+ "label": "Build"
38
+ },
39
+ "display": {
40
+ "word": "Build",
41
+ "stage": "build",
42
+ "waitingOn": "pm",
43
+ "act": "approval",
44
+ "idleDays": 1,
45
+ "line2": "Waiting on you: approval"
46
+ },
47
+ "health": {
48
+ "level": "on",
49
+ "reasons": []
50
+ },
51
+ "progress": {
52
+ "done": 7,
53
+ "total": 12,
54
+ "label": "7 of 12"
55
+ },
56
+ "next_due": "2026-11-14",
57
+ "last_activity": "2026-10-04T09:00:00Z",
58
+ "nine_stages": [
59
+ {
60
+ "key": "triage",
61
+ "label": "Triage",
62
+ "status": "pending",
63
+ "accepted": false
50
64
  },
51
- "display": {
52
- "word": "Build",
53
- "stage": "build",
54
- "waitingOn": "pm",
55
- "act": "approval",
56
- "idleDays": 1,
57
- "line2": "Waiting on you: approval"
65
+ {
66
+ "key": "discover",
67
+ "label": "Discover",
68
+ "status": "pending",
69
+ "accepted": false
58
70
  },
59
- "health": {
60
- "level": "on",
61
- "reasons": []
71
+ {
72
+ "key": "plan",
73
+ "label": "Plan",
74
+ "status": "pending",
75
+ "accepted": false
62
76
  },
63
- "progress": {
64
- "done": 7,
65
- "total": 12,
66
- "label": "7 of 12"
77
+ {
78
+ "key": "prioritize",
79
+ "label": "Prioritize",
80
+ "status": "pending",
81
+ "accepted": false
67
82
  },
68
- "next_due": "2026-11-14",
69
- "last_activity": "2026-10-04T09:00:00Z",
70
- "nine_stages": [
71
- {
72
- "key": "triage",
73
- "label": "Triage",
74
- "status": "pending",
75
- "accepted": false
76
- },
77
- {
78
- "key": "discover",
79
- "label": "Discover",
80
- "status": "pending",
81
- "accepted": false
82
- },
83
- {
84
- "key": "plan",
85
- "label": "Plan",
86
- "status": "pending",
87
- "accepted": false
88
- },
89
- {
90
- "key": "prioritize",
91
- "label": "Prioritize",
92
- "status": "pending",
93
- "accepted": false
94
- },
95
- {
96
- "key": "build",
97
- "label": "Build",
98
- "status": "pending",
99
- "accepted": false
100
- },
101
- {
102
- "key": "deliver",
103
- "label": "Deliver",
104
- "status": "pending",
105
- "accepted": false,
106
- "milestone": true
107
- },
108
- {
109
- "key": "monitor",
110
- "label": "Monitor",
111
- "status": "pending",
112
- "accepted": false
113
- },
83
+ {
84
+ "key": "build",
85
+ "label": "Build",
86
+ "status": "pending",
87
+ "accepted": false
88
+ },
89
+ {
90
+ "key": "deliver",
91
+ "label": "Deliver",
92
+ "status": "pending",
93
+ "accepted": false,
94
+ "milestone": true
95
+ },
96
+ {
97
+ "key": "monitor",
98
+ "label": "Monitor",
99
+ "status": "pending",
100
+ "accepted": false
101
+ },
102
+ {
103
+ "key": "evaluate",
104
+ "label": "Evaluate",
105
+ "status": "pending",
106
+ "accepted": false,
107
+ "milestone": true
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "id": "audit-log",
113
+ "title": "Audit log export",
114
+ "lane": "chore",
115
+ "anchor": "health:tech",
116
+ "anchor_kind": "health",
117
+ "rank": 1,
118
+ "confirmed": false,
119
+ "dormant": false,
120
+ "check_by": "2026-10-01",
121
+ "stage": {
122
+ "id": "evaluate",
123
+ "label": "Evaluate"
124
+ },
125
+ "display": {
126
+ "word": "Evaluate",
127
+ "stage": "evaluate",
128
+ "waitingOn": "agent",
129
+ "act": "rubric",
130
+ "idleDays": 1,
131
+ "line2": "Waiting on agent: rubric"
132
+ },
133
+ "health": {
134
+ "level": "at-risk",
135
+ "reasons": [
114
136
  {
115
- "key": "evaluate",
116
- "label": "Evaluate",
117
- "status": "pending",
118
- "accepted": false,
119
- "milestone": true
137
+ "level": "at-risk",
138
+ "code": "check-by-passed",
139
+ "text": "check-by 1 Oct passed",
140
+ "source": "planning/runs/placements.jsonl"
120
141
  }
121
142
  ]
122
143
  },
123
- {
124
- "id": "audit-log",
125
- "title": "Audit log export",
126
- "lane": "chore",
127
- "anchor": "health:tech",
128
- "anchor_kind": "health",
129
- "horizon": "now",
130
- "rank": 1,
131
- "confirmed": false,
132
- "dormant": false,
133
- "check_by": "2026-10-01",
134
- "stage": {
135
- "id": "evaluate",
136
- "label": "Evaluate"
144
+ "progress": {
145
+ "done": 3,
146
+ "total": 5,
147
+ "label": "3 of 5"
148
+ },
149
+ "next_due": "2026-10-20",
150
+ "last_activity": "2026-09-29T15:00:00Z",
151
+ "nine_stages": [
152
+ {
153
+ "key": "triage",
154
+ "label": "Triage",
155
+ "status": "pending",
156
+ "accepted": false
137
157
  },
138
- "display": {
139
- "word": "Evaluate",
140
- "stage": "evaluate",
141
- "waitingOn": "agent",
142
- "act": "rubric",
143
- "idleDays": 1,
144
- "line2": "Waiting on agent: rubric"
158
+ {
159
+ "key": "discover",
160
+ "label": "Discover",
161
+ "status": "pending",
162
+ "accepted": false
145
163
  },
146
- "health": {
147
- "level": "at-risk",
148
- "reasons": [
149
- {
150
- "level": "at-risk",
151
- "code": "check-by-passed",
152
- "text": "check-by 1 Oct passed",
153
- "source": "planning/runs/placements.jsonl"
154
- }
155
- ]
164
+ {
165
+ "key": "plan",
166
+ "label": "Plan",
167
+ "status": "pending",
168
+ "accepted": false
156
169
  },
157
- "progress": {
158
- "done": 3,
159
- "total": 5,
160
- "label": "3 of 5"
170
+ {
171
+ "key": "prioritize",
172
+ "label": "Prioritize",
173
+ "status": "pending",
174
+ "accepted": false
161
175
  },
162
- "next_due": "2026-10-20",
163
- "last_activity": "2026-09-29T15:00:00Z",
164
- "nine_stages": [
165
- {
166
- "key": "triage",
167
- "label": "Triage",
168
- "status": "pending",
169
- "accepted": false
170
- },
171
- {
172
- "key": "discover",
173
- "label": "Discover",
174
- "status": "pending",
175
- "accepted": false
176
- },
177
- {
178
- "key": "plan",
179
- "label": "Plan",
180
- "status": "pending",
181
- "accepted": false
182
- },
183
- {
184
- "key": "prioritize",
185
- "label": "Prioritize",
186
- "status": "pending",
187
- "accepted": false
188
- },
189
- {
190
- "key": "build",
191
- "label": "Build",
192
- "status": "pending",
193
- "accepted": false
194
- },
195
- {
196
- "key": "deliver",
197
- "label": "Deliver",
198
- "status": "pending",
199
- "accepted": false,
200
- "milestone": true
201
- },
202
- {
203
- "key": "monitor",
204
- "label": "Monitor",
205
- "status": "pending",
206
- "accepted": false
207
- },
208
- {
209
- "key": "evaluate",
210
- "label": "Evaluate",
211
- "status": "pending",
212
- "accepted": false,
213
- "milestone": true
214
- }
215
- ]
216
- }
217
- ],
218
- "next": [
219
- {
220
- "id": "billing-v2",
221
- "title": "Billing v2",
222
- "lane": "feature",
223
- "anchor": "KR 1.3",
224
- "anchor_kind": "kr",
225
- "horizon": "next",
226
- "rank": 0,
227
- "confirmed": true,
228
- "dormant": false,
229
- "check_by": null,
230
- "stage": {
231
- "id": "spec",
232
- "label": "Spec"
176
+ {
177
+ "key": "build",
178
+ "label": "Build",
179
+ "status": "pending",
180
+ "accepted": false
233
181
  },
234
- "display": {
235
- "word": "Spec",
236
- "stage": "spec",
237
- "waitingOn": null,
238
- "act": null,
239
- "idleDays": 1,
240
- "line2": ""
182
+ {
183
+ "key": "deliver",
184
+ "label": "Deliver",
185
+ "status": "pending",
186
+ "accepted": false,
187
+ "milestone": true
241
188
  },
242
- "health": {
243
- "level": "on",
244
- "reasons": []
189
+ {
190
+ "key": "monitor",
191
+ "label": "Monitor",
192
+ "status": "pending",
193
+ "accepted": false
245
194
  },
246
- "progress": {
247
- "done": 0,
248
- "total": 0,
249
- "label": "no breakdown"
195
+ {
196
+ "key": "evaluate",
197
+ "label": "Evaluate",
198
+ "status": "pending",
199
+ "accepted": false,
200
+ "milestone": true
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "id": "billing-v2",
206
+ "title": "Billing v2",
207
+ "lane": "feature",
208
+ "anchor": "KR 1.3",
209
+ "anchor_kind": "kr",
210
+ "rank": 2,
211
+ "confirmed": true,
212
+ "dormant": false,
213
+ "check_by": null,
214
+ "stage": {
215
+ "id": "spec",
216
+ "label": "Spec"
217
+ },
218
+ "display": {
219
+ "word": "Spec",
220
+ "stage": "spec",
221
+ "waitingOn": null,
222
+ "act": null,
223
+ "idleDays": 1,
224
+ "line2": ""
225
+ },
226
+ "health": {
227
+ "level": "on",
228
+ "reasons": []
229
+ },
230
+ "progress": {
231
+ "done": 0,
232
+ "total": 0,
233
+ "label": "no breakdown"
234
+ },
235
+ "next_due": null,
236
+ "last_activity": "2026-09-20T10:00:00Z",
237
+ "nine_stages": [
238
+ {
239
+ "key": "triage",
240
+ "label": "Triage",
241
+ "status": "pending",
242
+ "accepted": false
250
243
  },
251
- "next_due": null,
252
- "last_activity": "2026-09-20T10:00:00Z",
253
- "nine_stages": [
254
- {
255
- "key": "triage",
256
- "label": "Triage",
257
- "status": "pending",
258
- "accepted": false
259
- },
260
- {
261
- "key": "discover",
262
- "label": "Discover",
263
- "status": "pending",
264
- "accepted": false
265
- },
266
- {
267
- "key": "plan",
268
- "label": "Plan",
269
- "status": "pending",
270
- "accepted": false
271
- },
272
- {
273
- "key": "prioritize",
274
- "label": "Prioritize",
275
- "status": "pending",
276
- "accepted": false
277
- },
278
- {
279
- "key": "build",
280
- "label": "Build",
281
- "status": "pending",
282
- "accepted": false
283
- },
284
- {
285
- "key": "deliver",
286
- "label": "Deliver",
287
- "status": "pending",
288
- "accepted": false,
289
- "milestone": true
290
- },
291
- {
292
- "key": "monitor",
293
- "label": "Monitor",
294
- "status": "pending",
295
- "accepted": false
296
- },
297
- {
298
- "key": "evaluate",
299
- "label": "Evaluate",
300
- "status": "pending",
301
- "accepted": false,
302
- "milestone": true
303
- }
304
- ]
305
- }
306
- ],
307
- "later": []
308
- },
244
+ {
245
+ "key": "discover",
246
+ "label": "Discover",
247
+ "status": "pending",
248
+ "accepted": false
249
+ },
250
+ {
251
+ "key": "plan",
252
+ "label": "Plan",
253
+ "status": "pending",
254
+ "accepted": false
255
+ },
256
+ {
257
+ "key": "prioritize",
258
+ "label": "Prioritize",
259
+ "status": "pending",
260
+ "accepted": false
261
+ },
262
+ {
263
+ "key": "build",
264
+ "label": "Build",
265
+ "status": "pending",
266
+ "accepted": false
267
+ },
268
+ {
269
+ "key": "deliver",
270
+ "label": "Deliver",
271
+ "status": "pending",
272
+ "accepted": false,
273
+ "milestone": true
274
+ },
275
+ {
276
+ "key": "monitor",
277
+ "label": "Monitor",
278
+ "status": "pending",
279
+ "accepted": false
280
+ },
281
+ {
282
+ "key": "evaluate",
283
+ "label": "Evaluate",
284
+ "status": "pending",
285
+ "accepted": false,
286
+ "milestone": true
287
+ }
288
+ ]
289
+ }
290
+ ],
309
291
  "dormant": [
310
292
  {
311
293
  "id": "old-import",
@@ -313,7 +295,6 @@
313
295
  "lane": "chore",
314
296
  "anchor": "health:tech",
315
297
  "anchor_kind": "health",
316
- "horizon": "later",
317
298
  "rank": 0,
318
299
  "confirmed": true,
319
300
  "dormant": true,
@@ -407,7 +388,6 @@
407
388
  "eid": "p0q1r2s3t4u5",
408
389
  "initiative": "billing-v2",
409
390
  "title": "Billing v2",
410
- "horizon": "now",
411
391
  "after": "audit-log",
412
392
  "by": "agent:sess-7",
413
393
  "at": "2026-10-04T11:00:00Z"
@@ -14,7 +14,6 @@
14
14
  "lane": "feature",
15
15
  "anchor": "KR 2.1",
16
16
  "anchor_kind": "kr",
17
- "horizon": "now",
18
17
  "rank": 0,
19
18
  "confirmed": true,
20
19
  "dormant": false,
@@ -176,11 +175,11 @@
176
175
  {
177
176
  "at": "2026-10-04T09:00:00Z",
178
177
  "by": "pm:wawan",
179
- "text": "Moved to Now"
178
+ "text": "Added to the Roadmap at #1"
180
179
  }
181
180
  ],
182
181
  "cli": {
183
- "now": "pmos initiative now partner-sso",
182
+ "rank": "pmos initiative top partner-sso",
184
183
  "export": "pmos initiative export partner-sso"
185
184
  }
186
185
  }
@@ -79,8 +79,8 @@
79
79
  ],
80
80
  "moves": [
81
81
  {
82
- "from": "next",
83
- "to": "now",
82
+ "from": 2,
83
+ "to": 1,
84
84
  "at": "2026-10-03T10:00:00Z"
85
85
  }
86
86
  ],
@@ -149,7 +149,7 @@
149
149
  ],
150
150
  "decided": [
151
151
  {
152
- "text": "Audit log export moved to Now",
152
+ "text": "Audit log export ranked #1 on the Roadmap",
153
153
  "at": "2026-10-03T10:00:00Z",
154
154
  "source": "planning/runs/placements.jsonl"
155
155
  }
@@ -204,7 +204,7 @@
204
204
  "today": "2026-10-16",
205
205
  "groups": [
206
206
  {
207
- "name": "Now",
207
+ "name": "Build",
208
208
  "rows": [
209
209
  {
210
210
  "id": "partner-sso",