create-pmos 0.428.0 → 0.430.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 (134) hide show
  1. package/package.json +25 -25
  2. package/payload/KIT-VERSION +2 -2
  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/payload/state/log.md +1 -1
  7. package/workspace/briefing-premium-board-test.js +4 -4
  8. package/workspace/briefing-premium-insights-test.js +82 -61
  9. package/workspace/briefing-premium-metrics-test.js +5 -3
  10. package/workspace/briefing-premium-sources-test.js +5 -5
  11. package/workspace/briefing-premium-test.js +5 -4
  12. package/workspace/changelog.json +24 -0
  13. package/workspace/ev-everywhere-test.js +2 -2
  14. package/workspace/guide/adler.md +45 -0
  15. package/workspace/guide/briefing-premium.md +2 -0
  16. package/workspace/guide/home.md +4 -2
  17. package/workspace/guide/index.md +2 -0
  18. package/workspace/guide/metric-drafts.md +49 -0
  19. package/workspace/guide/programs.md +2 -0
  20. package/workspace/intel-report-ui-test.js +189 -0
  21. package/workspace/intelligence-gaps-ui-test.js +168 -0
  22. package/workspace/lib/board-metrics-premium.js +1 -1
  23. package/workspace/lib/headless.js +15 -2
  24. package/workspace/lib/initiative-writer.js +16 -2
  25. package/workspace/lib/insight-moves.js +135 -0
  26. package/workspace/lib/insights-premium.js +9 -4
  27. package/workspace/lib/insights-records.js +14 -5
  28. package/workspace/lib/intel-report.js +432 -0
  29. package/workspace/lib/metric-draft-runs.js +193 -0
  30. package/workspace/lib/metric-drafts.js +261 -0
  31. package/workspace/lib/metrics-cli.js +104 -0
  32. package/workspace/lib/page-opens.js +74 -0
  33. package/workspace/lib/pmos-verbs.js +3 -0
  34. package/workspace/lib/report-setups.js +29 -13
  35. package/workspace/lib/route-modules.js +3 -0
  36. package/workspace/lib/routes-insight-moves.js +119 -0
  37. package/workspace/lib/routes-insights-premium.js +12 -3
  38. package/workspace/lib/routes-insights-records.js +13 -5
  39. package/workspace/lib/routes-metric-drafts.js +150 -0
  40. package/workspace/lib/routes-page-opens.js +26 -0
  41. package/workspace/lib/routes-phone-day.js +13 -2
  42. package/workspace/lib/routes-report-setups.js +97 -3
  43. package/workspace/lib/routes-viewer.js +5 -2
  44. package/workspace/lib/settings-store.js +6 -0
  45. package/workspace/metric-drafts-ui-test.js +209 -0
  46. package/workspace/milestone-suggest-test.js +4 -4
  47. package/workspace/package-lock.json +2 -2
  48. package/workspace/package.json +1 -1
  49. package/workspace/premium-phone-card-test.js +8 -5
  50. package/workspace/premium-viewer-flicker-test.js +1 -1
  51. package/workspace/public/pm/bd-acts.js +3 -3
  52. package/workspace/public/pm/bd-pin-card.css +4 -4
  53. package/workspace/public/pm/bd-prog-panel.js +12 -7
  54. package/workspace/public/pm/bd-prog.js +2 -2
  55. package/workspace/public/pm/cozy-adler.css +82 -0
  56. package/workspace/public/pm/cozy-adler.js +270 -0
  57. package/workspace/public/pm/cozy-aud.css +1 -1
  58. package/workspace/public/pm/cozy-board.css +256 -256
  59. package/workspace/public/pm/cozy-ev.css +48 -45
  60. package/workspace/public/pm/cozy-evmodel.js +1 -1
  61. package/workspace/public/pm/cozy-home-rows.css +23 -23
  62. package/workspace/public/pm/cozy-home.css +211 -207
  63. package/workspace/public/pm/cozy-insights.css +221 -108
  64. package/workspace/public/pm/cozy-live-pill.css +5 -5
  65. package/workspace/public/pm/cozy-mtg-present.css +23 -23
  66. package/workspace/public/pm/cozy-nav.js +3 -1
  67. package/workspace/public/pm/cozy-news.js +2 -2
  68. package/workspace/public/pm/cozy-panel.css +29 -29
  69. package/workspace/public/pm/cozy-pick.css +5 -5
  70. package/workspace/public/pm/cozy-rec-now.css +20 -20
  71. package/workspace/public/pm/cozy-rec-present.css +11 -11
  72. package/workspace/public/pm/cozy-rec-tab.css +13 -13
  73. package/workspace/public/pm/cozy-search.js +4 -2
  74. package/workspace/public/pm/cozy-settings.js +16 -3
  75. package/workspace/public/pm/cozy-steps.css +9 -9
  76. package/workspace/public/pm/cozy-today.css +122 -71
  77. package/workspace/public/pm/cozy-viewer.css +7 -7
  78. package/workspace/public/pm/cozy-viewer.js +1 -1
  79. package/workspace/public/pm/cozy-vw-mtg.css +81 -81
  80. package/workspace/public/pm/cozy-vw-rp.css +53 -53
  81. package/workspace/public/pm/cozy-vw-shell.css +23 -23
  82. package/workspace/public/pm/cozy-vw.css +117 -117
  83. package/workspace/public/pm/cozy-xv.css +11 -11
  84. package/workspace/public/pm/cozy.css +34 -15
  85. package/workspace/public/pm/hi-pop.css +19 -19
  86. package/workspace/public/pm/home-app.js +33 -9
  87. package/workspace/public/pm/home-chat.js +10 -2
  88. package/workspace/public/pm/home-day.js +155 -27
  89. package/workspace/public/pm/home-ini.css +32 -32
  90. package/workspace/public/pm/home-line.css +7 -7
  91. package/workspace/public/pm/home-list.js +12 -1
  92. package/workspace/public/pm/home-phone-card.js +18 -15
  93. package/workspace/public/pm/home-today.js +5 -3
  94. package/workspace/public/pm/ini-view-model.js +1 -1
  95. package/workspace/public/pm/ini-view.css +108 -102
  96. package/workspace/public/pm/ini-view.js +22 -3
  97. package/workspace/public/pm/loose-props.css +13 -13
  98. package/workspace/public/pm/metric-drafts.css +89 -0
  99. package/workspace/public/pm/metric-drafts.js +204 -0
  100. package/workspace/public/pm/ms-suggest.css +8 -8
  101. package/workspace/public/pm/ms-suggest.js +2 -1
  102. package/workspace/public/pm/ov-view.css +12 -12
  103. package/workspace/public/pm/premium-board.js +2 -2
  104. package/workspace/public/pm/premium-chart-tab.js +6 -6
  105. package/workspace/public/pm/premium-insights.js +364 -107
  106. package/workspace/public/pm/premium-report-intel.css +56 -0
  107. package/workspace/public/pm/premium-report-intel.js +232 -0
  108. package/workspace/public/pm/premium-shell.js +2 -2
  109. package/workspace/public/pm/premium-vw-cal.js +1 -1
  110. package/workspace/public/pm/premium-vw-file.js +2 -2
  111. package/workspace/public/pm/premium-welcome.js +3 -2
  112. package/workspace/public/pm/premium.css +130 -128
  113. package/workspace/public/pm/prog-order.css +6 -6
  114. package/workspace/public/pm/program-charter.css +23 -23
  115. package/workspace/public/pm/program-model.js +7 -0
  116. package/workspace/public/pm/rp-parts.js +2 -2
  117. package/workspace/public/pm/sort-order.css +1 -1
  118. package/workspace/public/pm/split-merge.css +15 -15
  119. package/workspace/public/pm/split-merge.js +2 -1
  120. package/workspace/public/pm/task-card.css +21 -21
  121. package/workspace/public/pm/tk-tasks.css +37 -37
  122. package/workspace/public/pm/tk-view.css +6 -6
  123. package/workspace/public/pm/wf-page.css +28 -28
  124. package/workspace/public/premium-intelligence.html +82 -0
  125. package/workspace/server.js +38 -3
  126. package/workspace/skills/metric-draft.skill +47 -0
  127. package/workspace/test-lists/intel-report-ui.json +5 -0
  128. package/workspace/test-lists/intel-report.json +9 -0
  129. package/workspace/test-lists/intelligence-gaps-ui.json +5 -0
  130. package/workspace/test-lists/intelligence-gaps.json +5 -0
  131. package/workspace/test-lists/metric-drafts-ui.json +5 -0
  132. package/workspace/test-lists/metric-drafts.json +9 -0
  133. package/workspace/test-run.js +3 -0
  134. package/workspace/public/premium-insights.html +0 -81
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.428.0",
3
+ "version": "0.430.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -32,6 +32,30 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.430.0",
37
+ "at": "2026-10-28T00:05:38.060Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1073,
42
+ "t": "Feedback batch 16",
43
+ "s": "Feedback batch 16"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.429.0",
49
+ "at": "2026-10-27T18:29:21.690Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 1072,
54
+ "t": "Feedback batch 15",
55
+ "s": "Feedback batch 15"
56
+ }
57
+ ]
58
+ },
35
59
  {
36
60
  "v": "0.428.0",
37
61
  "at": "2026-10-27T09:47:36.220Z",
@@ -247,30 +271,6 @@
247
271
  "s": "Stage card, chat progress line, asks, goal setup, Mentions, session names, outside files"
248
272
  }
249
273
  ]
250
- },
251
- {
252
- "v": "0.410.0",
253
- "at": "2026-10-25T04:00:26.037Z",
254
- "f": 2,
255
- "prs": [
256
- {
257
- "n": 1040,
258
- "t": "A new program shows on the Board and Home at once",
259
- "s": "A new program shows on the Board and Home at once"
260
- }
261
- ]
262
- },
263
- {
264
- "v": "0.409.0",
265
- "at": "2026-10-25T03:28:25.142Z",
266
- "f": 2,
267
- "prs": [
268
- {
269
- "n": 1038,
270
- "t": "Program milestones in the charter, and a workflow per initiative (D99)",
271
- "s": "Program milestones in the charter, and a workflow per initiative"
272
- }
273
- ]
274
274
  }
275
275
  ]
276
276
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@2f6cd921
2
- assembled: 2026-10-27
1
+ kernel-source: pmos@a681c3c6
2
+ assembled: 2026-10-28
3
3
  mode: vendor
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-10-27T09:47:32Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T00:05:34Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-10-27T09:47:32Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T00:05:34Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-10-27T09:47:32Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T00:05:34Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  Newest first, ISO dates.
4
4
 
5
- ## 2026-10-27
5
+ ## 2026-10-28
6
6
 
7
7
  - Adopted OKF v0.2 (D73).
@@ -118,7 +118,7 @@ const IVREAD = () => {
118
118
  ok('N2 no page header on desktop: the heading is for screen readers only and the toolbar starts at the top', place.h1 === '1x1' && place.top < 60 && place.name === 'Products: pmos' && place.sw, JSON.stringify(place));
119
119
  await p.click('#czFab');
120
120
  const menu = await p.evaluate(() => [...document.querySelectorAll('#czMenu a')].map((a) => a.textContent + (a.getAttribute('aria-current') ? '*' : '') + '>' + a.getAttribute('href')).join('|'));
121
- ok('N1 the menu opens Home, Board and Insights, and marks Board', menu === 'Home>/premium.html|Board*>/premium-board.html|Insights>/premium-insights.html', menu);
121
+ ok('N1 the menu opens Home, Board and Intelligence, and marks Board', menu === 'Home>/premium.html|Board*>/premium-board.html|Intelligence>/premium-intelligence.html', menu);
122
122
  await p.keyboard.press('Escape');
123
123
  // premium-agreed-design (shared foundation): the ⋯ menu leads nowhere in the console; its undesigned items open the Viewer on a placeholder.
124
124
  // re-pointed for the Agreed Board: the Board adds none of its old items to the menu (steps, sprint and release, metrics, cancelled and archived).
@@ -177,7 +177,7 @@ const IVREAD = () => {
177
177
  const R = await open({ model: BP.build(f) }), q = R.page;
178
178
  await q.click('.bt-l[data-row="board:usage-billing"] .bt-nm');
179
179
  const td = await until(() => q.evaluate(IVREAD));
180
- ok('XipB a Tender initiative: Late, the one sentence why from the record, the progress said once as typed in by hand, the owner and the Tender workflow', !!td && td.line === 'Late' && /^The plan ended Aug 11(, 2026)?, \d+ days ago, and Tender new CIAM is in Technical POC\.$/.test(td.why) && td.right === '53% done · typed in by hand' && /wawan ?· ?Tender$/.test(td.meta) && td.wfi === 'Tender', JSON.stringify(td));
180
+ ok('XipB a Tender initiative: Late, the one sentence why from the record, the progress said once, by hand, the owner and the Tender workflow', !!td && td.line === 'Late' && /^The plan ended Aug 11(, 2026)?, \d+ days ago, and Tender new CIAM is in Technical POC\.$/.test(td.why) && td.right === '53% · by hand' && /wawan ?· ?Tender$/.test(td.meta) && td.wfi === 'Tender', JSON.stringify(td));
181
181
  ok('XipB the stage card is the Tender stage: "Technical POC", 5 of 7 on the ladder, the seven Tender stages with Technical POC current and ◆ on the last two', !!td && td.stage === 'Technical POC' && td.no === '5' && td.bars === 'done|done|done|done|now|next ms|next ms' && td.aria === 'Stage 5 of 7 of Tender: Technical POC. Next stage: Award decision.' && !/No st(ep|age) on record/.test(td.body), JSON.stringify(td && [td.stage, td.no, td.bars, td.aria]));
182
182
  ok('XipB the → names the next stage; no breakdown draws the seven Tender sections dashed, with Technical POC marked now', !!td && /^Next: ◆ Award decision/.test(td.next || '') && td.empty && /Technical POC · now/.test(td.body), JSON.stringify(td && [td.next, td.empty]));
183
183
  ok('XipB the dates under the line say the plan and the overrun; no Jira date; the progress number is said once', !!td && /^Apr 23 ?Aug 11 ?\d+ days over$/.test(td.dates || '') && !/Jira:/.test(td.dates) && (td.body.match(/53%/g) || []).length === 1 && !td.folds.includes('Dates and trend'), JSON.stringify(td && [td.dates, td.folds]));
@@ -199,7 +199,7 @@ const IVREAD = () => {
199
199
  ok('B1 a Deliver row whose release has a date says when it ships', c.st === 'Ships Nov 4', c.st);
200
200
  // a metric chip opens its trend (BdPanel); its "Show only" filters
201
201
  await q.click('#bdChipset [data-f="blocked"]');
202
- ok('B1 a metric chip opens its trend, with Show only and See in Insights', await until(() => q.evaluate(() => { const p = document.querySelector('#bdPop'); return !!p && !p.hidden && /Blocked · 1 now/.test(p.textContent) && !!p.querySelector('[data-trshow="blocked"]') && /See in Insights/.test(p.textContent); })));
202
+ ok('B1 a metric chip opens its trend, with Show only and See in Intelligence', await until(() => q.evaluate(() => { const p = document.querySelector('#bdPop'); return !!p && !p.hidden && /Blocked · 1 now/.test(p.textContent) && !!p.querySelector('[data-trshow="blocked"]') && /See in Intelligence/.test(p.textContent); })));
203
203
  await q.click('#bdPop [data-trshow="blocked"]');
204
204
  ok('B1 a chip filters the rows to what it counts', await q.evaluate(() => [...document.querySelectorAll('#ibBody .bt-l')].map((r) => r.dataset.row).join() === 'board:sso-partners'));
205
205
  await q.click('#bdChipset [data-f="blocked"]');
@@ -332,7 +332,7 @@ const IVREAD = () => {
332
332
  * over the eight; the old Plan card is the dates line (start, plan end, days left; no Jira date without a Jira forecast); the progress says
333
333
  * where it comes from; Dates and trend is gone */
334
334
  const tp = await until(() => p.evaluate(IVREAD).then((x) => (x && x.kind === 'Initiative' ? x : null)));
335
- ok('B6 an initiative on the timeline opens in the Viewer: the stage card names Plan over the eight steps, the dates line draws the plan dates, no empty rows', !!tp && tp.t === 'Partner API rate limits' && tp.stage === 'Plan' && tp.bars.split('|').length === 8 && tp.bars.split('|').indexOf('now') === 2 && tp.right === '18% done · typed in by hand' && /^Sep 20(, 2026)? ?Nov 30(, 2026)? · \d+ days left$/.test(tp.dates || '') && !/Jira:/.test(tp.dates) && !tp.folds.includes('Dates and trend'), JSON.stringify(tp && [tp.stage, tp.bars, tp.right, tp.dates, tp.folds]));
335
+ ok('B6 an initiative on the timeline opens in the Viewer: the stage card names Plan over the eight steps, the dates line draws the plan dates, no empty rows', !!tp && tp.t === 'Partner API rate limits' && tp.stage === 'Plan' && tp.bars.split('|').length === 8 && tp.bars.split('|').indexOf('now') === 2 && tp.right === '18% · by hand' && /^Sep 20(, 2026)? ?Nov 30(, 2026)? · \d+ days left$/.test(tp.dates || '') && !/Jira:/.test(tp.dates) && !tp.folds.includes('Dates and trend'), JSON.stringify(tp && [tp.stage, tp.bars, tp.right, tp.dates, tp.folds]));
336
336
  await p.click('#czViewer [data-cz-vw="more"]'); await sleep(80);
337
337
  const tm = await p.evaluate(() => [...document.querySelectorAll('.cz-vw-menu [role="menuitem"]')].map((b) => b.querySelector('span').textContent.trim()));
338
338
  /* re-pointed (batch 14 item 5): ⋯ is the ONE initiative menu (pm/ini-more.js), Home's order; no "Move, hold, cancel or archive", no "Open in full" */