create-pmos 0.540.0 → 0.542.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 (117) hide show
  1. package/package.json +33 -39
  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/README.md +1 -1
  7. package/workspace/adler-moments-test.js +4 -8
  8. package/workspace/briefing-premium-board-test.js +1 -1
  9. package/workspace/briefing-premium-initiative-test.js +1 -1
  10. package/workspace/briefing-premium-sources-test.js +3 -3
  11. package/workspace/briefing-premium-test.js +2 -4
  12. package/workspace/changelog.json +32 -0
  13. package/workspace/ev-everywhere-test.js +3 -3
  14. package/workspace/fixtures/doc-category-labelled.json +1 -1
  15. package/workspace/guide/agent-capabilities.md +236 -28
  16. package/workspace/guide/breakdown.md +5 -20
  17. package/workspace/guide/claude-proposes.md +269 -37
  18. package/workspace/guide/cli.md +603 -0
  19. package/workspace/guide/home.md +182 -21
  20. package/workspace/guide/index.md +23 -59
  21. package/workspace/guide/initiatives-and-next-steps.md +235 -5
  22. package/workspace/guide/intelligence-okr-goals.md +122 -5
  23. package/workspace/guide/jira.md +2 -15
  24. package/workspace/guide/knowledge-graph.md +143 -18
  25. package/workspace/guide/layout.md +209 -4
  26. package/workspace/guide/notes.md +74 -6
  27. package/workspace/guide/proactive-engine.md +3 -14
  28. package/workspace/guide/programs.md +199 -4
  29. package/workspace/guide/reports.md +405 -41
  30. package/workspace/guide/scheduled-tasks-and-cli.md +6 -28
  31. package/workspace/guide/settings-and-switches.md +397 -0
  32. package/workspace/guide/statuses.md +141 -4
  33. package/workspace/home-rows-test.js +19 -24
  34. package/workspace/lib/briefing-premium-agent.js +7 -2
  35. package/workspace/lib/cos-chat.js +75 -0
  36. package/workspace/lib/done-feed.js +33 -0
  37. package/workspace/lib/grill-runs.js +1 -1
  38. package/workspace/lib/headless.js +29 -2
  39. package/workspace/lib/loop-health.js +65 -0
  40. package/workspace/lib/pmos-verbs.js +41 -40
  41. package/workspace/lib/proposal-runs.js +1 -1
  42. package/workspace/lib/proposals.js +44 -9
  43. package/workspace/lib/routes-sources.js +2 -0
  44. package/workspace/lib/routes-your-move.js +25 -4
  45. package/workspace/lib/verify-runs.js +22 -1
  46. package/workspace/lib/verify-work-cli.js +1 -1
  47. package/workspace/package-lock.json +2 -2
  48. package/workspace/package.json +1 -1
  49. package/workspace/public/pm/batch-press.js +184 -0
  50. package/workspace/public/pm/bd-fc-card.js +2 -1
  51. package/workspace/public/pm/bd-next.js +2 -1
  52. package/workspace/public/pm/chat-src.js +18 -0
  53. package/workspace/public/pm/cozy-home.css +4 -0
  54. package/workspace/public/pm/cozy-lab-ins.js +17 -1
  55. package/workspace/public/pm/cozy-nav.js +22 -21
  56. package/workspace/public/pm/cozy-search.js +18 -9
  57. package/workspace/public/pm/cozy-today.css +7 -0
  58. package/workspace/public/pm/cozy-viewer.js +1 -1
  59. package/workspace/public/pm/goal-chat.js +1 -1
  60. package/workspace/public/pm/good-morning.js +1 -1
  61. package/workspace/public/pm/home-app.js +65 -14
  62. package/workspace/public/pm/home-chat.js +8 -4
  63. package/workspace/public/pm/home-day.js +46 -14
  64. package/workspace/public/pm/home-today.js +5 -4
  65. package/workspace/public/pm/ini-props.js +7 -2
  66. package/workspace/public/pm/ini-view.css +14 -0
  67. package/workspace/public/pm/move-rank.js +67 -9
  68. package/workspace/public/pm/outbox-view.js +35 -0
  69. package/workspace/public/pm/page-chat.css +2 -0
  70. package/workspace/public/pm/page-chat.js +33 -5
  71. package/workspace/replaced-tests.json +19 -1
  72. package/workspace/run-tests.js +23 -4
  73. package/workspace/server.js +2 -1
  74. package/workspace/task-links-test.js +6 -2
  75. package/workspace/test-lists/chief-of-staff-chat.json +9 -0
  76. package/workspace/guide/adler.md +0 -71
  77. package/workspace/guide/agents-act.md +0 -68
  78. package/workspace/guide/ask-the-past.md +0 -46
  79. package/workspace/guide/board.md +0 -58
  80. package/workspace/guide/briefing-premium.md +0 -14
  81. package/workspace/guide/console-calendar.md +0 -24
  82. package/workspace/guide/core-documents.md +0 -58
  83. package/workspace/guide/data-freshness.md +0 -164
  84. package/workspace/guide/descriptions.md +0 -43
  85. package/workspace/guide/docs.md +0 -39
  86. package/workspace/guide/forecast.md +0 -66
  87. package/workspace/guide/horizon-scan.md +0 -82
  88. package/workspace/guide/idle-lab.md +0 -46
  89. package/workspace/guide/initiative-driver.md +0 -102
  90. package/workspace/guide/initiatives-roadmap.md +0 -131
  91. package/workspace/guide/integrated-work.md +0 -93
  92. package/workspace/guide/launcher.md +0 -39
  93. package/workspace/guide/lifecycle.md +0 -64
  94. package/workspace/guide/metric-drafts.md +0 -75
  95. package/workspace/guide/moments.md +0 -43
  96. package/workspace/guide/my-work.md +0 -40
  97. package/workspace/guide/next-prompt.md +0 -64
  98. package/workspace/guide/outcomes.md +0 -39
  99. package/workspace/guide/people.md +0 -48
  100. package/workspace/guide/pm-only-acts.md +0 -88
  101. package/workspace/guide/pm-only-lines.md +0 -61
  102. package/workspace/guide/present-in-a-meeting.md +0 -57
  103. package/workspace/guide/published-board.md +0 -116
  104. package/workspace/guide/ready-made-dashboards.md +0 -62
  105. package/workspace/guide/rehearse.md +0 -52
  106. package/workspace/guide/report-design.md +0 -126
  107. package/workspace/guide/report-slides.md +0 -43
  108. package/workspace/guide/report-structure.md +0 -91
  109. package/workspace/guide/reports-needs-you.md +0 -34
  110. package/workspace/guide/reports-set-up.md +0 -68
  111. package/workspace/guide/settings.md +0 -67
  112. package/workspace/guide/today.md +0 -44
  113. package/workspace/guide/validate-with-typesafe.md +0 -144
  114. package/workspace/guide/welcome.md +0 -90
  115. package/workspace/guide/what-you-missed.md +0 -42
  116. package/workspace/guide/workflows.md +0 -107
  117. package/workspace/guide/your-impact.md +0 -57
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.540.0",
3
+ "version": "0.542.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,38 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.542.0",
37
+ "at": "2026-11-08T06:18:15.279Z",
38
+ "f": 4,
39
+ "prs": [
40
+ {
41
+ "n": 1265,
42
+ "t": "Chief-of-staff chat — one chat, Your move as the only inbox, Done with Undo (C1–C6)",
43
+ "s": "Your move is the one inbox, at most 5 asks with the rest under Can wait, and one chat opens from any page and says where each answer came from.",
44
+ "k": "new"
45
+ },
46
+ {
47
+ "n": 1270,
48
+ "t": "Curated memory in every background run, lessons across initiatives, the loop on the health line",
49
+ "s": "Curated memory in every background run, lessons across initiatives, the loop on the health line",
50
+ "k": "new"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "v": "0.541.0",
56
+ "at": "2026-11-08T05:40:26.472Z",
57
+ "f": 4,
58
+ "prs": [
59
+ {
60
+ "n": 1269,
61
+ "t": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
62
+ "s": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
63
+ "k": "x"
64
+ }
65
+ ]
66
+ },
35
67
  {
36
68
  "v": "0.540.0",
37
69
  "at": "2026-11-08T04:40:52.541Z",
@@ -421,44 +453,6 @@
421
453
  "k": "fix"
422
454
  }
423
455
  ]
424
- },
425
- {
426
- "v": "0.522.0",
427
- "at": "2026-11-04T07:22:01.639Z",
428
- "f": 4,
429
- "prs": [
430
- {
431
- "n": 1218,
432
- "t": "The in-app update on Windows is fast and opens no console window",
433
- "s": "The in-app update on Windows is fast and opens no console window",
434
- "k": "fix"
435
- },
436
- {
437
- "n": 1219,
438
- "t": "Chat keeps its answers when the terminal opens; terminal fills the Viewer",
439
- "s": "Chat keeps its answers when the terminal opens; terminal fills the Viewer",
440
- "k": "fix"
441
- },
442
- {
443
- "n": 1220,
444
- "t": "Share several products or programs in one link, and a way back to PMOS",
445
- "s": "Share several products or programs in one link, and a way back to PMOS",
446
- "k": "new"
447
- }
448
- ]
449
- },
450
- {
451
- "v": "0.521.0",
452
- "at": "2026-11-04T02:17:43.880Z",
453
- "f": 4,
454
- "prs": [
455
- {
456
- "n": 1217,
457
- "t": "Sharper prompt keeps to the composer column and starts lean",
458
- "s": "Sharper prompt keeps to the composer column and starts lean",
459
- "k": "fix"
460
- }
461
- ]
462
456
  }
463
457
  ]
464
458
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@3c62d99b
1
+ kernel-source: pmos@4d5d47ec
2
2
  assembled: 2026-11-08
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-11-08T04:40:50Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-08T06:18:12Z"}
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-11-08T04:40:50Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-08T06:18:12Z"}
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-11-08T04:40:50Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-08T06:18:12Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -33,7 +33,7 @@ pmos status # is it running? which sessions?
33
33
  pmos stop # shut it down (scrollback is preserved; sessions respawn next time)
34
34
  pmos doctor # diagnose the environment (node-pty arch, PTY spawn test, ports)
35
35
  ```
36
- **Without a terminal.** Mac and Windows setup creates a launcher and login item automatically. Windows gets a Start menu shortcut. To repair or change a launcher, `pmos launcher on` writes a PMOS app — `~/Applications/PMOS.app` on macOS, an app-menu entry on Linux — and a login item that starts the server at login without opening a browser. Both run `pmos up <repo>` with the PATH your terminal had at setup. `pmos launcher status` checks it, `pmos launcher off` removes it. Guide: [`guide/launcher.md`](guide/launcher.md).
36
+ **Without a terminal.** Mac and Windows setup creates a launcher and login item automatically. Windows gets a Start menu shortcut. To repair or change a launcher, `pmos launcher on` writes a PMOS app — `~/Applications/PMOS.app` on macOS, an app-menu entry on Linux — and a login item that starts the server at login without opening a browser. Both run `pmos up <repo>` with the PATH your terminal had at setup. `pmos launcher status` checks it, `pmos launcher off` removes it. Guide: [`guide/layout.md`](guide/layout.md).
37
37
 
38
38
  **The port is found, not assumed.** A running server records the port it serves, so `pmos` in a second repo joins the workspace you already have open — whatever port it ended up on, and however it was started. If another program holds the default port (7433), `pmos` starts on the next free one and says so; `PMOS_WS_PORT=7500 pmos` pins it by hand. `pmos stop` shuts down every workspace server it finds, which is how you collapse two back into one.
39
39
 
@@ -3,7 +3,7 @@
3
3
  /* adler-moments-test.js — Adler on the phone and in Settings, in the real pages (feedback batch 17 item 4-B; canvas AdP2, AdP5, AdP6, AdM4).
4
4
  * The real Home from the real server, at 390 px with touch; the board and briefing are the fixtures, and GET /api/sources is stubbed with
5
5
  * Jira failed. POST /api/sources/refresh is recorded.
6
- * E1 the ears peek over the menu button while a call is the PM's, and the button's name says it; the menu open, no ears
6
+ * E1 no ears over the menu button (chief-of-staff delete list); the button's name says a call is the PM's
7
7
  * F1 Your day (Good morning) says "Jira isn't answering." in one quiet line with its read-again icon; no rain cloud
8
8
  * F2 its icon reads Jira again (POST /api/sources/refresh with source jira)
9
9
  * P1 a pull from the top of Your day lets Adler peek up, says it reads again, and reads Home again
@@ -78,15 +78,11 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
78
78
  await page.goto(BASE + '/premium.html');
79
79
  await until(() => page.evaluate(() => !!document.querySelector('#hmList [data-hm-day]')), 30000);
80
80
 
81
- /* E1 — one call made the PM's, so the ears are tested on what the page hears (Home sends cz:calls from Your move) */
81
+ /* E1 — chief-of-staff (UI grill delete list): no ears over the menu button; the one dot says a call is the PM's, and the name says it */
82
82
  await page.evaluate(() => document.dispatchEvent(new CustomEvent('cz:calls', { detail: { count: 1 } })));
83
- const ears = await until(() => page.evaluate(() => { const e = document.getElementById('czEars'), f = document.getElementById('czFab'); if (!e || e.hidden || !e.querySelector('.ad-peek')) return null; const a = e.getBoundingClientRect(), b = f.getBoundingClientRect(); return { label: f.getAttribute('aria-label'), above: a.bottom > b.top && a.top < b.top, w: a.width }; }));
84
- ok('E1 the ears peek over the menu button, and the button\'s name says one call is yours', ears && ears.above && /One call is yours$/.test(ears.label), JSON.stringify(ears));
83
+ const ears = await until(() => page.evaluate(() => { const f = document.getElementById('czFab'); return f && /One call is yours/.test(f.getAttribute('aria-label') || '') ? { ears: !!document.querySelector('#czEars .ad-peek'), label: f.getAttribute('aria-label') } : null; }));
84
+ ok('E1 no ears over the menu button; its name says one call is yours', !!ears && !ears.ears, JSON.stringify(ears));
85
85
  await shot(page, 'ears');
86
- await page.click('#czFab');
87
- const gone = await until(() => page.evaluate(() => document.getElementById('czEars').hidden));
88
- ok('E1 the menu open: no ears', gone);
89
- await page.click('#czFab');
90
86
 
91
87
  /* F1-F2 */
92
88
  await page.click('#hmList [data-hm-day]');
@@ -156,7 +156,7 @@ const IVREAD = () => {
156
156
  const tr = await p.evaluate(() => ({ heads: [...document.querySelectorAll('.bt-h .bt-cells > div')].map((d) => (d.classList.contains('msh') && d.querySelector('.cz-ms') ? '◆ ' : '') + d.textContent.replace(/\s+/g, ' ').trim()), rows: [...document.querySelectorAll('#ibBody .bt-l')].map((r) => ({ t: r.querySelector('.bt-nm b').textContent, cur: [...r.querySelectorAll('.bt-cells > div')].findIndex((c) => c.classList.contains('c')), nx: ((r.querySelector('.bt-dl .bd-nx .tx') || {}).textContent || ''), cnt: ((r.querySelector('.bt-dl .bd-nx .mu') || {}).textContent || ''), act: ((r.querySelector('.bt-dl .bd-nxa') || { getAttribute: () => '' }).getAttribute('aria-label') || ''), you: !!r.querySelector('.bt-dl .bd-nx .cz-dot.you'), st: r.querySelector('.cs').textContent, days: (r.querySelector('.sc.c small') || {}).textContent, dt: (r.querySelector('.sc.c') || {}).title })), pressed: document.querySelector('#bdViewMenu [aria-pressed="true"]').dataset.pv, n: document.querySelector('.bt-nmh').textContent.replace(/\s+/g, ' ').trim(), oh: document.querySelector('.bt-oh').textContent, lg: !!document.querySelector('.bt-oh .lg, #ibBody .seg5'), tf: document.querySelector('.bt-tf').textContent }));
157
157
  ok('B1 the default view is the stage track with six stages and two milestones, each with the board\'s count (old names count for the new ones); a step with none says no 0 (UI grill U2)', tr.pressed === 'track' && tr.heads.join('|') === 'Triage|Discover1|Plan1|Prioritize|Build2|◆ Deliver1|Monitor1|◆ Evaluate21', JSON.stringify(tr.heads));
158
158
  ok('B1 one row per initiative, sorted by stage, with its current step marked; the head counts the open initiatives', tr.rows.length === 7 && tr.rows.map((r) => r.cur).join() === '1,2,4,4,5,6,7' && tr.rows[0].t === 'Usage-based billing' && tr.n === 'Initiative 9', JSON.stringify(tr.rows.map((r) => r.t + ':' + r.cur)));
159
- ok('B1 the Next column says what finishes the step next, with its count; the initiative\'s whole progress is never the step\'s, and a part not on record draws nothing', tr.oh === 'Next' && tr.rows[0].nx === '' && tr.rows[1].nx === 'Draft the tickets' && tr.rows[1].cnt === '1/2 parts' && tr.rows.every((r) => !/%/.test(r.cnt)) && tr.rows[3].nx === 'Link the Jira epic' && tr.rows[3].act === 'Link the Jira epic' && tr.rows[6].nx === 'Draft the outcome report' && tr.rows[6].act === 'Draft the outcome report with Claude', JSON.stringify(tr.rows.map((r) => [r.nx, r.cnt, r.act])));
159
+ ok('B1 the Next column says what finishes the step next, with its count; the initiative\'s whole progress is never the step\'s, and a part not on record draws nothing; a draft step has no "with Claude" link (chief-of-staff: Claude drafts it by itself)', tr.oh === 'Next' && tr.rows[0].nx === '' && tr.rows[1].nx === 'Draft the tickets' && tr.rows[1].cnt === '1/2 parts' && tr.rows.every((r) => !/%/.test(r.cnt)) && tr.rows[3].nx === 'Link the Jira epic' && tr.rows[3].act === 'Link the Jira epic' && tr.rows[6].nx === 'Draft the outcome report' && tr.rows[6].act === '', JSON.stringify(tr.rows.map((r) => [r.nx, r.cnt, r.act])));
160
160
  ok('B1 the status line says late in days over and at risk with no owner', tr.rows.some((r) => /^\d+ days over$/.test(r.st)) && tr.rows[0].st === 'At risk · no owner', JSON.stringify(tr.rows.map((r) => r.st)));
161
161
  ok('B1 days in a step are not on record, so the current step shows a dash and says so; nothing is invented', tr.rows.every((r) => (r.days === '—' || /Deliver/.test(r.dt)) && /days in this step are not on record/.test(r.dt)), JSON.stringify(tr.rows.map((r) => r.days + ':' + r.dt)));
162
162
  // PgBoard: a committed date (the planned end) shows under the Deliver milestone; at the milestone itself it replaces the days count
@@ -125,7 +125,7 @@ const WRITES = /^\/api\/(?:boards\/(?:move|tasks\/(?:add|state))|lifecycle|core-
125
125
  await p.click('#hmList [data-hm-prodopen]');
126
126
  ok('I1 a product heading\'s name opens the product\'s one page in the Viewer with its goals and its Reports tab, and its own chat (HbCProduct, batch 21 item 2)', await until(() => p.evaluate(() => { const v = document.querySelector('#czViewer:not([hidden])'); return !!v && /Product/.test((v.querySelector('.cz-vw-kind') || {}).textContent || '') && !!v.querySelector('section.hi-pg[aria-label="Goals"]') && !!v.querySelector('[data-pv="tab"][data-k="reports"]') && /^Message Claude about /.test(document.querySelector('#hmIn').placeholder) && !!document.querySelector('#hmList .hv-prg.sel [data-hm-prodopen]'); })));
127
127
  await p.click('#czFab'); await p.click('#czMenu a[aria-current="page"]');
128
- ok('I1 Menu > Home closes the page and clears the selection, without a reload', await until(() => p.evaluate(() => window.__noReload === 1 && !document.querySelector('#czViewer:not([hidden])') && !document.querySelector('#hmList .sel, #hmList [aria-current="true"]') && /^Message Claude$/.test(document.querySelector('#hmIn').placeholder))));
128
+ ok('I1 Menu > Home closes the page and clears the selection, without a reload', await until(() => p.evaluate(() => window.__noReload === 1 && !document.querySelector('#czViewer:not([hidden])') && !document.querySelector('#hmList .sel, #hmList [aria-current="true"]') && /^Ask or tell PMOS anything$/.test(document.querySelector('#hmIn').placeholder)))); // chief-of-staff C1: Home's own chat
129
129
  await p.goto(BASE + '/premium.html?ini=self-serve-v2&ws=w1&board=w1&theme=light'); await ready(p);
130
130
 
131
131
  /* I3 header and the ONE view (batch 6 items 1 and 3: the Board's panel draws the same; stage-card-test.js holds the stage card's behaviour) */
@@ -120,9 +120,9 @@ const sh = (cwd, args) => spawnSync('git', args, { cwd, encoding: 'utf8' });
120
120
  ok('S2 the first row is its title, with the product, the source and sender · the verb and the prepared line as its detail', rows[0] && rows[0].title === 'Confirm the Thursday review' && rows[0].line2 === 'Across products · Mail · Anna Lee · Reply: Confirm Thursday', JSON.stringify(rows[0]));
121
121
  ok('S2 a row with a verb and no prepared line shows the verb alone', rows[1] && /Confluence · Budi Santoso · Sign off$/.test(rows[1].line2), JSON.stringify(rows[1]));
122
122
  // premium-uncovered-features (canvas HmMyWork): no Needs you group; the greeting counts the next steps that are yours, the source rows among them
123
- const needN = await page.textContent('#hmList .hv-sub'), allRows = await page.$$eval('#hmList .hm-r[data-id^="n:"]', (els) => els.length);
124
- const gn = /(\d+) (?:is|are) yours/.exec(needN || ''); // "N are yours" (HvAC)
125
- ok('S6 Home counts the rows: the four source rows are among the next steps, and the greeting counts them all', rows.length === 4 && !!gn && +gn[1] >= allRows && allRows >= 4, needN + ' / ' + allRows);
123
+ // chief-of-staff delete list: no "N are yours" line; the source rows are still among the next steps
124
+ const allRows = await page.$$eval('#hmList .hm-r[data-id^="n:"]', (els) => els.length);
125
+ ok('S6 the four source rows are among the next steps of the list', rows.length === 4 && allRows >= 4, String(allRows));
126
126
  await page.click(`#hmList [data-hm-sel="n:${rows[0].key}"]`);
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) }));
@@ -116,8 +116,7 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
116
116
  const G = await p.evaluate(() => ({ groups: [...document.querySelectorAll('#hmList [aria-label]')].map((g) => g.getAttribute('aria-label')), greet: (document.querySelector('#hmList .hv-sub') || {}).textContent || '' }));
117
117
  ok('R4 Home has no Needs you group and no Your list; every next step of the model is a row of the one list', !G.groups.includes('Needs you') && !G.groups.includes('Your list') && MODEL.list.rows.every((m) => L.rows.some((r) => r.id === 'n:' + m.key)), JSON.stringify({ G, n: L.rows.length, want: MODEL.list.rows.length }));
118
118
  ok('R4 every row is one line: its mark (a dot or a check box) and its title (HvAC)', L.rows.every((r) => r.mark && r.t.length > 3), JSON.stringify(L.rows));
119
- const gn = /(\d+) (?:is|are) yours/.exec(G.greet);
120
- ok('R4 "N are yours" counts the next steps that are yours', !!gn && +gn[1] >= L.rows.length, G.greet);
119
+ ok('R4 no "N are yours" line: the count is Your move\'s (chief-of-staff delete list)', !/(\d+) (?:is|are) yours/.test(G.greet), G.greet);
121
120
  ok('R4 on a desktop the first next step is selected when Home opens', !!L.sel && L.rows.some((r) => r.id === L.sel), JSON.stringify(L));
122
121
  const r0 = L.rows.find((r) => r.id === 'n:waited:reviews') || L.rows[0];
123
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
@@ -240,8 +239,7 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
240
239
  await P.page.click('#hmList [data-hm-day]');
241
240
  const rows = await until(() => P.page.evaluate(() => document.querySelectorAll('#czViewer:not([hidden]) .yd [data-id^="n:"]').length));
242
241
  await P.page.evaluate(() => window.czViewer.close());
243
- const tn = /(\d+) (?:is|are) yours/.exec(top);
244
- ok(`R8 (${theme}) on a phone the list is the page; "N are yours" counts the next steps Your day lists`, rows >= MODEL.list.rows.length && !!tn && +tn[1] >= rows && await P.page.evaluate(() => document.body.classList.contains('hm-plist')), JSON.stringify({ top, rows }));
242
+ ok(`R8 (${theme}) on a phone the list is the page, Your day lists every next step, and no "N are yours" line`, rows >= MODEL.list.rows.length && !/(\d+) (?:is|are) yours/.test(top) && await P.page.evaluate(() => document.body.classList.contains('hm-plist')), JSON.stringify({ top, rows }));
245
243
  const small = await P.page.evaluate(() => [...document.querySelectorAll('#hmTop button, #hmList .hm-rm, #hmFoot button, #hmFoot label')].filter((b) => b.offsetParent !== null).map((b) => b.getBoundingClientRect()).filter((r) => r.height && r.height < 43.5).length);
246
244
  ok(`R11 (${theme}) every control on the phone's top bar, sheet and composer is 44 px`, small === 0, String(small));
247
245
  const ov = await P.page.evaluate(() => document.documentElement.scrollWidth - innerWidth);
@@ -1,4 +1,36 @@
1
1
  [
2
+ {
3
+ "v": "0.542.0",
4
+ "at": "2026-11-08T06:18:15.279Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 1265,
9
+ "t": "Chief-of-staff chat — one chat, Your move as the only inbox, Done with Undo (C1–C6)",
10
+ "s": "Your move is the one inbox, at most 5 asks with the rest under Can wait, and one chat opens from any page and says where each answer came from.",
11
+ "k": "new"
12
+ },
13
+ {
14
+ "n": 1270,
15
+ "t": "Curated memory in every background run, lessons across initiatives, the loop on the health line",
16
+ "s": "Curated memory in every background run, lessons across initiatives, the loop on the health line",
17
+ "k": "new"
18
+ }
19
+ ]
20
+ },
21
+ {
22
+ "v": "0.541.0",
23
+ "at": "2026-11-08T05:40:26.472Z",
24
+ "f": 4,
25
+ "prs": [
26
+ {
27
+ "n": 1269,
28
+ "t": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
29
+ "s": "Consolidation batch from the OS evaluation (switch list, day check, guide 60 → 19 pages)",
30
+ "k": "x"
31
+ }
32
+ ]
33
+ },
2
34
  {
3
35
  "v": "0.540.0",
4
36
  "at": "2026-11-08T04:40:52.541Z",
@@ -85,7 +85,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
85
85
  await menu(pg);
86
86
  const m = await pg.evaluate(() => ({ links: [...document.querySelectorAll('#czMenu a')].map((a) => a.textContent.trim()), tray: [...document.querySelectorAll('#czMenu .ev-tray button')].map((b) => b.getAttribute('aria-label').replace(/\..*$/, '')), rows: document.querySelectorAll('#czMenu .ev-mi, #czMenu [data-cz-more], #czMenu [data-cz-news], #czMenu [data-cz-sources], #czMenu [data-ev-theme]').length }));
87
87
  // feedback batch 16 item 5 (canvas FmA1Menu): the three places, then Search and Settings as icons, and nothing else; guide-in-app adds Guide between them
88
- ok('U1 the menu holds Home, Board, Intelligence, then Search, Guide and Settings as three icons, and no New for you, Sources, More or Theme', m.links.join() === 'Home,Board,Intelligence' && m.tray.join() === 'Search (⌘K),Guide,Settings' && m.rows === 0, JSON.stringify(m));
88
+ ok('U1 the menu holds Home, Board, Intelligence, then Ask PMOS, Search, Guide and Settings as four icons, and no New for you, Sources, More or Theme', m.links.join() === 'Home,Board,Intelligence' && m.tray.join() === 'Ask PMOS,Search (⌘K),Guide,Settings' && m.rows === 0, JSON.stringify(m));
89
89
  await snap(pg, 'menu-1440-light');
90
90
  await pg.keyboard.press('Escape');
91
91
  ok('U2 Escape closes the menu', await until(() => pg.isHidden('#czMenu')));
@@ -95,7 +95,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
95
95
  ok('S1 Ctrl K opens Search with the box focused', await until(() => pg.evaluate(() => !!document.querySelector('#evSearch:not([hidden])') && document.activeElement && document.activeElement.id === 'evQ')));
96
96
  await pg.keyboard.type('billing');
97
97
  const res = await until(async () => { const r = await pg.evaluate(() => [...document.querySelectorAll('#evRes .ev-mi')].map((b) => b.textContent.replace(/\s+/g, ' ').trim())); return r.some((t) => /Usage billing PRD/.test(t)) && r.some((t) => /Billing spec draft/.test(t)) ? r : null; }, 20000);
98
- ok('S1 typing finds the PRD on main and the draft on the worktree, and offers to ask Claude', !!res && res.some((t) => /Billing spec draft.*worktree billing-spec/.test(t)) && /Ask Claude about/.test(res[res.length - 1]), JSON.stringify(res));
98
+ ok('S1 typing finds the PRD on main and the draft on the worktree, and offers to ask PMOS first (chief-of-staff C5)', !!res && res.some((t) => /Billing spec draft.*worktree billing-spec/.test(t)) && /^Ask PMOS/.test(res[0]), JSON.stringify(res));
99
99
  await snap(pg, 'search-1440-light');
100
100
  await pg.click('#evChips [data-ev-kind="slides"]');
101
101
  const sl = await until(async () => { const r = await pg.evaluate(() => [...document.querySelectorAll('#evRes .ev-mi[data-ev-i]')].map((b) => b.textContent)); return r.length && !r.some((t) => /Usage billing PRD/.test(t)) ? r : null; });
@@ -176,7 +176,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
176
176
  await pg.goto(`${BASE}/premium-insights.html?ws=${encodeURIComponent(ws)}`); await pg.waitForSelector('#czFab');
177
177
  ok('D1 the choice is kept for the next page', await pg.evaluate(() => document.documentElement.dataset.theme === 'dark'));
178
178
  await menu(pg);
179
- ok('U1 no page has More in its menu', await pg.evaluate(() => !document.querySelector('#czMenu [data-cz-more]') && document.querySelectorAll('#czMenu .ev-tray button').length === 3));
179
+ ok('U1 no page has More in its menu', await pg.evaluate(() => !document.querySelector('#czMenu [data-cz-more]') && document.querySelectorAll('#czMenu .ev-tray button').length === 4));
180
180
  await snap(pg, 'menu-1440-dark');
181
181
  await pg.keyboard.press('Escape');
182
182
  await pg.keyboard.press('Control+k'); await pg.waitForSelector('#evSearch:not([hidden])'); await pg.keyboard.type('billing');
@@ -84,7 +84,7 @@
84
84
  "expected": "knowledge"
85
85
  },
86
86
  {
87
- "path": "workspace/guide/validate-with-typesafe.md",
87
+ "path": "workspace/guide/knowledge-graph.md",
88
88
  "expected": "knowledge"
89
89
  },
90
90
  {