create-pmos 0.828.0 → 0.830.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 (113) hide show
  1. package/package.json +237 -35
  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/state/discoveries.md +1 -1
  6. package/workspace/board-deliveries-test.js +2 -2
  7. package/workspace/briefing-premium-board-test.js +1 -1
  8. package/workspace/briefing-premium-insights-test.js +1 -1
  9. package/workspace/changelog.json +236 -8
  10. package/workspace/guide/agent-capabilities.md +1 -1
  11. package/workspace/guide/backlog.md +12 -1
  12. package/workspace/guide/cli.md +46 -1
  13. package/workspace/guide/home.md +2 -1
  14. package/workspace/guide/layout.md +1 -0
  15. package/workspace/guide/settings-and-switches.md +1 -0
  16. package/workspace/lib/board-premium.js +1 -0
  17. package/workspace/lib/code-map.js +8 -2
  18. package/workspace/lib/critical-needs.js +162 -0
  19. package/workspace/lib/deps-cli.js +102 -0
  20. package/workspace/lib/engine/boards.js +13 -2
  21. package/workspace/lib/factory-floor.js +16 -8
  22. package/workspace/lib/features.json +17 -13
  23. package/workspace/lib/needs-providers.js +1 -0
  24. package/workspace/lib/page-one-answer.js +86 -0
  25. package/workspace/lib/pages-cli.js +6 -2
  26. package/workspace/lib/people-cli.js +9 -1
  27. package/workspace/lib/people-prep.js +140 -0
  28. package/workspace/lib/pmos-verbs.js +10 -0
  29. package/workspace/lib/print-cli.js +49 -0
  30. package/workspace/lib/print-pdf.js +96 -0
  31. package/workspace/lib/prototype-cli.js +86 -0
  32. package/workspace/lib/report-cli.js +12 -2
  33. package/workspace/lib/report-readers.js +5 -3
  34. package/workspace/lib/review-pack.js +348 -0
  35. package/workspace/lib/review-reasons.js +121 -9
  36. package/workspace/lib/route-modules.js +5 -0
  37. package/workspace/lib/routes-boards.js +25 -2
  38. package/workspace/lib/routes-report-design.js +3 -1
  39. package/workspace/lib/routes-review-pack.js +42 -0
  40. package/workspace/lib/routes-roadmap-ops.js +53 -1
  41. package/workspace/lib/routes-sim-users.js +66 -0
  42. package/workspace/lib/routes-skill-map.js +39 -0
  43. package/workspace/lib/routes-strategy-card.js +13 -6
  44. package/workspace/lib/routes-team-waits.js +24 -0
  45. package/workspace/lib/sim-users.js +329 -0
  46. package/workspace/lib/skill-map.js +199 -0
  47. package/workspace/lib/task-store.js +1 -1
  48. package/workspace/lib/team-cli.js +20 -1
  49. package/workspace/lib/team-waits.js +167 -0
  50. package/workspace/lib/tradeoff-cards.js +258 -0
  51. package/workspace/lib/tradeoff-cli.js +83 -0
  52. package/workspace/package-lock.json +2 -2
  53. package/workspace/package.json +1 -1
  54. package/workspace/public/pm/action-keys.js +1 -0
  55. package/workspace/public/pm/ask-here-ctx.js +25 -1
  56. package/workspace/public/pm/ask-here.css +7 -0
  57. package/workspace/public/pm/ask-here.js +15 -2
  58. package/workspace/public/pm/bd-backlog.css +61 -0
  59. package/workspace/public/pm/bd-backlog.js +99 -7
  60. package/workspace/public/pm/bd-work.js +12 -1
  61. package/workspace/public/pm/code-map.js +15 -4
  62. package/workspace/public/pm/cozy-board.css +5 -1
  63. package/workspace/public/pm/cozy-library.css +5 -0
  64. package/workspace/public/pm/cozy-pop-work.js +4 -1
  65. package/workspace/public/pm/cozy-proto.css +5 -0
  66. package/workspace/public/pm/cozy-proto.js +11 -3
  67. package/workspace/public/pm/cozy-search.js +2 -2
  68. package/workspace/public/pm/cozy-today-app.js +5 -2
  69. package/workspace/public/pm/day-time.js +8 -0
  70. package/workspace/public/pm/factory.js +199 -0
  71. package/workspace/public/pm/home-ini.js +3 -2
  72. package/workspace/public/pm/ini-links.js +2 -1
  73. package/workspace/public/pm/ini-tasks.js +5 -2
  74. package/workspace/public/pm/ini-view-model.js +14 -6
  75. package/workspace/public/pm/ini-view.js +12 -2
  76. package/workspace/public/pm/library-model.js +1 -1
  77. package/workspace/public/pm/page-one-answer.css +18 -0
  78. package/workspace/public/pm/page-one-answer.js +134 -0
  79. package/workspace/public/pm/pop-cap.js +5 -3
  80. package/workspace/public/pm/pop-work-model.js +8 -6
  81. package/workspace/public/pm/portfolio.js +1 -1
  82. package/workspace/public/pm/premium-board.js +23 -6
  83. package/workspace/public/pm/premium-library.js +27 -3
  84. package/workspace/public/pm/premium-report-read.js +11 -2
  85. package/workspace/public/pm/print-pdf.js +191 -0
  86. package/workspace/public/pm/range-pick.css +12 -0
  87. package/workspace/public/pm/range-pick.js +30 -6
  88. package/workspace/public/pm/review-pack.js +47 -0
  89. package/workspace/public/pm/review-reasons.js +19 -5
  90. package/workspace/public/pm/sim-users.js +34 -0
  91. package/workspace/public/pm/skill-map.js +57 -0
  92. package/workspace/public/pm/sort-order.js +3 -0
  93. package/workspace/public/pm/task-card.js +10 -7
  94. package/workspace/public/pm/team-waits.js +56 -0
  95. package/workspace/public/pm/tradeoff-cards.css +27 -0
  96. package/workspace/public/pm/tradeoff-cards.js +183 -0
  97. package/workspace/public/premium-board.html +3 -0
  98. package/workspace/public/today.html +1 -0
  99. package/workspace/run-tests.js +9 -1
  100. package/workspace/test-lists/critical-needs.json +9 -0
  101. package/workspace/test-lists/factory-page-ui.json +9 -0
  102. package/workspace/test-lists/page-one-answer.json +9 -0
  103. package/workspace/test-lists/people-prep.json +9 -0
  104. package/workspace/test-lists/print-pdf.json +9 -0
  105. package/workspace/test-lists/review-pack.json +9 -0
  106. package/workspace/test-lists/sim-users.json +9 -0
  107. package/workspace/test-lists/skill-map.json +9 -0
  108. package/workspace/test-lists/surface-ask-card.json +9 -0
  109. package/workspace/test-lists/task-time-optional.json +9 -0
  110. package/workspace/test-lists/team-waits.json +9 -0
  111. package/workspace/test-lists/tradeoff-cards.json +9 -0
  112. package/workspace/test-lists/voice-files.json +9 -0
  113. package/workspace/test-timings.json +25 -0
@@ -1,4 +1,232 @@
1
1
  [
2
+ {
3
+ "v": "0.830.0",
4
+ "at": "2026-11-25T13:56:41.093Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 2008,
9
+ "t": "Customer voice reads review exports by itself",
10
+ "s": "Customer voice reads review exports by itself",
11
+ "k": "new",
12
+ "i": "review-reasons-files",
13
+ "try": {
14
+ "steps": [
15
+ "Put an app-store or survey export with review, survey, nps, csat, feedback or rating in its name (a CSV with a text or comment column) in…",
16
+ "Open Work for that product and find Customer voice under the strategy, with the line that names the file PMOS read",
17
+ "Press Undo on that line: the comments go, and PMOS does not read the file again until it changes"
18
+ ],
19
+ "see": "Customer voice shows by itself, grouped by reason, with one line naming the file it came from. Undo takes the file's comments back. Nothing is sent",
20
+ "open": "/premium-board.html"
21
+ }
22
+ },
23
+ {
24
+ "n": 1966,
25
+ "t": "Team skill map on Work (A208)",
26
+ "s": "Team skill map on Work (A208)",
27
+ "k": "new",
28
+ "h": "Team skill map on Work (A208)",
29
+ "try": {
30
+ "steps": [
31
+ "Open Work on one product and find Team skills under Principles",
32
+ "Read each person's two columns: strong at, often corrected on",
33
+ "Press ✕ on the ✦ pairing line to see the next one, then Undo"
34
+ ],
35
+ "see": "One row per person with what they are strong at and what they are often corrected on, from the last 90 days of sign-offs and decisions. No numbers and no ranking. One ✦ line suggests one pair at a…",
36
+ "open": "/premium-board.html"
37
+ },
38
+ "i": "skill-map"
39
+ },
40
+ {
41
+ "n": 1927,
42
+ "t": "Work › Factory, the stations and the work they make (job #1863)",
43
+ "s": "Work › Factory, the stations and the work they make (job #1863)",
44
+ "k": "new",
45
+ "i": "factory-page-ui",
46
+ "try": {
47
+ "steps": [
48
+ "Open Work and press the Factory tab beside Line; read the status line (red only while something waits on you, naming how many sign-offs or…",
49
+ "Press the open arrow on a station tile, for example Shape: read what waits there, what it made this week (Undo on a change PMOS applied)…",
50
+ "Press the arrow on the You tile: Today opens with the rows that wait on you."
51
+ ],
52
+ "see": "Five station tiles in flow order (Intake, Shape, Plan, Track, Evaluate) with Waiting, Made this week, PMOS time and You undid; a station with nothing waiting and nothing made is grey and silent; the…",
53
+ "open": "/premium-board.html?work=factory"
54
+ }
55
+ },
56
+ {
57
+ "n": 1961,
58
+ "t": "Print or PDF prints initiatives, reports and the roadmap in one clean layout (job #1911, A379)",
59
+ "s": "Print or PDF prints initiatives, reports and the roadmap in one clean layout (job #1911, A379)",
60
+ "k": "new",
61
+ "h": "Print or PDF prints initiatives, reports and the roadmap in one clean layout (job #1911,…",
62
+ "try": {
63
+ "steps": [
64
+ "Open Work, press an initiative, then ⋯ › Print or PDF",
65
+ "In the print window choose Save as PDF",
66
+ "On Work's list press the print icon beside Choose columns to print the roadmap"
67
+ ],
68
+ "see": "A clean page with no buttons, panels or chat. Each page shows the title, the date and page N of M, and the product's brand when it has its own design system. Late, At risk and other states print as…",
69
+ "open": "/premium-board.html"
70
+ },
71
+ "i": "print-pdf"
72
+ },
73
+ {
74
+ "n": 2001,
75
+ "t": "A 1:1 brief from the person's own tasks (A85)",
76
+ "s": "A 1:1 brief from the person's own tasks (A85)",
77
+ "k": "new",
78
+ "i": "people-prep",
79
+ "try": {
80
+ "steps": [
81
+ "On Today, press a person's name in a line and choose Ask PMOS about them",
82
+ "In the Ask card, press the first ✦, Prepare my 1:1 with them",
83
+ "Read the answer: what they shipped in 14 days, where they are stuck, one thing to recognise, each with its source"
84
+ ],
85
+ "see": "The ✦ shows with nothing typed. The brief lists only tasks that person owns: Done in the last 14 days, open ones that are late or blocked, and one Done task to recognise. Each line names the task…",
86
+ "open": "/today.html"
87
+ }
88
+ },
89
+ {
90
+ "n": 1992,
91
+ "t": "The Ask card shows what PMOS can do for what you pressed; Ctrl K says Search or ask (job #1989)",
92
+ "s": "The Ask card shows what PMOS can do for what you pressed; Ctrl K says Search or ask (job #1989)",
93
+ "k": "new",
94
+ "h": "The Ask card shows what PMOS can do for what you pressed; Ctrl K says Search or ask (job…",
95
+ "try": {
96
+ "steps": [
97
+ "Open Work",
98
+ "Right-click an initiative row (long-press on a phone)",
99
+ "On the card, press Why this work exists"
100
+ ],
101
+ "see": "The Ask card lists what PMOS can do for an initiative. One press asks it in the card's chat, about that initiative, with nothing typed. Ctrl K says Search or ask, and the ? list names the…",
102
+ "open": "/premium-board.html"
103
+ },
104
+ "i": "surface-ask-card"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "v": "0.829.0",
110
+ "at": "2026-11-25T13:25:22.949Z",
111
+ "f": 4,
112
+ "prs": [
113
+ {
114
+ "n": 1948,
115
+ "t": "Work › Dependencies lists who waits on which team",
116
+ "s": "Work › Dependencies lists who waits on which team",
117
+ "k": "new",
118
+ "i": "team-waits",
119
+ "h": "Work › Dependencies lists who waits on which team",
120
+ "try": {
121
+ "steps": [
122
+ "Open Work",
123
+ "Press the Dependencies tab",
124
+ "On a row, press the person icon (Chase)"
125
+ ],
126
+ "see": "Waiting on other teams: one row per wait, oldest first, each with the day it started; a wait of 14 days or more says how many days and shows the late mark; a wait in a sprint that is still running…",
127
+ "open": "/premium-board.html?work=deps"
128
+ }
129
+ },
130
+ {
131
+ "n": 2002,
132
+ "t": "A Today row when a critical-path task moves (A103)",
133
+ "s": "A Today row when a critical-path task moves (A103)",
134
+ "k": "new",
135
+ "i": "critical-moved",
136
+ "h": "A Today row when a critical-path task moves (A103)",
137
+ "try": {
138
+ "steps": [
139
+ "Open Today: when a task on an initiative's critical path moved its start or due date in the last 7 days, a row names the task, the move…",
140
+ "Open Work, open that initiative and read its plan: the task the row named sits on the critical path.",
141
+ "Move the date of a task that is not on the critical path, then open Today again: no new row."
142
+ ],
143
+ "see": "One row per critical-path move, for example: \"Design review\" moved its due from Dec 3 to Dec 6. It is on the critical path of Checkout revamp, so go-live forecasts Dec 12. No. Forecast Dec 12, 2…",
144
+ "open": "/today.html"
145
+ }
146
+ },
147
+ {
148
+ "n": 1964,
149
+ "t": "Trade-off cards decide two close Roadmap neighbours and keep the reason (job #1918, A325)",
150
+ "s": "Trade-off cards decide two close Roadmap neighbours and keep the reason (job #1918, A325)",
151
+ "k": "new",
152
+ "i": "tradeoff-cards",
153
+ "h": "Trade-off cards decide two close Roadmap neighbours and keep the reason (job #1918, A325)",
154
+ "try": {
155
+ "steps": [
156
+ "Open Work and find the line These two are close. Compare them between two initiatives",
157
+ "Press it, read both sides and the ✦ line, write why in one line and press ✓"
158
+ ],
159
+ "see": "The card shows the goal, evidence, cost, risk and what waits for each side, with not known where a record says nothing. After ✓ the reason shows once under the row that went first, and the toast has…",
160
+ "open": "/premium-board.html"
161
+ }
162
+ },
163
+ {
164
+ "n": 1965,
165
+ "t": "Simulated users try the prototype — Findings above the design (A20, #1909)",
166
+ "s": "Simulated users try the prototype — Findings above the design (A20, #1909)",
167
+ "k": "new",
168
+ "i": "sim-users",
169
+ "h": "Simulated users try the prototype",
170
+ "try": {
171
+ "steps": [
172
+ "Open Work and open an initiative that has a prototype",
173
+ "Press its prototype to open it in the Viewer",
174
+ "Read Findings above the design and press one finding"
175
+ ],
176
+ "see": "Findings says how many simulated users (one per persona) got stuck on each key task and where, for example 2 of 4 personas stuck at Pay, with who they are; a task everyone finished is one line.…",
177
+ "open": "/premium-board.html"
178
+ }
179
+ },
180
+ {
181
+ "n": 1974,
182
+ "t": "Monthly product review pack in Library › Reports (job #1910, A343)",
183
+ "s": "Monthly product review pack in Library › Reports (job #1910, A343)",
184
+ "k": "new",
185
+ "i": "review-pack",
186
+ "h": "Monthly product review pack in Library › Reports (job #1910, A343)",
187
+ "try": {
188
+ "steps": [
189
+ "From Today, open Library in the rail and pick Reports in the Kind chip",
190
+ "Press this month's review pack: read Goals, Bets that failed, Next big decision and Asks, each line with its source",
191
+ "Open it with the arrow to edit it in the document view"
192
+ ],
193
+ "see": "One pack for each product, drafted by PMOS in the last week of the month. Every line names the record it came from; a part with nothing to say is not shown. The pack changes only when you edit it.…",
194
+ "open": "/premium-library.html"
195
+ }
196
+ },
197
+ {
198
+ "n": 1962,
199
+ "t": "Every page opens with one answer (job #1889)",
200
+ "s": "Every page opens with one answer (job #1889)",
201
+ "k": "new",
202
+ "i": "page-one-answer",
203
+ "h": "Every page opens with one answer (job #1889)",
204
+ "try": {
205
+ "steps": [
206
+ "Open Today and read the first line: how many things need you, and how many are moving",
207
+ "Open Work and read the same line, then the Needs you rows under it",
208
+ "Open the fold under them and see the rest"
209
+ ],
210
+ "see": "Each page opens with one sentence that counts what needs you, then the rest. Under it, only what needs you. The rest is folded until you open it. When nothing needs you the line says All moving and…",
211
+ "open": "/today.html"
212
+ }
213
+ },
214
+ {
215
+ "n": 1995,
216
+ "t": "An optional time on a task's start and due",
217
+ "s": "An optional time on a task's start and due",
218
+ "k": "new",
219
+ "i": "task-time-optional"
220
+ },
221
+ {
222
+ "n": 2007,
223
+ "t": "Portfolio's Not now draws the dismiss icon",
224
+ "s": "Portfolio's Not now draws the dismiss icon",
225
+ "k": "fix",
226
+ "i": "portfolio"
227
+ }
228
+ ]
229
+ },
2
230
  {
3
231
  "v": "0.828.0",
4
232
  "at": "2026-11-25T12:42:22.052Z",
@@ -9,6 +237,7 @@
9
237
  "t": "Reviews grouped by reason — Customer voice on Work and pmos voice (job #1913, A427)",
10
238
  "s": "Reviews grouped by reason — Customer voice on Work and pmos voice (job #1913, A427)",
11
239
  "k": "new",
240
+ "i": "review-reasons",
12
241
  "h": "Reviews grouped by reason — Customer voice on Work and pmos voice (job #1913, A427)",
13
242
  "try": {
14
243
  "steps": [
@@ -18,14 +247,14 @@
18
247
  ],
19
248
  "see": "Customer voice lists each reason with its comments, how it moved in 30 days and the score in one line under the reasons. ✦ files the complaint as a triage item and the toast offers Undo, which takes…",
20
249
  "open": "/premium-board.html"
21
- },
22
- "i": "review-reasons"
250
+ }
23
251
  },
24
252
  {
25
253
  "n": 1977,
26
254
  "t": "Work and Today get the popup's five-action limit (job #1917, A529)",
27
255
  "s": "Work and Today get the popup's five-action limit (job #1917, A529)",
28
256
  "k": "new",
257
+ "i": "five-action-cap",
29
258
  "h": "Work and Today get the popup's five-action limit (job #1917, A529)",
30
259
  "try": {
31
260
  "steps": [
@@ -35,14 +264,14 @@
35
264
  ],
36
265
  "see": "Each Today row shows three buttons at most. ⋯ opens a short menu that starts with Change and holds every action the row does not show, so nothing is lost. Work's header keeps five actions and its ⋯.",
37
266
  "open": "/today.html"
38
- },
39
- "i": "five-action-cap"
267
+ }
40
268
  },
41
269
  {
42
270
  "n": 1959,
43
271
  "t": "The Portfolio puts every product side by side (job #1894, A56)",
44
272
  "s": "The Portfolio puts every product side by side (job #1894, A56)",
45
273
  "k": "new",
274
+ "i": "portfolio",
46
275
  "h": "The Portfolio puts every product side by side (job #1894, A56)",
47
276
  "try": {
48
277
  "steps": [
@@ -52,14 +281,14 @@
52
281
  ],
53
282
  "see": "One row per product with its open bets, the share of its checked outcomes that held, what its agent runs cost in 30 days and its latest outcome that held. At most one ✦ recommendation with its…",
54
283
  "open": "/premium-portfolio.html"
55
- },
56
- "i": "portfolio"
284
+ }
57
285
  },
58
286
  {
59
287
  "n": 1967,
60
288
  "t": "Who decides, who must agree, who needs to know on each initiative (job #1896)",
61
289
  "s": "Who decides, who must agree, who needs to know on each initiative (job #1896)",
62
290
  "k": "new",
291
+ "i": "stakeholder-map",
63
292
  "h": "Who decides, who must agree, who needs to know on each initiative (job #1896)",
64
293
  "try": {
65
294
  "steps": [
@@ -69,8 +298,7 @@
69
298
  ],
70
299
  "see": "One People block with the names PMOS found in Jira, meeting notes, mail and sign-offs, each a draft until you keep it. A name not updated in 3 weeks shows a warning and a ✦ draft update. PMOS sends…",
71
300
  "open": "/premium-board.html"
72
- },
73
- "i": "stakeholder-map"
301
+ }
74
302
  },
75
303
  {
76
304
  "n": 1887,
@@ -167,7 +167,7 @@ When you ask an agent session to do a piece of work, it can finish it, including
167
167
  - `pmos ai status`: whether each AI job is on, whether its replay passed, and what its last run filed. It also shows the keep rate of each job that files under ✦ for the last 14 days: how many you kept of the ones you decided, and how many wait. It shows each product too. A job with 3 or more decided and none kept is listed to pause. You decide: `pmos ai off <job>`.
168
168
  - `pmos ai status` also shows the background runs of the last 7 days: for each kind of run, how many ran, the tokens each run read, and the cost. Lean and full starts show side by side.
169
169
  - `pmos ai log [<job>]`: the last audit lines. Each dropped proposal shows why.
170
- - `pmos code show`: the product's code map, one line per main part: what it is, how it is tested, who changed it last, and why a part is risky. `pmos code describe --part <name> --text "<what it is>"` puts the PM's words on a part.
170
+ - `pmos code show`: the product's code map, one line per main part: what it is, how it is tested, who changed it last, and why a part is risky. `pmos code describe --part <name> --text "<what it is>"` puts the PM's words on a part. On Work the same map is the **Code** card. It is closed by default, as one line with the number of parts and how many are tinted; press it to open it. A folder that holds the PMOS kit and a few scripts (a PM records folder), or fewer than 20 code files, gets no card.
171
171
  - `pmos ai worth`: each kind of background run this month, its cost next to how much of its ✦ work you kept. A kind that costs most and is kept least is flagged for you to decide. It pauses nothing.
172
172
  - `pmos ai off [<job>]` and `pmos ai on [<job>]`: turn every AI job, or one job, off or on. `PMOS_AI=off` in the environment wins over the setting.
173
173
 
@@ -12,7 +12,7 @@ The Backlog lists every open task of the products you picked, the way Jira's bac
12
12
  ## Open it
13
13
 
14
14
  1. Go to **Work**. Work shows.
15
- 2. Press **Backlog** on the switch at the top, **Initiatives | Line | Backlog | This sprint**. The number beside it is how many tasks are open.
15
+ 2. Press **Backlog** on the switch at the top, **Initiatives | Line | Factory | Backlog | This sprint**. The number beside it is how many tasks are open.
16
16
 
17
17
  On a phone the switch has its own line above the list. PMOS remembers your choice for each pick of products. A screen reader reads the switch as a set of tabs named "Work".
18
18
 
@@ -29,6 +29,17 @@ Press **Line** on the switch to see every live initiative of your pick in one ta
29
29
  - A row that waits on you is answered on Today, so it is marked here and not repeated there.
30
30
  - Press an initiative's name to open it.
31
31
 
32
+ ## The Factory
33
+
34
+ Press **Factory** on the switch (beside Line) to see who makes the work: PMOS's stations and what each one made this week. The address `/premium-board.html?work=factory` opens it directly. The page reads the numbers PMOS saves after each of its runs, so it opens at once; before the first run it says the factory has not run yet.
35
+
36
+ - The status line says when the factory ran and how many things it made this week. It turns red only while something waits on you, and then it says how many sign-offs or drafts hold how many initiatives.
37
+ - The five station tiles come in flow order: **Intake** (asks become initiatives), **Shape** (problem, evidence, PRD), **Plan** (milestones, tasks, owners, dates), **Track** (tracker, follow-ups, slips) and **Evaluate** (outcome reading, lessons). Each shows **Waiting**, **Made this week**, **PMOS time** and **You undid**; a number that is zero is not shown. A station with nothing waiting and nothing made is grey. The station holding the most has a red edge.
38
+ - The **You** tile counts what only a person can decide. Its arrow opens Today, where you answer them.
39
+ - The **Check** tile says what PMOS checked of its own work this week and what still waits for a check.
40
+ - **What the factory is making** shows your initiatives by goal, one bar per goal, coloured by stage.
41
+ - Press the arrow on a station to open it: what waits there and on what, what it made this week (Undo on a change PMOS applied by itself) and its cost this week. Tokens say "not recorded yet" until each run records them.
42
+
32
43
  ## The columns
33
44
 
34
45
  | Column | What it shows |
@@ -135,6 +135,7 @@ None of these briefs an agent or takes an item. Do that from the item's card on
135
135
  - `pmos people show <person>` shows one person's page: interactions, tone, shared work, notes and handles. `<person>` is the id from the list or the full name.
136
136
  - `pmos people record --file <sightings.json>` records the people a session saw. Agent sessions run it. It must name who recorded it: in a workspace session the session token does this; outside the workspace, add `--by <profile>`. A sighting already recorded is skipped and counted.
137
137
  - `pmos people settings` prints `calendar names: on` or `calendar names: off`. The morning brief reads it before it records attendees.
138
+ - `pmos people prep <person>` prepares a 1:1 from the tasks that person owns: what they shipped (Done in the last 14 days), where they are stuck (open tasks that are late or blocked), and one thing to recognise (a task Done on or before its due day). Each line names its task and initiative. `--days N` changes the 14 days; `--json` prints the brief. A one-word name matches a first name only when one owner has it. It reads only. On Today, the Ask card of a person's name offers it as its first ✦, Prepare my 1:1 with them.
138
139
  - `pmos people help` prints the commands.
139
140
  - `pmos people map <initiative>` lists who decides, who must agree and who needs to know on one initiative, and when each last heard from you. The names come from the record's `decider`, `owner` or `sponsor`, the initiative's sign-offs and objections, and the people whose Jira, meeting notes or mail name it. Each is a draft until you keep it. A name not updated in 3 weeks shows a ✦ draft update for you to send. Add `--json` for the rows. The People block of the initiative on Work shows the same map.
140
141
  - `pmos people keep <initiative> <person> [--group decides|agree|know]` keeps a name on the map, in that group. `pmos people drop <initiative> <person>` takes it off for good. `pmos people told <initiative> <person>` records that you sent them an update today. `pmos people undo <initiative> <person>` takes back the last of these. PMOS never sends an update itself.
@@ -292,6 +293,7 @@ PMOS looks for problems that repeat in a product (your Undos and ✕ reasons, re
292
293
  - `pmos team status`: who works on what, what waits, and the inbox entries of ended dispatches.
293
294
  - `pmos team pause <role|all>` and `pmos team resume <role|all>`: stop or restart a role's runs. `pmos ai off team` stops the whole team.
294
295
  - `pmos team dispatch --unit <unit>`: dispatch the roles for the unit's first open initiative in Roadmap order. `pmos team pause --unit <unit>` and `pmos team resume --unit <unit>` stop or restart every role run on that unit's initiatives.
296
+ - `pmos team skills`: the team skill map for the last 90 days. Each person has what they are strong at and what they are often corrected on, from sign-offs and decisions, with no scores and no ranking, and one ✦ pairing. `--as <name>` shows only that person's row. `pmos team skills skip <key>` skips the pairing for the next one, and `pmos team skills undo <key>` brings it back. The same map is the Team skills block on Work. It is only for the person and their lead, so it is never in a report or on a published page.
295
297
  - Inside a role run only: `pmos team wrote <path>`, `pmos team done "<summary>" [--propose <path> "<what>"]` and `pmos team verdict <path> pass|fail "<why>"`.
296
298
 
297
299
  [What PMOS does behind the scenes](agent-capabilities.md) lists each role, what it may write and its rules.
@@ -320,6 +322,17 @@ The idle lab run uses only the first three commands:
320
322
  - `pmos lab critic checks [--root <dir>]`: the checks the critic uses for the product in that folder. No server is needed.
321
323
  - `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.
322
324
 
325
+ ### pmos prototype: simulated users try the prototype
326
+
327
+ Before a prototype version shows in the Viewer, PMOS walks each key task of its flow once per persona: a simulated user for each. You see Findings above the design, not clicks: the screen where they got stuck, why, and how many, for example "2 of 4 personas stuck at "Pay": the Pay press cannot be reached with the keyboard". Press a finding to see that screen. A finding is a hint for your grilling. It never scores the prototype, never changes it and calls no model.
328
+
329
+ The walk checks each press that leads on to the next step: a keyboard user needs a button, link or field; a screen reader needs a name to hear; a new user needs words, not only a symbol, and a heading; a phone user needs a press of at least 44 px. Every persona gets stuck where a screen is missing or nothing leads on.
330
+
331
+ - `pmos prototype findings <initiative> [--ws <id>] [--json]`: the findings of the initiative's prototype now.
332
+ - `pmos prototype personas [--ws <id>]`: the personas that walk each prototype. With none recorded, four base personas walk: New user, Keyboard only, Screen reader and On a phone.
333
+ - `pmos prototype persona add --name "<who>" --needs <keyboard,reader,words,thumb> --from "<the record it comes from>" [--ws <id>]`: add one of your product's personas from your records. PMOS refuses a persona with no `--from`. Once one is recorded, only your personas walk.
334
+ - `pmos prototype persona remove <id> [--ws <id>]`: stop one walking. It prints the Undo, `pmos prototype persona restore <id>`.
335
+
323
336
  ### pmos away: away days and the handover note
324
337
 
325
338
  - `pmos away set <YYYY-MM-DD> [--cover "<name>"]` sets you as away from today until that day. PMOS drafts a handover note as `planning/handovers/away-<from>.md` (kind Handover). The Library lists it once you commit it. PMOS runs no git command for it. The note has who covers, the open asks, and the dates that fall while you are away. It is a draft: read it, change it and share it yourself. PMOS sends nothing.
@@ -381,6 +394,17 @@ Write the press release before the build ("working backwards"). Run it in the pr
381
394
  - The draft uses one agent run with no tools. `--no-ai`, `pmos ai off press-release` or `PMOS_AI=off` makes a draft from the record's own lines only. A failed run does the same and says why.
382
395
  - `pmos press-release count [--days 7]` prints how many drafts were written in the last days. Its last line is the number.
383
396
 
397
+ ### pmos tradeoff: decide two close items and keep the reason
398
+
399
+ Use it when two neighbours on the Roadmap score about the same. Run it in the product's repository, or pass `--root <dir>`, or ask the chat to "compare these two". Work shows the same cards: the line "These two are close. Compare them" between the two rows.
400
+
401
+ - `pmos tradeoff list` names each pair of Roadmap neighbours whose weighted sizes (`pmos` sized opportunities) are within 25 % of the larger one, and the reasons kept so far. A pair with a side that has no size is not compared. It writes nothing.
402
+ - `pmos tradeoff show <a> <b>` shows one card: for each side the goal it moves, the evidence, the cost, the risk and what waits if it goes first, read from the record (`parent_kr`, `evidence`, `cost` or `effort`, `risk`, `waits`). A missing one says "not known". ✦ suggests an order and one reason from the records. When the pair was decided before, the old reason comes first.
403
+ - `pmos tradeoff keep <a> <b> --first <id> --reason "<why>"` keeps the reason as a dated note beside the Roadmap's ledger (`tradeoffs.jsonl`). When the lower one goes first, PMOS also moves it directly above the other. The reason is one line, at most 200 characters. Work shows it once, under the row.
404
+ - `pmos tradeoff undo <note>` takes a reason back, and the rank it moved.
405
+ - `pmos tradeoff count [--days 14]` prints how many reasons were kept in the last days. Its last line is the number.
406
+ - The factor scores stay as they are. PMOS calls no model and sends nothing.
407
+
384
408
  ### pmos goals: starter goals from your own product
385
409
 
386
410
  Right after setup, PMOS drafts up to three starter goals from the product's own files and shows them under the fundamentals card. `pmos goals` reads and changes the same drafts. Run it in the product's repository, or pass `--root <dir>`, or ask the chat.
@@ -402,10 +426,20 @@ Show where the team is short before you ask for headcount. Run it in the product
402
426
  - PMOS never writes over a brief. It calls no model and sends nothing. Edit the brief and share it yourself.
403
427
  - `pmos hire count [--days 7]` prints how many briefs were drafted in the last days. Its last line is the number.
404
428
 
429
+ ### pmos print: one clean page to print or save as PDF
430
+
431
+ Print a report, a document or an initiative for a reader who wants paper or a PDF. Run it in the product's repository, or pass `--root <dir>`. No running workspace is needed. In the workspace the same page comes from ⋯ › Print or PDF on an initiative, ⋯ › Download › Print or PDF on a report, and the print icon on Work's list.
432
+
433
+ - `pmos print <initiative id>` writes the initiative's record as a print page. `pmos print <file.md>` does the same for any report or document of the product. The page is `<name>.print.html` in the current folder, or the file `--out` names. Open it and choose Save as PDF.
434
+ - Every printed page shows the title, the date and "page N of M". There are no buttons, panels or chat, and a section does not split across pages. A state prints as its word (On track, Late), not as a colour.
435
+ - `pmos print brand` names the brand at the top right of each page: the product's own design system, when it has one. PMOS's own brand is not printed.
436
+ - PMOS prints only the product's own files: a file outside the product is refused and nothing is written. Nothing is sent.
437
+
405
438
  ### pmos voice: customer comments grouped by reason
406
439
 
407
440
  Act on the reason behind a score, not on the score. Run it in the product's repository, or pass `--root <dir>`, or ask the chat to "import these reviews" or "group the survey comments". No running workspace is needed. Work shows the same reasons as Customer voice, under the strategy, on a Board that shows one product.
408
441
 
442
+ - You do not have to import anything. When Work opens, PMOS reads each review or survey export it finds in the product's folder by itself: a CSV or JSON file whose name says review, survey, nps, csat, feedback or rating, at most 3 folders deep, with a text, comment or review column. Work names the file it read, and Undo on that line takes the file's comments back until the file changes.
409
443
  - `pmos voice import <file>` reads an export from a survey tool or an app store: a CSV with a header row, or a JSON list. The columns are `text`, `reason`, `score` (or `rating`), `scale` (5 for stars, 10 for an NPS survey), `source` (survey, review or other) and `at` (or `date`). A comment imported twice counts once.
410
444
  - `pmos voice add --text "<comment>" [--reason "<reason>"] [--score 2] [--scale 5]` adds one comment.
411
445
  - `pmos voice reason <comment id> "<reason>"` names the reason of a comment. A comment with no reason joins a reason it shares 2 words with; otherwise it stays unsorted, and `pmos voice list` shows its id.
@@ -545,6 +579,14 @@ An initiative on hold keeps why it is parked and what brings it back: a return d
545
579
  - `pmos parked back <id>` brings it back to the Roadmap. To undo, park it again.
546
580
  - `pmos parked coverage` shows how many parked initiatives say why and what brings them back, and the percent on the last line.
547
581
 
582
+ ### pmos deps: what your work waits on outside the team
583
+
584
+ Work › Dependencies lists every wait on another team, oldest first, with the day it started. A wait comes from a Jira link, from the chat, from a parked initiative whose reason says "waiting on <team>", or from an initiative record with `waiting_on:` and `waiting_since:`. A wait of 14 days or more is late. A wait in a sprint that is still running names that sprint. Chase opens a draft in your own mail app; PMOS sends nothing.
585
+
586
+ - `pmos deps waits` lists the open waits, oldest first. `--json` gives the same rows the page reads.
587
+ - `pmos deps wait --team "<team>" --what "<what>" --ini <id> --since <YYYY-MM-DD>` adds a wait. `--who "<name>"` and `--email <address>` name the person Chase writes to. From a Jira link, pass `--key <KEY-1>`: one open wait per key. `--sprint "<name>" --sprint-end <YYYY-MM-DD>` names the sprint it holds up.
588
+ - `pmos deps done <wait id>` ends a wait. `pmos deps undo <wait id>` opens it again.
589
+
548
590
  ### pmos quiet: the weekly sweep of quiet work
549
591
 
550
592
  Once a week Today shows how many initiatives had no change in 30 days or more. The chat answers the same list from a terminal.
@@ -633,6 +675,7 @@ A page that keeps breaking should get fixed before it gets a new feature. This c
633
675
  - `pmos pages` (or `pmos pages show`): each page's fixes, reverts and restores in the last 14 days, and the share of fix commits among all page commits. A page at or over the limit (3) is marked ●. A page is its HTML file, its own sheets and the scripts it loads. A file that half the pages or more load is counted once, as shared code. It reads git only.
634
676
  - `--json` gives the same numbers as JSON. `--count` prints only the number of pages over the limit.
635
677
  - `pmos pages check --base <ref>`: when the change since `<ref>` has a `feat` commit and touches a page over the limit, it names that page. `--feature` treats the change as a feature without a `feat` commit. `--gate` exits 1 when it names a page.
678
+ - `pmos pages calls`: names each page (Today, Work, Board, an initiative) whose first view had more than one call to act. Each page opens with one sentence that counts what needs you, then the rest, and counts its calls to act once per open; the count is kept on this computer only. `--days N` sets the window (7 by default), `--json` gives the list and `--count` prints only the number of pages it names.
636
679
  - The pages come from the `pages` globs in `design-drift.json`. A product sets `window_days` and `limit` in `page-health.json` in the same design-system folder, for example `{ "window_days": 14, "limit": 3 }`.
637
680
 
638
681
  ## Initiatives and Work
@@ -770,7 +813,7 @@ The Portfolio puts every product side by side, for a head of product. It is a pa
770
813
  - `pmos portfolio` prints one line per product: its open bets, its odds, its spend and its latest outcome that held. Then it prints PMOS's one recommendation, if there is one, with its reason. `--json` prints the rows.
771
814
  - Bets are the product's work initiatives that are not stopped and whose outcome is not judged yet. Odds are the share of its judged outcome checks that held (validated of validated plus refuted). With fewer than 3 judged, the odds are not known and stay empty. Spend is what the product's agent runs cost in the last 30 days. Outcome is the evidence of its latest check that held.
772
815
  - PMOS recommends one thing at most: the product with 2 or more outcome checks due needs help. When another product has more open bets and none due, PMOS says to move one person from it.
773
- - `pmos portfolio keep <key>` keeps the recommendation: it stays hidden until its facts change. `pmos portfolio not-now <key>` hides it for 7 days. `pmos portfolio undo <key>` takes the last answer back. The page's Keep and Not now write the same store (`portfolio.jsonl` in the state folder).
816
+ - `pmos portfolio keep <key>` keeps the recommendation: it stays hidden until its facts change. `pmos portfolio not-now <key>` hides it for 7 days. `pmos portfolio undo <key>` takes the last answer back. The page's Keep (✓) and Not now (✕) write the same store (`portfolio.jsonl` in the state folder).
774
817
  - Reading the Portfolio changes no file of any product. A row on the page opens that product in Work.
775
818
 
776
819
  `pmos portfolio` exits with 0 when it is done, 1 when it refused, and 2 when the command line is wrong.
@@ -1130,6 +1173,8 @@ pmos report issue biweekly 2026-10-16
1130
1173
 
1131
1174
  `pmos report variants <cadence> [<slot>]` writes the draft again for three audiences: executives, engineers and customers. Each version sits beside the draft as `<slot>.for-<audience>.md`, says who it is for, and ends with the draft's sources. PMOS writes a version only when every number and name in it is in the draft. The newest draft is used when you give no slot. Add `--only executives,customers` to write some of them. A version of an unchanged draft is not written again. The draft does not change, and nothing is sent. `pmos ai off report-variants` stops it.
1132
1175
 
1176
+ `pmos report pack` drafts this month's review pack of the product: the goals with the state of their newest reading, the bets that failed in the last 30 days with what was learned, the next big decision and the asks. Every line names the record it came from. A line with no record is left out, and the command says how many. The pack is `<state>/reports/review-pack/<YYYY-MM>-01.md`, and it shows in Library under Reports. When you open Library in the last 7 days of the month, PMOS drafts the pack of each product that has none. To turn this off, set `PMOS_REVIEW_PACK=0`. A pack that exists is yours to edit: the command does not change it. To draft it again, add `--redraft`. Nothing is sent: to share the pack, press Share on it in Library, which issues it.
1177
+
1133
1178
  `pmos report library` writes one page with every slide layout of the report library, filled with placeholder words. Open it in a browser to see the layouts a report can use. Add `--out <file>` to choose the file. `pmos report library --template <id>` draws one template with placeholder words.
1134
1179
 
1135
1180
  Every command accepts `--root <dir>` to name the repository. `draft` and `list` also accept `--json`.
@@ -132,6 +132,7 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
132
132
  - **Change a task where it is.** In the List, press a task's name. The row opens in place: change the name (Enter saves), the status, and the dates. Only one row is open at a time. Esc closes it. The ⋯ after the dates has **Milestone** (or **Make it a plain task**), **Move to a stage**, **Open the task card** and **Delete task**. A milestone has one date: its due day. Each change shows **Undo**.
133
133
  - In the List, a task's full name always shows: a long name wraps onto more lines. A short prefix such as "Bus shelter:" stays in the name, in grey. The dates show at the right. In a narrow panel or on a phone, the dates show under the name. On a computer, the Timeline's name column wraps a long name too, and its row grows; on a phone, each title stays on one line above its bar. On the Timeline, the blue Today line is your own day, from the clock of your device. Each bar starts on its start day and ends on its due day: a task that starts today starts at the Today line, and a bar, its grid line and its date at the top always meet on the same day. A task with no dates shows no date; open the row to set them.
134
134
  - **Set the dates on one calendar.** Every date press of a task opens the same calendar: in the List, the Timeline, the task card and the work popup. Press the first day for the start and a second day for the due day, as you pick depart and return for a flight. The days between show as one band. A day before the start becomes the new start. Press **Start** or **Due** first to change only that end, or type a day such as "15 Oct" in it and press Enter. You can also type a day in words: "today", "tomorrow", "friday" (the next Friday after today), "+3d", "+2w", "in 2 weeks", "end of week" (Friday), "end of month" or "end of sprint". Before you press Enter, the field shows the day it read, such as "Reads as Friday 27 Nov 2026". "End of sprint" works where PMOS knows the task's sprint, as in the work popup; anywhere else the field says so and saves nothing. A milestone has one **Date**: one press sets it. **No date** clears the dates. Each press saves and shows **Undo**. The calendar opens with the focus on a day. The arrow keys move a day or a week, Home and End go to the start and end of the week, and Page Up and Page Down move a month. On a phone the calendar opens from the bottom of the screen.
135
+ - **Add a time if you need one.** A time is optional. Press the clock at the bottom right of the calendar, next to **No date**. **Start time** and **Due time** appear (a milestone has one **Time**). Type or pick a time, such as 09:30: it saves at once and shows **Undo**. The task's dates then show the time after the day, such as "Nov 28 17:00", and the next time you open the calendar the time row is already open. Clear a time field to remove that time. **No date** removes the days and their times. A task with no time looks and saves as before. A Jira ticket has no clock: Jira keeps its own fields.
135
136
  - **Add a task to a stage.** Press **+** on an open stage. The field opens at the top of that stage, with one row of chips under it. **Stage** is the stage you pressed + on; press it to pick another stage of the workflow. **Task** can change to **Milestone**: the box becomes ◇ and **Date** takes one day. **Dates** and **Owner** are optional; with no owner, the task is yours. Enter adds the task and keeps the field open for the next one. Esc closes the field.
136
137
  - **Move a task between stages.** On a computer, drag the grip at the left of a row. On a phone, press and hold the task's name, then drag. Drop it on a stage name to put it last in that stage, or between two rows to put it there. The status and the dates do not change. The message shows **Undo**.
137
138
  - A linked Jira ticket opens in place too. Its name and status stay Jira's ("In Progress in Jira · read 4 min ago"). Its dates can change, and it can be a milestone. It has no **Delete**.
@@ -188,7 +189,7 @@ Some features, such as Notes, open as a plain card in the Viewer. Each one works
188
189
 
189
190
  - **Guide** (the **?** icon in the menu) opens this guide in the Viewer.
190
191
  - **What PMOS can do** lists every feature by job, each with how to reach it: its command (press it to put it in the chat box), its page, or its keys. Open it from Ctrl K (type "features"), from the ? key list, or from the guide. Features new since you last looked come first.
191
- - **Search** (Ctrl K or ⌘K, or `/`) finds initiatives, documents, sessions and files in your work. It always reads the repository and all its worktrees, so it has no worktree picker. It also reaches every page, each Settings section, the themes and the actions of the item you last pointed at: type "lib" to go to Library, or "conn" for Settings › Connectors.
192
+ - **Search or ask** (Ctrl K or ⌘K, or `/`) finds initiatives, documents, sessions and files in your work. It always reads the repository and all its worktrees, so it has no worktree picker. It also reaches every page, each Settings section, the themes and the actions of the item you last pointed at: type "lib" to go to Library, or "conn" for Settings › Connectors.
192
193
  - **Dates** show the year only when the year is not this year, for example "Jun 23 ’27". New for you shows a due date as "due 25 Nov".
193
194
  - **Settings** holds the workspace settings. **General** holds the theme (Light, Dark or Auto) and **Product**, which names the product the page reads. **Connectors** shows when PMOS last read each source. A source that is old or failed has an amber dot and ↻ to read it again. ↻ in the Connectors header reads every source again. While a source is old, an amber box at the top of Settings names it, with ↻.
194
195
 
@@ -320,6 +320,7 @@ Right-click any part of a page to ask PMOS about it. On a phone, press and hold
320
320
  - When the top line names the wrong thing, press **↑** to step out one level: the field, then the item, then the section, then the page.
321
321
  - Under it is the item as Work holds it now, with its usual buttons. A task's date shows three later dates to move it to. Every change has Undo.
322
322
  - Up to three questions show with ✦. Press one, or type your own question in the box.
323
+ - **What PMOS can do** lists up to four features for that kind of item, such as **Why this work exists** for an initiative or **Strategy** for a product. One press asks it in the card, about that item, with nothing to type. A section, the page, or an item no feature acts on shows no such line.
323
324
  - **⤢** opens the same conversation in the full chat. **×** or Escape closes the card.
324
325
 
325
326
  Right-click keeps the browser's own menu in a text box, on a link, on selected text and in the terminal. Hold Shift to get the browser's menu anywhere.
@@ -150,6 +150,7 @@ An "off" switch accepts `off`, `0`, `false` or `no` unless the row says a differ
150
150
  | `PMOS_MS_REVIEW` | `off` stops the weekly milestone review of a [program](programs.md). | on | — |
151
151
  | `PMOS_SCAN` | `off` stops the [horizon scan](intelligence-okr-goals.md). | on | — |
152
152
  | `PMOS_REPORT_FIND` | `off` stops the report finder. | on | — |
153
+ | `PMOS_REVIEW_PACK` | `0` stops Library from drafting the month's review pack when it opens in the last 7 days of the month; `1` turns it on for a server with its own `PMOS_STATE_DIR`. | on (off with `PMOS_STATE_DIR` set) | `pmos report pack` drafts it by hand |
153
154
  | `PMOS_CORE_DOCS` | `off` stops the scheduled [core document](programs.md) drafts. | on | — |
154
155
  | `PMOS_FOCUS_AGENT` | `off` stops the meeting focus run during a recording. | on | — |
155
156
  | `PMOS_FORECAST` | `off` stops the hourly forecast read. | on | — |
@@ -366,6 +366,7 @@ function build(f) {
366
366
  taskBy.get(w.ini).push({ uid: w.uid, title: clip(w.title || '', 160), status: w.status || 'To do', owner: w.owner || '', start: w.start || '', end: w.end || '', ...(w.from ? { from: { stage: w.from.stage, finish: w.from.finish } } : {}),
367
367
  // one view (feedback batch 6 item 1): its place in the breakdown, and a breakdown item's own stage and order
368
368
  ...(typeof w.section === 'string' ? { section: w.section } : {}), ...(w.itemStage ? { itemStage: w.itemStage } : {}), ...(Number.isFinite(w.order) ? { order: w.order } : {}), ...(Number.isFinite(w.rank) ? { rank: w.rank } : {}), ...(w.store === 'item' ? { item: true } : {}), ...(w.milestone ? { milestone: true } : {}), ...(w.since ? { since: w.since } : {}), ...(w.priority ? { priority: w.priority } : {}),
369
+ ...(w.start_time ? { start_time: w.start_time } : {}), ...(w.due_time ? { due_time: w.due_time } : {}), // the optional times (task-time-optional)
369
370
  // a subtask's parent (initiative work-subtasks), and the Jira ticket the task names as read: its key, link, epic, assignee and sub-tasks
370
371
  ...(w.parent ? { parent: w.parent } : {}), ...(w.tracker && w.tracker.key ? { jira: jiraOf(w.tracker) } : {}) });
371
372
  }
@@ -20,6 +20,8 @@
20
20
  * · A folder that is mostly tests (tests/, test/, spec/ …) is not a part; each test file in it counts for the part whose name appears
21
21
  * in its path. Code files at the top level form a part "(top level)" when there are 3 or more.
22
22
  * · At most MAX_PARTS parts, most code files first; the rest are counted in `more`.
23
+ * · PMOS's own kit folder (a top-level pmos/ holding the kit's AGENTS.md) is PMOS, not the product: never a part.
24
+ * · A repository with fewer than MIN_CODE code files in its parts (a PM's records folder with a script or two) gets no map at all.
23
25
  * · Risky: no test files, or RISKY_FIXES or more fix commits touching the part in the last 30 days that are at least half of its
24
26
  * commits there (a busy, well-kept part is not risky only for being busy). */
25
27
  const fs = require('fs');
@@ -29,6 +31,7 @@ const { execFile } = require('child_process');
29
31
  const MAP_FILE = 'code-map.json';
30
32
  const NOTES_FILE = 'code-map-notes.jsonl';
31
33
  const MAX_PARTS = 12;
34
+ const MIN_CODE = 20; // fewer code files than this in the whole repository: a records or notes folder, not a product's code — no map
32
35
  const RISKY_FIXES = 5;
33
36
  const FIX_DAYS = 30;
34
37
  const FIX_SHARE = 0.5; // fixes must be at least half the part's commits in the window, so a busy part is not risky only for being busy
@@ -65,7 +68,9 @@ function keyOf(f, open) {
65
68
 
66
69
  /** Group a repository's files into its main parts. PURE. */
67
70
  function partsOf(files) {
68
- const list = (Array.isArray(files) ? files : []).map(String).filter((f) => f && !skipped(f) && !f.split('/').pop().startsWith('.'));
71
+ const all = (Array.isArray(files) ? files : []).map(String);
72
+ const kit = all.includes('pmos/AGENTS.md'); // the vendored PMOS kit (kit/build-kit.sh): PMOS's files, not the product's
73
+ const list = all.filter((f) => f && !skipped(f) && !f.split('/').pop().startsWith('.') && !(kit && f.startsWith('pmos/')));
69
74
  // a container opens only when it has sub-folders with code (a flat src/ stays one part)
70
75
  const open = new Set();
71
76
  for (const f of list) { const s = f.split('/'); if (CONTAINERS.has(s[0]) && s.length > 2 && isCode(f)) open.add(s[0]); }
@@ -90,6 +95,7 @@ function partsOf(files) {
90
95
  if (hit) { hit.tests++; hit.testsOutside++; }
91
96
  }
92
97
  parts.sort((a, b) => b.code - a.code || a.name.localeCompare(b.name));
98
+ if (parts.reduce((n, p) => n + p.code, 0) < MIN_CODE) return { parts: [], more: 0 };
93
99
  const more = Math.max(0, parts.length - MAX_PARTS);
94
100
  return { parts: parts.slice(0, MAX_PARTS).map(({ _tests, ...p }) => p), more };
95
101
  }
@@ -244,4 +250,4 @@ function describe(dir, name, text, now = Date.now()) {
244
250
  return { ok: true, part: p.name, map: view(dir) };
245
251
  }
246
252
 
247
- module.exports = { partsOf, summarize, riskOf, build, headOf, read, save, view, describe, findPart, isTest, MAP_FILE, NOTES_FILE, MAX_PARTS, RISKY_FIXES, FIX_DAYS, FIX_SHARE };
253
+ module.exports = { partsOf, summarize, riskOf, build, headOf, read, save, view, describe, findPart, isTest, MAP_FILE, NOTES_FILE, MAX_PARTS, RISKY_FIXES, FIX_DAYS, FIX_SHARE, MIN_CODE };