create-pmos 0.443.0 → 0.445.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 (110) 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/adler-moments-test.js +8 -0
  8. package/workspace/adler-seasons-art-test.js +3 -0
  9. package/workspace/board-columns-test.js +168 -0
  10. package/workspace/board-programs-test.js +1 -1
  11. package/workspace/briefing-premium-board-test.js +91 -8
  12. package/workspace/briefing-premium-insights-test.js +83 -38
  13. package/workspace/briefing-premium-test.js +2 -1
  14. package/workspace/calm-timeline-test.js +3 -1
  15. package/workspace/changelog.json +24 -0
  16. package/workspace/goals-clear-ui-test.js +34 -20
  17. package/workspace/guide/home.md +5 -0
  18. package/workspace/guide/jira.md +13 -1
  19. package/workspace/guide/ready-made-dashboards.md +2 -2
  20. package/workspace/intel-report-ui-test.js +1 -1
  21. package/workspace/lib/board-fold.js +33 -5
  22. package/workspace/lib/board-premium.js +1 -1
  23. package/workspace/lib/console-state.js +5 -1
  24. package/workspace/lib/engine/boards.js +9 -2
  25. package/workspace/lib/factory-join.js +46 -14
  26. package/workspace/lib/freshness.js +14 -1
  27. package/workspace/lib/initiative-rows.js +38 -4
  28. package/workspace/lib/issues.js +8 -1
  29. package/workspace/lib/jira-cli.js +18 -2
  30. package/workspace/lib/jira-moves.js +119 -0
  31. package/workspace/lib/jira-tickets.js +23 -4
  32. package/workspace/lib/notes.js +4 -2
  33. package/workspace/lib/offloop.js +75 -29
  34. package/workspace/lib/page-build.js +97 -0
  35. package/workspace/lib/plan-items.js +24 -3
  36. package/workspace/lib/plan-tree.js +62 -9
  37. package/workspace/lib/ready-reports.js +22 -8
  38. package/workspace/lib/refresh.js +14 -2
  39. package/workspace/lib/routes-board-premium.js +9 -1
  40. package/workspace/lib/routes-boards.js +114 -16
  41. package/workspace/lib/routes-brief-page.js +3 -1
  42. package/workspace/lib/routes-calendar-import.js +13 -1
  43. package/workspace/lib/routes-ready-reports.js +28 -5
  44. package/workspace/lib/task-links.js +12 -1
  45. package/workspace/lib/workflows-store.js +14 -3
  46. package/workspace/live-pill-round-test.js +178 -0
  47. package/workspace/milestone-pins-test.js +1 -1
  48. package/workspace/okr-goals-ui-test.js +21 -19
  49. package/workspace/package-lock.json +2 -2
  50. package/workspace/package.json +1 -1
  51. package/workspace/panels-test.js +375 -0
  52. package/workspace/premium-rec-tab-test.js +2 -1
  53. package/workspace/premium-vw-item-test.js +10 -2
  54. package/workspace/premium-vw-jira-test.js +3 -0
  55. package/workspace/program-panel-test.js +6 -6
  56. package/workspace/public/pm/bd-cols.js +149 -0
  57. package/workspace/public/pm/bd-ini-panel.js +3 -2
  58. package/workspace/public/pm/bd-pane.js +41 -0
  59. package/workspace/public/pm/bd-span.js +29 -11
  60. package/workspace/public/pm/cozy-adler.js +21 -0
  61. package/workspace/public/pm/cozy-board.css +45 -0
  62. package/workspace/public/pm/cozy-divider.css +32 -0
  63. package/workspace/public/pm/cozy-divider.js +45 -0
  64. package/workspace/public/pm/cozy-insights.css +22 -0
  65. package/workspace/public/pm/cozy-live-pill.css +17 -22
  66. package/workspace/public/pm/cozy-live-pill.js +38 -18
  67. package/workspace/public/pm/cozy-panels.css +80 -0
  68. package/workspace/public/pm/cozy-panels.js +691 -0
  69. package/workspace/public/pm/cozy-viewer.js +148 -70
  70. package/workspace/public/pm/dash-view.js +5 -2
  71. package/workspace/public/pm/goals-clear.js +9 -2
  72. package/workspace/public/pm/home-app.js +30 -19
  73. package/workspace/public/pm/home-ini.js +9 -3
  74. package/workspace/public/pm/home-today.js +4 -2
  75. package/workspace/public/pm/ini-edit.js +405 -0
  76. package/workspace/public/pm/ini-tasks.js +175 -46
  77. package/workspace/public/pm/ini-versions.js +18 -4
  78. package/workspace/public/pm/ini-view-model.js +12 -7
  79. package/workspace/public/pm/ini-view.css +162 -26
  80. package/workspace/public/pm/ini-view.js +44 -13
  81. package/workspace/public/pm/ini-wf-model.js +9 -0
  82. package/workspace/public/pm/ini-wf.js +14 -9
  83. package/workspace/public/pm/ins-pane.js +55 -0
  84. package/workspace/public/pm/jira-move.js +50 -0
  85. package/workspace/public/pm/live-model.js +3 -2
  86. package/workspace/public/pm/pn-narrow.js +76 -0
  87. package/workspace/public/pm/premium-board.js +85 -32
  88. package/workspace/public/pm/premium-insights.js +211 -43
  89. package/workspace/public/pm/task-card.css +2 -0
  90. package/workspace/public/pm/task-card.js +4 -1
  91. package/workspace/public/premium-board.html +2 -0
  92. package/workspace/ready-dash-ui-test.js +4 -4
  93. package/workspace/server.js +71 -20
  94. package/workspace/skills/jira-move.skill +35 -0
  95. package/workspace/stage-card-tasks-test.js +397 -0
  96. package/workspace/stage-card-test.js +1 -1
  97. package/workspace/task-delete-test.js +9 -1
  98. package/workspace/task-links-test.js +1 -0
  99. package/workspace/task-milestones-test.js +3 -3
  100. package/workspace/task-plans-test.js +1 -1
  101. package/workspace/task-press-test.js +12 -4
  102. package/workspace/task-views-test.js +166 -13
  103. package/workspace/test-lists/batch18-live-pill-round.json +10 -0
  104. package/workspace/test-lists/batch18-panels.json +9 -0
  105. package/workspace/test-lists/board-columns.json +5 -0
  106. package/workspace/test-lists/jira-moves.json +11 -0
  107. package/workspace/test-lists/page-speed-fold.json +5 -0
  108. package/workspace/test-lists/page-speed-reads.json +5 -0
  109. package/workspace/test-lists/stage-card-tasks.json +6 -0
  110. package/workspace/timeline-holds-test.js +1 -1
@@ -78,7 +78,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
78
78
  r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, all: false, chosen: true, products: reg.map((x, i) => ({ ...x, home: false, primary: !i, initials: null, on: pk.on.includes(x.ws) })) }) });
79
79
  });
80
80
  await page.goto(BASE + '/premium-intelligence.html?theme=' + theme + q);
81
- const up = await until(() => page.evaluate(() => document.querySelectorAll('#goalTbl .okr-row, #goalTbl .ins-row').length > 0 || /could not be read/.test(document.querySelector('#brief').textContent) || !!document.querySelector('#goalTbl .ins-empty')), 20000);
81
+ const up = await until(() => page.evaluate(() => document.querySelectorAll('#goalTbl .ins-row').length > 0 || /could not be read/.test(document.querySelector('#brief').textContent) || !!document.querySelector('#goalTbl .ins-empty')), 20000);
82
82
  return { ctx, page, errors, posts, up, pk, calls: () => calls, setModel: (m) => { current = m; } };
83
83
  };
84
84
  /* the Viewer card (pm/cozy-viewer.js): its title, and the feature its "Waiting for design" card names */
@@ -150,27 +150,31 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
150
150
  ok('B1 the product chip is the one picker Home and Board share; with one product it lists that one and Add a product, no All', pr.chip === 'Products: pmos' && pr.items === 'pmos' && !pr.all && pr.add, JSON.stringify(pr));
151
151
  }
152
152
 
153
- /* G1 the goal list (re-pointed, batch 16 item 6, GsM1–M5: the table with its type, so-far line, pace and Moved by pills is one list now; a row is
154
- * the dot, the outcome, its reading against its target with its age, and the owner; the chart, the pace and the work that moves it are in the Viewer) */
155
- { const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .okr-obj, #goalTbl .okr-h')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.okr-t b').textContent, meta: a.querySelector('.okr-t .note').textContent, dot: a.querySelector('.okr-main .cz-dot').className, av: !!a.querySelector('.okr-av'), spark: !!a.querySelector('svg.ins-spark'), pills: a.querySelectorAll('.ins-ini, .cz-pill').length }; });
156
- ok('G1 key results are grouped by objective, then Health budgets; Delivery trends moved to ⋯ (Iq8Overview, GsM2)', g.groups.join('|') === 'Key results|Objective 1 · Growth|Objective 2 · Reliability|Health budgets', JSON.stringify(g.groups));
157
- ok('G1 a goal row is its dot, its outcome, its reading against its target with what it is short by, and its owner: no so-far line and no pills (GsM3)', g.title === 'Partner activation' && /^28% of 50% · its line says 38%$/.test(g.meta) && /risk/.test(g.dot) && g.av && !g.spark && !g.pills, JSON.stringify(g));
158
- const nps = await txt('#goalTbl [data-goal="krm-nps"] .okr-t .note');
159
- ok('G1 a goal with one reading says the one value against its target and how old it is', nps === '12 of 40 · its line says 16 · read 17 days ago', nps);
160
- const up = await txt('#goalTbl [data-goal="krm-up"] .okr-t .note');
161
- ok('G1 a goal on its line says how far it has come from its start, and the day of its reading', up === '99.6% of 99.9% · Thu', up);
162
- const ch = await p.evaluate(() => { const r = document.querySelector('#goalTbl [data-goal="krm-churn"]'); return { dot: r.querySelector('.cz-dot').className, t: r.querySelector('.okr-t .note').textContent }; });
163
- ok('G1 a goal with no reading has a hollow dot and no number', /hollow/.test(ch.dot) && ch.t === 'No reading yet', JSON.stringify(ch));
153
+ /* G1 the Goals table (re-pointed back, batch 18 item 11 gap: the agreed goals dashboard is Iq8Overview again, GcJ2FirstMonday and GcJ4Full;
154
+ * the budget over its cap also keeps the one red, pulsing dot of a broken limit) */
155
+ { const g = await p.evaluate(() => { const r = [...document.querySelectorAll('#goalTbl .ins-grp')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), a = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { groups: r, title: a.querySelector('.nm b').textContent, type: a.querySelector('.ins-type').textContent, sub: a.querySelector('.ins-sub').textContent, val: a.querySelector('.val b').textContent, of: a.querySelector('.val .note').textContent, today: !!a.querySelector('.ins-bar1 .today'), spark: !!a.querySelector('svg.ins-spark .pj'), pace: a.querySelector('.pace').textContent, moves: [...a.querySelectorAll('.ins-ini')].map((m) => m.querySelector('.n').textContent + ':' + m.querySelectorAll('.ins-trk i').length + ':' + [...m.querySelectorAll('.ins-trk i')].findIndex((i) => i.classList.contains('c')) + ':' + m.querySelectorAll('.ins-trk i.m').length + ':' + ((m.querySelector('.cz-pill') || {}).textContent || '')) }; });
156
+ ok('G1 key results are grouped by objective, then Health budgets; Delivery trends moved to ⋯ (Iq8Overview)', g.groups.length === 3 && /^Objective 1 · Growth Q4 2026/.test(g.groups[0]) && /3 of 3 behind/.test(g.groups[0]) && /^Objective 2 · Reliability/.test(g.groups[1]) && /^Health budgets always on, judged every week/.test(g.groups[2]), JSON.stringify(g.groups));
157
+ ok('G1 a goal row has its type, direction and start, value of target with the today mark, the so-far line with its pace, and the pace said by its date', g.title === 'Partner activation' && g.type === 'Percentage' && g.sub === 'up is better · from 20% on Jul 1' && g.val === '28%' && g.of === 'of 50%' && g.today && g.spark && /^≈34% by Dec 31/.test(g.pace) && /16 pts short at this pace/.test(g.pace), JSON.stringify(g));
158
+ ok('G1 what moves it is on the lifecycle track with its milestones, and its pill is a delivery fact (ships soon, days over)', g.moves.join() === 'SSO for partners:8:5:2:Ships in 5 days,Self-serve onboarding v2:8:4:2:8 days over', JSON.stringify(g.moves));
159
+ const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.cz-pill') || {}).textContent || ''])));
160
+ ok('G1 an initiative with no owner says No owner; one that has shipped is not "days over" and never "in -N days"', pills['First call kit'] === 'No owner' && pills['Audit log export'] === 'On track' && !Object.values(pills).some((x) => /-\d/.test(x)), JSON.stringify(pills));
161
+ const leg = await p.evaluate(() => document.querySelector('#goalTbl .ins-th .ins-mvh').textContent.replace(/\s+/g, ' '));
162
+ ok('G1 the Moved by header carries the legend: skipped and milestone', /Skipped/.test(leg) && /Milestone/.test(leg), leg);
163
+ const nps = await p.evaluate(() => document.querySelector('#goalTbl [data-goal="krm-nps"]').textContent);
164
+ ok('G1 a goal with one reading draws no line and no pace: it shows the one value and No trend yet (IsMenus)', /1 reading/.test(nps) && /No trend yet/.test(nps) && /needs a second reading/.test(nps) && /No initiative anchors to it/.test(nps), nps);
165
+ const up = await txt('#goalTbl [data-goal="krm-up"] .pace');
166
+ ok('G1 a percentage pace never passes 100%, and a goal ahead of its time says so', /^≈100% by Dec 31/.test(up) && /ahead: 67% done, 39% of time gone/.test(up), up);
167
+ const ch = await txt('#goalTbl [data-goal="krm-churn"]');
168
+ ok('G1 a goal with no reading shows a dash and no number', /—/.test(ch) && /No reading yet/.test(ch) && /no reading yet/.test(ch) && !/\d+%\s*of/.test(ch.replace('of 2%', '')), ch);
164
169
  }
165
- /* G1 health budgets (D59): each budget of the registry, read as its share of the board's open initiatives against its cap, until its own reading
166
- * record replaces it (lib/goal-status.js) */
170
+ /* G1 health budgets (D59): each budget of the registry, read as its share of the board's open initiatives against its cap */
167
171
  {
168
- const b = await p.evaluate(() => [...document.querySelectorAll('#goalTbl [data-budget]')].map((r) => ({ id: r.dataset.budget, meta: r.querySelector('.okr-t .note').textContent, dot: r.querySelector('.cz-dot').className })));
169
- ok('G1 a health budget is a row with its share of the open initiatives against its cap', b.length === 2 && b[0].id === 'docs' && b[0].meta === '17% of open initiatives · cap 20%' && /\bok\b/.test(b[0].dot) && b[1].id === 'ops' && b[1].meta === '0% of open initiatives · cap 10%', JSON.stringify(b));
172
+ const b = await p.evaluate(() => [...document.querySelectorAll('#goalTbl [data-budget]')].map((r) => ({ id: r.dataset.budget, type: r.querySelector('.ins-type').textContent, sub: r.querySelector('.ins-sub').textContent, val: r.querySelector('.val').textContent.replace(/\s+/g, ' ').trim(), pace: r.querySelector('.pace').textContent, cap: !!r.querySelector('.ins-bar1 .today'), moves: [...r.querySelectorAll('.ins-ini .n')].map((x) => x.textContent).join() })));
173
+ ok('G1 a health budget is a Stay within row, always on, with its cap, its share of the open initiatives and what moves it', b.length === 2 && b[0].id === 'docs' && b[0].type === 'Stay within' && b[0].sub === 'always on · cap 20% of a quarter' && b[0].val === '1 of 6 open initiatives' && /^Within its 20% cap/.test(b[0].pace) && /17% of open initiatives/.test(b[0].pace) && b[0].cap && b[0].moves === 'Docs search' && b[1].id === 'ops' && b[1].val === '0 of 6 open initiatives', JSON.stringify(b));
170
174
  const R = await open({ model: mk({ budgets: [{ id: 'docs', covers: 'docs', cap: 0.1 }] }) });
171
- ok('G1 a budget over its cap is a broken limit: its dot is red and pulses', /red m-crit/.test(await R.page.evaluate(() => document.querySelector('#goalTbl [data-budget="docs"] .cz-dot').className)));
175
+ ok('G1 a budget over its cap says so, with the red pulsing dot of a broken limit', /^Over its 10% cap/.test(await txt('#goalTbl [data-budget="docs"] .pace', R.page)) && /red m-crit/.test(await R.page.evaluate(() => document.querySelector('#goalTbl [data-budget="docs"] .cz-dot').className)));
172
176
  await R.ctx.close();
173
- await p.click('#goalTbl [data-budget="docs"] .okr-main');
177
+ await p.click('#goalTbl [data-budget="docs"] .nm');
174
178
  const v = await until(() => vw(p));
175
179
  ok('G1 a budget press opens its detail in the goal\'s frame: its reading, its cap, what it covers (IsGoal)', v && v.title === 'docs' && !v.wait && /documentation upkeep/.test(v.text) && /cap 20% of a quarter/.test(v.text) && /1 of 6 open on the Board/.test(v.text), JSON.stringify(v));
176
180
  /* re-pointed (viewer-shell-a, XvAInsight): Moved by is a folding row under the summary, not a tab */
@@ -184,7 +188,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
184
188
  const R = await open(), q = R.page, sent = [], saved = [];
185
189
  await q.route('**/api/records/kr-metrics/reading', (r) => { sent.push(JSON.parse(r.request().postData() || '{}')); r.fulfill({ contentType: 'application/json', body: '{"ok":true}' }); });
186
190
  await q.route('**/api/premium-dashboards/save', (r) => { saved.push(JSON.parse(r.request().postData() || '{}')); r.fulfill({ contentType: 'application/json', body: '{"ok":true}' }); });
187
- await q.click('#goalTbl [data-goal="krm-act"] .okr-main');
191
+ await q.click('#goalTbl [data-goal="krm-act"] .nm');
188
192
  const v = await until(() => vw(q));
189
193
  /* re-pointed (batch 16 item 6, GsViewer): the reading against its line with the owner, the chart (its target, the milestones and the ship date
190
194
  * of the work that moves it), why with the work that moves it, then the folds How I read it (with the readings), What it counts, History and
@@ -210,7 +214,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
210
214
  ok('G1 the dashboard switch saves that dashboard without the goal', saved[0] && saved[0].id === 'pd-1' && saved[0].charts.join() === 'krm-ttfc,krm-gone' && saved[0].ws === 'w1', JSON.stringify(saved));
211
215
  ok('G1 the work that moves it is listed under why, each a link to it', (await q.evaluate(() => [...document.querySelectorAll('#czViewer .okr-why a.ins-mvr')].filter((a) => /premium-initiative\.html/.test(a.href)).length)) === 2);
212
216
  await vwClose(q);
213
- await q.click('#goalTbl [data-goal="krm-nps"] .okr-main'); await until(() => vw(q));
217
+ await q.click('#goalTbl [data-goal="krm-nps"] .nm'); await until(() => vw(q));
214
218
  const e1 = await txt('#czViewer .ins-etr', q), p1 = await txt('#czViewer .ins-etr [data-gx="add"]', q);
215
219
  /* re-pointed (batch 6 item 1b): the goal Viewer has no primary, so the empty trend carries Add a reading, its next action */
216
220
  ok('G1 a goal with one reading says a trend needs 2 readings and where the next comes from, with Add a reading (IsMenus)', /A trend needs 2 readings\./.test(e1) && p1 === 'Add a reading', e1 + ' | ' + p1);
@@ -307,12 +311,12 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
307
311
  await q.fill('#ndAskIn', 'Are partners getting value? activation and uptime over 8 weeks'); await q.press('#ndAskIn', 'Enter'); await sleep(300);
308
312
  const d1 = await q.evaluate(() => ({ name: document.querySelector('#ndName').value, qn: document.querySelector('#ndQ').value, list: [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk).join(), range: (document.querySelector('#sideBody [data-seg="Range"] [aria-checked="true"]') || {}).textContent, msg: document.querySelector('#ndMsg').textContent })); // re-pointed (insights fix): the describe message is under the describe box
309
313
  ok('D1 Describe asks the describe route and fills the name, the question, the goals and the range, saying which words matched', last()[0] === '/api/insights-records/describe' && last()[1].text === 'Are partners getting value? activation and uptime over 8 weeks' && d1.name === 'Partner first week' && d1.qn === 'Are partners getting value?' && d1.list === 'krm-act,krm-up' && d1.range === '8w' && /Partner activation, Partner uptime/.test(d1.msg), JSON.stringify(d1));
310
- await q.click('#goalTbl [data-goal="krm-ttfc"] .okr-main');
314
+ await q.click('#goalTbl [data-goal="krm-ttfc"] .nm');
311
315
  const s1 = await q.evaluate(() => ({ title: document.querySelector('#sideTitle').textContent, sel: [...document.querySelectorAll('#goalTbl [aria-selected="true"]')].map((r) => r.dataset.goal).join(), list: [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk + ':' + r.querySelectorAll('[data-v]').length + ':' + r.draggable).join(), forms: [...document.querySelectorAll('#ndList [data-pk]')[0].querySelectorAll('[data-v]')].map((b) => b.dataset.v).join(), pin: document.querySelector('#ndPin').getAttribute('aria-checked') }));
312
316
  ok('D1 goals are picked in the table; each picked chart has its form (Line, Bars, Number, Meter) and can be dragged; the name is the title', s1.title === 'Partner first week' && s1.sel === 'krm-act,krm-ttfc,krm-up' && s1.list === 'krm-act:4:true,krm-up:4:true,krm-ttfc:4:true' && s1.forms === 'Line,Bars,Number,Meter' && s1.pin === 'false', JSON.stringify(s1));
313
317
  await q.focus('#ndList [data-pk="krm-ttfc"]'); await q.keyboard.press('Alt+ArrowUp'); await sleep(100);
314
318
  const ord = await q.evaluate(() => [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk).join());
315
- await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); // re-pointed (insights fix, AgInsNewDash has no ×): pressing a picked row again takes its chart off
319
+ await q.click('#goalTbl [data-goal="krm-act"] .nm'); // re-pointed (insights fix, AgInsNewDash has no ×): pressing a picked row again takes its chart off
316
320
  await q.click('#ndAdd'); await q.selectOption('#ndAddSel', 'krm-churn'); await sleep(100);
317
321
  const ord2 = await q.evaluate(() => [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk).join());
318
322
  ok('D1 the order moves (Alt+Arrow, as a drag does), a chart comes off, and a goal not in view can be added', ord === 'krm-act,krm-ttfc,krm-up' && ord2 === 'krm-ttfc,krm-up,krm-churn', JSON.stringify([ord, ord2]));
@@ -323,19 +327,19 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
323
327
  ok('D1 the question is required; Save posts the name, the question, each goal with its form in order, the range and the pin, in one press', /question it answers/.test(need) && !!sv && sv[1].name === 'Partner first week' && sv[1].purpose === 'Are partners getting value?' && JSON.stringify(sv[1].charts) === JSON.stringify([{ goal: 'krm-ttfc', form: 'Line' }, { goal: 'krm-up', form: 'Bars' }, { goal: 'krm-churn', form: 'Line' }]) && sv[1].range === '26w' && sv[1].pin === true && sv[1].board === 'w1' && sv[1].ws === 'w1', JSON.stringify([need, sv]));
324
328
  sent.length = 0;
325
329
  /* the saved view and Edit chart */
326
- R.setModel(mk({ ins: { charts: { w1: { 'pd-1': { 'krm-ttfc': { form: 'Bars', range: '8w', compare: '', target: false, forecast: true, note: 'Outage on Oct 1' } } } }, verdicts: {}, targets: {} } })); await q.reload(); await until(() => q.evaluate(() => document.querySelectorAll('#goalTbl .okr-row, #goalTbl .ins-row').length > 0));
330
+ R.setModel(mk({ ins: { charts: { w1: { 'pd-1': { 'krm-ttfc': { form: 'Bars', range: '8w', compare: '', target: false, forecast: true, note: 'Outage on Oct 1' } } } }, verdicts: {}, targets: {} } })); await q.reload(); await until(() => q.evaluate(() => document.querySelectorAll('#goalTbl .ins-row').length > 0));
327
331
  await q.click('#viewChip'); await q.click('#viewMenu [data-view="pd-1"]'); await sleep(150);
328
332
  const svw = await q.evaluate(() => ({ name: document.querySelector('#viewName').textContent, rows: [...document.querySelectorAll('#goalTbl [data-goal]')].map((r) => r.dataset.goal).join(), budgets: document.querySelectorAll('#goalTbl [data-budget]').length }));
329
333
  ok('D2 View opens a saved dashboard on Goals: its goals in its order, and no budgets (a dashboard holds goals)', svw.name === 'Weekly partner review' && svw.rows === 'krm-act,krm-ttfc' && svw.budgets === 0, JSON.stringify(svw));
330
- await q.click('#goalTbl [data-goal="krm-ttfc"] .okr-main'); await sleep(150);
334
+ await q.click('#goalTbl [data-goal="krm-ttfc"] .nm'); await sleep(150);
331
335
  const ce = await q.evaluate(() => ({ kind: document.querySelector('#side').dataset.kind, eye: document.querySelector('#sideEye').textContent, title: document.querySelector('#sideTitle').textContent, goal: document.querySelector('#chGoal').value, prev: !!document.querySelector('#chPrev svg.ins-ch2'), form: (document.querySelector('#sideBody [data-seg="Form"] [aria-checked="true"]') || {}).textContent, range: (document.querySelector('#sideBody [data-seg="Range"] [aria-checked="true"]') || {}).textContent, togs: [...document.querySelectorAll('#sideBody .ins-tog')].map((b) => b.id + ':' + b.getAttribute('aria-checked')).join(), ns: document.querySelectorAll('#sideBody .ins-ns').length, cmp: document.querySelector('#chCmp').value, note: document.querySelector('#chNote').value }));
332
336
  ok('D2 a goal press on a saved dashboard opens Edit chart with that chart\'s saved form, range, comparison, target line, forecast and note', ce.kind === 'chart' && ce.eye === 'Chart on Weekly partner review' && ce.title === 'Time to first call' && ce.goal === 'krm-ttfc' && ce.prev && ce.form === 'Bars' && ce.range === '8w' && ce.togs === 'chTgt:false,chFc:true' && ce.ns === 0 && ce.cmp === '' && ce.note === 'Outage on Oct 1', JSON.stringify(ce));
333
337
  ok('D2 the preview is drawn in the chart\'s form', await q.evaluate(() => document.querySelectorAll('#chPrev svg.ins-ch2 rect').length > 0));
334
338
  await q.click('#sideBody [data-seg="Form"] [data-v="Line"]'); await q.fill('#chNote', 'Better after the kit'); await q.click('#sideGo'); await until(() => q.evaluate(() => document.querySelector('#side').hidden), 5000);
335
339
  ok('D2 Save chart posts every setting of the chart on its dashboard', last()[0] === '/api/insights-records/chart' && last()[1].dash === 'pd-1' && last()[1].goal === 'krm-ttfc' && last()[1].form === 'Line' && last()[1].range === '8w' && last()[1].compare === '' && last()[1].target === false && last()[1].forecast === true && last()[1].note === 'Better after the kit' && last()[1].add === false, JSON.stringify(last()));
336
- await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); await sleep(100); await q.selectOption('#chGoal', 'krm-up'); await q.click('#sideGo'); await until(() => q.evaluate(() => document.querySelector('#side').hidden), 5000);
340
+ await q.click('#goalTbl [data-goal="krm-act"] .nm'); await sleep(100); await q.selectOption('#chGoal', 'krm-up'); await q.click('#sideGo'); await until(() => q.evaluate(() => document.querySelector('#side').hidden), 5000);
337
341
  ok('D2 Save chart with a goal not on the dashboard adds it there', last()[0] === '/api/insights-records/chart' && last()[1].goal === 'krm-up' && last()[1].add === true, JSON.stringify(last()));
338
- await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); await sleep(100); await q.click('#chMore');
342
+ await q.click('#goalTbl [data-goal="krm-act"] .nm'); await sleep(100); await q.click('#chMore');
339
343
  const cm = await q.evaluate(() => [...document.querySelectorAll('#chMenu button')].map((b) => b.textContent.replace(/\s+/g, ' ') + ':' + (b.disabled ? 'off' : 'on')).join('|'));
340
344
  await q.click('#chRemove'); await until(() => q.evaluate(() => document.querySelector('#side').hidden), 5000);
341
345
  ok('D2 ⋯ on a chart: Remove from dashboard saves it without that goal (a dashboard holds one chart for each goal, so Duplicate is off)', /^DuplicateA dashboard holds one chart for each goal:off\|Remove from dashboard/.test(cm) && last()[0] === '/api/premium-dashboards/save' && JSON.stringify(last()[1].charts) === JSON.stringify(['krm-ttfc', 'krm-gone']), JSON.stringify([cm, last()]));
@@ -480,10 +484,9 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
480
484
  const R = await open({ w: 390, h: 844, theme }), q = R.page;
481
485
  const m = await q.evaluate(() => { const vis = (b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0; /* re-pointed (insights fix, AgInsPhone): a control keeps the design's size and its 44 px hit area is its ::after */
482
486
  const hit = (b) => Math.max(b.getBoundingClientRect().height, parseFloat(getComputedStyle(b, '::after').height) || 0);
483
- const small = [...document.querySelectorAll('#insBar button, #askWhy, #goalTbl .okr-main, #czFab')].filter((b) => vis(b) && hit(b) < 44).map((b) => (b.id || b.className) + ':' + Math.round(hit(b)));
484
- return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, rows: [...document.querySelectorAll('#goalTbl [data-goal]')].map((c) => c.dataset.goal + ':' + c.querySelector('.okr-main .cz-dot').getAttribute('aria-label')).join() }; });
485
- /* re-pointed (batch 16 item 6, GsM1–M5): the phone shows the same list as the desktop, each row with its dot */
486
- ok(`I11 at 390 px (${theme}) the goals are the same list with their dots, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'block' && m.rows === 'krm-act:Behind its line,krm-ttfc:Behind its line,krm-nps:Behind its line,krm-up:On its line,krm-churn:No reading yet', JSON.stringify(m));
487
+ const small = [...document.querySelectorAll('#insBar button, #askWhy, #goalCards .ins-card, #czFab')].filter((b) => vis(b) && hit(b) < 44).map((b) => (b.id || b.className) + ':' + Math.round(hit(b)));
488
+ return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .cz-pill') || {}).textContent || '')).join() }; });
489
+ ok(`I11 at 390 px (${theme}) the goals are cards with their status, the table is hidden, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'none' && m.cards === 'krm-act:Behind,krm-up:Ahead,krm-ttfc:Behind,krm-nps:Behind,krm-churn:', JSON.stringify(m));
487
490
  await R.ctx.close();
488
491
  }
489
492
 
@@ -519,8 +522,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
519
522
  const H0 = await T.pressHeaders(base2), self = ((await (await fetch(base2 + '/api/briefing-premium/products')).json()).products || []).find((x) => x.primary);
520
523
  await fetch(base2 + '/api/briefing-premium/products', { method: 'POST', headers: H0, body: JSON.stringify({ on: [self && self.ws] }) }); // the pick: this repository only
521
524
  await pg.goto(base2 + '/premium-insights.html');
522
- /* re-pointed (batch 16 item 6, GsM2): a row says the reading against its target; the chart is in the Viewer */
523
- ok('E7 the real page draws that goal with the record\'s numbers against its target, a small count as one of two, and no script error', await until(() => pg.evaluate(() => { const r = document.querySelector('#goalTbl [data-goal="krm-a"]'), b = document.querySelector('#goalTbl [data-goal="krm-b"]'); return !!r && !!b && /\+10 of \+30 points|30%/.test(r.querySelector('.okr-t .note').textContent) && /^1 of 2\b/.test(b.querySelector('.okr-t .note').textContent); }), 20000) && errs.length === 0, errs.join(' | '));
525
+ ok('E7 the real page draws that goal with the record\'s numbers and its line, a small count as blocks, and no script error', await until(() => pg.evaluate(() => { const r = document.querySelector('#goalTbl [data-goal="krm-a"]'); return !!r && r.querySelector('.val b').textContent === '30%' && !!r.querySelector('svg.ins-spark') && document.querySelectorAll('#goalTbl [data-goal="krm-b"] .ins-blocks i.on').length === 1 && document.querySelectorAll('#goalTbl [data-goal="krm-b"] .ins-blocks i').length === 2; }), 20000) && errs.length === 0, errs.join(' | '));
524
526
  const H = await T.pressHeaders(base2);
525
527
  const made = await fetch(base2 + '/api/premium-dashboards/save', { method: 'POST', headers: H, body: JSON.stringify({ ws: m.board.ws, board: m.board.id, name: 'Partner review', purpose: 'The Monday partner review.', charts: [m.charts[0].id], main: true }) }).then((x) => x.status);
526
528
  await pg.reload();
@@ -538,7 +540,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
538
540
  const krFile = path.join(dir, 'planning', 'records', 'kr-metrics.jsonl'), recs = () => fs.readFileSync(krFile, 'utf8').trim().split('\n').map((x) => JSON.parse(x));
539
541
  const landed = await until(() => /Weekly partners/.test(fs.readFileSync(krFile, 'utf8')), 8000);
540
542
  const rec = landed ? recs().find((x) => x.fields && x.fields.metric === 'Weekly partners') : null;
541
- ok('E10 New goal on the real page adds a KR metric record with its type, direction, numbers, date, period, objective, owner and source, and the page draws it', !!rec && rec.fields.type === 'Count' && rec.fields.direction === 'up' && rec.fields.baseline === 5 && rec.fields.target === 9 && rec.fields.pillar === 'Growth' && rec.fields.owner === 'Lee' && rec.fields.source === 'file' && rec.fields.period.kind === 'Quarter' && /^\d{4}-\d{2}-\d{2}$/.test(rec.fields.by) && await until(() => pg.evaluate(() => [...document.querySelectorAll('#goalTbl .okr-row .okr-t b')].some((b) => b.textContent === 'Weekly partners')), 8000), JSON.stringify(rec));
543
+ ok('E10 New goal on the real page adds a KR metric record with its type, direction, numbers, date, period, objective, owner and source, and the page draws it', !!rec && rec.fields.type === 'Count' && rec.fields.direction === 'up' && rec.fields.baseline === 5 && rec.fields.target === 9 && rec.fields.pillar === 'Growth' && rec.fields.owner === 'Lee' && rec.fields.source === 'file' && rec.fields.period.kind === 'Quarter' && /^\d{4}-\d{2}-\d{2}$/.test(rec.fields.by) && await until(() => pg.evaluate(() => [...document.querySelectorAll('#goalTbl .ins-row b')].some((b) => b.textContent === 'Weekly partners')), 8000), JSON.stringify(rec));
542
544
  const post = (route, b, h = H) => fetch(base2 + '/api/insights-records/' + route, { method: 'POST', headers: h, body: JSON.stringify(Object.assign({ ws: m.board.ws, board: m.board.id }, b)) }).then(async (x) => ({ status: x.status, body: await x.json() }));
543
545
  const bad1 = await post('goal', { name: 'Wrong way', type: 'Count', direction: 'Up', baseline: 9, target: 5, due: '2026-12-31' });
544
546
  const done = await post('goal', { name: 'SOC 2 report', type: 'Done or not', due: '2026-12-15', steps: ['Scope', 'Audit'] });
@@ -567,12 +569,12 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
567
569
  const R = await open({ model: mk({ boards: two }), pick: ['w1', 'w2'] }), q = R.page;
568
570
  await q.route('**/api/insights-premium?ws=w2*', (r) => { asked.push(r.request().url()); r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, state: 'ready', model: other }) }); });
569
571
  await q.reload(); // the route above answers the second product from the first read on
570
- const pf = await until(async () => { const x = await q.evaluate(() => ({ chip: (document.querySelector('#prodPick') || { getAttribute: () => '' }).getAttribute('aria-label'), all: (document.querySelector('#prodPick .ppk-all') || {}).textContent, groups: [...document.querySelectorAll('#goalTbl .okr-obj')].map((g) => g.textContent), rows: document.querySelectorAll('#goalTbl [data-goal]').length, brief: document.querySelector('#brief').textContent, budgets: document.querySelectorAll('#goalTbl [data-budget]').length })); return x.groups.includes('Billing') ? x : null; }, 8000);
572
+ const pf = await until(async () => { const x = await q.evaluate(() => ({ chip: (document.querySelector('#prodPick') || { getAttribute: () => '' }).getAttribute('aria-label'), all: (document.querySelector('#prodPick .ppk-all') || {}).textContent, groups: [...document.querySelectorAll('#goalTbl .ins-grp')].map((g) => g.querySelector('[role="cell"]').textContent), rows: document.querySelectorAll('#goalTbl [data-goal]').length, brief: document.querySelector('#brief').textContent, budgets: document.querySelectorAll('#goalTbl [data-budget]').length })); return x.groups.includes('Billing') ? x : null; }, 8000);
571
573
  ok('M1 two products ticked (the chip says All): Portfolio reads the other product once and groups every goal by product; budgets stay with their product', !!pf && pf.chip === 'Products: all 2' && pf.all === 'All' && pf.groups.slice(0, 2).join() === 'pmos,Billing' && pf.rows === 6 && /^Portfolio: 6 goals across 2 products/.test(pf.brief) && pf.budgets === 0 && asked.length === 1, JSON.stringify(pf));
572
574
  await q.click('#prodPick'); const pm = await q.evaluate(() => [...document.querySelectorAll('#ppMenu [data-pp]')].map((b) => b.querySelector('b').textContent + ':' + ((b.querySelector('em') || {}).textContent || '') + ':' + b.getAttribute('aria-checked')).join());
573
575
  ok('M1 the list counts each product\'s goals and ticks both', pm === 'All products::true,pmos:5 goals:true,Billing:1 goal:true', pm);
574
576
  await q.keyboard.press('Escape');
575
- await q.click('#goalTbl [data-goal="w2~krm-inv"] .okr-main'); const gv = await until(() => vw(q));
577
+ await q.click('#goalTbl [data-goal="w2~krm-inv"] .nm'); const gv = await until(() => vw(q));
576
578
  ok('M1 a goal of another product opens its detail, named with its product and not on this product\'s dashboards', gv && /Invoices paid on time$/.test(gv.title) && /Billing/.test(gv.text) && !(await q.evaluate(() => document.querySelector('#czViewer [data-gx="dash"], #czViewer [data-gx="chart"]'))), JSON.stringify(gv));
577
579
  await vwClose(q);
578
580
  await sleep(100);
@@ -580,13 +582,13 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
580
582
  await q.click('#prodPick'); await q.click('#ppMenu [data-pp="w2"]');
581
583
  await Promise.all([q.waitForNavigation(), q.keyboard.press('Escape')]);
582
584
  await until(() => q.evaluate(() => document.querySelectorAll('#goalTbl [data-goal]').length === 5), 8000);
583
- ok('M1 unticking the other product saves the pick and leaves Portfolio', JSON.stringify(R.pk.posts) === '[["w1"]]' && (await q.evaluate(() => document.querySelector('#prodPick').getAttribute('aria-label'))) === 'Products: pmos' && (await q.evaluate(() => ![...document.querySelectorAll('#goalTbl .okr-obj')].some((g) => /Billing/.test(g.textContent)))), JSON.stringify(R.pk.posts));
585
+ ok('M1 unticking the other product saves the pick and leaves Portfolio', JSON.stringify(R.pk.posts) === '[["w1"]]' && (await q.evaluate(() => document.querySelector('#prodPick').getAttribute('aria-label'))) === 'Products: pmos' && (await q.evaluate(() => document.querySelectorAll('#goalTbl .ins-grp').length === 0 || ![...document.querySelectorAll('#goalTbl .ins-grp')].some((g) => /Billing/.test(g.textContent)))), JSON.stringify(R.pk.posts));
584
586
  await R.ctx.close();
585
587
  }
586
588
  /* P: the phone (IsPhone): the goal detail full screen with Readings, Moved by and Dashboards; a report setup as a sheet */
587
589
  {
588
590
  const R = await open({ w: 390, h: 844 }), q = R.page;
589
- await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); await until(() => vw(q));
591
+ await q.click('#goalCards [data-goal="krm-act"]'); await until(() => vw(q));
590
592
  /* re-pointed (batch 16 item 6, GsViewer phone): the same Viewer, full screen: the reading against its line, the chart, why, then the folds */
591
593
  const ph = await q.evaluate(() => { const v = document.querySelector('#czViewer').getBoundingClientRect(), b = document.querySelector('#czViewer .cz-vw-body'); return { w: Math.round(v.width), tabs: [...document.querySelectorAll('#czViewer .czs-row b')].map((t) => t.textContent).join(), first: b.firstElementChild.className, order: [...b.children].map((x) => x.className.split(' ')[0]).join(), over: document.documentElement.scrollWidth > innerWidth }; });
592
594
  ok('P1 on a phone the goal Viewer covers the screen: the reading first, the chart, why, then How I read it, What it counts, History and On dashboards', ph.w === 390 && ph.tabs === 'How I read it,What it counts,History,On dashboards' && ph.first === 'okr-vh' && /^okr-vh,ins-gbig,okr-why,czs-secs/.test(ph.order) && !ph.over, JSON.stringify(ph));
@@ -604,7 +606,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
604
606
  /* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Nunito, the cozy panel, the pill tabs, the table, the strip and the six tiles */
605
607
  for (const [w, h] of [[1440, 900], [390, 844]]) {
606
608
  const R = await open({ w, h }); await sleep(300);
607
- const f = await R.page.evaluate(() => { const cs = (s) => getComputedStyle(document.querySelector(s)); const main = cs('main.ins'), tab = cs('#viewChip'), strip = cs('#insHero'), row = document.querySelector('#goalTbl .okr-row').getBoundingClientRect();
609
+ const f = await R.page.evaluate(() => { const cs = (s) => getComputedStyle(document.querySelector(s)); const main = cs('main.ins'), tab = cs('#viewChip'), strip = cs('#insHero'), row = document.querySelector('#goalTbl .ins-row').getBoundingClientRect();
608
610
  return { font: cs('body').fontFamily, radius: main.borderTopLeftRadius, bg: main.backgroundColor, tabBg: tab.backgroundColor, tabR: tab.borderTopLeftRadius, tabW: tab.fontWeight, stripR: strip.borderTopLeftRadius, stripBg: strip.backgroundColor, rowH: Math.round(row.height), over: document.documentElement.scrollWidth > innerWidth, fab: document.querySelector('#czFab').getBoundingClientRect().width, fabX: Math.round(document.querySelector('#czFab').getBoundingClientRect().left) }; });
609
611
  const phone = w < 720;
610
612
  ok(`I11 the page wears the Agreed design at ${w} px: Nunito, the white panel, the pill View chip, the well strip, 56 px floating button`, /^Nunito/.test(f.font) && f.radius === (phone ? '0px' : '28px') && (phone || f.bg === 'rgb(255, 255, 255)') && f.tabBg === 'rgb(244, 243, 240)' && f.tabR === '999px' && +f.tabW >= 700 && (phone || (f.stripR === '16px' && f.stripBg === 'rgb(244, 243, 240)' && f.rowH >= 60)) && !f.over && f.fab === 56 && (phone ? f.fabX > 300 : f.fabX === 36), JSON.stringify(f));
@@ -615,5 +617,48 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
615
617
  }
616
618
  await R.ctx.close();
617
619
  }
620
+ /* PN Intelligence as the first panel (panels on Board and Intelligence, P-B; BiI1Split, BiI2Half, sticky "What to build" items 0 and 3).
621
+ * The panels engine puts cz-pn-narrow on the page while its panel is narrower than fit(); here it is set by hand on a 1440 window. */
622
+ {
623
+ const R = await open({ w: 1440, h: 900 }), q = R.page;
624
+ const st = () => q.evaluate(async () => {
625
+ const P = await import('/pm/ins-pane.js'), m = document.querySelector('#stage'), d = (sel) => { const e = document.querySelector(sel); return e ? getComputedStyle(e).display : null; };
626
+ const mv = document.querySelector('#goalTbl .ins-th .ins-mvh'), on = [...document.querySelectorAll('.vwo')].filter((x) => x.offsetParent), c = on[0] && getComputedStyle(on[0]);
627
+ return { fit: P.fit(), tbl: d('#goalTbl'), cards: d('#goalCards'), mv: mv ? getComputedStyle(mv).display : null, mvW: mv ? Math.round(mv.getBoundingClientRect().width) : 0, nomv: m.classList.contains('ins-nomv'),
628
+ cut: [...document.querySelectorAll('#goalTbl .ins-row')].some((r) => r.scrollWidth > r.clientWidth + 1),
629
+ on: on.map((x) => x.className.split(' ').slice(0, 2).join('.') + ':' + (x.dataset.goal || x.dataset.budget)), blue: c ? /inset/.test(c.boxShadow) && c.backgroundColor !== 'rgba(0, 0, 0, 0)' : false };
630
+ });
631
+ const w0 = await st();
632
+ ok('PN1 a wide page panel shows the key results table with Moved by, and fit() is about 880', w0.fit === 880 && w0.tbl !== 'none' && w0.cards === 'none' && w0.mv !== 'none' && !w0.nomv, JSON.stringify(w0));
633
+ await q.evaluate(() => { document.querySelector('#stage').style.maxWidth = '930px'; }); await sleep(300);
634
+ const w1 = await st();
635
+ ok('PN2 a page panel too narrow for Moved by: the column steps aside and nothing is cut (BiI1Split)', w1.nomv && w1.mv === 'none' && w1.tbl !== 'none' && !w1.cut, JSON.stringify(w1));
636
+ await q.click('#goalTbl [data-goal="krm-act"]');
637
+ await until(() => q.evaluate(() => !!(window.czViewer && window.czViewer.isOpen())));
638
+ const w2 = await st();
639
+ ok('PN3 the open goal\'s row is marked blue, the first selected mark on Intelligence', w2.on.join() === 'ins-tr.ins-row:krm-act' && w2.blue, JSON.stringify(w2));
640
+ ok('PN3 the goal Viewer keeps Moved by', /Moved by|SSO for partners/.test(await q.evaluate(() => document.querySelector('#czViewer .cz-vw-body').textContent)));
641
+ await q.evaluate(() => { const m = document.querySelector('#stage'); m.style.maxWidth = '700px'; m.classList.add('cz-pn-narrow'); }); await sleep(300);
642
+ const n1 = await st();
643
+ ok('PN4 a narrow page panel on a wide window shows the goal cards (BiI2Half), the open goal\'s card marked blue', n1.tbl === 'none' && n1.cards !== 'none' && n1.on.join() === 'ins-card.vwo:krm-act' && n1.blue, JSON.stringify(n1));
644
+ await q.evaluate(() => { const m = document.querySelector('#stage'); m.style.maxWidth = ''; m.classList.remove('cz-pn-narrow'); }); await sleep(400);
645
+ const nb = await st();
646
+ ok('PN5 beside the Viewer the page panel shows the table, Moved by still aside and nothing cut', nb.tbl !== 'none' && nb.cards === 'none' && nb.nomv && !nb.cut && nb.on.join() === 'ins-tr.ins-row:krm-act', JSON.stringify(nb));
647
+ await q.evaluate(() => window.czViewer.close()); await sleep(500);
648
+ const n2 = await st();
649
+ ok('PN5 the whole width again: the table, and Moved by is back', n2.tbl !== 'none' && n2.cards === 'none' && !n2.nomv && n2.mv !== 'none' && n2.mvW >= 150, JSON.stringify(n2));
650
+ const src = await q.evaluate(async () => { const P = await import('/pm/ins-pane.js'); return [...document.querySelectorAll(P.SOURCES)].filter((e) => e.offsetParent).map((e) => e.dataset.goal || e.dataset.budget); });
651
+ ok('PN6 every goal and budget row opens beside (a drag on the row or ⌘-click)', src.includes('krm-act') && src.includes('docs') && src.length === await q.evaluate(() => document.querySelectorAll('#goalTbl .ins-row[data-goal], #goalTbl .ins-row[data-budget]').length), JSON.stringify(src));
652
+ ok('PN6 a closed Viewer leaves no mark', n2.on.length === 0, JSON.stringify(n2));
653
+ ok('PN no script error', R.errors.length === 0, R.errors.join(' | '));
654
+ await R.ctx.close();
655
+ }
656
+ /* PN7 a phone is as before: no narrow class, the cards, no mark left behind */
657
+ {
658
+ const R = await open({ w: 390, h: 844 }), q = R.page;
659
+ const p0 = await q.evaluate(() => ({ cls: document.querySelector('#stage').className, cards: getComputedStyle(document.querySelector('#goalCards')).display, tbl: getComputedStyle(document.querySelector('#goalTbl')).display }));
660
+ ok('PN7 a phone keeps its goal cards by the window, with no narrow class', !/cz-pn-narrow|ins-nomv/.test(p0.cls) && p0.cards !== 'none', JSON.stringify(p0));
661
+ await R.ctx.close();
662
+ }
618
663
  return finish();
619
664
  })().catch((e) => { console.error(e); finish(1); });
@@ -108,7 +108,8 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
108
108
  ok('R2 the list head is the greeting (Home A + C, HvAC), and New offers its four kinds, one word each (batch 14 item 10, canvas PmAHome)', await p.evaluate(() => /^Good (morning|afternoon|evening)$/.test(document.querySelector('#hmList .hm-hd [data-hm-day] b').textContent)) && !!nw && nw.length === 4 && /^Task/.test(nw[0]) && /^Chat/.test(nw[1]) && /^Recording/.test(nw[2]) && /^Initiative/.test(nw[3]), JSON.stringify(nw));
109
109
  ok('R2 New is headed New and has no sub lines (no "What is it for?")', await p.evaluate(() => { const m = document.querySelector('#hmMenu:not([hidden])'); return !!m && m.querySelector('.hm-ml').textContent === 'New' && !m.querySelector('em'); }));
110
110
  await p.keyboard.press('Escape');
111
- ok('R2 the list head has no fold button (no header chrome, canvas HmMyWork)', await p.evaluate(() => !document.querySelector('[data-hm-fold]'))); }
111
+ // batch 18 item 15 (TbT1Split) put one icon-only fold back on the list head, after New: it folds the list to the rail
112
+ ok('R2 the list head has one icon-only fold, last, named for a screen reader', await p.evaluate(() => { const f = document.querySelectorAll('#hmList .hm-hd [data-hm-fold]'); return f.length === 1 && !f[0].textContent.trim() && f[0].getAttribute('aria-label') === 'Fold the list to the rail' && !f[0].nextElementSibling; })); }
112
113
 
113
114
  /* R4 */
114
115
  { const L = await p.evaluate((sel) => ({ rows: [...document.querySelectorAll(sel)].map((r) => ({ id: r.dataset.id, t: r.querySelector('.hm-rt b').textContent, h: (r.querySelector('.hm-rm') || {}).title || '', mark: !!r.querySelector('.hv-mk .hv-d, .hv-mk .hv-ck, .hv-mk svg') })), more: (document.querySelector('[data-hm-allneeds]') || {}).textContent || '', sel: (document.querySelector('.hm-r.sel') || {}).dataset ? document.querySelector('.hm-r.sel').dataset.id : null }), NEEDS);
@@ -67,7 +67,9 @@ const ITEMS = [
67
67
  await page.route('**/api/board-premium*', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, state: 'ready', model: BP.build({ ...base, rows, total: rows.length, items: ITEMS.map((x) => ({ ...x })) }), as_of: Date.now() }) }));
68
68
  await page.route('**/api/programs', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, programs: F.programs() }) }));
69
69
  await page.route('**/api/board-trail*', (r) => r.fulfill({ status: 500, contentType: 'application/json', body: JSON.stringify({ ok: false, error: 'not in this check' }) }));
70
- const ls = { 'pmos.board.view': 'time', 'pmos.board.pview': 'time', 'pmos.board.span': o.span || 'year', 'pmos.board.msMode': o.mode || 'pinned' };
70
+ // the columns are off here (batch 19 item 5): this suite is the bar end's own label, which the Next milestone column takes over;
71
+ // board-columns-test.js covers the columns
72
+ const ls = { 'pmos.board.view': 'time', 'pmos.board.pview': 'time', 'pmos.board.span': o.span || 'year', 'pmos.board.msMode': o.mode || 'pinned', 'pmos.board.tlcols': '[]' };
71
73
  if (o.fold) ls['pmos.board.fold'] = JSON.stringify(o.fold);
72
74
  await page.addInitScript(([s]) => { try { if (!sessionStorage.getItem('set')) { sessionStorage.setItem('set', '1'); for (const [k, v] of Object.entries(s)) localStorage.setItem(k, v); } } catch { /* none */ } }, [ls]);
73
75
  await page.goto(BASE + '/premium-board.html?ws=idpf&board=idpf');
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "v": "0.445.0",
4
+ "at": "2026-10-29T01:59:56.258Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1090,
9
+ "t": "Faster pages, panels on Board and Intelligence, task status on timelines, Jira moves (feedback batch 19)",
10
+ "s": "Faster pages, panels on Board and Intelligence, task status on timelines, Jira moves (feedback batch 19)"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.444.0",
16
+ "at": "2026-10-28T16:25:00.066Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 1088,
21
+ "t": "Arrange panels, manage tasks in the stage card, goals dashboard (batch 18 items 15, 16, 11 gap)",
22
+ "s": "Arrange panels, manage tasks in the stage card, goals dashboard (batch 18 items 15, 16, 11 gap)"
23
+ }
24
+ ]
25
+ },
2
26
  {
3
27
  "v": "0.443.0",
4
28
  "at": "2026-10-28T14:17:24.774Z",
@@ -6,11 +6,14 @@
6
6
  * metrics with their recipe, counts, live read and checks. The write routes are stubbed so each press can be read back.
7
7
  * T GcJ1aTable: the drafted metrics are one table (Proposed metric, How it is counted, Now read hh:mm, Target, From, how often), grouped, with
8
8
  * ✕ / ✓; no second North Star row; ✓ keeps that row and the toast names its rhythm, never "every morning"
9
- * C GcJ1Drafts: a row opens its check panel: how it is counted, the live read, my checks, your number, how often, the query folded, ↗ ✎ ↻ Keep;
9
+ * C GcJ1Drafts: a row opens its check panel: how it is counted, the live read, my checks, your number, how often with "it needs a full week",
10
+ * the query open on its lines, ↗ ✎ ↻ Keep;
10
11
  * ↻ posts the live read; a number posts the compare
11
12
  * S GcS3Differs: mine beside yours, why, the suggestion; ✓ posts the pick
12
- * F GcJ2FirstMonday: one reading: the reading with its source and time, a grey dot, "pace known after 3 readings"; the chart waits for the 2nd
13
- * K GcR3Goal: a key result's Viewer: the counts as a fraction, From … with the rhythm and the last and next read said once, ↻ in the header
13
+ * F GcJ2FirstMonday: the dashboard (North Star card, then Key results · Now, of target · So far · By its date · Moved by); one reading: a grey
14
+ * dot for So far, "Known after 3 readings" with the day of the 3rd; the North Star's line waits in a dashed box for the 2nd
15
+ * K GcJ4Full, GcR3Goal: from the 3rd reading the dashboard is Iq8Overview; a key result's Viewer leads with the counts as a fraction, not its
16
+ * chart, From … with the rhythm and the last and next read said once, ↻ in the header; the chart's labels never overlap
14
17
  * R GcR4Failed: the last good number stays, the reason, Reconnect posts the drafted connect fix
15
18
  * H GcR5Held: the held reading is not drawn; why, its checks, the Jira draft; ✓✓ files it
16
19
  * P on a phone: the table and the check panel with no sideways scroll. PMOS_SHOTS=<dir> also saves screenshots. */
@@ -149,11 +152,11 @@ const FIX = { id: 'fx-amp', kind: 'connect', goal: 'krm-act', connector: 'Amplit
149
152
  /* C · the check panel */
150
153
  await p.click('[data-gc-row="d-ns"] .gc-hw');
151
154
  const c1 = await vw(p);
152
- const cp = await p.evaluate(() => { const V = document.querySelector('#czViewer'); return { title: (V.querySelector('.cz-vw-title') || {}).textContent || '', sel: !!document.querySelector('[data-gc-row="d-ns"].sel'), q: !!V.querySelector('details.gc-q:not([open])'),
155
+ const cp = await p.evaluate(() => { const V = document.querySelector('#czViewer'); return { title: (V.querySelector('.cz-vw-title') || {}).textContent || '', sel: !!document.querySelector('[data-gc-row="d-ns"].sel'), q: !!V.querySelector('details.gc-q[open] pre'),
153
156
  foot: [...V.querySelectorAll('.gc-foot .cz-ib')].map((b) => b.getAttribute('aria-label') + '|' + b.textContent.trim()) }; });
154
157
  ok('C1 a row opens its check panel beside the table, the row marked', /Weekly signed-in shoppers/.test(cp.title) && cp.sel, JSON.stringify(cp));
155
158
  ok('C2 how it is counted with the live read, then my checks', /How it is counted Shoppers who signed in at least once in the week, each person once 38\.8k read .*week of 19 Oct My checks No segment reads 0/.test(c1 || '') && /It is less than all shoppers \(61k\), as it must be/.test(c1), c1);
156
- ok('C3 "No other number to compare yet", the input for yours, how often once, and the query folded', /No other number to compare yet: type yours/.test(c1) && /How often every Monday 07:00/.test(c1) && (c1.match(/every Monday/g) || []).length === 1 && cp.q, c1);
159
+ ok('C3 "No other number to compare yet", the input for yours, how often once with why (it needs a full week), and the query open on its lines', /No other number to compare yet: type yours/.test(c1) && /How often every Monday 07:00 · it needs a full week/.test(c1) && (c1.match(/every Monday/g) || []).length === 1 && cp.q, c1);
157
160
  ok('C4 ↗ ✎ ↻ and Keep, icon-only', cp.foot.length === 4 && /^Open in Amplitude/.test(cp.foot[0]) && /^Edit/.test(cp.foot[1]) && /^Read it now/.test(cp.foot[2]) && /^Keep\|$/.test(cp.foot[3]) && cp.foot.every((f) => /\|$/.test(f)), cp.foot.join(', '));
158
161
  ok('C5 the old "test read" wording is gone', !/test read/i.test(c1) && !/test read/i.test(await txt(p, '#draftBox')));
159
162
  await shot(p, 'GcJ1Drafts-built');
@@ -175,21 +178,32 @@ const FIX = { id: 'fx-amp', kind: 'connect', goal: 'krm-act', connector: 'Amplit
175
178
  await A.ctx.close();
176
179
 
177
180
  /* F · the first readings */
178
- const B = await open({ m: model('first'), rows: [], ready: '#goalTbl .okr-row' });
179
- const f1 = await B.page.evaluate(() => { const r = document.querySelector('#goalTbl [data-goal="krm-act"]'); return { meta: r.querySelector('.okr-main .note').textContent, dot: r.querySelector('.okr-main .cz-dot').className, line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }; });
180
- ok('F1 one reading: the number, its source and time, "pace known after 3 readings", and a grey dot', /· Amplitude, Mon 2 Nov, 07:02 · pace known after 3 readings$/.test(f1.meta) && /\bq\b/.test(f1.dot), JSON.stringify(f1));
181
+ const B = await open({ m: model('first'), rows: [], ready: '#goalTbl .ins-row' });
182
+ const f1 = await B.page.evaluate(() => { const r = document.querySelector('#goalTbl [data-goal="krm-act"]'), c = (s) => (r.querySelector(s) || {}).textContent || ''; return { head: [...document.querySelectorAll('#goalTbl .ins-th [role="columnheader"]')].map((h) => h.childNodes[0].textContent.trim()).join('|'), now: c('.val'), dot: !!r.querySelector('.sofar .ins-dot1') && !r.querySelector('.sofar svg'), pace: c('.pace'), bar: !!r.querySelector('.ins-bar1'),
183
+ ns: (document.querySelector('#nsRow .ins-nsc') || {}).innerText || '', wait: !!document.querySelector('#nsRow .ins-nsc .gc-wait') && !document.querySelector('#nsRow .ins-nsch'), seg: !!document.querySelector('#nsRow .cz-seg'), inputs: !!document.querySelector('#nsRow .ins-nsi'),
184
+ line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }; });
185
+ ok('F0 the dashboard: the North Star card, then one table Key results · Now, of target · So far · By its date · Moved by', f1.head === 'Key results|Now, of target|So far|By its date|Moved by', JSON.stringify(f1));
186
+ ok('F1 one reading: the number of its target, a grey dot for So far, "Known after 3 readings" and the day of the 3rd, Mon 16 Nov, and no bar yet', /^\S+ of \S+$/.test(f1.now.trim()) && f1.dot && /^Known after 3 readings\s*Mon 16 Nov$/.test(f1.pace.trim()) && !f1.bar, JSON.stringify(f1));
187
+ ok('F1b the North Star: its number with its source and time, the line waiting in a dashed box for the 2nd reading, no span buttons yet', /North Star/.test(f1.ns) && /Amplitude · Mon 2 Nov, 07:02/.test(f1.ns) && /The line starts with the 2nd reading, Mon 9 Nov/.test(f1.ns) && f1.wait && !f1.seg, JSON.stringify(f1));
181
188
  ok('F2 the ✦ line: the first readings are in; one reading is a starting point, not a trend', /^The first readings are in/.test(f1.line) && /One reading is a starting point, not a trend/.test(f1.line), f1.line);
182
189
  await shot(B.page, 'GcJ2FirstMonday-built');
183
- await B.page.click('#goalTbl [data-goal="krm-act"] .okr-main');
190
+ await B.page.click('#goalTbl [data-goal="krm-act"] .nm');
184
191
  const f2 = await vw(B.page);
185
192
  ok('F3 the Viewer waits for the 2nd reading instead of drawing a line', /The line starts with the 2nd reading, Mon 9 Nov/.test(f2 || '') && /pace known after 3 readings/.test(f2 || ''), f2);
186
193
  await B.ctx.close();
187
194
 
188
195
  /* K · a key result's panel */
189
- const K = await open({ m: model('kr'), rows: [], ready: '#goalTbl .okr-row' });
190
- await K.page.click('#goalTbl [data-goal="krm-act"] .okr-main');
196
+ const K = await open({ m: model('kr'), rows: [], ready: '#goalTbl .ins-row' });
197
+ const k0 = await K.page.evaluate(() => ({ ns: !!document.querySelector('#nsRow .ins-nsch'), seg: [...document.querySelectorAll('#nsRow .cz-seg button')].map((b) => b.textContent).join('|'), spark: document.querySelectorAll('#goalTbl .ins-row .sofar svg').length }));
198
+ ok('K0 from the 3rd reading the dashboard is Production Iq8Overview: the North Star line with its spans, a line per key result', k0.ns && k0.seg === '4 weeks|12 weeks|This quarter vs last' && k0.spark > 0, JSON.stringify(k0));
199
+ await K.page.click('#goalTbl [data-goal="krm-act"] .nm');
191
200
  const k1 = await vw(K.page);
192
- const kh = await K.page.evaluate(() => ({ read: !!document.querySelector('#czViewer [data-cz-act="gc-read"], #czViewer button[aria-label="Read it now"]'), folds: [...document.querySelectorAll('#czViewer .czs-row b')].map((b) => b.textContent) }));
201
+ const kh = await K.page.evaluate(() => { const B = document.querySelector('#czViewer .ins-vbody'), kr = B && B.querySelector('.gc-kr'), ch = B && B.querySelector('.ins-gbig'); return { read: !!document.querySelector('#czViewer [data-cz-act="gc-read"], #czViewer button[aria-label="Read it now"]'), folds: [...document.querySelectorAll('#czViewer .czs-row b')].map((b) => b.textContent),
202
+ first: !!(kr && ch && (kr.compareDocumentPosition(ch) & Node.DOCUMENT_POSITION_FOLLOWING)) }; });
203
+ ok('K0b the panel leads with the number and how it is counted, not with its chart', kh.first, JSON.stringify(kh));
204
+ const lb = await K.page.evaluate(() => { const T = [...document.querySelectorAll('#czViewer .ins-gch .msl, #czViewer .ins-gch .shipl')].map((t) => ({ s: t.textContent, r: t.getBoundingClientRect() }));
205
+ const hit = []; for (let i = 0; i < T.length; i++) for (let j = i + 1; j < T.length; j++) { const a = T[i].r, b = T[j].r; if (a.left < b.right && b.left < a.right && a.top < b.bottom && b.top < a.bottom) hit.push(T[i].s + ' × ' + T[j].s); } return { n: T.length, hit }; });
206
+ ok('K0c the chart\'s release and milestone labels (Deliver, Evaluate) never overlap', lb.n >= 3 && !lb.hit.length, JSON.stringify(lb));
193
207
  ok('K1 how it is counted as the two counts: 1,212 over 6,000 = 20.2%, week of 9 Nov', /How it is counted 1,212 checkouts stopped at login 6,000 checkouts reached login = 20\.2%, week of 9 Nov/.test(k1 || ''), k1);
194
208
  ok('K2 From Amplitude, its chart, every Monday 07:00; last and next read said once', /From Amplitude, chart “Checkout funnel”, every Monday 07:00\. Last Mon 16 Nov, next Mon 23 Nov\./.test(k1 || '') && (k1.match(/every Monday/g) || []).length === 1, k1);
195
209
  ok('K3 the last read with its checks, and the query', /Last read Mon 16 Nov, 07:02/.test(k1) && /The last 8 weeks rise slowly/.test(k1) && /The query Amplitude · chart “Checkout funnel” event login_success/.test(k1), k1);
@@ -200,12 +214,12 @@ const FIX = { id: 'fx-amp', kind: 'connect', goal: 'krm-act', connector: 'Amplit
200
214
  await K.ctx.close();
201
215
 
202
216
  /* R · a read that failed */
203
- const R = await open({ m: model('failed'), rows: [FIX], ready: '#goalTbl .okr-row' });
204
- const r0 = await R.page.evaluate(() => ({ meta: document.querySelector('#goalTbl [data-goal="krm-act"] .okr-main .note').textContent, line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }));
205
- ok('R1 the row keeps the last good reading and says it was not read', /^20\.2% of 15%.* · not read Mon 16 Nov$/.test(r0.meta), r0.meta);
217
+ const R = await open({ m: model('failed'), rows: [FIX], ready: '#goalTbl .ins-row' });
218
+ const r0 = await R.page.evaluate(() => ({ meta: document.querySelector('#goalTbl [data-goal="krm-act"] .val').textContent, line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }));
219
+ ok('R1 the row keeps the last good reading and says it was not read', /^20\.2% of \S+\s*not read Mon 16 Nov$/.test(r0.meta.trim()), r0.meta);
206
220
  ok('R2 the ✦ line: I couldn’t read it, the reason the source gave, reconnect and I read it straight away', /^I couldn’t read Partner activation on Monday\. Amplitude said your login has expired\. Reconnect it and I read it straight away\./.test(r0.line), r0.line);
207
221
  ok('R2b the drafted reconnect is not said again under the row', !(await R.page.$('#goalTbl [data-goal="krm-act"] [data-draft="fx-amp"]')));
208
- await R.page.click('#goalTbl [data-goal="krm-act"] .okr-main');
222
+ await R.page.click('#goalTbl [data-goal="krm-act"] .nm');
209
223
  const r1 = await vw(R.page);
210
224
  ok('R3 the Viewer: the last good number, when it was not read and why, and that no number was guessed', /from Mon 9 Nov, the last good reading/.test(r1 || '') && /Mon 16 Nov, 07:02 · not read Amplitude said your login has expired\. I did not guess a number\./.test(r1 || ''), r1);
211
225
  ok('R4 the counts are not known for this week', /\? checkouts stopped at login \? checkouts reached login = not known for this week/.test(r1 || ''), r1);
@@ -215,12 +229,12 @@ const FIX = { id: 'fx-amp', kind: 'connect', goal: 'krm-act', connector: 'Amplit
215
229
  await R.ctx.close();
216
230
 
217
231
  /* H · a held reading */
218
- const H = await open({ m: model('held'), rows: [TICKET], ready: '#nsRow .okr-row' });
219
- const h0 = await H.page.evaluate(() => ({ meta: document.querySelector('#nsRow [data-goal="krm-up"] .okr-main .note').textContent, line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }));
220
- ok('H1 the row says one reading is held and never shows it', / · 1 reading held$/.test(h0.meta) && !/52\.3k/.test(h0.meta), h0.meta);
232
+ const H = await open({ m: model('held'), rows: [TICKET], ready: '#nsRow .ins-nsc' });
233
+ const h0 = await H.page.evaluate(() => ({ meta: document.querySelector('#nsRow .ins-nsv').innerText.replace(/\s+/g, ' '), line: document.querySelector('#brief').textContent + ' ' + document.querySelector('#insWhy').textContent }));
234
+ ok('H1 the North Star keeps its last good reading, says so, and never shows the held one', /the last good reading, Mon 16 Nov/.test(h0.meta) && !/52\.3k/.test(h0.meta), h0.meta);
221
235
  ok('H2 the ✦ line: I held back one reading of the North Star', /^I held back one reading of the North Star\. Moved more than 3× a normal week\. Check it in the side panel\./.test(h0.line), h0.line);
222
236
  ok('H2b the held reading\'s drafted ticket is said in the panel, not again under the row', !(await H.page.$('#nsRow [data-draft="tk-held"]')));
223
- await H.page.click('#nsRow [data-goal="krm-up"] .okr-main');
237
+ await H.page.click('#nsRow [data-nsopen]');
224
238
  const h1 = await vw(H.page);
225
239
  ok('H3 the Viewer: the last good number, the held reading with why and its checks', /the last good reading, Mon 16 Nov/.test(h1 || '') && /Mon 23 Nov · read 52\.3k · held Moved more than 3× a normal week/.test(h1 || '') && /Both counts came back/.test(h1 || ''), h1);
226
240
  ok('H4 the drafted Jira ticket, and "(held)" said once in From', /I drafted a Jira ticket: “login_success fires twice on app 5\.2”/.test(h1 || '') && /Last Mon 23 Nov \(held\), next Mon 30 Nov\./.test(h1 || ''), h1);
@@ -102,6 +102,11 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
102
102
  - A key that PMOS did not read from Jira is only text in the name. The task stays a PMOS task with its box.
103
103
  - **Set a Jira ticket's dates.** Press the dates of a Jira ticket in the List, or drag its bar on the Timeline, as you do for a task. PMOS keeps the start and due days and shows them in place of the sprint end. Jira does not change. The status and the name stay Jira's.
104
104
  - **Tasks** show one row (one group) for each stage of the workflow, in order. Finished stages and later stages are never merged into one row; they start folded, and the current stage and any stage with a late task start open.
105
+ - **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**.
106
+ - In the List, a row shows the dates at the right. On a phone, it shows only the due day. A task with no dates shows no date; open the row to set them.
107
+ - **Add a task to a stage.** Press **+** on an open stage. The field opens at the top of that stage. Enter adds the task and keeps the field open for the next one. **Dates** is optional. Esc closes the field.
108
+ - **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**.
109
+ - 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**.
105
110
  - **Delete a task.** Press the caret under a task's box (on a phone, press and hold the box) and press the trash at the end of the status picker. The task goes at once and the message shows **Undo**. In the Task Viewer, the trash is the last icon of the Status row, and **Delete** is the last entry of its ⋯ menu. You can delete every PMOS task, also a task that Claude planned in the breakdown and a task that a stage's To finish list made. A deleted To finish task does not come back when the stage is read again or when the initiative moves back to that stage. A Jira ticket has no Delete: change it in Jira. A task deleted in a draft leaves only the draft.
106
111
 
107
112
  ## Back and forward
@@ -121,7 +121,7 @@ pmos jira approve <initiative> TD-01 TD-02
121
121
 
122
122
  It asks you to type the initiative's id. An agent session cannot select tickets.
123
123
 
124
- The agent runs the **Push to Jira** skill. It reads what to send with `pmos jira pending <initiative>`, and records each key with `pmos jira record <initiative> TD-01=ATL-491`. It records the epic it creates for a group with `pmos jira record <initiative> --epic ATL-490 --group <group>`. It never moves, assigns, comments on, closes or deletes a Jira issue.
124
+ The agent runs the **Push to Jira** skill. It reads what to send with `pmos jira pending <initiative>`, and records each key with `pmos jira record <initiative> TD-01=ATL-491`. It records the epic it creates for a group with `pmos jira record <initiative> --epic ATL-490 --group <group>`. It never moves, assigns, comments on, closes or deletes a Jira issue. Only the Jira move agent moves a ticket, and only when you ask (see the next part).
125
125
 
126
126
  ## Status, sprint and progress
127
127
 
@@ -142,6 +142,18 @@ pmos jira query [<initiative>]
142
142
  pmos jira sync <initiative> --from <file|-> [--query "<jql>"] [--dry-run]
143
143
  ```
144
144
 
145
+ ## Move a Jira ticket from PMOS
146
+
147
+ Drag a Jira card on the Kanban, or press its status on the List or the Timeline, to ask a move. PMOS keeps no Jira credential and its server sends no request to Jira. The **Jira move** agent uses your own Atlassian connection to move the ticket. It reads the asked moves with `pmos jira moves` and answers each one with `pmos jira moved`:
148
+
149
+ ```
150
+ pmos jira moves
151
+ pmos jira moved <move id> --status "<Jira status>"
152
+ pmos jira moved <move id> --refused "<why>"
153
+ ```
154
+
155
+ The task shows **Moving in Jira** until the agent answers. Then it shows the move with **Undo**, or the reason Jira refused it. A move with no answer after 15 minutes shows **not reached**. The agent changes the status only (D100). It never assigns, comments on, closes or deletes a ticket.
156
+
145
157
  ## The board's Sprints tab shows the whole sprint
146
158
 
147
159
  After it reads the initiatives, the check reads every issue in the sprints their tickets are in. It reads every issue, not only the issues of an initiative and not only the issues assigned to you. The board's **Sprints** tab and the sprint burndown show all of them. An issue that is in no initiative of the board shows **No initiative**. The check writes `<state>/tracker/jira/_sprints.md` with:
@@ -45,13 +45,13 @@ A ready report opens in the same report Viewer as a report from Intelligence. On
45
45
  - When a source is stale, the report is held, and Reports and dashboards says why.
46
46
  - One person gets at most one update a week. When two reports would reach the same person, Claude proposes to fold them.
47
47
  - A late report shows one quiet line in Reports and dashboards. Claude does not send it late without your ✓.
48
- - After four sends that changed nothing, Claude offers to get calm weeks ready by itself. You still press **Issue**.
48
+ - A calm week's weekly update goes by itself, 10 minutes after its time. A calm week has no miss, no decision for you and nothing off plan. Until it goes, its row says when, and you can skip it, keep every week for your own press, or send it now. A busy week waits for your press. Its row says **Sent … by itself** when it went alone.
49
49
 
50
50
  On Intelligence, **⋯** › **Reports and dashboards** lists the ready-made reports in a Ready-made group for each program, product and initiative, with their late and held lines.
51
51
 
52
52
  ## What Claude never does by itself
53
53
 
54
- - Claude never sends or issues a report. Issuing is your press.
54
+ - Claude never sends or issues a busy week's report, a checkpoint, a Did it work? or a heads-up. Issuing those is your press. Only a calm weekly goes by itself, and you can turn that off.
55
55
  - Thanks in a report are plain words. A report never reads your private **Your impact** log.
56
56
 
57
57
  ## Known limits
@@ -158,7 +158,7 @@ const FINDING = { id: 'rf-0123456789', name: 'Partner numbers to Lee', why: 'You
158
158
  await vClose(p);
159
159
 
160
160
  /* ── G: a key result's Viewer carries the press ── */
161
- await p.click('#goalTbl .okr-main');
161
+ await p.click('#goalTbl .ins-row .nm');
162
162
  const gp = await until(() => p.evaluate(() => { const b = document.querySelector('#czViewer:not([hidden]) [data-cz-vw-p="report"]'); return b ? { label: b.getAttribute('aria-label'), text: b.textContent.trim() } : null; }), 4000);
163
163
  ok('G a key result\'s Viewer has the report icon', !!gp && gp.label === 'Make a report from this' && !gp.text, JSON.stringify(gp));
164
164
  if (gp) { await p.click('#czViewer [data-cz-vw-p="report"]'); await until(() => A.gets.some((g) => /^goal:/.test(g.scope)), 3000); ok('G it opens the draft for that one goal', A.gets.some((g) => /^goal:/.test(g.scope))); }