create-pmos 0.741.0 → 0.742.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/package.json +241 -41
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-insights-test.js +1 -1
- package/workspace/changelog.json +240 -27
- package/workspace/guide/cli.md +27 -0
- package/workspace/lib/pmos-verbs.js +6 -0
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-try.js +39 -0
- package/workspace/lib/signal-cli.js +41 -0
- package/workspace/lib/try-it.js +194 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/cozy-ev.css +8 -0
- package/workspace/public/pm/cozy-settings.js +12 -2
- package/workspace/public/pm/home-app.js +6 -1
- package/workspace/public/pm/live-edit.js +1 -1
- package/workspace/public/pm/try-view.js +99 -0
- package/workspace/test-lists/try-what-shipped.json +9 -0
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,35 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.742.0",
|
|
4
|
+
"at": "2026-11-23T09:41:15.063Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1656,
|
|
9
|
+
"t": "Try what shipped, each update asks beta users to try its changes and say if they work",
|
|
10
|
+
"s": "Every user-facing change carries 1 to 3 try steps, what you should see and the page to open, and a beta computer asks its user to try each one and say Works or Didn't work.",
|
|
11
|
+
"k": "new",
|
|
12
|
+
"h": "Try what each update brought",
|
|
13
|
+
"d": "Updates shipped many changes a day, and nobody was told how to use or check them. On the beta line, Home shows one row with the new things to try. Each has its steps, Show me, Works and Didn't work. Your answers go back to the team that fixes them.",
|
|
14
|
+
"top": "Every update now asks you to try what it changed, one card per change.",
|
|
15
|
+
"try": {
|
|
16
|
+
"steps": [
|
|
17
|
+
"Open Home.",
|
|
18
|
+
"Press the row that says new things to try.",
|
|
19
|
+
"Follow one card's steps and press Works or Didn't work."
|
|
20
|
+
],
|
|
21
|
+
"see": "the card says Thanks and the Home row counts one less.",
|
|
22
|
+
"open": "/today.html"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"n": 1667,
|
|
27
|
+
"t": "Pmos signal adds and removes the customer signals the roadmap shows (A157)",
|
|
28
|
+
"s": "Pmos signal adds and removes the customer signals the roadmap shows (A157)",
|
|
29
|
+
"k": "new"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
2
33
|
{
|
|
3
34
|
"v": "0.741.0",
|
|
4
35
|
"at": "2026-11-23T09:00:39.651Z",
|
|
@@ -40,7 +71,15 @@
|
|
|
40
71
|
"n": 1649,
|
|
41
72
|
"t": "Ctrl K answers a question from your own files, with its sources",
|
|
42
73
|
"s": "Ctrl K answers a question from your own files, with its sources",
|
|
43
|
-
"k": "new"
|
|
74
|
+
"k": "new",
|
|
75
|
+
"try": {
|
|
76
|
+
"steps": [
|
|
77
|
+
"Press Ctrl K (Cmd K on the Mac).",
|
|
78
|
+
"Type a why or how question about your work, for example: why did the paywall date move?"
|
|
79
|
+
],
|
|
80
|
+
"see": "A short answer, with the files it came from listed under it.",
|
|
81
|
+
"open": "/today.html"
|
|
82
|
+
}
|
|
44
83
|
},
|
|
45
84
|
{
|
|
46
85
|
"n": 1651,
|
|
@@ -59,7 +98,15 @@
|
|
|
59
98
|
"n": 1639,
|
|
60
99
|
"t": "Every edit shows at once, and a failed save says so",
|
|
61
100
|
"s": "Every edit shows at once, and a failed save says so",
|
|
62
|
-
"k": "fix"
|
|
101
|
+
"k": "fix",
|
|
102
|
+
"try": {
|
|
103
|
+
"steps": [
|
|
104
|
+
"Open Work, then an initiative's Work breakdown.",
|
|
105
|
+
"Change a task's status or date."
|
|
106
|
+
],
|
|
107
|
+
"see": "It changes the moment you press. If the save fails, it goes back and says Not saved, with Try again.",
|
|
108
|
+
"open": "/premium-board.html"
|
|
109
|
+
}
|
|
63
110
|
}
|
|
64
111
|
]
|
|
65
112
|
},
|
|
@@ -72,19 +119,40 @@
|
|
|
72
119
|
"n": 1643,
|
|
73
120
|
"t": "Pick a task's start and due on one calendar, like depart and return",
|
|
74
121
|
"s": "Pick a task's start and due on one calendar, like depart and return",
|
|
75
|
-
"k": "new"
|
|
122
|
+
"k": "new",
|
|
123
|
+
"try": {
|
|
124
|
+
"steps": [
|
|
125
|
+
"Open any task and press its dates.",
|
|
126
|
+
"Tap a start day, then a due day."
|
|
127
|
+
],
|
|
128
|
+
"see": "One calendar with the days between shaded, like booking a trip."
|
|
129
|
+
}
|
|
76
130
|
},
|
|
77
131
|
{
|
|
78
132
|
"n": 1633,
|
|
79
133
|
"t": "Focus mode, one item and its chat (A335)",
|
|
80
134
|
"s": "Focus mode, one item and its chat (A335)",
|
|
81
|
-
"k": "new"
|
|
135
|
+
"k": "new",
|
|
136
|
+
"try": {
|
|
137
|
+
"steps": [
|
|
138
|
+
"On Today or Work, pick an item and press F."
|
|
139
|
+
],
|
|
140
|
+
"see": "Only that item and its chat show. Press F again to get the page back.",
|
|
141
|
+
"open": "/premium-board.html"
|
|
142
|
+
}
|
|
82
143
|
},
|
|
83
144
|
{
|
|
84
145
|
"n": 1636,
|
|
85
146
|
"t": "One Overview block on the initiative popup that folds",
|
|
86
147
|
"s": "One Overview block on the initiative popup that folds",
|
|
87
|
-
"k": "new"
|
|
148
|
+
"k": "new",
|
|
149
|
+
"try": {
|
|
150
|
+
"steps": [
|
|
151
|
+
"Open an initiative's popup on the computer.",
|
|
152
|
+
"Press the Overview head."
|
|
153
|
+
],
|
|
154
|
+
"see": "Where it stands and the case sit in one block on top; folded, it keeps one line."
|
|
155
|
+
}
|
|
88
156
|
}
|
|
89
157
|
]
|
|
90
158
|
},
|
|
@@ -97,25 +165,51 @@
|
|
|
97
165
|
"n": 1641,
|
|
98
166
|
"t": "Back after the chat opens a file by itself",
|
|
99
167
|
"s": "Back after the chat opens a file by itself",
|
|
100
|
-
"k": "new"
|
|
168
|
+
"k": "new",
|
|
169
|
+
"try": {
|
|
170
|
+
"steps": [
|
|
171
|
+
"In a chat, ask it to open a report.",
|
|
172
|
+
"Then press Back."
|
|
173
|
+
],
|
|
174
|
+
"see": "You land on the item you were on, not on Today."
|
|
175
|
+
}
|
|
101
176
|
},
|
|
102
177
|
{
|
|
103
178
|
"n": 1640,
|
|
104
179
|
"t": "Open questions in Today's Decide tab, waiting on you and on others (A420)",
|
|
105
180
|
"s": "Open questions in Today's Decide tab, waiting on you and on others (A420)",
|
|
106
|
-
"k": "new"
|
|
181
|
+
"k": "new",
|
|
182
|
+
"try": {
|
|
183
|
+
"steps": [
|
|
184
|
+
"Open Today, then the Decide tab."
|
|
185
|
+
],
|
|
186
|
+
"see": "Two groups, waiting on you and waiting on others, oldest first, each with its age.",
|
|
187
|
+
"open": "/today.html"
|
|
188
|
+
}
|
|
107
189
|
},
|
|
108
190
|
{
|
|
109
191
|
"n": 1644,
|
|
110
192
|
"t": "The item panel lists its customer signals, so a phone tap reaches them (A157)",
|
|
111
193
|
"s": "The item panel lists its customer signals, so a phone tap reaches them (A157)",
|
|
112
|
-
"k": "new"
|
|
194
|
+
"k": "new",
|
|
195
|
+
"try": {
|
|
196
|
+
"steps": [
|
|
197
|
+
"On the phone, open an initiative that has customer signals, then its item panel."
|
|
198
|
+
],
|
|
199
|
+
"see": "A list of signals: who, where, and a link."
|
|
200
|
+
}
|
|
113
201
|
},
|
|
114
202
|
{
|
|
115
203
|
"n": 1645,
|
|
116
204
|
"t": "Pmos positioning, the chat keeps the positioning lines the Board shows (A328)",
|
|
117
205
|
"s": "Pmos positioning, the chat keeps the positioning lines the Board shows (A328)",
|
|
118
|
-
"k": "new"
|
|
206
|
+
"k": "new",
|
|
207
|
+
"try": {
|
|
208
|
+
"steps": [
|
|
209
|
+
"In a product's chat, ask it to keep a positioning line you write."
|
|
210
|
+
],
|
|
211
|
+
"see": "The line shows in the product's positioning on Work."
|
|
212
|
+
}
|
|
119
213
|
}
|
|
120
214
|
]
|
|
121
215
|
},
|
|
@@ -134,31 +228,66 @@
|
|
|
134
228
|
"n": 1635,
|
|
135
229
|
"t": "Goals uses the full width and opens Ask PMOS on the right",
|
|
136
230
|
"s": "Goals uses the full width and opens Ask PMOS on the right",
|
|
137
|
-
"k": "fix"
|
|
231
|
+
"k": "fix",
|
|
232
|
+
"try": {
|
|
233
|
+
"steps": [
|
|
234
|
+
"Open Goals and press Ask PMOS."
|
|
235
|
+
],
|
|
236
|
+
"see": "Goals fills the width; the chat opens on the right.",
|
|
237
|
+
"open": "/premium-goals.html"
|
|
238
|
+
}
|
|
138
239
|
},
|
|
139
240
|
{
|
|
140
241
|
"n": 1612,
|
|
141
242
|
"t": "Phone initiatives as a list with their own small line, no Gantt",
|
|
142
243
|
"s": "Phone initiatives as a list with their own small line, no Gantt",
|
|
143
|
-
"k": "new"
|
|
244
|
+
"k": "new",
|
|
245
|
+
"try": {
|
|
246
|
+
"steps": [
|
|
247
|
+
"On the phone, open Work's initiatives."
|
|
248
|
+
],
|
|
249
|
+
"see": "A list where each row has its own start-to-end line. No Gantt.",
|
|
250
|
+
"open": "/premium-board.html"
|
|
251
|
+
}
|
|
144
252
|
},
|
|
145
253
|
{
|
|
146
254
|
"n": 1624,
|
|
147
255
|
"t": "Pmos press-release, a press release and FAQ draft for a bet (A362)",
|
|
148
256
|
"s": "Pmos press-release, a press release and FAQ draft for a bet (A362)",
|
|
149
|
-
"k": "new"
|
|
257
|
+
"k": "new",
|
|
258
|
+
"try": {
|
|
259
|
+
"steps": [
|
|
260
|
+
"In a chat, ask: draft a press release for this bet."
|
|
261
|
+
],
|
|
262
|
+
"see": "A one-page press release and FAQ from the record, for you to edit."
|
|
263
|
+
}
|
|
150
264
|
},
|
|
151
265
|
{
|
|
152
266
|
"n": 1642,
|
|
153
267
|
"t": "The case card shows a chat save at once",
|
|
154
268
|
"s": "The case card shows a chat save at once",
|
|
155
|
-
"k": "fix"
|
|
269
|
+
"k": "fix",
|
|
270
|
+
"try": {
|
|
271
|
+
"steps": [
|
|
272
|
+
"Open an initiative's popup.",
|
|
273
|
+
"In its chat, ask it to add a line to the case."
|
|
274
|
+
],
|
|
275
|
+
"see": "The case card shows the line without a reload."
|
|
276
|
+
}
|
|
156
277
|
},
|
|
157
278
|
{
|
|
158
279
|
"n": 1627,
|
|
159
280
|
"t": "The Light ground follows the time of day (A339)",
|
|
160
281
|
"s": "The Light ground follows the time of day (A339)",
|
|
161
|
-
"k": "new"
|
|
282
|
+
"k": "new",
|
|
283
|
+
"try": {
|
|
284
|
+
"steps": [
|
|
285
|
+
"Settings, General, turn on Light through the day.",
|
|
286
|
+
"Use the Light theme."
|
|
287
|
+
],
|
|
288
|
+
"see": "The ground is cool in the morning, warm in the afternoon, dusk in the evening.",
|
|
289
|
+
"open": "/today.html?settings=general"
|
|
290
|
+
}
|
|
162
291
|
}
|
|
163
292
|
]
|
|
164
293
|
},
|
|
@@ -171,19 +300,39 @@
|
|
|
171
300
|
"n": 1632,
|
|
172
301
|
"t": "Work always opens in the full popup; remove \"Open work beside the page\"",
|
|
173
302
|
"s": "Work always opens in the full popup; remove \"Open work beside the page\"",
|
|
174
|
-
"k": "fix"
|
|
303
|
+
"k": "fix",
|
|
304
|
+
"try": {
|
|
305
|
+
"steps": [
|
|
306
|
+
"Open any work item.",
|
|
307
|
+
"Check the chat's ⋯ menu."
|
|
308
|
+
],
|
|
309
|
+
"see": "The full popup every time; Open work beside the page is gone."
|
|
310
|
+
}
|
|
175
311
|
},
|
|
176
312
|
{
|
|
177
313
|
"n": 1628,
|
|
178
314
|
"t": "Customer signal count on each roadmap item (A157)",
|
|
179
315
|
"s": "Customer signal count on each roadmap item (A157)",
|
|
180
|
-
"k": "new"
|
|
316
|
+
"k": "new",
|
|
317
|
+
"try": {
|
|
318
|
+
"steps": [
|
|
319
|
+
"Open Work in List view."
|
|
320
|
+
],
|
|
321
|
+
"see": "Items with customer signals show a count in the Next cell; pressing it lists them.",
|
|
322
|
+
"open": "/premium-board.html"
|
|
323
|
+
}
|
|
181
324
|
},
|
|
182
325
|
{
|
|
183
326
|
"n": 1630,
|
|
184
327
|
"t": "Draft positioning and key messages from the strategy, each citing its line (A328)",
|
|
185
328
|
"s": "Draft positioning and key messages from the strategy, each citing its line (A328)",
|
|
186
|
-
"k": "new"
|
|
329
|
+
"k": "new",
|
|
330
|
+
"try": {
|
|
331
|
+
"steps": [
|
|
332
|
+
"On a product with a five-line strategy, ask the chat to draft positioning and key messages."
|
|
333
|
+
],
|
|
334
|
+
"see": "Each line of the draft cites the strategy line it came from."
|
|
335
|
+
}
|
|
187
336
|
}
|
|
188
337
|
]
|
|
189
338
|
},
|
|
@@ -196,13 +345,26 @@
|
|
|
196
345
|
"n": 1631,
|
|
197
346
|
"t": "One icon per action, and a check for icons that drift (A414)",
|
|
198
347
|
"s": "One icon per action, and a check for icons that drift (A414)",
|
|
199
|
-
"k": "new"
|
|
348
|
+
"k": "new",
|
|
349
|
+
"try": {
|
|
350
|
+
"steps": [
|
|
351
|
+
"Look at close, approve, add, undo and back buttons on a few pages."
|
|
352
|
+
],
|
|
353
|
+
"see": "Each action draws the same icon everywhere."
|
|
354
|
+
}
|
|
200
355
|
},
|
|
201
356
|
{
|
|
202
357
|
"n": 1629,
|
|
203
358
|
"t": "PMOS drafts a product's principles from its past decisions, each citing them (job #1613)",
|
|
204
359
|
"s": "PMOS drafts a product's principles from its past decisions, each citing them (job #1613)",
|
|
205
|
-
"k": "new"
|
|
360
|
+
"k": "new",
|
|
361
|
+
"try": {
|
|
362
|
+
"steps": [
|
|
363
|
+
"Open Work for one product that has 3 or more decisions."
|
|
364
|
+
],
|
|
365
|
+
"see": "A Principles block under the strategy with 4 to 6 drafts, each citing decisions; keep or drop each.",
|
|
366
|
+
"open": "/premium-board.html"
|
|
367
|
+
}
|
|
206
368
|
}
|
|
207
369
|
]
|
|
208
370
|
},
|
|
@@ -215,19 +377,38 @@
|
|
|
215
377
|
"n": 1625,
|
|
216
378
|
"t": "A short cue when an item is done, moved or dropped (A313)",
|
|
217
379
|
"s": "A short cue when an item is done, moved or dropped (A313)",
|
|
218
|
-
"k": "new"
|
|
380
|
+
"k": "new",
|
|
381
|
+
"try": {
|
|
382
|
+
"steps": [
|
|
383
|
+
"Mark a task done, or move it, on Today or Work."
|
|
384
|
+
],
|
|
385
|
+
"see": "A short cue on the row, even with reduced motion on.",
|
|
386
|
+
"open": "/premium-board.html"
|
|
387
|
+
}
|
|
219
388
|
},
|
|
220
389
|
{
|
|
221
390
|
"n": 1623,
|
|
222
391
|
"t": "Write the done test's acceptance criteria onto Jira tickets (A384)",
|
|
223
392
|
"s": "Write the done test's acceptance criteria onto Jira tickets (A384)",
|
|
224
|
-
"k": "new"
|
|
393
|
+
"k": "new",
|
|
394
|
+
"try": {
|
|
395
|
+
"steps": [
|
|
396
|
+
"Open an initiative's Work breakdown that tracks open Jira tickets."
|
|
397
|
+
],
|
|
398
|
+
"see": "A ✦ with criteria per ticket. Your ✓ writes them onto your own tickets; others' go to a draft."
|
|
399
|
+
}
|
|
225
400
|
},
|
|
226
401
|
{
|
|
227
402
|
"n": 1626,
|
|
228
403
|
"t": "Kind as scope, part 2: the chat can change kinds, and a project's Build follows its milestones",
|
|
229
404
|
"s": "Kind as scope, part 2: the chat can change kinds, and a project's Build follows its milestones",
|
|
230
|
-
"k": "new"
|
|
405
|
+
"k": "new",
|
|
406
|
+
"try": {
|
|
407
|
+
"steps": [
|
|
408
|
+
"In an initiative's chat, ask: make this a project."
|
|
409
|
+
],
|
|
410
|
+
"see": "The kind changes; a project's Build stage follows its milestone dates."
|
|
411
|
+
}
|
|
231
412
|
}
|
|
232
413
|
]
|
|
233
414
|
},
|
|
@@ -240,13 +421,26 @@
|
|
|
240
421
|
"n": 1620,
|
|
241
422
|
"t": "Pmos questions, every open question in one list with owner, age and default (A420)",
|
|
242
423
|
"s": "Pmos questions, every open question in one list with owner, age and default (A420)",
|
|
243
|
-
"k": "new"
|
|
424
|
+
"k": "new",
|
|
425
|
+
"try": {
|
|
426
|
+
"steps": [
|
|
427
|
+
"In a chat, ask: what questions are open?"
|
|
428
|
+
],
|
|
429
|
+
"see": "One list with who can answer, how long it waited, and the default."
|
|
430
|
+
}
|
|
244
431
|
},
|
|
245
432
|
{
|
|
246
433
|
"n": 1603,
|
|
247
434
|
"t": "Refresh Jira by tier, reading only what changed",
|
|
248
435
|
"s": "Refresh Jira by tier, reading only what changed",
|
|
249
|
-
"k": "new"
|
|
436
|
+
"k": "new",
|
|
437
|
+
"try": {
|
|
438
|
+
"steps": [
|
|
439
|
+
"Refresh Work."
|
|
440
|
+
],
|
|
441
|
+
"see": "It finishes sooner and nothing is missing from the sprint.",
|
|
442
|
+
"open": "/premium-board.html"
|
|
443
|
+
}
|
|
250
444
|
}
|
|
251
445
|
]
|
|
252
446
|
},
|
|
@@ -259,7 +453,13 @@
|
|
|
259
453
|
"n": 1605,
|
|
260
454
|
"t": "Update PMOS from the phone",
|
|
261
455
|
"s": "Update PMOS from the phone",
|
|
262
|
-
"k": "new"
|
|
456
|
+
"k": "new",
|
|
457
|
+
"try": {
|
|
458
|
+
"steps": [
|
|
459
|
+
"On the phone, open Settings."
|
|
460
|
+
],
|
|
461
|
+
"see": "An Update icon when a newer PMOS exists; pressing it updates the computer and reloads."
|
|
462
|
+
}
|
|
263
463
|
}
|
|
264
464
|
]
|
|
265
465
|
},
|
|
@@ -272,7 +472,13 @@
|
|
|
272
472
|
"n": 1604,
|
|
273
473
|
"t": "What the chat writes shows on the workspace cards",
|
|
274
474
|
"s": "What the chat writes shows on the workspace cards",
|
|
275
|
-
"k": "fix"
|
|
475
|
+
"k": "fix",
|
|
476
|
+
"try": {
|
|
477
|
+
"steps": [
|
|
478
|
+
"In an initiative's chat, ask it to write the case."
|
|
479
|
+
],
|
|
480
|
+
"see": "The case shows on the workspace card."
|
|
481
|
+
}
|
|
276
482
|
}
|
|
277
483
|
]
|
|
278
484
|
},
|
|
@@ -285,7 +491,14 @@
|
|
|
285
491
|
"n": 1602,
|
|
286
492
|
"t": "Jira sprint read and account lookup work with the Atlassian MCP connector",
|
|
287
493
|
"s": "Jira sprint read and account lookup work with the Atlassian MCP connector",
|
|
288
|
-
"k": "fix"
|
|
494
|
+
"k": "fix",
|
|
495
|
+
"try": {
|
|
496
|
+
"steps": [
|
|
497
|
+
"Refresh Work for a product that uses Jira."
|
|
498
|
+
],
|
|
499
|
+
"see": "The sprint loads; large sprints no longer stop.",
|
|
500
|
+
"open": "/premium-board.html"
|
|
501
|
+
}
|
|
289
502
|
}
|
|
290
503
|
]
|
|
291
504
|
},
|
package/workspace/guide/cli.md
CHANGED
|
@@ -278,6 +278,15 @@ The idle lab run uses only the first three commands:
|
|
|
278
278
|
- `pmos lab critic checks [--root <dir>]`: the checks the critic uses for the product in that folder. No server is needed.
|
|
279
279
|
- `pmos lab critic label <run> <n> real|noise`: your word on finding `n` of a critic run. `pmos lab critic stats` counts the runs, the findings, and how many you called real or noise.
|
|
280
280
|
|
|
281
|
+
### pmos try: try what your updates brought
|
|
282
|
+
|
|
283
|
+
On a computer that follows the beta line, each update brings a short list of changes to try. Today shows one row for it, and Settings › Updates shows the list.
|
|
284
|
+
|
|
285
|
+
- `pmos try` (or `pmos try list`) lists the changes to try, newest first: what changed, 1 to 3 steps, what you should see, and the page to open.
|
|
286
|
+
- `pmos try works <n>`, `pmos try broken <n> [--note "…"]` and `pmos try note <n> --note "…"` keep your answer. `<n>` is the number in the list. `pmos try undo <n>` takes it back.
|
|
287
|
+
- `pmos try later` hides Today's row until tomorrow. `pmos try count` prints the percent of recent changes you answered.
|
|
288
|
+
- Your answers stay on this computer. A computer on the GA line has no list.
|
|
289
|
+
|
|
281
290
|
### pmos glossary: the product's own words, explained on every page
|
|
282
291
|
|
|
283
292
|
Run it in the product's repository, or pass `--root <dir>`. It writes the product's records folder on disk, needs no running workspace and sends nothing.
|
|
@@ -546,6 +555,24 @@ The text form prints one column per block, then one line for each card: the init
|
|
|
546
555
|
|
|
547
556
|
`pmos board` exits with 0 when it printed the Board, 1 when the initiative is not on the Board, and 2 when the command line is wrong.
|
|
548
557
|
|
|
558
|
+
### pmos signal: customer signals behind each roadmap item
|
|
559
|
+
|
|
560
|
+
The Board shows on each roadmap item how many customer signals back it. A press on the count lists them. On a phone, a tap on the item opens its panel with the same list. `pmos signal` adds and removes them, so a chat can too. It works on the git root of the current folder; `--root <dir>` names another.
|
|
561
|
+
|
|
562
|
+
```
|
|
563
|
+
pmos signal add <initiative> --who "<customer>" [--where ticket|call|email|chat|survey|review|other] [--link <url>] [--note "<one line>"]
|
|
564
|
+
pmos signal remove <sid>
|
|
565
|
+
pmos signal list [<initiative>] [--json]
|
|
566
|
+
pmos signal count [<checkout>]
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
- `pmos signal add` writes one line to `planning/runs/customer-signals.jsonl` and prints the signal's id (`cs_…`). The same customer and link on the same initiative is added once. An initiative with no record is refused.
|
|
570
|
+
- `pmos signal remove <sid>` takes a signal off the list.
|
|
571
|
+
- `pmos signal list` prints each initiative's signals; `--json` prints them for scripts.
|
|
572
|
+
- `pmos signal count` prints how many initiatives have a signal, with the number on its last line.
|
|
573
|
+
|
|
574
|
+
`pmos signal` exits with 0 when it is done, 1 when it refused, and 2 when the command line is wrong.
|
|
575
|
+
|
|
549
576
|
### pmos program
|
|
550
577
|
|
|
551
578
|
`pmos program suggest` is the only write of the milestone review run. It files a suggestion for you to keep, change or drop.
|
|
@@ -139,6 +139,9 @@ const VERBS = Object.freeze({
|
|
|
139
139
|
// Not a pm-os-absorb verb (run: null): initiative open-questions-register (bet A420) added it through the same table.
|
|
140
140
|
questions: Object.freeze({ module: 'questions-cli.js', run: null, guide: 'cli.md',
|
|
141
141
|
help: 'pmos questions [age] — every unanswered question across initiatives, oldest first, with who can answer, its age and its default (pmos questions help)' }),
|
|
142
|
+
// Not a pm-os-absorb verb (run: null): initiative try-what-shipped added it through the same table.
|
|
143
|
+
try: Object.freeze({ module: 'try-it.js', run: null, guide: 'cli.md',
|
|
144
|
+
help: 'pmos try [works|broken|note|undo|later|count] — the changes your recent updates brought, how to try each, and your answer (beta only; pmos try help)' }),
|
|
142
145
|
// Not a pm-os-absorb verb (run: null): initiative three-line-why (bet A86) added it through the same table.
|
|
143
146
|
why: Object.freeze({ module: 'why-cli.js', run: null, guide: 'cli.md',
|
|
144
147
|
help: 'pmos why <initiative or task> | coverage — why the work exists in three lines: goal, problem, evidence, read from its records (pmos why help)' }),
|
|
@@ -195,6 +198,9 @@ const VERBS = Object.freeze({
|
|
|
195
198
|
// Not a pm-os-absorb verb (run: null): feedback batch 25 item 1 added it through the same table.
|
|
196
199
|
'git-identity': Object.freeze({ module: 'git-identity-cli.js', run: null, guide: 'cli.md',
|
|
197
200
|
help: 'pmos git-identity [set --name <n> --email <e> --login <gh>] — which git identity and GitHub login this repository uses; save your choice for it' }),
|
|
201
|
+
// Not a pm-os-absorb verb (run: null): roadmap-signal-verb (bet A157) added it through the same table.
|
|
202
|
+
signal: Object.freeze({ module: 'signal-cli.js', run: null, guide: 'cli.md',
|
|
203
|
+
help: 'pmos signal add|remove|list|count — the customer signals behind each roadmap item; the Board shows the count (pmos signal help)' }),
|
|
198
204
|
launcher: Object.freeze({ module: 'launcher-cli.js', run: null, guide: 'cli.md',
|
|
199
205
|
help: 'pmos launcher on|off|status — a PMOS app and a login item, so the workspace starts without a terminal' }),
|
|
200
206
|
});
|
|
@@ -51,6 +51,7 @@ const MODULES = Object.freeze([
|
|
|
51
51
|
'routes-doc-health', // console3 B2: the six document health checks, recomputed from text
|
|
52
52
|
'routes-outbox', // console3 B3: the outbox queue, hash-bound confirm (no channel connected)
|
|
53
53
|
'routes-waiting', // home-your-move-waiting: Waiting on others, derived from records, with its exit rule
|
|
54
|
+
'routes-try', // try-what-shipped: the changes to try after an update, and the user's Works / Didn't work / note (beta only; try/answers.jsonl)
|
|
54
55
|
'routes-glossary', // glossary-hover (A386): the glossary of the products a page shows (read only; pmos glossary writes it)
|
|
55
56
|
'routes-open-questions', // open-questions-register (A420): one register of every unanswered question, with owner, age and default
|
|
56
57
|
'routes-calendar-views', // console3 C2: Day/Week/Month/Quarter/Year cells, Gantt and the strategy lens (read-only)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* routes-try.js — try what shipped (initiative try-what-shipped; lib/try-it.js is the store and the list).
|
|
3
|
+
*
|
|
4
|
+
* GET /api/try → { ok, beta, items: [card], total, shown, later, row } the changes to try (beta only)
|
|
5
|
+
* POST /api/try/answer { key, verdict, note? } → { ok, line } works | broken | note | undo, the PM's press
|
|
6
|
+
* POST /api/try/later {} → { ok } hide Home's row until tomorrow
|
|
7
|
+
*
|
|
8
|
+
* Every POST passes pm-guard requirePagePress: the page only (pmos try is the chat's way). Answers stay in <state>/try/answers.jsonl on
|
|
9
|
+
* this computer; nothing is sent. A computer on the GA line gets an empty list. */
|
|
10
|
+
const guard = require('./pm-guard.js');
|
|
11
|
+
const T = require('./try-it.js');
|
|
12
|
+
|
|
13
|
+
module.exports = {
|
|
14
|
+
prefixes: ['/api/try'],
|
|
15
|
+
handle: async (req, res, url, ctx) => {
|
|
16
|
+
const p = url.pathname;
|
|
17
|
+
if (p !== '/api/try' && p !== '/api/try/answer' && p !== '/api/try/later') return false;
|
|
18
|
+
if (!ctx.runtimeDir) { ctx.json(res, { ok: false, error: 'PMOS has no state folder here, so it cannot keep your answers' }, 503); return true; }
|
|
19
|
+
const C = T.ctxOf({ stateDir: ctx.runtimeDir, appDir: ctx.tryAppDir || undefined, beta: ctx.tryBeta });
|
|
20
|
+
if (p === '/api/try') {
|
|
21
|
+
if (req.method !== 'GET') { ctx.json(res, { ok: false, error: 'GET only' }, 405); return true; }
|
|
22
|
+
const F = T.fold(T.readLines(C.stateDir));
|
|
23
|
+
const L = T.listOf({ changes: C.changes, installed: C.installed, answers: F.answers, now: C.now, beta: C.beta });
|
|
24
|
+
ctx.json(res, { ok: true, ...L, later: F.later, row: T.rowOf(L, { later: F.later }) });
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
if (req.method !== 'POST') { ctx.json(res, { ok: false, error: 'POST only' }, 405); return true; }
|
|
28
|
+
const got = await ctx.readJson(req);
|
|
29
|
+
if (!got.ok) { ctx.json(res, { ok: false, error: 'invalid JSON body' }, 400); return true; }
|
|
30
|
+
const body = got.body || {};
|
|
31
|
+
const g = guard.requirePagePress(req, body);
|
|
32
|
+
if (!g.ok) { ctx.json(res, { ok: false, error: g.error }, g.status); return true; }
|
|
33
|
+
if (!C.beta) { ctx.json(res, { ok: false, error: 'This computer follows the GA line, so there is nothing to try here' }, 409); return true; }
|
|
34
|
+
if (p === '/api/try/later') { T.later(C.stateDir, { now: C.now }); ctx.json(res, { ok: true }); return true; }
|
|
35
|
+
const r = T.answer(C.stateDir, { key: String(body.key || ''), verdict: String(body.verdict || ''), note: body.note }, C);
|
|
36
|
+
ctx.json(res, r, r.ok ? 200 : 400);
|
|
37
|
+
return true;
|
|
38
|
+
},
|
|
39
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* signal-cli.js — `pmos signal`: the customer signals behind each roadmap item (roadmap-signal-verb, bet A157).
|
|
3
|
+
*
|
|
4
|
+
* pmos signal add <initiative> --who "<customer>" [--where ticket|call|email|chat|survey|review|other] [--link <url>] [--note "<one line>"]
|
|
5
|
+
* pmos signal remove <sid>
|
|
6
|
+
* pmos signal list [<initiative>] [--json]
|
|
7
|
+
* pmos signal count [<checkout>]
|
|
8
|
+
*
|
|
9
|
+
* A thin verb over lib/customer-signals.js main(): the same ledger (planning/runs/customer-signals.jsonl) that the Board's
|
|
10
|
+
* count and the item panel read, so a signal a chat adds shows on the roadmap at the next read. Without --root it works on
|
|
11
|
+
* the git root of the current folder. Exit codes: 0 done, 1 refused, 2 usage.
|
|
12
|
+
*/
|
|
13
|
+
const { execFileSync } = require('child_process');
|
|
14
|
+
const CS = require('./customer-signals.js');
|
|
15
|
+
|
|
16
|
+
const COMMANDS = { signal: ['add', 'remove', 'list', 'count'] };
|
|
17
|
+
const USAGE = [
|
|
18
|
+
'usage: pmos signal add <initiative> --who "<customer>" [--where ' + CS.WHERE.join('|') + '] [--link <url>] [--note "<one line>"] [--root <dir>]',
|
|
19
|
+
' pmos signal remove <sid> [--root <dir>]',
|
|
20
|
+
' pmos signal list [<initiative>] [--json] [--root <dir>]',
|
|
21
|
+
' pmos signal count [<checkout>]',
|
|
22
|
+
'The Board shows the count on each roadmap item, and a press (or a tap on the item on a phone) lists them.',
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
function gitRoot(cwd = process.cwd()) {
|
|
26
|
+
try { return execFileSync('git', ['rev-parse', '--show-toplevel'], { cwd, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] }).trim() || cwd; }
|
|
27
|
+
catch { return cwd; }
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function run(argv, { say = console.log } = {}) {
|
|
31
|
+
const rest = argv.slice(1);
|
|
32
|
+
const sub = rest[0];
|
|
33
|
+
if (!sub || sub === 'help' || rest.includes('--help') || !COMMANDS.signal.includes(sub)) { USAGE.forEach((l) => say(l)); return 2; }
|
|
34
|
+
const args = rest.slice();
|
|
35
|
+
const hasRoot = args.includes('--root');
|
|
36
|
+
if (sub === 'count') { if (!hasRoot && !args.slice(1).some((a) => !a.startsWith('--'))) args.push(gitRoot()); }
|
|
37
|
+
else if (!hasRoot) args.push('--root', gitRoot());
|
|
38
|
+
return CS.main(args, say);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
module.exports = { run, COMMANDS, USAGE };
|