create-pmos 0.432.0 → 0.434.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 (70) hide show
  1. package/package.json +25 -25
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/briefing-premium-insights-test.js +63 -58
  7. package/workspace/changelog.json +24 -0
  8. package/workspace/guide/home.md +1 -1
  9. package/workspace/guide/index.md +1 -0
  10. package/workspace/guide/metric-drafts.md +21 -1
  11. package/workspace/guide/programs.md +1 -1
  12. package/workspace/guide/your-impact.md +58 -0
  13. package/workspace/impact-screens-test.js +149 -0
  14. package/workspace/intel-report-ui-test.js +1 -1
  15. package/workspace/intelligence-gaps-ui-test.js +13 -9
  16. package/workspace/lib/engine/outbox.js +1 -1
  17. package/workspace/lib/engine/records/index.js +11 -3
  18. package/workspace/lib/goal-status.js +199 -0
  19. package/workspace/lib/goal-watch.js +71 -0
  20. package/workspace/lib/headless.js +24 -2
  21. package/workspace/lib/impact-cli.js +72 -0
  22. package/workspace/lib/impact-runs.js +114 -0
  23. package/workspace/lib/impact.js +195 -0
  24. package/workspace/lib/insights-premium.js +43 -4
  25. package/workspace/lib/metric-draft-runs.js +33 -10
  26. package/workspace/lib/metric-drafts.js +118 -15
  27. package/workspace/lib/metric-read-runs.js +132 -0
  28. package/workspace/lib/metric-reads.js +129 -0
  29. package/workspace/lib/metrics-cli.js +100 -5
  30. package/workspace/lib/pmos-verbs.js +4 -1
  31. package/workspace/lib/route-modules.js +3 -0
  32. package/workspace/lib/routes-goal-status.js +111 -0
  33. package/workspace/lib/routes-impact-views.js +58 -0
  34. package/workspace/lib/routes-impact.js +91 -0
  35. package/workspace/lib/routes-insights-premium.js +20 -0
  36. package/workspace/lib/routes-metric-drafts.js +55 -4
  37. package/workspace/lib/routes-records.js +2 -0
  38. package/workspace/lib/settings-store.js +3 -0
  39. package/workspace/milestone-pins-test.js +8 -3
  40. package/workspace/okr-goals-ui-test.js +175 -0
  41. package/workspace/package-lock.json +2 -2
  42. package/workspace/package.json +1 -1
  43. package/workspace/product-lane-test.js +5 -5
  44. package/workspace/public/pm/bd-ini-panel.js +10 -2
  45. package/workspace/public/pm/bd-span.js +5 -4
  46. package/workspace/public/pm/cozy-adler.css +5 -0
  47. package/workspace/public/pm/cozy-adler.js +17 -9
  48. package/workspace/public/pm/cozy-insights.css +84 -0
  49. package/workspace/public/pm/cozy-settings.js +11 -1
  50. package/workspace/public/pm/home-app.js +61 -8
  51. package/workspace/public/pm/home-impact.css +16 -0
  52. package/workspace/public/pm/home-impact.js +72 -0
  53. package/workspace/public/pm/home-today.js +4 -2
  54. package/workspace/public/pm/impact.css +37 -0
  55. package/workspace/public/pm/impact.js +201 -0
  56. package/workspace/public/pm/okr-list.js +249 -0
  57. package/workspace/public/pm/premium-insights.js +222 -238
  58. package/workspace/public/pm/premium-vw-mtg.js +4 -1
  59. package/workspace/public/pm/stage-line.js +4 -3
  60. package/workspace/public/premium-intelligence.html +3 -2
  61. package/workspace/public/premium.html +1 -0
  62. package/workspace/server.js +56 -2
  63. package/workspace/skills/impact-detect.skill +46 -0
  64. package/workspace/skills/metric-read.skill +32 -0
  65. package/workspace/task-milestones-test.js +4 -3
  66. package/workspace/test-lists/goal-watch.json +9 -0
  67. package/workspace/test-lists/impact-screens.json +5 -0
  68. package/workspace/test-lists/impact-ui.json +9 -0
  69. package/workspace/test-lists/impact.json +9 -0
  70. package/workspace/test-lists/okr-goals-ui.json +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.432.0",
3
+ "version": "0.434.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.434.0",
37
+ "at": "2026-10-28T03:07:58.471Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1077,
42
+ "t": "Your impact and Claude runs the OKRs (batch 16 items 6, 7)",
43
+ "s": "Your impact and Claude runs the OKRs (batch 16 items 6, 7)"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.433.0",
49
+ "at": "2026-10-28T02:16:22.945Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 1076,
54
+ "t": "The end diamond always names a milestone when the row has one (hotfix)",
55
+ "s": "When an initiative has any dated milestone task, the end ◇ is one of them."
56
+ }
57
+ ]
58
+ },
35
59
  {
36
60
  "v": "0.432.0",
37
61
  "at": "2026-10-28T02:08:08.690Z",
@@ -247,30 +271,6 @@
247
271
  "s": "Fifth testing feedback batch"
248
272
  }
249
273
  ]
250
- },
251
- {
252
- "v": "0.414.0",
253
- "at": "2026-10-25T12:55:58.684Z",
254
- "f": 2,
255
- "prs": [
256
- {
257
- "n": 1046,
258
- "t": "Fourth testing feedback batch (items 1–10)",
259
- "s": "Fourth testing feedback batch (items 1–10)"
260
- }
261
- ]
262
- },
263
- {
264
- "v": "0.413.0",
265
- "at": "2026-10-25T08:05:44.632Z",
266
- "f": 2,
267
- "prs": [
268
- {
269
- "n": 1044,
270
- "t": "Third testing feedback batch (items 1–10)",
271
- "s": "Third testing feedback batch (items 1–10)"
272
- }
273
- ]
274
274
  }
275
275
  ]
276
276
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@48d73dd4
1
+ kernel-source: pmos@2b1000dd
2
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-28T02:08:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T03:07:55Z"}
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-28T02:08:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T03:07:55Z"}
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-28T02:08:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T03:07:55Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -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 .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 .okr-row, #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 */
@@ -122,11 +122,12 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
122
122
  ok('B1 the filter is chips by status, owner and kind; the owners are the goals\' owners and the work that moves them', fl.heads === 'Status,Owner,Kind' && fl.status === 'Off track,On track,Hit,No readings' && fl.owners === 'Dara,Lee,Mira' && fl.kinds === 'Goals,Health budgets' && /status, owner or kind/.test(fl.label), JSON.stringify(fl));
123
123
  await p.click('#moreB'); const mo = await p.evaluate(() => [...document.querySelectorAll('#moreMenu [data-more]')].map((b) => b.dataset.more + ':' + (b.disabled ? 'off' : 'on')).join()); await p.click('#moreMenu [data-more="about"]');
124
124
  const ab = await until(() => vw(p));
125
- ok('B1 ⋯ holds Reports and dashboards, Delivery trends, Sources, Export and About these numbers; About opens in the Viewer card', mo === 'library:on,trends:on,sources:on,export:on,about:on' && ab && ab.title === 'About these numbers' && /straight line through the last four readings/.test(ab.text), JSON.stringify([mo, ab]));
126
- await vwClose(p);
127
- await p.click('#moreB'); await p.click('#moreMenu [data-more="sources"]'); const so = await until(() => vw(p));
128
- ok('B1 Sources says what the page reads: the KR metric records, the budget registry and the page\'s own records', so && so.title === 'Sources' && /kr-metrics\.jsonl/.test(so.text) && /health-budgets\.md/.test(so.text) && /insights-records\.jsonl/.test(so.text), JSON.stringify(so));
125
+ ok('B1 ⋯ holds Reports and dashboards, Metrics, Delivery trends, Sources, Export and About these numbers; About opens in the Viewer card', mo === 'library:on,metrics:on,trends:on,sources:on,export:on,about:on' && ab && ab.title === 'About these numbers' && /straight line through the last four readings/.test(ab.text), JSON.stringify([mo, ab]));
129
126
  await vwClose(p);
127
+ // re-pointed (batch 16 item 6, GsMore; Fewer menus brief 5): Sources lives in Settings › Connectors, so ⋯ › Sources opens it there
128
+ await p.click('#moreB'); await p.click('#moreMenu [data-more="sources"]'); const so = await until(() => p.evaluate(() => { const st = document.querySelector('#evSettings'); const a = st && !st.hidden && st.querySelector('.ev-st-nav [aria-current="page"]'); return a ? a.dataset.evSec : null; }), 6000);
129
+ ok('B1 Sources opens Settings on Connectors, where the sources live', so === 'connectors', JSON.stringify(so));
130
+ await p.keyboard.press('Escape'); await until(() => p.evaluate(() => { const sc = document.querySelector('#evStScrim'); return !sc || sc.hidden; }), 3000);
130
131
  { const R = await open(), q = R.page; await q.route('**/api/insights-records/export*', (r) => r.fulfill({ status: 200, contentType: 'text/csv', headers: { 'Content-Disposition': 'attachment; filename="insights-goals.csv"' }, body: 'id\n' }));
131
132
  const [rq] = await Promise.all([q.waitForRequest(/\/api\/insights-records\/export/), (async () => { await q.click('#moreB'); await q.click('#moreMenu [data-more="export"]'); })()]);
132
133
  const u = new URL(rq.url());
@@ -141,7 +142,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
141
142
  ok('B1 Find narrows the goals as you type, and its close shows every goal again', fd === 'krm-up' && (await p.evaluate(() => document.querySelectorAll('#goalTbl [data-goal]').length)) === 5 && await p.evaluate(() => document.querySelector('#findRow').hidden), fd);
142
143
  await p.click('#findB'); await p.fill('#findIn', 'activation'); await sleep(100); await p.click('#findRes [data-fo="goal"]');
143
144
  const fo = await until(() => vw(p));
144
- ok('B1 a goal found opens its detail, and Find closes', fo && fo.title === 'KR 1.1 · Partner activation' && await p.evaluate(() => document.querySelector('#findRow').hidden), JSON.stringify(fo));
145
+ ok('B1 a goal found opens its detail, and Find closes', fo && fo.title === 'Partner activation' && await p.evaluate(() => document.querySelector('#findRow').hidden), JSON.stringify(fo));
145
146
  await vwClose(p);
146
147
  await p.click('#viewChip'); const vm = await p.evaluate(() => ({ head: document.querySelector('#viewMenu .ins-mh').textContent, items: [...document.querySelectorAll('#viewMenu [data-view]')].map((b) => b.dataset.view + ((b.querySelector('.k') || {}).textContent ? ':' + b.querySelector('.k').textContent : '')).join(), nd: !!document.querySelector('#viewMenu [data-newdash]') })); await p.keyboard.press('Escape');
147
148
  ok('B1 the Dashboard menu lists every view with the default one marked, then Delivery trends, then New dashboard (IsMenus)', vm.head === 'Dashboard' && vm.items === 'all:default,pd-1,p:Growth,p:Reliability,trends' && vm.nd, JSON.stringify(vm));
@@ -149,30 +150,27 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
149
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));
150
151
  }
151
152
 
152
- /* G1 the Goals table */
153
- { 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 || '')) }; });
154
- 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));
155
- 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));
156
- 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));
157
- const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.cz-pill') || {}).textContent || ''])));
158
- 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));
159
- const leg = await p.evaluate(() => document.querySelector('#goalTbl .ins-th .ins-mvh').textContent.replace(/\s+/g, ' '));
160
- ok('G1 the Moved by header carries the legend: skipped and milestone', /Skipped/.test(leg) && /Milestone/.test(leg), leg);
161
- const nps = await p.evaluate(() => document.querySelector('#goalTbl [data-goal="krm-nps"]').textContent);
162
- 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);
163
- const up = await txt('#goalTbl [data-goal="krm-up"] .pace');
164
- 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);
165
- const ch = await txt('#goalTbl [data-goal="krm-churn"]');
166
- 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);
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));
167
164
  }
168
- /* G1 health budgets (D59): each budget of the registry, read as its share of the board's open initiatives against its cap */
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) */
169
167
  {
170
- 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() })));
171
- 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));
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
170
  const R = await open({ model: mk({ budgets: [{ id: 'docs', covers: 'docs', cap: 0.1 }] }) });
173
- ok('G1 a budget over its cap says so', /^Over its 10% cap/.test(await txt('#goalTbl [data-budget="docs"] .pace', R.page)));
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)));
174
172
  await R.ctx.close();
175
- await p.click('#goalTbl [data-budget="docs"] .nm');
173
+ await p.click('#goalTbl [data-budget="docs"] .okr-main');
176
174
  const v = await until(() => vw(p));
177
175
  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));
178
176
  /* re-pointed (viewer-shell-a, XvAInsight): Moved by is a folding row under the summary, not a tab */
@@ -186,23 +184,23 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
186
184
  const R = await open(), q = R.page, sent = [], saved = [];
187
185
  await q.route('**/api/records/kr-metrics/reading', (r) => { sent.push(JSON.parse(r.request().postData() || '{}')); r.fulfill({ contentType: 'application/json', body: '{"ok":true}' }); });
188
186
  await q.route('**/api/premium-dashboards/save', (r) => { saved.push(JSON.parse(r.request().postData() || '{}')); r.fulfill({ contentType: 'application/json', body: '{"ok":true}' }); });
189
- await q.click('#goalTbl [data-goal="krm-act"] .nm');
187
+ await q.click('#goalTbl [data-goal="krm-act"] .okr-main');
190
188
  const v = await until(() => vw(q));
191
- /* re-pointed (batch 6 item 1b, canvas OvViewers "Goal"): the summary (on course or not, the source and how fresh, the words), the big
192
- * number and its target over the chart (the target line, the milestones that move it), Moved by shown open, then the folds Readings and
193
- * On dashboards. No primary: Add a reading and Edit chart are under ⋯. Readings opens on a press */
189
+ /* 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
+ * 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
191
+ * On dashboards. No primary: Add a reading and Edit chart are under ⋯, after the notify choice */
194
192
  await q.click('#czViewer [data-czs-fold="read"]'); await sleep(80);
195
- const d = await q.evaluate(() => ({ kind: (document.querySelector('#czViewer .cz-vw-kind') || {}).textContent, tabs: [...document.querySelectorAll('#czViewer .czs-row b')].map((t) => t.textContent).join(), more: !!document.querySelector('#czViewer [data-cz-vw="more"]'), line: (document.querySelector('#czViewer .czs-line > span:not(.czs-dot):not(.czs-r)') || {}).textContent, right: (document.querySelector('#czViewer .czs-line .czs-r') || {}).textContent, sumText: (document.querySelector('#czViewer .czs-p') || {}).textContent, big: (document.querySelector('#czViewer .ins-gnum') || {}).textContent, pri: (document.querySelector('#czViewer .czs-pri') || {}).textContent, tg: (document.querySelector('#czViewer .ins-gch .tgl') || {}).textContent, ship: (document.querySelector('#czViewer .ins-gch .shipl') || {}).textContent, ms: [...document.querySelectorAll('#czViewer .ins-gch .msl')].map((x) => x.textContent).join('|'), now: document.querySelectorAll('#czViewer .ins-gch .pt.now').length, rows: document.querySelectorAll('#czViewer .ins-rd3').length, all: (document.querySelector('#czViewer [data-gx="all"]') || {}).textContent, moved: (document.querySelector('#czViewer .ins-mvh span') || {}).textContent, mv: [...document.querySelectorAll('#czViewer .ins-mvr')].map((a) => a.textContent.replace(/\s+/g, ' ').trim()), sw: [...document.querySelectorAll('#czViewer [data-gx="dash"]')].map((b) => b.getAttribute('aria-label') + ':' + b.getAttribute('aria-checked')).join(), dlg: !!document.querySelector('#dlg') }));
196
- ok('G1 on All goals a goal press opens its detail: the state line with where the reading comes from and how fresh, the words, the folds Readings and On dashboards, and ⋯; no primary; no "Waiting for design" (OvViewers "Goal")', v && v.title === 'KR 1.1 · Partner activation' && !v.wait && d.kind === 'Goal' && d.tabs === 'Readings,On dashboards' && d.more && d.line === 'Off course' && /^Intelligence · read /.test(d.right || '') && /^28% now, 50% by Dec 31\. Up 8 points since July\. ≈34% by Dec 31, 16 pts short at this pace\.$/.test(d.sumText || '') && !d.pri && !d.dlg, JSON.stringify([v, d]));
197
- ok('G1 the big number, its target and where it lands by its date sit over the chart (Iq8Overview: Now, Target, By its date); the chart draws the target with its value, the ship date of the work that moves it and the latest reading', d.big === '28%target 50% by Dec 31By its date ≈34% by Dec 31' && d.tg === 'Target 50%' && d.ship === 'SSO for partners shipped' && d.now === 1 && d.ms === 'Evaluate, Oct 23|Deliver, Oct 10', JSON.stringify(d));
198
- ok('G1 the newest three readings show with their source, then All 4 readings; Moved by is open and counts the work, each with its milestone or stage and plan date', d.rows === 3 && d.all === 'All 4 readings' && d.moved === '2' && d.mv.join('|') === 'SSO for partnersEvaluate, plan Oct 23|Self-serve onboarding v2Deliver, plan Oct 10', JSON.stringify(d));
193
+ const d = await q.evaluate(() => ({ kind: (document.querySelector('#czViewer .cz-vw-kind') || {}).textContent, tabs: [...document.querySelectorAll('#czViewer .czs-row b')].map((t) => t.textContent).join(), more: !!document.querySelector('#czViewer [data-cz-vw="more"]'), head: (document.querySelector('#czViewer .okr-vh') || {}).textContent, pri: (document.querySelector('#czViewer .czs-pri') || {}).textContent, tg: (document.querySelector('#czViewer .ins-gch .tgl') || {}).textContent, ship: (document.querySelector('#czViewer .ins-gch .shipl') || {}).textContent, ms: [...document.querySelectorAll('#czViewer .ins-gch .msl')].map((x) => x.textContent).join('|'), now: document.querySelectorAll('#czViewer .ins-gch .pt.now').length, rows: document.querySelectorAll('#czViewer .ins-rd3').length, all: (document.querySelector('#czViewer [data-gx="all"]') || {}).textContent, why: (document.querySelector('#czViewer .okr-why p') || {}).textContent, mv: [...document.querySelectorAll('#czViewer .okr-why .ins-mvr')].map((a) => a.textContent.replace(/\s+/g, ' ').trim()), dlg: !!document.querySelector('#dlg') }));
194
+ ok('G1 on All goals a goal press opens its Viewer: the reading against its line, the folds How I read it, What it counts, History and On dashboards, and ⋯; no primary; no "Waiting for design" (GsViewer)', v && v.title === 'Partner activation' && !v.wait && d.kind === 'Goal' && d.tabs === 'How I read it,What it counts,History,On dashboards' && d.more && /^28% of 50%its line says 38%/.test(d.head || '') && !d.pri && !d.dlg, JSON.stringify([v, d]));
195
+ ok('G1 the chart draws the target with its value, the ship date of the work that moves it, its milestones and the latest reading', d.tg === 'Target 50%' && d.ship === 'SSO for partners shipped' && d.now === 1 && d.ms === 'Evaluate, Oct 23|Deliver, Oct 10', JSON.stringify(d));
196
+ ok('G1 why says the pace in words, with the work that moves it, each with its milestone or stage and plan date; How I read it holds the newest three readings, then All 4 readings', /will miss its 50% target on 31 Dec at this pace/.test(d.why || '') && d.mv.join('|') === 'SSO for partnersEvaluate, plan Oct 23|Self-serve onboarding v2Deliver, plan Oct 10' && d.rows === 3 && d.all === 'All 4 readings', JSON.stringify(d));
199
197
  await four(q, 'goal');
200
198
  await q.click('#czViewer [data-czs-fold="dash"]'); await sleep(80);
201
199
  const sw = await q.evaluate(() => [...document.querySelectorAll('#czViewer [data-gx="dash"]')].map((b) => b.getAttribute('aria-label') + ':' + b.getAttribute('aria-checked')).join());
202
200
  ok('G1 On your dashboards has a switch for each saved dashboard, on where the goal is', sw === 'On Weekly partner review:true', sw);
203
201
  await q.click('#czViewer [data-cz-vw="more"]'); await sleep(80);
204
202
  const mi = await q.evaluate(() => [...document.querySelectorAll('.cz-vw-menu [role="menuitem"]')].map((b) => b.textContent.trim()).join('|'));
205
- ok('G1 ⋯ holds Add a reading and Edit chart, then Copy link and Copy as text (xvMore order)', /^Add a reading\|Edit chart\|Copy link\|Copy as text/.test(mi), mi);
203
+ ok('G1 ⋯ holds the notify choice, then Add a reading and Edit chart, then Copy link and Copy as text (GsNotify, xvMore order)', /^Notify me.*\|Only in Intelligence.*\|Quiet\|Add a reading\|Edit chart\|Copy link\|Copy as text/.test(mi), mi);
206
204
  await q.click('#czViewer .cz-vw-title'); await sleep(80); // a press outside the menu closes it
207
205
  await q.click('#czViewer [data-gx="all"]'); ok('G1 All readings shows every reading', (await q.evaluate(() => document.querySelectorAll('#czViewer .ins-rd3').length)) === 4);
208
206
  await vwMoreItem(q, 'Add a reading'); await q.fill('#czViewer [data-rdf] [name="v"]', '31'); await q.click('#czViewer [data-rdf] button[type="submit"]'); await until(() => sent.length > 0, 4000);
@@ -210,9 +208,9 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
210
208
  await until(() => q.evaluate(() => !!document.querySelector('#czViewer [data-gx="dash"]')), 4000);
211
209
  await q.click('#czViewer [data-gx="dash"]'); await until(() => saved.length > 0, 4000);
212
210
  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));
213
- ok('G1 Moved by lists the initiatives, each a link to it', (await q.evaluate(() => [...document.querySelectorAll('#czViewer .ins-mvb a.ins-mvr')].filter((a) => /premium-initiative\.html/.test(a.href)).length)) === 2);
211
+ 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);
214
212
  await vwClose(q);
215
- await q.click('#goalTbl [data-goal="krm-nps"] .nm'); await until(() => vw(q));
213
+ await q.click('#goalTbl [data-goal="krm-nps"] .okr-main'); await until(() => vw(q));
216
214
  const e1 = await txt('#czViewer .ins-etr', q), p1 = await txt('#czViewer .ins-etr [data-gx="add"]', q);
217
215
  /* re-pointed (batch 6 item 1b): the goal Viewer has no primary, so the empty trend carries Add a reading, its next action */
218
216
  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);
@@ -286,7 +284,11 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
286
284
  /* L1 the strip */
287
285
  { const hero = await p.evaluate(() => ({ eye: document.querySelector('#insEye').textContent, head: document.querySelector('#brief').textContent, why: document.querySelector('#insWhy').textContent, ask: document.querySelector('#askWhy').getAttribute('href') }));
288
286
  const pg = await p.evaluate(() => [...document.querySelectorAll('#insPg [data-ins]')].map((b) => b.getAttribute('aria-pressed')).join());
289
- ok('L1 the ✦ strip leads the page: the strongest finding and its reason (the period chip says the day, so the strip does not); Ask why opens Home with the question; the dots page through the findings', hero.eye === '' && pg.split(',').length >= 2 && pg.split(',')[0] === 'true' && hero.head === 'Time to first call will miss its 3 days target on 31 Dec unless it turns.' && /Over its last 4 readings it went from 8 days to 9 days/.test(hero.why) && /^\/premium\.html\?ws=w1&ask=insights&q=Why/.test(hero.ask), JSON.stringify(hero));
287
+ /* re-pointed (batch 16 item 6, GsM3): the ✦ line about the goals leads; the strongest finding is the next page */
288
+ ok('L1 the ✦ strip leads the page with the goal furthest behind and why (the period chip says the day, so the strip does not); Ask why opens Home with the question; the dots page through the findings', hero.eye === '' && pg.split(',').length >= 3 && pg.split(',')[0] === 'true' && hero.head === 'Partner activation is behind its line: 28% of 50%, its line says 38%. 2 other goals are behind too.' && !!hero.why && /^\/premium\.html\?ws=w1&ask=insights&q=Why/.test(hero.ask), JSON.stringify(hero));
289
+ await p.click('#insPg [data-ins="1"]'); await sleep(80);
290
+ const f1 = await p.evaluate(() => ({ head: document.querySelector('#brief').textContent, why: document.querySelector('#insWhy').textContent }));
291
+ ok('L1 the next page is the strongest finding and its reason', f1.head === 'Time to first call will miss its 3 days target on 31 Dec unless it turns.' && /Over its last 4 readings it went from 8 days to 9 days/.test(f1.why), JSON.stringify(f1));
290
292
  await p.click('#insNo'); const h2 = await txt('#brief');
291
293
  ok('L1 Not now moves the strip on to the next finding', h2 && h2 !== hero.head, h2);
292
294
  ok('I9 no demo label, and the page makes no write request on its own', !(await p.evaluate(() => /demo/i.test(document.querySelector('main.stage').textContent))) && A.posts.length === 0, A.posts.join());
@@ -305,12 +307,12 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
305
307
  await q.fill('#ndAskIn', 'Are partners getting value? activation and uptime over 8 weeks'); await q.press('#ndAskIn', 'Enter'); await sleep(300);
306
308
  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
307
309
  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));
308
- await q.click('#goalTbl [data-goal="krm-ttfc"] .nm');
310
+ await q.click('#goalTbl [data-goal="krm-ttfc"] .okr-main');
309
311
  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') }));
310
312
  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));
311
313
  await q.focus('#ndList [data-pk="krm-ttfc"]'); await q.keyboard.press('Alt+ArrowUp'); await sleep(100);
312
314
  const ord = await q.evaluate(() => [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk).join());
313
- 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
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
314
316
  await q.click('#ndAdd'); await q.selectOption('#ndAddSel', 'krm-churn'); await sleep(100);
315
317
  const ord2 = await q.evaluate(() => [...document.querySelectorAll('#ndList [data-pk]')].map((r) => r.dataset.pk).join());
316
318
  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]));
@@ -321,19 +323,19 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
321
323
  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]));
322
324
  sent.length = 0;
323
325
  /* the saved view and Edit chart */
324
- 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));
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));
325
327
  await q.click('#viewChip'); await q.click('#viewMenu [data-view="pd-1"]'); await sleep(150);
326
328
  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 }));
327
329
  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));
328
- await q.click('#goalTbl [data-goal="krm-ttfc"] .nm'); await sleep(150);
330
+ await q.click('#goalTbl [data-goal="krm-ttfc"] .okr-main'); await sleep(150);
329
331
  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 }));
330
332
  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));
331
333
  ok('D2 the preview is drawn in the chart\'s form', await q.evaluate(() => document.querySelectorAll('#chPrev svg.ins-ch2 rect').length > 0));
332
334
  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);
333
335
  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()));
334
- 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);
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);
335
337
  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()));
336
- await q.click('#goalTbl [data-goal="krm-act"] .nm'); await sleep(100); await q.click('#chMore');
338
+ await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); await sleep(100); await q.click('#chMore');
337
339
  const cm = await q.evaluate(() => [...document.querySelectorAll('#chMenu button')].map((b) => b.textContent.replace(/\s+/g, ' ') + ':' + (b.disabled ? 'off' : 'on')).join('|'));
338
340
  await q.click('#chRemove'); await until(() => q.evaluate(() => document.querySelector('#side').hidden), 5000);
339
341
  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()]));
@@ -456,7 +458,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
456
458
  /* I10 empty and unread */
457
459
  {
458
460
  const R = await open({ model: mk({ outcomes: [] }) });
459
- ok('I10 with no KR metric the page says there is no insight yet and draws no goal; Library still holds the report files', await R.page.evaluate(() => /No KR metric is recorded/.test(document.querySelector('#brief').textContent) && /No key result is recorded for this workspace/.test(document.querySelector('#goalTbl').textContent) && document.querySelectorAll('#goalTbl [data-goal]').length === 0 && document.querySelectorAll('#listRows [data-rpt]').length === 2 && /draws an insight from the readings/.test(document.querySelector('#insWhy').textContent) && !document.querySelector('#goalTbl .ins-th')));
461
+ /* re-pointed (batch 16 item 6): the ✦ line never says "no insight"; with no goal it says what Claude drafts, with ✦ to start it */
462
+ ok('I10 with no KR metric the ✦ line says no goal is set and offers to draft them, and the page draws no goal; Library still holds the report files', await R.page.evaluate(() => /has no goal yet/.test(document.querySelector('#brief').textContent) && !/no insight/i.test(document.querySelector('#brief').textContent) && !!document.querySelector('#insAct [data-okl="start"]') && /No key result is recorded for this workspace/.test(document.querySelector('#goalTbl').textContent) && document.querySelectorAll('#goalTbl [data-goal]').length === 0 && document.querySelectorAll('#listRows [data-rpt]').length === 2 && /North Star and key results/.test(document.querySelector('#insWhy').textContent) && !document.querySelector('#goalTbl .ins-th')));
460
463
  await R.ctx.close();
461
464
  const R2 = await open({ model: mk({ reportsOk: false, reports: [], missing: ['reports'] }) });
462
465
  await R2.page.click('#moreB'); await R2.page.click('#moreMenu [data-more=\"library\"]');
@@ -477,9 +480,10 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
477
480
  const R = await open({ w: 390, h: 844, theme }), q = R.page;
478
481
  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 */
479
482
  const hit = (b) => Math.max(b.getBoundingClientRect().height, parseFloat(getComputedStyle(b, '::after').height) || 0);
480
- 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)));
481
- 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() }; });
482
- 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));
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));
483
487
  await R.ctx.close();
484
488
  }
485
489
 
@@ -493,7 +497,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
493
497
  const ctx = await browser.newContext({ viewport: { width: 1280, height: 900 } }), pg = await ctx.newPage(), errs = [];
494
498
  pg.on('pageerror', (e) => errs.push(String(e)));
495
499
  await pg.goto(BASE + '/premium-insights.html');
496
- ok('E4 the real page says there is no goal, and has no script error', await until(() => pg.evaluate(() => /No KR metric is recorded/.test(document.querySelector('#brief').textContent) && /No key result is recorded/.test(document.querySelector('#goalTbl').textContent)), 20000) && errs.length === 0, errs.join(' | '));
500
+ ok('E4 the real page says there is no goal, and has no script error', await until(() => pg.evaluate(() => /has no goal yet/.test(document.querySelector('#brief').textContent) && /No key result is recorded/.test(document.querySelector('#goalTbl').textContent)), 20000) && errs.length === 0, errs.join(' | '));
497
501
  await ctx.close();
498
502
  }
499
503
  {
@@ -515,7 +519,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
515
519
  const H0 = await T.pressHeaders(base2), self = ((await (await fetch(base2 + '/api/briefing-premium/products')).json()).products || []).find((x) => x.primary);
516
520
  await fetch(base2 + '/api/briefing-premium/products', { method: 'POST', headers: H0, body: JSON.stringify({ on: [self && self.ws] }) }); // the pick: this repository only
517
521
  await pg.goto(base2 + '/premium-insights.html');
518
- 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(' | '));
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(' | '));
519
524
  const H = await T.pressHeaders(base2);
520
525
  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);
521
526
  await pg.reload();
@@ -533,7 +538,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
533
538
  const krFile = path.join(dir, 'planning', 'records', 'kr-metrics.jsonl'), recs = () => fs.readFileSync(krFile, 'utf8').trim().split('\n').map((x) => JSON.parse(x));
534
539
  const landed = await until(() => /Weekly partners/.test(fs.readFileSync(krFile, 'utf8')), 8000);
535
540
  const rec = landed ? recs().find((x) => x.fields && x.fields.metric === 'Weekly partners') : null;
536
- 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));
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));
537
542
  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() }));
538
543
  const bad1 = await post('goal', { name: 'Wrong way', type: 'Count', direction: 'Up', baseline: 9, target: 5, due: '2026-12-31' });
539
544
  const done = await post('goal', { name: 'SOC 2 report', type: 'Done or not', due: '2026-12-15', steps: ['Scope', 'Audit'] });
@@ -562,12 +567,12 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
562
567
  const R = await open({ model: mk({ boards: two }), pick: ['w1', 'w2'] }), q = R.page;
563
568
  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 }) }); });
564
569
  await q.reload(); // the route above answers the second product from the first read on
565
- 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);
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);
566
571
  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));
567
572
  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());
568
573
  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);
569
574
  await q.keyboard.press('Escape');
570
- await q.click('#goalTbl [data-goal="w2~krm-inv"] .nm'); const gv = await until(() => vw(q));
575
+ await q.click('#goalTbl [data-goal="w2~krm-inv"] .okr-main'); const gv = await until(() => vw(q));
571
576
  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));
572
577
  await vwClose(q);
573
578
  await sleep(100);
@@ -575,16 +580,16 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
575
580
  await q.click('#prodPick'); await q.click('#ppMenu [data-pp="w2"]');
576
581
  await Promise.all([q.waitForNavigation(), q.keyboard.press('Escape')]);
577
582
  await until(() => q.evaluate(() => document.querySelectorAll('#goalTbl [data-goal]').length === 5), 8000);
578
- 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));
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));
579
584
  await R.ctx.close();
580
585
  }
581
586
  /* P: the phone (IsPhone): the goal detail full screen with Readings, Moved by and Dashboards; a report setup as a sheet */
582
587
  {
583
588
  const R = await open({ w: 390, h: 844 }), q = R.page;
584
- await q.click('#goalCards [data-goal="krm-act"]'); await until(() => vw(q));
585
- /* re-pointed (batch 6 item 1b, OvViewers phone): the same Viewer, full screen: the summary first, the big number and chart, Moved by, the folds */
589
+ await q.click('#goalTbl [data-goal="krm-act"] .okr-main'); await until(() => vw(q));
590
+ /* re-pointed (batch 16 item 6, GsViewer phone): the same Viewer, full screen: the reading against its line, the chart, why, then the folds */
586
591
  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 }; });
587
- ok('P1 on a phone the goal detail covers the screen: the summary first, the big number and chart, Moved by, then Readings and On dashboards', ph.w === 390 && ph.tabs === 'Readings,On dashboards' && ph.first === 'czs-sum' && /^czs-sum,ins-gbig,ins-mvb,czs-secs/.test(ph.order) && !ph.over, JSON.stringify(ph));
592
+ 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));
588
593
  await q.click('#czViewer [data-czs-fold="dash"]'); await sleep(80);
589
594
  ok('P1 the On your dashboards row holds the switches', (await q.evaluate(() => document.querySelectorAll('#czViewer [data-czs-id="dash"] [data-gx="dash"]').length)) === 1);
590
595
  await vwClose(q);
@@ -599,7 +604,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
599
604
  /* I11 fidelity to the Agreed design (AgInsGoals, AgInsPhone): Nunito, the cozy panel, the pill tabs, the table, the strip and the six tiles */
600
605
  for (const [w, h] of [[1440, 900], [390, 844]]) {
601
606
  const R = await open({ w, h }); await sleep(300);
602
- 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();
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();
603
608
  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) }; });
604
609
  const phone = w < 720;
605
610
  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));
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "v": "0.434.0",
4
+ "at": "2026-10-28T03:07:58.471Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1077,
9
+ "t": "Your impact and Claude runs the OKRs (batch 16 items 6, 7)",
10
+ "s": "Your impact and Claude runs the OKRs (batch 16 items 6, 7)"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.433.0",
16
+ "at": "2026-10-28T02:16:22.945Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 1076,
21
+ "t": "The end diamond always names a milestone when the row has one (hotfix)",
22
+ "s": "When an initiative has any dated milestone task, the end ◇ is one of them."
23
+ }
24
+ ]
25
+ },
2
26
  {
3
27
  "v": "0.432.0",
4
28
  "at": "2026-10-28T02:08:08.690Z",
@@ -54,7 +54,7 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
54
54
 
55
55
  - The page's header shows the lane and the anchor, the name, **New session** (+), ⋯, Open wide and Close.
56
56
  - The stage card shows the stage, **N of M done** for its tasks, the days in the stage (for example "9 of ~7 days", amber when over the usual time) and → for the next stage. → turns blue when every task of the stage is done.
57
- - Under the header is one line for the whole initiative. Each stage is a part of the line, on its own dates. Done stages are grey, the current stage is blue, later stages are light, and a stage with no dated task is dashed. The ◇ marks are the milestone tasks, with the name above and the date below. The end ◇ is the end date. When a milestone task in the last milestone stage stands for the end, the end ◇ sits on that task's own date and shows it. A thin tick is Today.
57
+ - Under the header is one line for the whole initiative. Each stage is a part of the line, on its own dates. Done stages are grey, the current stage is blue, later stages are light, and a stage with no dated task is dashed. The ◇ marks are the milestone tasks, with the name above and the date below. The end ◇ is the end date. When the initiative has milestone tasks, the end ◇ stands for one of them (one on the end date, else the latest in the last milestone stage, else the latest of all), sits on that task's own date and shows it. A thin tick is Today.
58
58
  - Press a part to show that stage in **Tasks**. Press **N of M done** to do the same. Press a ◇ to open the milestone task in **Tasks**. Milestones a few days apart merge into one ◇ with a count. Press it to list them.
59
59
  - The line also shows what the Board's timeline shows: » for a skipped stage, a dotted gap and ⏸ for a hold (press ⏸ to set or change the return date), a hairline for 2 weeks or more with no activity (press it; ahead of Today, + adds a task in the gap), hatching past the end date, a dashed Jira forecast, a thin line under it for a saved plan, and "after <initiative>" when it waits on another initiative.
60
60
  - A cancelled, done or archived initiative leaves Home, and so do the next steps that were for it.
@@ -68,6 +68,7 @@ On a desktop the workspace is one frame. [Layout](layout.md) explains each part.
68
68
  - [The Initiative Driver: drafts the agent files for you](initiative-driver.md): when the driver runs, the unblock sweep, the limits, Keep, Send back and Drop, the board modes, and `pmos driver`.
69
69
  - [Claude proposes: the one ✦ on each initiative](claude-proposes.md): what Claude finds when you add an initiative, new dates, done and tidy names for late tasks, ✓, ✕, Undo, and `pmos propose`.
70
70
  - [Claude drafts metrics without being asked](metric-drafts.md): when Claude drafts the metrics of a product, a program or an initiative, keep, drop, Undo, and `pmos metrics draft`.
71
+ - [Your impact](your-impact.md): what counts as your impact, the weekly check in Home's chat, the switch, and `pmos impact`. Private to you.
71
72
  - [Adler, Claude's face](adler.md): who Adler is, where he shows, what his six moods mean, and Settings › Adler.
72
73
  - [Core documents: what each level keeps](core-documents.md): the core documents of the portfolio, a board and an initiative, their states, how PMOS drafts them, Issue it, and `pmos coredoc write`.
73
74
  - [The Horizon scan: the agent looks outside your initiatives](horizon-scan.md): how often it runs, the watch list you keep, what a scan does, where findings land, what it cannot do, and `pmos scan`.
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Claude drafts metrics without being asked"
4
4
  description: "When Claude drafts the metrics of a product, a program or an initiative, what each draft says, how you keep, edit or drop it, Undo, how to turn it off, and the pmos metrics draft commands."
5
- timestamp: 2026-10-27
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # Claude drafts metrics without being asked
@@ -45,5 +45,25 @@ Claude's background run files its drafts with these commands. The server pins th
45
45
  - `pmos metrics draft row --json <file|->`: one drafted row, or a list of rows.
46
46
  - `pmos metrics draft end --head "<line>" --sub "<line>" --src "<sources>"`: the run is done, with what the page says on top.
47
47
  - `pmos metrics draft status`: what is open, kept and dropped.
48
+ - `pmos metrics draft fix --json <file|->`: one fix for a goal, or a list of fixes (see "Claude runs the OKRs" below).
48
49
 
49
50
  The run writes no record and sends nothing.
51
+
52
+ ## Claude runs the OKRs
53
+
54
+ Claude also reads your goals and repairs them. You see the result on Intelligence and on the product page. You do not fill in a form.
55
+
56
+ - **Each goal has a recipe:** a connector, a query and a cadence (daily, weekly or monthly). When the cadence comes round, Claude reads the goal and files the value with where it read it and when.
57
+ - **A goal Claude cannot read** says so plainly, and comes with a drafted fix: connect the source, or read it another way. If no connector reads it, upload a CSV or sheet export with a date and a number on each line.
58
+ - **The dot of a goal comes from its latest reading only:** on its line, behind it, close to a limit, or a broken limit. A goal with no reading has a hollow dot. A late initiative never sets a goal's dot.
59
+ - **Fixes sit under the goal they repair:** an outcome for a goal that names a project, a recipe, connect a source, a thankful note to the owner, a rollback ticket, next quarter's goal, carry on, and an owner. Press ✓ to keep one, or ✓✓ to keep them all. A note or a ticket goes to the outbox. Nothing is sent until you send it. Undo puts it back.
60
+ - **An owner** is proposed from the Jira assignees of the work that moves the goal. If two people hold as much, Claude proposes nobody.
61
+ - **A broken limit** is the only red line on Intelligence. It tells you once, in the bell, when the goal is set to Notify me. It says one more line when the goal is back within its limit. Set this per goal: Notify me, Only in Intelligence (the default) or Quiet.
62
+
63
+ The reading run files with these commands, pinned by the server to the run and its goals:
64
+
65
+ - `pmos metrics reading list`: the goals of this run, with their recipes.
66
+ - `pmos metrics reading <rid> <value> --source "<connector · what>" [--day YYYY-MM-DD]`: one value read.
67
+ - `pmos metrics reading <rid> --cant "<why>" [--fix connect|recipe --connector <name>]`: Claude could not read it, and the fix it drafted.
68
+
69
+ To turn the reading runs off, set `PMOS_METRIC_READ=off`.
@@ -23,7 +23,7 @@ A cancelled or archived initiative leaves its program's views: the band, the pro
23
23
  - The **timeline** draws a program row that brackets its initiatives' bars, on every span. Program milestones are diamonds. Milestones that are close together merge into one diamond with a count.
24
24
  - On the timeline, a **product's head row** also shows milestones. Nothing is added by hand: the row shows every milestone of the product's initiatives, which are each milestone task and each initiative's end diamond (its Deliver or Evaluate date). The diamonds are the same as on the initiative rows: open, filled when done, orange when late. Diamonds that are close together merge into one diamond with a count and the date range under it. Press it to see a list with the milestone, its initiative and the date. Press a line to open that initiative. Hold the pointer on a single diamond to see its milestone and initiative. A thin line goes from the first start to the last end of the product's initiatives. When the product is folded, the row stays the same, so it is a summary of the product. On a phone the diamonds have no dates; tap the row to see all the milestones in date order. A product inside a program has no such row, because the program row shows its milestones.
25
25
  - On the timeline, an initiative row shows only its **pinned** milestones. By default that is its last milestone. Press a diamond to see every milestone of the initiative, with how many are on the timeline. Press the pin beside a milestone to show it or to hide it. To see every milestone or none, open **Filter** and pick **Milestones on the timeline: Pinned**, **All** or **None**. The Board keeps your pick. From a terminal: `pmos task set <task> --pin`, `--no-pin`, or `--pin-default` to go back to the default.
26
- - The label at the end of an initiative row says what lands and when. When a milestone task is in the last milestone stage, or is on the end date, or is in the Deliver stage, or is so close to the end date that its diamond would sit on the end diamond, the label shows its name and its own date, and the end date of the initiative shows when you hold the pointer on the label. Otherwise the label is **Deliver** (or **Evaluate**) and the end date. Press that end diamond: the card has the same words as the label, then the milestones of the initiative.
26
+ - The label at the end of an initiative row says what lands and when. When a milestone task is in the last milestone stage, or is on the end date, or is in the Deliver stage, or is so close to the end date that its diamond would sit on the end diamond, the label shows its name and its own date, and the end date of the initiative shows when you hold the pointer on the label. Otherwise the latest milestone task of the initiative names the end in the same way, even when it is months before the end date. Only an initiative with no dated milestone task shows **Deliver** (or **Evaluate**) and the end date. Press that end diamond: the card has the same words as the label, then the milestones of the initiative.
27
27
  - **List** has a Product column and a Program column. Press a column header to sort by it.
28
28
  - **New** opens a menu: **New initiative** or **New program**.
29
29
  - A new program shows at once, before any initiative joins it. A program with no open initiative shows on its own product's Board and on All products, with "No initiatives yet" or "No open initiatives". Press its name, then **⋯** and **Move an initiative in**. That menu lists open initiatives only, grouped by product, with the program's own product first, wherever you open the program (Home, another product's Board or All products). An initiative joins in its own product.