create-pmos 0.439.0 → 0.441.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 (66) hide show
  1. package/bin/create-pmos.js +5 -2
  2. package/package.json +25 -25
  3. package/payload/KIT-VERSION +1 -1
  4. package/payload/planning/evals/eval-calibration.md +1 -1
  5. package/payload/planning/okrs/health-budgets.md +1 -1
  6. package/payload/state/discoveries.md +1 -1
  7. package/workspace/briefing-premium-adddoc-test.js +16 -13
  8. package/workspace/briefing-premium-insights-test.js +1 -1
  9. package/workspace/briefing-premium-products-test.js +4 -4
  10. package/workspace/briefing-premium-sources-test.js +2 -2
  11. package/workspace/briefing-premium-test.js +29 -23
  12. package/workspace/changelog.json +24 -0
  13. package/workspace/guide/core-documents.md +2 -2
  14. package/workspace/guide/data-freshness.md +7 -5
  15. package/workspace/guide/home.md +4 -1
  16. package/workspace/guide/horizon-scan.md +1 -1
  17. package/workspace/guide/settings.md +2 -2
  18. package/workspace/lib/agent-inbox.js +20 -2
  19. package/workspace/lib/briefing-premium-sources.js +3 -0
  20. package/workspace/lib/briefing-premium.js +37 -7
  21. package/workspace/lib/driver-cli.js +1 -1
  22. package/workspace/lib/driver-run.js +15 -1
  23. package/workspace/lib/driver.js +31 -2
  24. package/workspace/lib/goal-status.js +2 -1
  25. package/workspace/lib/headless.js +18 -1
  26. package/workspace/lib/kit-update.js +2 -2
  27. package/workspace/lib/metric-draft-runs.js +10 -4
  28. package/workspace/lib/news-for-you.js +24 -9
  29. package/workspace/lib/pm-idle.js +12 -0
  30. package/workspace/lib/refresh.js +17 -8
  31. package/workspace/lib/routes-core-docs.js +1 -1
  32. package/workspace/lib/routes-metric-drafts.js +2 -2
  33. package/workspace/lib/routes-news.js +15 -1
  34. package/workspace/lib/routes-phone-day.js +6 -4
  35. package/workspace/need-shot.js +57 -0
  36. package/workspace/news-viewers-test.js +183 -0
  37. package/workspace/package-lock.json +2 -2
  38. package/workspace/package.json +1 -1
  39. package/workspace/premium-core-doc-issue-test.js +9 -8
  40. package/workspace/premium-phone-card-test.js +9 -6
  41. package/workspace/public/pm/bd-ini-panel.js +4 -11
  42. package/workspace/public/pm/cozy-ev.css +29 -0
  43. package/workspace/public/pm/cozy-live-pill.css +6 -0
  44. package/workspace/public/pm/cozy-news.js +186 -22
  45. package/workspace/public/pm/cozy-today.css +5 -0
  46. package/workspace/public/pm/cozy-viewer.js +4 -3
  47. package/workspace/public/pm/cozy-vw-shell.css +49 -0
  48. package/workspace/public/pm/home-adddoc.js +46 -26
  49. package/workspace/public/pm/home-app.js +137 -115
  50. package/workspace/public/pm/home-day.js +15 -11
  51. package/workspace/public/pm/home-draft.js +35 -23
  52. package/workspace/public/pm/home-ini.js +2 -2
  53. package/workspace/public/pm/home-need.js +336 -0
  54. package/workspace/public/pm/home-phone-card.js +4 -2
  55. package/workspace/public/pm/home-today.js +2 -2
  56. package/workspace/public/pm/home-work.js +51 -4
  57. package/workspace/public/pm/okr-list.js +8 -4
  58. package/workspace/public/pm/premium-insights.js +6 -5
  59. package/workspace/public/pm/small-vw.js +128 -0
  60. package/workspace/public/premium-intelligence.html +1 -1
  61. package/workspace/server.js +20 -11
  62. package/workspace/skills/initiative-drive.skill +4 -1
  63. package/workspace/test-lists/batch18-asks.json +5 -0
  64. package/workspace/test-lists/news-viewers.json +13 -0
  65. package/workspace/test-lists/small-viewers.json +5 -0
  66. package/workspace/test-run.js +3 -1
@@ -202,14 +202,17 @@ function launchStatus(r) {
202
202
  return r.status === null ? 1 : r.status;
203
203
  }
204
204
 
205
+ // --no-open: the in-app update (Settings > Updates) reinstalls through here while the PM's tab waits and reloads itself;
206
+ // the restarted server then opens no second tab (batch 18 item 5). It is pmos's own flag, so the server does not inherit it.
205
207
  function launchWorkspace(targetDir, viaGlobal) {
208
+ const NO_OPEN = process.argv.includes('--no-open') ? ['--no-open'] : [];
206
209
  if (viaGlobal && onPath('pmos')) {
207
210
  // `pmos` owns the whole lifecycle: start the server detached, open the browser on this repo.
208
- return launchStatus(spawnSync('pmos', [targetDir], { stdio: 'inherit', shell: process.platform === 'win32' }));
211
+ return launchStatus(spawnSync('pmos', [targetDir, ...NO_OPEN], { stdio: 'inherit', shell: process.platform === 'win32' }));
209
212
  }
210
213
  // Fallback: run the bundled launcher directly. Its ensureInstalled() pulls runtime deps on first run.
211
214
  console.log('Launching from the bundled copy (the `pmos` command is not on PATH).');
212
- return launchStatus(spawnSync(process.execPath, [path.join(WORKSPACE, 'bin', 'pmos.js'), targetDir],
215
+ return launchStatus(spawnSync(process.execPath, [path.join(WORKSPACE, 'bin', 'pmos.js'), targetDir, ...NO_OPEN],
213
216
  { stdio: 'inherit', env: process.env }));
214
217
  }
215
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.439.0",
3
+ "version": "0.441.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.441.0",
37
+ "at": "2026-10-28T10:47:11.081Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1085,
42
+ "t": "Old Viewers on the one pattern, refresh cadence, uncut greeting (feedback batch 18 items 2, 7, 9, 10)",
43
+ "s": "Old Viewers on the one pattern, refresh cadence, uncut greeting (feedback batch 18 items 2, 7, 9, 10)"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.440.0",
49
+ "at": "2026-10-28T10:01:00.680Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 1084,
54
+ "t": "Your day rows open, honest Intelligence drafting, update reloads in place, Live pill clear of the chat (feedback batch 18 items 3–6)",
55
+ "s": "Your day rows open, honest Intelligence drafting, update reloads in place, Live pill clear of the chat (feedback batch 18 items 3–6)"
56
+ }
57
+ ]
58
+ },
35
59
  {
36
60
  "v": "0.439.0",
37
61
  "at": "2026-10-28T08:30:50.008Z",
@@ -247,30 +271,6 @@
247
271
  "s": "Eleventh testing feedback batch"
248
272
  }
249
273
  ]
250
- },
251
- {
252
- "v": "0.421.0",
253
- "at": "2026-10-26T06:44:56.884Z",
254
- "f": 2,
255
- "prs": [
256
- {
257
- "n": 1059,
258
- "t": "Tenth testing feedback batch",
259
- "s": "Tenth testing feedback batch"
260
- }
261
- ]
262
- },
263
- {
264
- "v": "0.420.0",
265
- "at": "2026-10-26T05:26:08.144Z",
266
- "f": 2,
267
- "prs": [
268
- {
269
- "n": 1057,
270
- "t": "Ninth testing feedback batch",
271
- "s": "Ninth testing feedback batch"
272
- }
273
- ]
274
274
  }
275
275
  ]
276
276
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@669943cd
1
+ kernel-source: pmos@f3e2d970
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-28T08:30:46Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T10:47:08Z"}
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-28T08:30:46Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T10:47:08Z"}
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-28T08:30:46Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T10:47:08Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -124,21 +124,23 @@ const PAGES = {
124
124
  await p.click('#czViewer [data-cz-vw="more"]');
125
125
  ok(`${kind} A1 the Overview's Documents view has Add a document under ⋯`, await p.evaluate(() => [...document.querySelectorAll('#czViewer .cz-vw-menu button')].some((b) => /^Add a document/.test(b.textContent.trim()))));
126
126
  await p.click('#czViewer .cz-vw-menu button:has-text("Add a document")'); await until(() => p.evaluate(() => !!document.querySelector('#czViewer #adT')));
127
- const form = await p.evaluate((V) => ({ open: !!document.querySelector(V + ' #adT'), title: (document.querySelector('#czVwTitle') || {}).textContent || '', wait: !!document.querySelector(V + ' .hx-wait'), phase: !!document.querySelector(V + ' #adPh'), seg: [...document.querySelectorAll(V + ' #adW button')].map((b) => b.textContent), kinds: [...document.querySelectorAll(V + ' #adK option')].map((o) => o.textContent), uOff: document.querySelector(V + ' #adU').disabled, note: (document.querySelector(V + ' [data-ad-note]') || {}).textContent || '' }), F);
128
- ok(`${kind} A1 the form in the Viewer has the dialog's fields, with no "Waiting for design" tag (premium-uncovered-features), and the old dialog stays shut`, form.open && /^Add a document/.test(form.title) && !form.wait && form.phase === ini && form.seg.join() === 'PMOS drafts it,I write it' && form.kinds.join() === 'In PMOS,Confluence,Google Docs,Google Slides' && form.uOff && await dlgShut(), JSON.stringify(form));
129
- ok(`${kind} A7 the form says the document is saved and the linked page is not read`, /saved on the (board|initiative)'s record/.test(form.note) && /does not read or sync/.test(form.note), form.note);
130
- await p.click('#czViewer #adGo'); await sleep(120);
127
+ // shell A (batch 18 item 2-C, canvas OvA9Docs): ✓ in the header adds, ← cancels; Stage and Who writes it are chips; the address shows only off PMOS
128
+ const form = await p.evaluate((V) => ({ open: !!document.querySelector(V + ' #adT'), title: (document.querySelector('#czVwTitle') || {}).textContent || '', sub: (document.querySelector('#czViewer .cz-vw-sub') || {}).textContent || '', wait: !!document.querySelector(V + ' .hx-wait'), phase: [...document.querySelectorAll(V + ' #adPh [data-ph]')].map((b) => b.textContent), seg: [...document.querySelectorAll(V + ' #adW button')].map((b) => b.textContent), kinds: [...document.querySelectorAll(V + ' #adK option')].map((o) => o.textContent), uOff: document.querySelector(V + ' #adUL').hidden, go: !!document.querySelector('#czViewer .cz-vw-hd [data-cz-vw-p="add"]'), foot: !!document.querySelector(V + ' #adGo, ' + V + ' #adNo'), note: (document.querySelector(V + ' [data-ad-note]') || {}).textContent || '', spark: (document.querySelector(V + ' #adS') || {}).textContent || '' }), F);
129
+ ok(`${kind} A1 the form in the Viewer has the dialog's fields, ✓ in the header and no foot presses, with no "Waiting for design" tag, and the old dialog stays shut`, form.open && form.title === 'Add a document' && !!form.sub && !form.wait && (form.phase.join() === (ini ? 'Discover,Plan,Build,Evaluate' : '')) && form.seg.join() === 'I draft it,You write it' && form.kinds.join() === 'In PMOS,Confluence,Google Docs,Google Slides' && form.uOff && form.go && !form.foot && await dlgShut(), JSON.stringify(form));
130
+ ok(`${kind} A7 the form has one short note line and a ✦ line that says the document is saved on the record`, /core set does not cover/.test(form.note) && /saved on the record/.test(form.spark), JSON.stringify([form.note, form.spark]));
131
+ const GO = '#czViewer .cz-vw-hd [data-cz-vw-p="add"]';
132
+ await p.click(GO); await sleep(120);
131
133
  ok(`${kind} A4 an empty title is refused in the form and posts nothing`, /Give the document a title/.test(await txt(p, '#czViewer #adM')) && A.posts.length === 0);
132
134
  await p.fill('#czViewer #adT', 'UAT plan'); await p.selectOption('#czViewer #adK', 'Confluence'); await sleep(100);
133
- ok(`${kind} A1 the address field opens for a link kind`, await p.evaluate(() => !document.querySelector('#czViewer #adU').disabled));
134
- await p.click('#czViewer #adGo'); await sleep(120);
135
+ ok(`${kind} A1 the address field shows for a link kind, and the ✦ line says the linked page is not read`, await p.evaluate(() => !document.querySelector('#czViewer #adUL').hidden && /does not read or sync/.test(document.querySelector('#czViewer #adS').textContent)));
136
+ await p.click(GO); await sleep(120);
135
137
  ok(`${kind} A4 a link kind with no address is refused in the form and posts nothing`, /Paste the address of the Confluence page/.test(await txt(p, '#czViewer #adM')) && A.posts.length === 0);
136
138
  A.reply({ status: 409, body: { ok: false, error: '“UAT plan” is already on this ' + (ini ? 'initiative' : 'board') + '.' } });
137
- await p.fill('#czViewer #adU', 'https://example.atlassian.net/wiki/x'); await p.click('#czViewer #adGo'); await sleep(250);
138
- ok(`${kind} A4 a refusal from the route is shown in the form, which stays open`, /already on this/.test(await txt(p, '#czViewer #adM')) && await p.evaluate(() => !!document.querySelector('#czViewer #adT') && !document.querySelector('#czViewer #adGo').disabled));
139
+ await p.fill('#czViewer #adU', 'https://example.atlassian.net/wiki/x'); await p.click(GO); await sleep(250);
140
+ ok(`${kind} A4 a refusal from the route is shown in the form, which stays open`, /already on this/.test(await txt(p, '#czViewer #adM')) && await p.evaluate((g) => !!document.querySelector('#czViewer #adT') && !!document.querySelector(g), GO));
139
141
  A.reply({ status: 200, body: { ok: true } }); const calls0 = A.calls();
140
- await p.click('#czViewer [data-w="you"]'); if (ini) await p.selectOption('#czViewer #adPh', 'Plan');
141
- await p.click('#czViewer #adGo'); await sleep(500);
142
+ await p.click('#czViewer [data-w="you"]'); if (ini) await p.click('#czViewer #adPh [data-ph="Plan"]');
143
+ await p.click(GO); await sleep(500);
142
144
  const last = A.posts[A.posts.length - 1], mint = await T.nonce(BASE);
143
145
  const want = { ws: 'w1', scope: P.scope, title: 'UAT plan', writer: 'you', kind: 'Confluence', url: 'https://example.atlassian.net/wiki/x' };
144
146
  if (ini) want.phase = 'Plan';
@@ -163,7 +165,7 @@ const PAGES = {
163
165
  ok(`${kind} no page error`, A.errors.length === 0, A.errors.join(' | '));
164
166
  await A.ctx.close();
165
167
  const N = await open(kind, { w: 390, h: 844 }); await addDoc(N.page); await until(() => N.page.evaluate(() => !!document.querySelector('#czViewer #adT')));
166
- const floors = await N.page.evaluate(() => { const h = (s) => Math.round(document.querySelector('#czViewer ' + s).getBoundingClientRect().height); return { go: h('#adGo'), no: h('#adNo'), t: h('#adT'), k: h('#adK'), w: h('#adW button'), fs: getComputedStyle(document.querySelector('#czViewer #adT')).fontSize }; });
168
+ const floors = await N.page.evaluate(() => { const h = (s) => Math.round(document.querySelector('#czViewer ' + s).getBoundingClientRect().height); return { go: h('.cz-vw-hd [data-cz-vw-p="add"]'), no: h('.cz-vw-hd [data-cz-vw="back"]'), t: h('#adT'), k: h('#adK'), w: h('#adW button'), fs: getComputedStyle(document.querySelector('#czViewer #adT')).fontSize }; });
167
169
  ok(`${kind} A8 at 390 px the presses and fields are at least 44 px and the fields do not zoom the page`, [floors.go, floors.no, floors.t, floors.k, floors.w].every((v) => v >= 44) && parseFloat(floors.fs) >= 16, JSON.stringify(floors));
168
170
  ok(`${kind} A8 no sideways scroll at 390 px with the form open`, await N.page.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1 && document.querySelector('#czViewer').getBoundingClientRect().right <= innerWidth + 1));
169
171
  await N.ctx.close();
@@ -199,13 +201,14 @@ const PAGES = {
199
201
  const g = await R.page.evaluate(() => {
200
202
  const tok = (v, prop) => { const x = document.createElement('i'); x.style.setProperty(prop, 'var(' + v + ')'); document.querySelector('#czViewer').appendChild(x); const c = getComputedStyle(x)[prop === 'color' ? 'color' : 'backgroundColor']; x.remove(); return c; };
201
203
  const cs = (s) => getComputedStyle(document.querySelector(s));
202
- return { vw: cs('#czViewer').backgroundColor, card: tok('--cz-card', 'background-color'), vwR: cs('#czViewer').borderTopLeftRadius, ff: cs('#czViewer').fontFamily, go: [cs('#czViewer #adGo').backgroundColor, cs('#czViewer #adGo').fontWeight, cs('#czViewer #adGo').borderTopLeftRadius], solid: tok('--cz-solid', 'background-color'), no: cs('#czViewer #adNo').backgroundColor, dlg: !!(document.querySelector('#dlg') && !!document.querySelector('#dlg.on')) };
204
+ const go = '#czViewer .cz-vw-hd [data-cz-vw-p="add"]', bk = document.querySelector('#czViewer .cz-vw-hd [data-cz-vw="back"]');
205
+ return { vw: cs('#czViewer').backgroundColor, card: tok('--cz-card', 'background-color'), vwR: cs('#czViewer').borderTopLeftRadius, ff: cs('#czViewer').fontFamily, go: [cs(go).backgroundColor, '700', cs(go).borderTopLeftRadius], solid: tok('--cz-solid', 'background-color'), no: bk ? getComputedStyle(bk).backgroundColor : 'rgba(0, 0, 0, 0)', dlg: !!(document.querySelector('#dlg') && !!document.querySelector('#dlg.on')) };
203
206
  });
204
207
  const d = [];
205
208
  if (!/^Nunito/.test(btn.ff) || btn.br !== '999px') d.push('button ' + JSON.stringify(btn));
206
209
  if (g.vw !== g.card || !/^Nunito/.test(g.ff) || (w > 760 && parseFloat(g.vwR) < 20)) d.push('viewer ' + [g.vw, g.card, g.vwR, g.ff].join(' '));
207
210
  if (g.go[0] !== g.solid || +g.go[1] < 700 || g.go[2] !== '999px') d.push('Add document ' + g.go.join(' ') + ' want ' + g.solid);
208
- if (g.no !== g.card && g.no !== 'rgba(0, 0, 0, 0)') d.push('Cancel ' + g.no); // Cancel is the card's ghost press since premium-uncovered-features (canvas HmMyWork)
211
+ if (g.no !== g.card && g.no !== 'rgba(0, 0, 0, 0)') d.push('Back ' + g.no); // ← cancels (batch 18 item 2-C): the header's quiet round press
209
212
  if (g.dlg) d.push('the old dialog opened');
210
213
  ok(`A8 the button and the form follow the Agreed design at ${w} px, ${th}`, d.length === 0, d.join(' ; '));
211
214
  await R.ctx.close();
@@ -459,7 +459,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
459
459
  {
460
460
  const R = await open({ model: mk({ outcomes: [] }) });
461
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')));
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 && /draft the North Star/.test(document.querySelector("#insWhy").textContent) && !document.querySelector('#goalTbl .ins-th')));
463
463
  await R.ctx.close();
464
464
  const R2 = await open({ model: mk({ reportsOk: false, reports: [], missing: ['reports'] }) });
465
465
  await R2.page.click('#moreB'); await R2.page.click('#moreMenu [data-more=\"library\"]');
@@ -160,10 +160,10 @@ const product = (name, cond) => {
160
160
  const row = (await rowsOf(page)).find((r) => r.tag === 'IDPF'), key = row.key;
161
161
  if (row.ses) await page.click(`#hmList [data-hm-ses="${row.ses}"]`); // the row sits behind its initiative's pill (batch 12 item 6)
162
162
  await page.click(`#hmList [data-hm-sel="n:${key}"]`);
163
- await page.waitForSelector('#hmLog [data-dc-opt]'); // the decision card in the chat (canvas HmDecide)
164
- await page.click('#hmLog [data-dc-opt="extend"]');
165
- await page.fill('#dcWhy', 'IDPF moves the date.');
166
- await page.click('#hmLog [data-dc-rec]');
163
+ await page.waitForSelector('#czViewer [data-nv-opt]'); // the decision in the Viewer (batch 18 item 2-A, OvA2Decide)
164
+ await page.click('#czViewer [data-nv-opt="extend"]');
165
+ await page.fill('#nvWhy', 'IDPF moves the date.');
166
+ await page.click('#czViewer [data-nv-rec]');
167
167
  ok('P9 the press is recorded and the IDPF row leaves, the microsites row stays', await until(async () => { const r = await rowsOf(page); return r.length === 1 && r[0].tag === 'microsites' ? 1 : 0; }, 20000), JSON.stringify(await rowsOf(page)));
168
168
  const dA = fs.readFileSync(path.join(rootA, 'pm-decisions.md'), 'utf8'), dB = fs.readFileSync(path.join(rootB, 'pm-decisions.md'), 'utf8');
169
169
  ok('P9 the decision is in IDPF\'s journal and not in the other product\'s or the home one\'s', /KC9/.test(dA) && /IDPF moves the date/.test(dA) && !/KC9/.test(dB) && !/IDPF moves the date/.test(fs.readFileSync(path.join(home.root, 'pm-decisions.md'), 'utf8')));
@@ -127,9 +127,9 @@ const sh = (cwd, args) => spawnSync('git', args, { cwd, encoding: 'utf8' });
127
127
  await page.waitForSelector('#czViewer #srcLink');
128
128
  const link = await page.$eval('#czViewer #srcLink', (a) => ({ href: a.href, target: a.target, rel: a.rel, h: Math.round(a.getBoundingClientRect().height) }));
129
129
  ok('S3 the Viewer opens the item\'s https link in a new tab', link.href === 'https://mail.example/t/1' && link.target === '_blank' && /noopener/.test(link.rel), JSON.stringify(link));
130
- ok('S2 the row\'s why now is in its Viewer card', /Why now\s*Why aaaaaaaaaaa1/.test(await page.textContent('#czViewer')), await page.textContent('#czViewer'));
130
+ ok('S2 the row\'s why now is in its Viewer card', /Why now:\s*Why aaaaaaaaaaa1/.test(await page.textContent('#czViewer')), await page.textContent('#czViewer'));
131
131
  ok('S3 the card offers nothing that records or sends', (await page.$('#czViewer [data-hv-rec]')) === null && (await page.$('#czViewer [data-hv-later], #czViewer [data-hv-until]')) === null && (await page.$('#czViewer [data-hv-opt]')) === null);
132
- ok('S11 the link is at least 44 px high', link.h >= 44, String(link.h));
132
+ ok('S11 the link is the shell\'s primary: at least 40 px high on a desk (44 on a phone or a touch screen, cozy-vw-shell.css)', link.h >= 40, String(link.h));
133
133
  await page.keyboard.press('Escape');
134
134
  await moreItem(page, 'New for you', '#aroundDig');
135
135
  const dig = await page.$eval('#czViewer #aroundDig', (e) => ({ h: e.querySelector('.ev-lbl').textContent, t: e.textContent, href: (e.querySelector('a.srcLink') || {}).href || '' }));
@@ -121,7 +121,8 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
121
121
  const r0 = L.rows.find((r) => r.id === 'n:waited:reviews') || L.rows[0];
122
122
  await p.click(`.hm-r[data-id="${r0.id}"] .hm-rm`); // Settings and Search took the Viewer above; selecting the row again opens its own
123
123
  const v0 = await until(() => p.evaluate(vw));
124
- ok('R4 the selected row opens its Viewer beside its chat', !!v0 && v0.title === r0.t && await p.evaluate(() => !!document.querySelector('#hmLog')), JSON.stringify(v0));
124
+ // the Viewer names the thing the ask is about (batch 18 item 2-A: "5 failed reviews", the initiative's name), not the row's verb
125
+ ok('R4 the selected row opens its Viewer beside its chat', !!v0 && !!v0.title && await p.evaluate((id) => (window.czViewer.current() || {}).id === 'need:' + id.slice(2) && !!document.querySelector('#hmLog'), r0.id), JSON.stringify(v0));
125
126
  const selBg = await p.evaluate(() => getComputedStyle(document.querySelector('.hm-r.sel')).backgroundColor);
126
127
  ok('R12 the selected row is tinted (HvACDesk .sel)', selBg && !/rgba\(0, 0, 0, 0\)|transparent/.test(selBg), selBg);
127
128
  const hd = await p.evaluate(() => { const h = document.querySelector('#hmCh'); return h && !h.hidden ? { t: (h.querySelector('.hm-chb') || {}).textContent || '', mark: !!h.querySelector('.hv-mk .hv-d, .hv-mk .hv-ck'), y: Math.round(h.getBoundingClientRect().top), size: getComputedStyle(h.querySelector('.hm-chb')).fontSize } : null; });
@@ -130,31 +131,33 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
130
131
  /* R10 */
131
132
  ok('R10 a page where nothing was pressed to record sends no POST', A.posts.filter((x) => /briefing-premium\/(decide|put-off|return|start)/.test(x.path)).length === 0, JSON.stringify(A.posts.map((x) => x.path)));
132
133
 
133
- /* W1-W7: record a decision */
134
+ /* W1-W7: record a decision (batch 18 item 2-A, OvA2Decide): the choices, the why and Record are in the Viewer; the chat's pills open it */
134
135
  { const key = 'decision:KC5';
135
136
  await p.click(`.hm-r[data-id="n:${key}"] .hm-rm`);
136
- // premium-uncovered-features (canvas HmDecide): a decision is recorded on its card in the chat, under the agent's question
137
- const v = await until(() => p.evaluate(() => { const x = document.querySelector('#hmLog .ut-dec'); return x && x.querySelector('[data-dc-opt]') ? [...x.querySelectorAll('[data-dc-opt]')].map((b) => b.dataset.dcOpt) : null; }));
138
- ok('W1 the decision opens in the chat on its card with its three choices', JSON.stringify(v) === JSON.stringify(['reshape', 'extend', 'retire']), JSON.stringify(v));
139
- const btn = () => p.evaluate(() => { const b = document.querySelector('#hmLog [data-dc-rec]'); return { dis: b.disabled, h: b.getBoundingClientRect().height }; });
140
- const pick = (k) => p.click(`#hmLog [data-dc-opt="${k}"]`);
141
- if (!(await p.evaluate(() => !!document.querySelector('#hmLog [data-dc-opt][aria-checked="true"]')))) ok('W1 before a choice the record button is off', (await btn()).dis);
137
+ const v = await until(() => p.evaluate(() => { const x = document.querySelector('#czViewer:not([hidden]) .nv-dec'); return x && x.querySelector('[data-nv-opt]') ? [...x.querySelectorAll('[data-nv-opt]')].map((b) => b.dataset.nvOpt) : null; }));
138
+ ok('W1 the decision opens in the Viewer with its three choices, none picked (no pick is on record)', JSON.stringify(v) === JSON.stringify(['reshape', 'extend', 'retire']) && await p.evaluate(() => !document.querySelector('#czViewer [data-nv-opt][aria-checked="true"]')), JSON.stringify(v));
139
+ ok('W1 with no pick on record the one primary is Weigh it for me, and nothing says to record on a card in the chat', await p.evaluate(() => { const v = document.querySelector('#czViewer'); return (v.querySelector('.czs-pri') || {}).textContent === 'Weigh it for me' && !/card in the chat/.test(v.textContent); }));
140
+ ok('W1 the chat beside it asks a question and its pills are the choices', await p.evaluate(() => /\?/.test(document.querySelector('#hmLog').textContent) && [...document.querySelectorAll('#hmLog button')].some((b) => /Extend the date/.test(b.textContent)) && !document.querySelector('#hmLog .ut-dec')));
141
+ const btn = () => p.evaluate(() => { const b = document.querySelector('#czViewer [data-nv-rec]'); return { dis: b.disabled, t: b.textContent }; });
142
+ const pick = (k) => p.click(`#czViewer [data-nv-opt="${k}"]`);
143
+ ok('W1 before a choice the record button is off', (await btn()).dis);
142
144
  await pick('extend');
143
- ok('W1 with a choice and no reason it is still off', (await btn()).dis);
144
- await p.fill('#dcWhy', 'ok');
145
+ const b1 = await btn();
146
+ ok('W1 with a choice and no reason it is still off, and it names the choice', b1.dis && /Record: extend the date/.test(b1.t), JSON.stringify(b1));
147
+ await p.fill('#nvWhy', 'ok');
145
148
  ok('W1 a reason under three characters keeps it off', (await btn()).dis);
146
- await p.fill('#dcWhy', 'The partner needs two more weeks');
149
+ await p.fill('#nvWhy', 'The partner needs two more weeks');
147
150
  ok('W1 a choice and a reason turn it on', !(await btn()).dis);
148
- await p.click('#hmLog [data-dc-rec]');
151
+ await p.click('#czViewer [data-nv-rec]');
149
152
  const post = await until(() => A.posts.find((x) => x.path === '/api/briefing-premium/decide'));
150
153
  ok('W6 the press posts the key, the choice and the reason, and no writer field', !!post && post.body.key === key && post.body.choice === 'extend' && post.body.why === 'The partner needs two more weeks' && !('by' in post.body), JSON.stringify(post && post.body));
151
154
  ok('W7 a recorded press says where it was recorded', !!(await until(() => p.evaluate(() => /pm-decisions\.md/.test(document.querySelector('#toast').textContent)))));
152
- /* W3 put off */
155
+ /* W3 put off: the clock press in the Viewer's header */
153
156
  const k2 = 'decision:premium-ux';
154
157
  await p.click(`.hm-r[data-id="n:${k2}"] .hm-rm`);
155
- await until(() => p.evaluate(() => !!document.querySelector('#hmLog [data-dc-later]')));
156
- ok('W3 "Later" is one button on the decision card, and its menu stays shut until pressed', await p.evaluate(() => { const m = document.querySelector('#hmMenu'); return !m || m.hidden; }));
157
- await p.click('#hmLog [data-dc-later]');
158
+ await until(() => p.evaluate(() => !!document.querySelector('#czViewer [data-cz-vw-p="later"]')));
159
+ ok('W3 Put off is one icon in the Viewer\'s header beside Pin (aria-pressed), and its menu stays shut until pressed', await p.evaluate(() => { const m = document.querySelector('#hmMenu'), pin = document.querySelector('#czViewer [data-cz-vw-p="pin"]'); return (!m || m.hidden) && !!pin && pin.getAttribute('aria-pressed') === 'false' && document.querySelector('#czViewer [data-cz-vw-p="later"]').getAttribute('aria-label') === 'Put off'; }));
160
+ await p.click('#czViewer [data-cz-vw-p="later"]');
158
161
  ok('W3 its menu has three live choices', await p.evaluate(() => [...document.querySelectorAll('#hmMenu:not([hidden]) [data-hm-mi] b')].map((b) => b.textContent).join() === 'Later today,Tomorrow,Next week'));
159
162
  await p.locator('#hmMenu [data-hm-mi]').filter({ hasText: 'Tomorrow' }).first().click();
160
163
  ok('W3 "Tomorrow" posts the key and the time', !!(await until(() => A.posts.find((x) => x.path === '/api/briefing-premium/put-off' && x.body.key === k2 && x.body.until === 'tomorrow'))));
@@ -163,14 +166,17 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
163
166
  await p.click(`.hm-r[data-id="n:${k3}"] .hm-rm`).catch(() => {}); // Home A + C: the × shows on the open row only
164
167
  await p.click(`.hm-r[data-id="n:${k3}"] [data-hm-end]`).catch(() => {});
165
168
  ok('W3 the row\'s × puts it off until tomorrow', !!(await until(() => A.posts.find((x) => x.path === '/api/briefing-premium/put-off' && x.body.key === k3))));
166
- /* W8 start */
169
+ /* W8 start (OvA1Start, OvA1After) */
167
170
  const k4 = 'blocked:console-3-boards';
168
171
  await p.click(`.hm-r[data-id="n:${k4}"] .hm-rm`);
169
- await until(() => p.evaluate(() => !!document.querySelector('#czViewer:not([hidden]) [data-hv-start]')));
170
- ok('W8 a blocked row offers Start and says what starting does', await p.evaluate(() => /drafts/.test(document.querySelector('#czViewer').textContent)));
171
- await p.click('[data-hv-start]');
172
+ await until(() => p.evaluate(() => !!document.querySelector('#czViewer:not([hidden]) [data-czs-act="start"]')));
173
+ const s0 = await p.evaluate(() => { const v = document.querySelector('#czViewer'); return { line: (v.querySelector('.czs-line') || {}).textContent || '', offer: (v.querySelector('.nv-offer') || {}).textContent || '', cost: (v.querySelector('.nv-cost') || {}).textContent || '', pri: (v.querySelector('.czs-pri') || {}).textContent || '', own: (v.querySelector('.nv-own') || {}).textContent || '' }; });
174
+ ok('W8 a blocked row says what is missing, offers ✦ what Claude drafts, says what waiting costs, and holds ONE verb', s0.line === 'Blocked: the spec is missing' && /^I can do the spec/.test(s0.offer) && /^If it waits: /.test(s0.cost) && s0.pri === 'Do the spec' && /Yours to unblock · New feature/.test(s0.own), JSON.stringify(s0));
175
+ await p.click('[data-czs-act="start"]');
172
176
  const sp = await until(() => { const l = A.posts.filter((x) => x.path === '/api/agent/start'); return l.length ? l : null; });
173
177
  ok('W8 Start posts one agent start for that row', !!sp && sp.length === 1, JSON.stringify(A.posts.map((x) => [x.path, x.body])));
178
+ const s1 = await until(() => p.evaluate(() => { const v = document.querySelector('#czViewer:not([hidden])'); const l = v && v.querySelector('.czs-line'); return l && /^Doing the spec/.test(l.textContent) ? { stop: !!v.querySelector('[data-czs-act="stop"][aria-label="Stop the agent"]'), chat: !!v.querySelector('[data-czs-act="talk"]'), pri: !!v.querySelector('.czs-pri') } : null; }));
179
+ ok('W8 after Start the same card says what the agent does now, with Stop and its chat and no other verb (OvA1After)', !!s1 && s1.stop && s1.chat && !s1.pri, JSON.stringify(s1));
174
180
  const mint = await T.nonce(BASE);
175
181
  const writes = A.posts.filter((x) => /briefing-premium\/(decide|put-off)|\/api\/agent\/start/.test(x.path));
176
182
  ok('W5 every press carried the launch nonce the server minted', !!mint && writes.length >= 4 && writes.every((x) => x.headers['x-pmos-nonce'] === mint), String(mint).slice(0, 4) + ' ' + writes.length);
@@ -182,9 +188,9 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
182
188
  { const R = await open({ mock: false });
183
189
  await R.page.route('**/api/briefing-premium/decide*', (r) => r.fulfill({ status: 409, contentType: 'application/json', body: JSON.stringify({ ok: false, error: 'This decision is already on record.' }) }));
184
190
  await R.page.click('.hm-r[data-id="n:decision:KC5"] .hm-rm');
185
- await until(() => R.page.evaluate(() => !!document.querySelector('#hmLog [data-dc-opt]')));
186
- await R.page.click('#hmLog [data-dc-opt="retire"]'); await R.page.fill('#dcWhy', 'No longer worth the date'); await R.page.click('#hmLog [data-dc-rec]');
187
- ok('W6 a refused press shows the server reason, keeps the card and keeps the typed reason', !!(await until(() => R.page.evaluate(() => /already on record/.test((document.querySelector('#dcMsg') || {}).textContent || '') && document.querySelector('#dcWhy').value === 'No longer worth the date'))));
191
+ await until(() => R.page.evaluate(() => !!document.querySelector('#czViewer [data-nv-opt]')));
192
+ await R.page.click('#czViewer [data-nv-opt="retire"]'); await R.page.fill('#nvWhy', 'No longer worth the date'); await R.page.click('#czViewer [data-nv-rec]');
193
+ ok('W6 a refused press shows the server reason, keeps the Viewer and keeps the typed reason', !!(await until(() => R.page.evaluate(() => /already on record/.test((document.querySelector('#nvMsg') || {}).textContent || '') && document.querySelector('#nvWhy').value === 'No longer worth the date'))));
188
194
  await R.ctx.close(); }
189
195
 
190
196
  {
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "v": "0.441.0",
4
+ "at": "2026-10-28T10:47:11.081Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1085,
9
+ "t": "Old Viewers on the one pattern, refresh cadence, uncut greeting (feedback batch 18 items 2, 7, 9, 10)",
10
+ "s": "Old Viewers on the one pattern, refresh cadence, uncut greeting (feedback batch 18 items 2, 7, 9, 10)"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.440.0",
16
+ "at": "2026-10-28T10:01:00.680Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 1084,
21
+ "t": "Your day rows open, honest Intelligence drafting, update reloads in place, Live pill clear of the chat (feedback batch 18 items 3–6)",
22
+ "s": "Your day rows open, honest Intelligence drafting, update reloads in place, Live pill clear of the chat (feedback batch 18 items 3–6)"
23
+ }
24
+ ]
25
+ },
2
26
  {
3
27
  "v": "0.439.0",
4
28
  "at": "2026-10-28T08:30:50.008Z",
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Core documents: what each level keeps"
4
4
  description: "The core documents of the portfolio, a board and an initiative, what each state means, how PMOS drafts them on a schedule and when you ask, how you issue a draft, and pmos coredoc write."
5
- timestamp: 2026-10-14
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # Core documents: what each level keeps
@@ -46,7 +46,7 @@ A row that is not started always has a next step:
46
46
  ## How PMOS drafts a document
47
47
 
48
48
  - **When you ask.** Press **Draft it** on a row, or **Ask PMOS to change it** on a draft. PMOS starts one background run at once, even while the schedule is drafting other documents. The run reads the sources of that document and writes one draft. It has no tool that sends, posts or edits.
49
- - **On a schedule.** Every 30 minutes inside your working hours, PMOS drafts each portfolio and board document that has no draft and is due, out of date or not started yet. Due documents go first, then out-of-date ones, then the first draft of documents not started. While their sources do not exist, it also proposes the OKRs, the decision log, kill conditions and market and user context. There is no limit on how many documents are drafted. PMOS drafts them in one run per level: one run for the portfolio and one for each board. Each run reads the sources once and writes each draft with its own command, so the drafts of one level are written from the same reading. If a run writes some of its drafts, the rest are tried on the next tick. If a run writes none, it ends as failed: the refresh log gives the reason, Needs you tells you, and PMOS does not try those documents again until the next day. If you drop a draft, PMOS does not draft that document again until the next day. The product strategy is proposed when it is not started or its quarterly review is due.
49
+ - **On a schedule.** At night (01:00 to 05:00), or after you have been away from PMOS for 30 minutes, PMOS drafts each portfolio and board document that has no draft and is due, out of date or not started yet. Due documents go first, then out-of-date ones, then the first draft of documents not started. While their sources do not exist, it also proposes the OKRs, the decision log, kill conditions and market and user context. There is no limit on how many documents are drafted. PMOS drafts them in one run per level: one run for the portfolio and one for each board. Each run reads the sources once and writes each draft with its own command, so the drafts of one level are written from the same reading. If a run writes some of its drafts, the rest are tried on the next tick. If a run writes none, it ends as failed: the refresh log gives the reason, Needs you tells you, and PMOS does not try those documents again until the next day. If you drop a draft, PMOS does not draft that document again until the next day. The product strategy is proposed when it is not started or its quarterly review is due.
50
50
  - **The Initiative Driver.** When the current stage of an initiative needs a document that is not there or is stale, the driver drafts it and files a proposal. **Keep** issues the draft. The driver does not propose a stage move while a document of the current stage is due.
51
51
 
52
52
  ## Issue a draft
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  type: Guide
3
3
  title: "Data freshness: how the workspace keeps up to date, and how old each source is"
4
- timestamp: 2026-10-27
4
+ timestamp: 2026-10-28
5
5
  ---
6
6
 
7
7
  # Data freshness
@@ -23,11 +23,11 @@ The workspace holds no password or token, and it never calls these services. An
23
23
 
24
24
  | Source | Skill | Default schedule | Shown as old after |
25
25
  |---|---|---|---|
26
- | Calendar | calendar-sync | 06:30 and 12:30 every day | 8 hours |
27
- | Jira status | jira-sync | 06:30 every day | 26 hours |
28
- | My work | my-work-read | when you press Refresh | 26 hours |
26
+ | Calendar | calendar-sync | every 30 minutes in working hours | 8 hours |
27
+ | Jira status | jira-sync | every hour in working hours | 26 hours |
28
+ | My work | my-work-read | every hour in working hours | 26 hours |
29
29
  | Tracker items | tracker-refresh | Friday 15:30 | 8 days |
30
- | Your tools | sources-read | before the morning briefing, and when you press Refresh | 8 hours |
30
+ | Your tools | sources-read | every hour in working hours, before the morning briefing, and when you press Refresh | 8 hours |
31
31
 
32
32
  The calendar-sync skill reads today and the next 14 days, read-only, and saves the events with this command:
33
33
 
@@ -105,6 +105,8 @@ A refresh waits for the sources it uses. The briefing waits for work assigned to
105
105
  - **Tell me**: a failed scheduled refresh adds one item to Needs you on the Briefing.
106
106
  - **Runs at once**: at most this many scheduled refreshes run together. A refresh you press is never held.
107
107
  - No scheduled refresh starts in your quiet hours; the background jobs keep to the day check's working hours.
108
+ - **Deep work runs at night or when you step away.** Your impact, metric drafts and reads, Claude's morning checks of initiatives, and core document drafts run between 01:00 and 05:00. If PMOS was not running then, they run when you have not pressed anything or typed in a terminal for 30 minutes. Quiet hours hold them too. Each one still runs at most once a day.
109
+ - A schedule you never changed moves to the new default once (quick reads every 30 or 60 minutes in working hours). A schedule you picked stays as it is.
108
110
  - **One server runs the schedules.** When several PMOS servers run on one computer (for example an npm install and a checkout), only one of them runs the schedules and starts background runs; the others serve pages only. If that server stops, another one takes over within 3 minutes. A refresh you press runs on the server where you press it.
109
111
  - **Quiet start**: a server starts no background run in its first 5 minutes, so the first pages load quickly. A missed refresh catches up after that.
110
112
 
@@ -13,10 +13,12 @@ Home, the Board, Insights and the Viewer use one type scale: 11, 12, 14, 16, 20
13
13
 
14
14
  ## The list
15
15
 
16
- - The top line has **Good morning**, the product picker, the filter icon (on a desktop) and **New**. The line under it says how many items are yours, for example "4 are yours".
16
+ - The top line has **Good morning**, the product picker, the filter icon (on a desktop) and **New**. When the list is narrow, the icons move to a second line, so the greeting is never cut. The line under it says how many items are yours, for example "4 are yours".
17
17
  - Press **Good morning** to open **Your day** in the Viewer. This is the same on a computer and on a phone. To open the calendar, press the calendar icon in Your day's header. A program's milestone changes that wait on you are the first line of the program's card.
18
18
  - A blue dot after **Good morning** means that something is new for you. It is in the **New for you** fold of Your day.
19
19
  - Your day shows the date, the meetings of the day, **Your move** (the items that wait on you, with their count), **New for you**, and **This week** (the Weekly review).
20
+ - **Drafted for you** lists what Claude drafted today and the weekly update. Press a row to open it: a finished draft opens what Claude wrote, and the weekly update opens the update.
21
+ - Your day does not show the meeting on now or the next meeting. Home's meeting line shows them. On a phone, the **Now** card does not show while a meeting is in progress.
20
22
  - When a conversation in Mentions waits on your answer, Your day names the oldest one under its first line: who asked, where, how many more wait, and what they asked. Press its icon to open that conversation in Mentions.
21
23
  - **New for you** shows only when something is new: tasks given to you, and work that finished while you were away. It shows the 3 newest items, then **N more**. Press an item to open it in the Viewer. Press **N more** to see all of them. Press ✓✓ in the fold's header to mark all of them seen. An item leaves when you open it or mark it seen. Mentions are not here: **Mentions** shows each one once.
22
24
  - After 17:00, Your day is the end of the day. It shows what moved today, then a **Tomorrow** fold with tomorrow's meetings. When tomorrow has no meetings, there is no Tomorrow fold.
@@ -151,6 +153,7 @@ Press the round button at the bottom of the page (bottom left on a desktop, bott
151
153
  - The button has a blue dot when something is new for you, and an amber dot when a source is old. The dots show on every page. When the menu is open, the blue dot is on **Home** (New for you is in Your day) and the amber dot is on **Settings**.
152
154
  - When a source is old, **Settings** opens at **Connectors**, with the old source first.
153
155
  - A screen reader reads both dots in the button's name, for example "Open the menu. 3 new for you. Jira 3 hours old".
156
+ - On Home on a computer, the **Live pill** (the running sessions and a recording) is above the menu button, so it does not cover the chat's **+**.
154
157
  - There is no **More** menu. The end of the day is Your day after 17:00. The calendar is the icon in Your day's header. To record a note, press **+** at the top of the list, then **Recording**.
155
158
 
156
159
  ## The list, and what it does not show
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "The Horizon scan: reports and proposals for the whole portfolio"
4
4
  description: "What the portfolio Horizon scan does, its settings and schedule, Scan now and its limits, the report documents, the proposals you approve, what it can and cannot do, and the pmos scan commands."
5
- timestamp: 2026-10-13
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # The Horizon scan: reports and proposals for the whole portfolio
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Settings in console3: one home for each setting"
4
4
  description: "How to open Settings in console3, what each section holds, what the scope tags and the environment notes mean, and where the settings are kept."
5
- timestamp: 2026-10-12
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # Settings in console3: one home for each setting
@@ -59,7 +59,7 @@ Some rows show a feature that PMOS does not have yet, such as choosing calendars
59
59
 
60
60
  Open **Updates** and press **Check now**. PMOS asks the npm registry for the latest version only when you press it.
61
61
 
62
- - **Update to** a version on the **PMOS app** row updates the app. The row asks first: press **Restart and update**, or **Cancel**. PMOS stops, installs the new version, and starts again. Open terminals keep running. The page reloads when the new version starts. If the update is refused, or PMOS starts again on the old version, or PMOS does not come back, the row says so and names the update log.
62
+ - **Update to** a version on the **PMOS app** row updates the app. The row asks first: press **Restart and update**, or **Cancel**. PMOS stops, installs the new version, and starts again. Open terminals keep running. The page that you are on reloads when the new version starts. PMOS does not open a new tab. If the update is refused, or PMOS starts again on the old version, or PMOS does not come back, the row says so and names the update log.
63
63
  - When PMOS runs from a PMOS checkout, the row says to update it with `git pull`. There is no Update button.
64
64
  - **Update** on a workspace row updates the kit in that repository. It replaces the kit files in its `pmos/` folder (AGENTS.md, skills, scripts, templates, `okf/core`, the mod and KIT-VERSION). It does not change `state/`, `planning/` or `okf/product/`, and it does not commit. Review the change in the repository as a normal pull request.
65
65
 
@@ -6,6 +6,7 @@
6
6
  * readProposals(available) → [{ p, ws, product, targetTitle }] the open proposals the Agent proposals dialog shows
7
7
  * readSeen(runtimeDir) · appendSeen(runtimeDir, { ids } | { all: true }, now)
8
8
  * split(model, goals) → the Briefing model with its agent and goal rows moved to model.agent (N6)
9
+ * overlapOf(p) → an agent's possible-overlap proposal as data, or null (batch 18 item 2b)
9
10
  *
10
11
  * An item is one open Driver proposal (a board in Approve mode only, as the dialog reads it), one goal row of goal-chat, or one My work item
11
12
  * whose agent has a draft ready or stopped (PM, 2026-10-20: the Work queue has no Agents tab, so these wait here). Every word
@@ -18,7 +19,7 @@ const SEEN = 'inbox-seen.jsonl';
18
19
  const MAX_NEW = 30;
19
20
  const clip = (s, n) => { s = String(s == null ? '' : s).replace(/\s+/g, ' ').trim(); return s.length > n ? s.slice(0, n - 1).trimEnd() + '…' : s; };
20
21
  const plural = (n, one, many) => `${n} ${n === 1 ? one : many}`;
21
- const WHAT = { problem: 'Problem statement', evidence: 'Evidence', sizing: 'Opportunity sizing', assumption: 'Riskiest assumption', stakeholders: 'Stakeholders', move: 'Move', note: 'Note', 'next-step': 'Next step', 'follow-up': 'Follow-up', doc: 'Document draft' };
22
+ const WHAT = { problem: 'Problem statement', evidence: 'Evidence', sizing: 'Opportunity sizing', assumption: 'Riskiest assumption', stakeholders: 'Stakeholders', move: 'Move', note: 'Note', 'next-step': 'Next step', 'follow-up': 'Follow-up', doc: 'Document draft', overlap: 'Possible overlap' };
22
23
  const WORK_KIND = { ready: 'work-draft', failed: 'work-stopped' };
23
24
  const GOAL_KIND = { waiting: 'goal-waiting', done: 'goal-done', stopped: 'goal-stopped' };
24
25
 
@@ -28,6 +29,22 @@ function draftsRowKey(ws, target) {
28
29
  return Drafts.keyOf(ws, 'driver-needs:drafts:' + D.targetKey(target));
29
30
  }
30
31
 
32
+ /** An agent's possible-overlap proposal (batch 18 item 2b) → { with, parts?, of?, items?, sure?, sureWhy?, first?, firstWhy?, text? } | null. Pure.
33
+ * An `overlap` proposal carries it as data. An older `note` that says "Possible overlap with the open initiative <id>" gives what its words
34
+ * say: the other initiative, and the order when it says "placed after this one" or "placed before this one". Nothing else is guessed. */
35
+ const OVERLAP_RE = /possible overlap with (?:the )?(?:open )?(?:initiative )?[`"']?([A-Za-z0-9][A-Za-z0-9._-]{0,79})/i;
36
+ const SURE_OF = (c) => (typeof c !== 'number' ? null : c >= 0.75 ? 'high' : c >= 0.45 ? 'medium' : 'low');
37
+ function overlapOf(p) {
38
+ if (!p || !p.target || p.target.kind !== 'initiative') return null;
39
+ const d = p.data || {};
40
+ const sure = SURE_OF(p.facts && p.facts.confidence);
41
+ if (p.what === 'overlap' && typeof d.with === 'string') return { ...d, ...(d.sure || !sure ? {} : { sure }) };
42
+ if (p.what !== 'note' || typeof d.text !== 'string') return null;
43
+ const m = OVERLAP_RE.exec(d.text); if (!m || m[1] === p.target.id) return null;
44
+ const first = /placed after this one/i.test(d.text) ? 'this' : /placed before this one/i.test(d.text) ? 'other' : null;
45
+ return { with: m[1].replace(/[.,;:]+$/, ''), ...(first ? { first } : {}), ...(sure ? { sure } : {}) };
46
+ }
47
+
31
48
  function proposalTitle(p) {
32
49
  const word = p.what === 'move' && p.data && p.data.to ? 'Move to ' + p.data.to : WHAT[p.what] || p.what || 'Proposal';
33
50
  const text = p.data && typeof p.data.text === 'string' ? p.data.text : '';
@@ -61,6 +78,7 @@ function build({ proposals = [], goals = [], work = [], seen = { all: 0, ids: ne
61
78
  id: 'prop:' + x.ws + ':' + p.id, kind: p.what === 'doc' ? 'draft' : 'proposal', title: proposalTitle(p), at: Number.isFinite(at) ? at : null,
62
79
  ws: x.ws, product: x.product || '', target,
63
80
  open: 'prop:' + p.id, pws: x.ws, session: draftsRowKey(x.ws, t),
81
+ ...(() => { const o = overlapOf(p); return o ? { pid: p.id, why: p.why || '', overlap: o } : {}; })(),
64
82
  });
65
83
  }
66
84
  for (const g of goals) {
@@ -155,4 +173,4 @@ function split(model, goals = []) {
155
173
  };
156
174
  }
157
175
 
158
- module.exports = { build, workOf, readProposals, readSeen, appendSeen, badSeen, split, draftsRowKey, SEEN, MAX_NEW };
176
+ module.exports = { build, workOf, readProposals, readSeen, appendSeen, badSeen, split, draftsRowKey, overlapOf, SEEN, MAX_NEW };
@@ -45,8 +45,11 @@ function itemRow(x, ask, brief, products) {
45
45
  ['Confidence', typeof x.confidence === 'number' ? Math.round(x.confidence * 100) + '%' + (ask ? ', below the bar: ask before acting' : '') : ''], ['Effort', EFFORT_WORD[x.effort] || ''],
46
46
  ['Reply needed', typeof x.reply_needed === 'boolean' ? (x.reply_needed ? 'Yes' : 'No') : ''], ['Initiative', hit ? hit.name + ' · ' + x.initiative_id : ''], ['Due', text(x.due, 40)]].filter((f) => f[1]);
47
47
  const why = text(x.why_now, 240);
48
+ // the brief says it could not reach this source this morning: the Viewer says why and offers the sign-in (OvA12Edges)
49
+ const st = brief.sources && typeof brief.sources === 'object' ? brief.sources[x.source] : null;
48
50
  return {
49
51
  kind: 'source', key: 'src:' + x.id, title: text(x.title, 140),
52
+ ...(st === 'not-reached' ? { unread: { source: src, date: brief.date } } : {}),
50
53
  subject: [src, text(x.who, 120), x.mention ? 'mentions you' : '', ask ? 'worth asking' : ''].filter(Boolean).join(' · '),
51
54
  prepared: verb && todo ? verb + ': ' + todo : todo || verb || 'No prepared line is on record.',
52
55
  skip: why ? 'Why now: ' + why : 'No reason is on record.',