create-pmos 0.437.0 → 0.439.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 (60) 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/adler-moments-test.js +121 -0
  7. package/workspace/briefing-premium-board-test.js +2 -1
  8. package/workspace/changelog.json +24 -0
  9. package/workspace/guide/adler.md +12 -1
  10. package/workspace/guide/briefing-premium.md +1 -1
  11. package/workspace/guide/home.md +1 -0
  12. package/workspace/guide/notes.md +5 -2
  13. package/workspace/home-rows-test.js +16 -0
  14. package/workspace/lib/notes-whisper.js +33 -11
  15. package/workspace/lib/notes.js +6 -4
  16. package/workspace/lib/routes-notes.js +94 -13
  17. package/workspace/package-lock.json +2 -2
  18. package/workspace/package.json +1 -1
  19. package/workspace/premium-chat-context-test.js +20 -0
  20. package/workspace/public/pm/bd-asks.js +5 -2
  21. package/workspace/public/pm/bd-deliveries.js +11 -2
  22. package/workspace/public/pm/cozy-adler.css +7 -1
  23. package/workspace/public/pm/cozy-adler.js +17 -0
  24. package/workspace/public/pm/cozy-board.css +5 -0
  25. package/workspace/public/pm/cozy-ev.css +8 -0
  26. package/workspace/public/pm/cozy-home.css +7 -0
  27. package/workspace/public/pm/cozy-live-pill.css +2 -0
  28. package/workspace/public/pm/cozy-live-pill.js +6 -3
  29. package/workspace/public/pm/cozy-nav.js +18 -5
  30. package/workspace/public/pm/cozy-pull.js +62 -0
  31. package/workspace/public/pm/cozy-rec-now.js +3 -1
  32. package/workspace/public/pm/cozy-rec-tab.css +2 -0
  33. package/workspace/public/pm/cozy-rec-tab.js +18 -1
  34. package/workspace/public/pm/cozy-settings.js +14 -5
  35. package/workspace/public/pm/cozy-steps.css +3 -0
  36. package/workspace/public/pm/cozy-steps.js +5 -4
  37. package/workspace/public/pm/cozy-today.css +5 -0
  38. package/workspace/public/pm/home-app.js +33 -2
  39. package/workspace/public/pm/home-day.js +39 -5
  40. package/workspace/public/pm/home-mentions.js +13 -2
  41. package/workspace/public/pm/home-review.js +9 -1
  42. package/workspace/public/pm/home-stage-card.js +9 -3
  43. package/workspace/public/pm/impact.css +1 -0
  44. package/workspace/public/pm/impact.js +5 -2
  45. package/workspace/public/pm/ini-tasks.js +19 -3
  46. package/workspace/public/pm/premium-board.js +12 -4
  47. package/workspace/public/pm/premium-shell.js +12 -4
  48. package/workspace/public/pm/premium-vw-ctx.js +16 -2
  49. package/workspace/public/pm/premium-vw-doc-model.js +11 -0
  50. package/workspace/public/pm/premium-vw-doc.css +2 -0
  51. package/workspace/public/pm/premium-vw-doc.js +8 -2
  52. package/workspace/public/pm/premium-vw-mtg.js +3 -1
  53. package/workspace/public/pm/premium.css +14 -0
  54. package/workspace/public/pm/program-charter.js +2 -1
  55. package/workspace/public/pm/session-rail.js +12 -5
  56. package/workspace/public/premium-rec.html +1 -1
  57. package/workspace/task-views-test.js +10 -1
  58. package/workspace/test-lists/adler-followups.json +9 -0
  59. package/workspace/test-lists/batch17-adler-moments.json +13 -0
  60. package/workspace/test-lists/notes-transcript-recovery.json +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.437.0",
3
+ "version": "0.439.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.439.0",
37
+ "at": "2026-10-28T08:30:50.008Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1083,
42
+ "t": "Meeting notes cover the whole meeting when the live transcript stops early",
43
+ "s": "Meeting notes cover the whole meeting when the live transcript stops early"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.438.0",
49
+ "at": "2026-10-28T06:29:09.651Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 1081,
54
+ "t": "Adler follow-ups, \"+N read\", Your day's waiting ask, long timeline zooms fill the width (feedback batch 17 items 4–6)",
55
+ "s": "Adler follow-ups, \"+N read\", Your day's waiting ask, long timeline zooms fill the width (feedback batch 17 items 4–6)"
56
+ }
57
+ ]
58
+ },
35
59
  {
36
60
  "v": "0.437.0",
37
61
  "at": "2026-10-28T05:16:07.974Z",
@@ -247,30 +271,6 @@
247
271
  "s": "Ninth testing feedback batch"
248
272
  }
249
273
  ]
250
- },
251
- {
252
- "v": "0.419.0",
253
- "at": "2026-10-26T03:21:59.105Z",
254
- "f": 2,
255
- "prs": [
256
- {
257
- "n": 1055,
258
- "t": "Eighth testing feedback batch",
259
- "s": "Eighth testing feedback batch"
260
- }
261
- ]
262
- },
263
- {
264
- "v": "0.418.0",
265
- "at": "2026-10-26T01:29:44.041Z",
266
- "f": 2,
267
- "prs": [
268
- {
269
- "n": 1051,
270
- "t": "Seventh testing feedback batch (items 1–7)",
271
- "s": "Chats PMOS ended stay on Home, the timeline's longer spans scroll like Quarter, tasks can be deleted with Undo, task rows show start and end dates, and a press on any task in the initiative page opens that task."
272
- }
273
- ]
274
274
  }
275
275
  ]
276
276
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@2820031a
1
+ kernel-source: pmos@669943cd
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-28T05:16:04Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T08:30:46Z"}
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-28T05:16:04Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T08:30:46Z"}
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-28T05:16:04Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T08:30:46Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -0,0 +1,121 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
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
+ * 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
+ * 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
7
+ * F1 Your day opens on the rain cloud with Adler honest, "Jira isn't answering.", and no second face
8
+ * F2 its icon reads Jira again (POST /api/sources/refresh with source jira)
9
+ * P1 a pull from the top of Your day lets Adler peek up, says it reads again, and reads Home again
10
+ * S1 Settings > Updates: a face on the updates card; General: one face only
11
+ * N no page error
12
+ * PMOS_SHOTS=<dir> also saves the screenshots. */
13
+ const path = require('path');
14
+ const fs = require('fs');
15
+ const { spawn } = require('child_process');
16
+ const { findBrowser } = require('./lib/find-browser');
17
+ const T = require('./test-run').configure({ name: 'adler-moments' });
18
+ const BP = require('./lib/board-premium.js');
19
+ const BF = require('./fixtures/board-premium-facts.js');
20
+ const BRP = require('./lib/briefing-premium.js');
21
+ const BRF = require('./fixtures/briefing-premium-facts.js');
22
+
23
+ const BASE = T.BASE;
24
+ const SHOTS = process.env.PMOS_SHOTS || '';
25
+ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
26
+ const until = async (fn, ms = 10000, step = 100) => { const t0 = Date.now(); for (;;) { let v; try { v = await fn(); } catch { v = null; } if (v) return v; if (Date.now() - t0 > ms) return v; await sleep(step); } };
27
+ const results = [];
28
+ const ok = (name, cond, extra = '') => { results.push({ name, cond: !!cond }); console.log(`${cond ? '✓' : '✗'} ${name}${!cond && extra !== '' ? ' — ' + String(extra).slice(0, 600) : ''}`); };
29
+ let srv = null; let browser = null;
30
+ const finish = async (code) => {
31
+ if (browser) await browser.close().catch(() => {});
32
+ if (srv) { try { srv.kill('SIGKILL'); } catch { /* gone */ } }
33
+ T.killTmux();
34
+ const bad = results.filter((x) => !x.cond).length;
35
+ console.log(`\n${results.length - bad}/${results.length} adler-moments assertions passed`);
36
+ process.exit(code !== undefined ? code : (bad ? 1 : 0));
37
+ };
38
+ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
39
+
40
+ (async () => {
41
+ const exe = process.env.PMOS_CHROME || findBrowser();
42
+ if (!exe) { console.log('✗ no Chrome/Chromium on this machine — the adler-moments suite cannot run'); return finish(1); }
43
+ let chromium;
44
+ try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
45
+ srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
46
+ await T.waitForServer(BASE);
47
+ browser = await chromium.launch({ executablePath: exe });
48
+ if (SHOTS) fs.mkdirSync(SHOTS, { recursive: true });
49
+ const shot = async (p, name) => { if (SHOTS) { await sleep(500); await p.screenshot({ path: path.join(SHOTS, name + '.png') }); } };
50
+ const BRIEF = BRP.build(BRF.facts());
51
+ const BOARD = BP.build(BF.facts());
52
+ const SOURCES = { ok: true, ws: '', sources: [{ id: 'calendar', name: 'Calendar', state: 'fresh', as_of: new Date().toISOString() }, { id: 'jira', name: 'Jira', state: 'failed', as_of: new Date(Date.now() - 90 * 60000).toISOString() }] };
53
+
54
+ const ctx = await browser.newContext({ viewport: { width: 390, height: 844 }, hasTouch: true, isMobile: true });
55
+ const page = await ctx.newPage();
56
+ const errors = [], posts = [];
57
+ page.on('pageerror', (e) => errors.push(String(e)));
58
+ page.on('request', (rq) => { if (rq.method() === 'POST') posts.push({ path: new URL(rq.url()).pathname, body: rq.postData() || '' }); });
59
+ const json = (rq, b) => rq.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify(b) });
60
+ await page.route(/\/api\/board-premium(\?.*)?$/, (rq) => json(rq, { ok: true, state: 'ready', model: BOARD, as_of: Date.now() }));
61
+ await page.route(/\/api\/briefing-premium(\?.*)?$/, (rq) => json(rq, { ok: true, state: 'ready', model: BRIEF, as_of: Date.now() }));
62
+ await page.route('**/api/briefing-premium/**', (rq) => json(rq, { ok: true, turns: [], working: false }));
63
+ await page.route(/\/api\/sources(\?.*)?$/, (rq) => json(rq, SOURCES));
64
+ await page.route(/\/api\/kit\/status(\?.*)?$/, (rq) => json(rq, { ok: true, app: { version: '0.430.0' }, latest: '0.430.0', kit: { present: true, version: '0.430.0' } }));
65
+ await page.route(/\/api\/sources\/refresh$/, (rq) => json(rq, { ok: true, started: 'local' }));
66
+ // the night scene would hide nothing here, but keep the test on the day: Quiet after off
67
+ await page.addInitScript(() => { try { localStorage.setItem('pmos.adler', JSON.stringify({ 'adler.quiet': 'never' })); } catch { /* none */ } });
68
+ await page.goto(BASE + '/premium.html');
69
+ await until(() => page.evaluate(() => !!document.querySelector('#hmList [data-hm-day]')), 30000);
70
+
71
+ /* E1 — one call made the PM's, so the ears are tested on what the page hears (Home sends cz:calls from Your move) */
72
+ await page.evaluate(() => document.dispatchEvent(new CustomEvent('cz:calls', { detail: { count: 1 } })));
73
+ 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 }; }));
74
+ 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));
75
+ await shot(page, 'ears');
76
+ await page.click('#czFab');
77
+ const gone = await until(() => page.evaluate(() => document.getElementById('czEars').hidden));
78
+ ok('E1 the menu open: no ears', gone);
79
+ await page.click('#czFab');
80
+
81
+ /* F1-F2 */
82
+ await page.click('#hmList [data-hm-day]');
83
+ const f1 = await until(() => page.evaluate(() => { const b = document.querySelector('#czViewer .yd-open'); if (!b || !b.querySelector('.k-rain')) return null; return { line: b.querySelector('.yd-ht b').textContent, faces: b.querySelectorAll('svg.ad-svg').length, sync: !!b.querySelector('[data-yd="sync"][aria-label="Read Jira again"]') }; }), 15000);
84
+ ok('F1 Your day opens on the rain cloud, Adler honest, "Jira isn\'t answering.", and no second face', f1 && f1.line === 'Jira isn’t answering.' && f1.faces === 0 && f1.sync, JSON.stringify(f1));
85
+ await shot(page, 'sync-fail');
86
+ await page.click('#czViewer [data-yd="sync"]');
87
+ const f2 = await until(() => posts.find((p) => p.path === '/api/sources/refresh'));
88
+ ok('F2 the icon reads Jira again', f2 && /"source":"jira"/.test(f2.body), JSON.stringify(f2));
89
+
90
+ /* P1 — a pull from the top of the body, as a finger would */
91
+ const reads = () => page.evaluate(() => performance.getEntriesByType('resource').filter((e) => /\/api\/home-review/.test(e.name)).length);
92
+ const before = await reads();
93
+ const peek = await page.evaluate(async () => {
94
+ const body = document.querySelector('#czViewer .cz-vw-body') || document.querySelector('#czViewer [data-cz-pull]');
95
+ const el = document.querySelector('[data-cz-pull]') || body;
96
+ const t = (y) => new Touch({ identifier: 1, target: el, clientX: 200, clientY: y });
97
+ el.dispatchEvent(new TouchEvent('touchstart', { touches: [t(120)], bubbles: true }));
98
+ for (let y = 130; y <= 300; y += 20) el.dispatchEvent(new TouchEvent('touchmove', { touches: [t(y)], bubbles: true }));
99
+ const mid = !!el.querySelector('.cz-pull .ad-svg');
100
+ el.dispatchEvent(new TouchEvent('touchend', { touches: [], changedTouches: [t(300)], bubbles: true }));
101
+ await new Promise((r) => setTimeout(r, 50));
102
+ const p = el.querySelector('.cz-pull'); return { mid, reading: p ? p.querySelector('.cz-pull-t').textContent : '' };
103
+ });
104
+ ok('P1 a pull lets Adler peek up, and he says he reads your day again', peek.mid && peek.reading === 'Reading your day again', JSON.stringify(peek));
105
+ await shot(page, 'pull');
106
+ const after = await until(async () => ((await reads()) > before ? true : null), 15000);
107
+ ok('P1 and Home reads again', after);
108
+
109
+ /* S1 */
110
+ await page.evaluate(() => import('/pm/cozy-settings.js').then((M) => M.openSettings('updates')));
111
+ const s1 = await until(() => page.evaluate(() => { const m = document.querySelector('#evSettings .ev-st-main'); return m && m.querySelector('.ev-upd') ? { faces: m.querySelectorAll('.ev-ad svg, .ev-ad .ad-dot').length } : null; }), 15000);
112
+ ok('S1 Settings > Updates: one face on the updates card (calm: up to date)', s1 && s1.faces === 1, JSON.stringify(s1));
113
+ await shot(page, 'settings-updates');
114
+ await page.evaluate(() => { const a = document.querySelector('#evSettings [data-ev-sec="general"]'); if (a) a.click(); });
115
+ const g = await until(() => page.evaluate(() => { const m = document.querySelector('#evSettings .ev-st-main'); return m && m.querySelector('[data-ev-day]') ? m.querySelectorAll('.ev-ad').length : null; }));
116
+ ok('S1 General: one face only', g === 1, String(g));
117
+
118
+ ok('N no page error', !errors.length, JSON.stringify(errors));
119
+ await ctx.close();
120
+ return finish();
121
+ })();
@@ -150,7 +150,8 @@ const IVREAD = () => {
150
150
  await p.click('#fold');
151
151
  ok('B1 the fold opens and says how many are not loaded, and closes again', await p.evaluate(() => document.querySelector('#fold').getAttribute('aria-expanded') === 'true' && /Fold Monitor and Evaluate · 20 more are not loaded/.test(document.querySelector('#fold').textContent)));
152
152
  await p.click('#fold');
153
- ok('M1 only the info, warning and critical dots move', await p.evaluate(() => [...document.querySelectorAll('#stage *')].filter((e) => { const a = getComputedStyle(e, '::after').animationName, b = getComputedStyle(e).animationName; return (a && a !== 'none') || (b && b !== 'none'); }).every((e) => e.matches('.cz-dot.m-info, .cz-dot.m-warn, .cz-dot.m-crit'))));
153
+ // Adler (the Jira chip's face, batch 17 item 4-A) is design principle 12's one exception: he blinks; no data moves
154
+ ok('M1 only the info, warning and critical dots move (and Adler, the principle 12 exception)', await p.evaluate(() => [...document.querySelectorAll('#stage *')].filter((e) => { const a = getComputedStyle(e, '::after').animationName, b = getComputedStyle(e).animationName; return (a && a !== 'none') || (b && b !== 'none'); }).every((e) => e.matches('.cz-dot.m-info, .cz-dot.m-warn, .cz-dot.m-crit') || !!e.closest('svg.ad-svg'))));
154
155
  /* AgBoardStages: the step heads open "What finishes each step"; Escape closes it and gives the focus back */
155
156
  await p.click('.bt-h [data-steps]');
156
157
  ok('B1 what finishes each step: eight steps with their output and where the count comes from, from the step heads', await until(() => p.evaluate(() => !document.querySelector('#popSteps').hidden && /Release shipped, your sign-off/.test(document.querySelector('#popSteps').textContent) && document.querySelectorAll('#popSteps .bd-tbl .bd-tr').length === 9)));
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "v": "0.439.0",
4
+ "at": "2026-10-28T08:30:50.008Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1083,
9
+ "t": "Meeting notes cover the whole meeting when the live transcript stops early",
10
+ "s": "Meeting notes cover the whole meeting when the live transcript stops early"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.438.0",
16
+ "at": "2026-10-28T06:29:09.651Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 1081,
21
+ "t": "Adler follow-ups, \"+N read\", Your day's waiting ask, long timeline zooms fill the width (feedback batch 17 items 4–6)",
22
+ "s": "Adler follow-ups, \"+N read\", Your day's waiting ask, long timeline zooms fill the width (feedback batch 17 items 4–6)"
23
+ }
24
+ ]
25
+ },
2
26
  {
3
27
  "v": "0.437.0",
4
28
  "at": "2026-10-28T05:16:07.974Z",
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Adler, Claude's face"
4
4
  description: "Who Adler is, where he shows in PMOS, what each of his six moods means, and how to choose how much of him you see in Settings."
5
- timestamp: 2026-10-27
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # Adler, Claude's face
@@ -32,6 +32,17 @@ Each mood comes from real state. When nothing happens, Adler is calm or he rests
32
32
  - **Intelligence.** His face in Claude's line at the top only. Charts, numbers and key results never show him.
33
33
  - **Search.** Adler with a magnifier when nothing matches.
34
34
  - **Welcome.** Adler says hello once on the first step, and wears his glasses while PMOS reads your folder.
35
+ - **Board.** His small face on the Jira chip: calm when Jira was read in the last day and a half, honest when it was not, and glasses while a press reads it again. He heads **New asks**: needs you while asks wait. When a delivery is missed, his honest face stands once in the Deliveries lane's header; hover it to see which. When you open a milestone that was delivered, he celebrates once in the panel (at most once a week); after that his face is calm. The diamond on the timeline stays plain, and nothing is sent to anyone.
36
+ - **Program charter.** His face on the check line, with glasses while Claude checks the milestones.
37
+ - **Stage card.** While a session works on a step, that step shows Adler with his glasses instead of a spinner. When every step is done, he holds the **Move to** button. Your own steps keep their rings.
38
+ - **Sessions.** Only the session that asks you something shows his face in the list. The other sessions keep their dots. In that session's card, he holds the question.
39
+ - **Viewer.** Under a page that the agent wrote last, one quiet line: "I drafted this", and how many open questions are yours.
40
+ - **Recording a meeting.** Adler wears headphones: in the Live pill while the meeting records, and after the title in the recording tab. He wears his glasses while he listens, rests while you pause, and shows the honest face when PMOS cannot hear the meeting.
41
+ - **A source that could not be read (phone and desk).** When Jira, or another source, does not answer, Your day says so first, under a small rain cloud: when PMOS last had it, and an icon that reads it again.
42
+ - **Pull to refresh (phone).** Pull Your day down from the top. Adler peeks up with his glasses while PMOS reads your day again.
43
+ - **The menu button (phone).** When a call is yours, his ears peek over the menu button. They go when no call waits, while the menu is open, and after Quiet after.
44
+ - **Weekly review.** When the review is done for the week, Adler is calm. It is upkeep, not a win, so he does not celebrate.
45
+ - **Settings.** In Updates he wears his glasses while PMOS checks or installs, holds the card when a version is ready, and is calm when PMOS is up to date. A line that says something failed shows his honest face.
35
46
 
36
47
  Adler never sits in a list row, a bar, a chart or a report. Rows keep their own signals: a dot is a session and a box is a task.
37
48
 
@@ -450,7 +450,7 @@ Every popup has this chat, including the ones that have no row of their own: a t
450
450
  - **A file Claude names** (a path such as `briefs/drafts/plan.md`, or a link to one) is underlined. Press it to read the file beside the conversation, as a tab in the viewer; on a phone, the Detail side shows it (on the Chat page, the viewer opens over the conversation). Markdown shows as a page, an HTML file shows as the page it draws (press **Source** for its code), and other text files show as code. An HTML page runs its own scripts, so its toggles and charts work, but it cannot reach PMOS or the internet: a web font falls back to the system font. It is read-only. While the tab is open it shows the newest version, so a file Claude is still writing stays current. A file in a workspace PMOS serves, in a git worktree of one, or in the folder a session runs in opens here. Any other file says "Not in a workspace" and is not read.
451
451
  - **Download a file** with the download icon at the right of its name in the viewer. An HTML file saves as **HTML** (as it is) or **PDF**. A markdown file saves as **Markdown**, **Word .docx** or **PDF**. Other text files save at once as they are, with no menu. PDF opens your browser's print window: choose **Save as PDF** there. An HTML page prints with no access to PMOS or the internet, as in the viewer. Word holds the note's headings, paragraphs, lists and tables.
452
452
  - **Share a file** with the share icon beside download. On a phone, **Send a copy** comes first: it opens the phone's share sheet with the file, and no link is made. **Public link** makes a link to a copy of the file as it is now, for someone with no PMOS or Cloudflare login. The password is on, with a generated one you can change or turn off. The link ends after 7 days; press **1 day** or **30 days** to change it. Press **Create link**, then **Copy link and password**, and send the password in a different message. The same popover lists your **open links** with their end date and views; **Turn off** (pressed twice) deletes the copy at once. A file with a key or token in it is not shared. Links need Online and one more tunnel rule: see REMOTE.md, "Share links".
453
- - **What an answer worked with** shows as buttons under it: the files Claude wrote, changed or read, the Jira tickets and Slack channels it used, and the links it named. The first one is the main one: a file Claude wrote comes first, then what it named in its words, then what it only read. When an answer finishes while the chat is open, its main one opens in the viewer by itself, once; answers that were there when you opened the chat open nothing. On a phone a bar over the message box offers it instead (**View**), so the conversation stays in view. A Jira ticket shows what PMOS last read from Jira for a board or initiative it syncs, with **Open in Jira**; a ticket PMOS has not read says so. A Slack channel or message opens with **Open in Slack**, as PMOS keeps no copy of Slack messages.
453
+ - **What an answer worked with** shows as buttons under it: the files Claude wrote, changed or read, the Jira tickets and Slack channels it used, and the links it named. The first one is the main one: a file Claude wrote comes first, then what it named in its words, then what it only read. When Claude only read two or more things, they fold into one **+N read**; press it to see them. When an answer finishes while the chat is open, its main one opens in the viewer by itself, once; answers that were there when you opened the chat open nothing. On a phone a bar over the message box offers it instead (**View**), so the conversation stays in view. A Jira ticket shows what PMOS last read from Jira for a board or initiative it syncs, with **Open in Jira**; a ticket PMOS has not read says so. A Slack channel or message opens with **Open in Slack**, as PMOS keeps no copy of Slack messages.
454
454
  - **A link to a Google Doc or a Confluence page** opens beside the conversation too, as the viewer shows a copy: the text PMOS has read, or **Read it now**. **A Claude artifact link** opens a tab with **Open in Claude**: claude.ai does not let another site show an artifact inside it. Other links open in a new browser tab.
455
455
  - **The session** is also listed in **Sessions** and in the console, where you can open its terminal.
456
456
  - **Ending a session ends only its process.** Whether you press End in the session list, or PMOS ends an idle chat, the conversation stays with the row: the panel and the session's own view still show every turn, read from Claude Code's record (in whichever Claude login ran it, such as `~/.claude-personal`). PMOS also keeps a copy in its own state folder (`chat-history/`), so the conversation stays after Claude Code removes old records. Files the session wrote are never touched. Your next message picks up the same conversation.
@@ -17,6 +17,7 @@ Home, the Board, Insights and the Viewer use one type scale: 11, 12, 14, 16, 20
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
+ - 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.
20
21
  - **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.
21
22
  - 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.
22
23
  - A **program** comes first, above the products. Its header shows the program icon, its name, the next milestone (◆ and the date) and how many of its initiatives are ready for that milestone. Inside it, the program's own tasks come first, then its initiatives under a small heading for each product. Each initiative shows once. Press the program's name to open the program in the Viewer. The chat then talks about the program. Press the chevron to close or open the group.
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Guide: notes"
4
4
  description: "How to take notes in a meeting: one note top to bottom, typed notes as timed lines, key points written each minute and labelled by Jev, delete a note; final notes written after Stop from the whole recording, with speakers and a quote for each item, decisions with their why and who, next steps with an open question, a discussion paragraph, and Wispr Flow's notes merged in and fetched by hand when the fetch fails; listen to your microphone and the meeting on this machine, see decisions, actions and questions caught as they are said, check them against the repository for conflicts, capture highlights during the meeting, create tasks from next steps, correct and tag lines, see what changed in your notes, replay the meeting, see screenshots of the shared screen beside the transcript, link a note to its meeting and its initiative, and get a summary."
5
- timestamp: 2026-10-26
5
+ timestamp: 2026-10-28
6
6
  ---
7
7
 
8
8
  # Guide: notes
@@ -37,6 +37,8 @@ The live transcript keeps each sentence once:
37
37
  - A line that only repeats the line before it is left out. A sentence said twice in a row in one line is kept once.
38
38
  - If the meeting language is English (the default), a line that comes back in another language, for example Hindi, Indonesian or Chinese, is transcribed again in English. The first text stays with the line.
39
39
  - If the workspace restarts during a meeting, the recording continues where it was. Nothing is written twice.
40
+ - When the live transcript falls behind, or the engine stops for a moment, the audio is still kept. When the engine answers again, the stretches it missed are transcribed from the kept audio and appear at their own time in the transcript.
41
+ - When Qwen3-ASR fails three lines in a row, the live transcript uses Whisper for five minutes (when Whisper is set up), then tries Qwen3-ASR again.
40
42
 
41
43
  ## Pause, resume and stop
42
44
 
@@ -123,7 +125,7 @@ After **Stop**, the final notes replace this live draft. See [Final notes after
123
125
 
124
126
  ## Final notes after Stop
125
127
 
126
- The notes taken live are a draft. After **Stop**, the workspace transcribes the whole recording again on this machine, with more time for each sentence, and then your agent session writes the final notes from that transcript and your typed lines.
128
+ The notes taken live are a draft. After **Stop**, from any page (the recording tab, the meeting in the Viewer or your phone), the workspace transcribes the whole recording again on this machine, with more time for each sentence, and then your agent session writes the final notes from that transcript and your typed lines.
127
129
 
128
130
  1. The workspace transcribes your microphone and the meeting apart. It uses **Qwen3-ASR** when it is set up, in any of the languages. Else it uses **Parakeet** when it is set up and the meeting is in English, else Whisper with beam search, speech detection and the names of this meeting. When one engine fails, the next one set up is used.
129
131
  2. It tells the speakers apart. Your microphone is you. The meeting's voices are **Speaker 1**, **Speaker 2** and so on. When no meeting audio was captured, the voices on your microphone are told apart instead.
@@ -146,6 +148,7 @@ When PMOS restarts (for example after you install a new version) while a note wa
146
148
 
147
149
  - A final pass that was queued or running is queued again. When it can no longer run, for example because the audio is gone, the note says why, and your agent session writes the notes from the live transcript.
148
150
  - A summary that was started and never written is started again.
151
+ - A meeting that ended in the last two weeks with no final pass gets one, from its kept audio, and your agent session writes its notes again from the whole meeting. At most 10 meetings, the most recent first.
149
152
  - A Wispr Flow fetch continues on its own schedule. When its 20 minutes have passed, it stops and says so. Press **Fetch Wispr Flow notes now** to try again.
150
153
 
151
154
  ## Wispr Flow notes
@@ -360,5 +360,21 @@ const recentOf = (m) => ({ ...m, recent: [...m.toread, ...m.answered] });
360
360
  ok('F no sideways scroll at 390 px', sx);
361
361
  ok('F no page error', !P.errors.length, P.errors.join(' | '));
362
362
  await P.close();
363
+ /* Y (batch 17 item 6): Your day's opening card names the oldest ask in Your move; its icon opens that conversation in Mentions */
364
+ { const Q = await open();
365
+ await Q.page.click('#hmList [data-hm-day]');
366
+ const ya = await until(() => Q.page.evaluate(() => { const a = document.querySelector('#czViewer .yd-open .yd-ask'); return a ? { id: a.dataset.id, b: a.querySelector('b').textContent, em: a.querySelector('em').textContent, btn: (a.querySelector('[data-yd="ask"]') || {}).getAttribute?.('aria-label') } : null; }), 15000);
367
+ ok('Y Your day names the oldest ask: who, where, how many more, the gist', !!ya && ya.id === 'aaaaaaaaaaa1' && ya.b === 'Samuel asked you in #tech-team-cem · 2 more' && /before he tags it/.test(ya.em) && ya.btn === 'Open in Mentions', JSON.stringify(ya));
368
+ await shot(Q.page, 'day-ask-1440');
369
+ await Q.page.click('#czViewer .yd-ask [data-yd="ask"]');
370
+ const yc = await until(async () => { const c = await convOf(Q.page); const v = await vw(Q.page); return v && v.title === 'Mentions' && c && /Samuel Chandra/.test(c.head) ? { t: v.title, head: c.head } : null; });
371
+ ok('Y its icon opens Mentions on that conversation', !!yc, JSON.stringify(yc));
372
+ ok('Y no page error', !Q.errors.length, Q.errors.join(' | '));
373
+ await Q.close();
374
+ const E = await open({ mentions: { ...recentOf(MENTIONS(INI)), waiting: [], count: 0 } });
375
+ await E.page.click('#hmList [data-hm-day]');
376
+ await until(() => E.page.evaluate(() => !!document.querySelector('#czViewer .yd-open')), 15000);
377
+ ok('Y nothing waits: no ask under the opening line', await E.page.evaluate(() => !document.querySelector('#czViewer .yd-ask')));
378
+ await E.close(); }
363
379
  return finish();
364
380
  })();
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * detect(runtimeDir, { env }) → { ready, bin, model, missing, setup, model_dir }
5
5
  * setupCommand(runtimeDir) → the shell commands the PM runs once: install whisper.cpp and download its model
6
- * createTranscriber({ runtimeDir, onText, run?, detect?, vocab?, prompt? }) → { push, flush, drop, pending, idle }
6
+ * createTranscriber({ runtimeDir, onText, onSkip?, run?, detect?, vocab?, prompt? }) → { push, fill, flush, drop, pending, idle }
7
7
  * wav(pcm, rate) · levels(pcm, rate) · cleanText(text, { voicedRatio }) · promptFor(vocab, previous)
8
8
  * getLanguage(runtimeDir) · setLanguage(runtimeDir, code) the spoken language Whisper writes in (LANGUAGES)
9
9
  * getModel(runtimeDir) · setModel(runtimeDir, id) the model: accurate (1.6 GB) or faster (about 550 MB) (MODELS)
@@ -60,6 +60,7 @@ const MIN_VOICED_MS = 300;
60
60
  const LEAD_MS = 300; // speech that starts a cut keeps this much of the quiet before it
61
61
  const MIN_RMS = 180; // in 16-bit units; below this a frame is quiet whatever the room
62
62
  const MAX_QUEUE = 24;
63
+ const FILL_ROOM = 2; // a skipped stretch is filled in only while fewer cuts than this wait
63
64
  const RUN_TIMEOUT_MS = 120000;
64
65
  const HOLD_MS = 12000; // a microphone line waits at most this long for the meeting's line of the same time
65
66
  const MEETING_LIVE_MS = 30000; // meeting audio this recent means the meeting is being captured
@@ -264,7 +265,7 @@ function runWhisper({ bin, model, file, lang = DEFAULT_LANGUAGE, accuracy = DEFA
264
265
  * @param {Function} [a.run] runWhisper, replaceable in the suites
265
266
  * @param {Function} [a.detect] detect, replaceable in the suites
266
267
  */
267
- function createTranscriber({ runtimeDir, onText, onError = () => {}, onCut = () => {}, run = runWhisper, detect: det = () => detect(runtimeDir), vocab = null, prompt = '',
268
+ function createTranscriber({ runtimeDir, onText, onError = () => {}, onCut = () => {}, onSkip = () => {}, run = runWhisper, detect: det = () => detect(runtimeDir), vocab = null, prompt = '',
268
269
  echo = true, holdMs = HOLD_MS, recent = null, lastLine = null }) {
269
270
  const bufs = new Map(); // `${id}|${source}` → { id, source, chunks, ms, voicedMs, quietMs, t, noise }
270
271
  const lastText = new Map(); // `${id}|${source}` → { text, t }: the last line heard there, for the repetition guard
@@ -373,27 +374,48 @@ function createTranscriber({ runtimeDir, onText, onError = () => {}, onCut = ()
373
374
  try { onCut({ id: b.id, source: b.source, until: Math.min(b.t + b.ms, ...waitFor) }); } catch { /* the caller's bookkeeping */ }
374
375
  };
375
376
  if (b.voicedMs < MIN_VOICED_MS || !b.chunks.length) { queue = queue.then(done).catch(() => {}); if (held.length) release(); return false; }
376
- if (waiting >= MAX_QUEUE) { onError({ id: b.id, source: b.source, error: 'transcription is falling behind, so a few seconds were skipped' }); return false; }
377
- const pcm = Buffer.concat(b.chunks);
378
377
  const job = { id: b.id, source: b.source, t: b.t, ms: b.ms, ...(b.ts ? { exact: true } : {}) };
379
- const voicedRatio = b.ms > 0 ? b.voicedMs / b.ms : 1;
378
+ if (waiting >= MAX_QUEUE) { skipped(job, 'transcription is falling behind, so a few seconds were skipped'); return false; }
379
+ enqueue(job, Buffer.concat(b.chunks), b.ms > 0 ? b.voicedMs / b.ms : 1, done);
380
+ return true;
381
+ }
382
+ /* CATCHING UP (notes-transcript-recovery). A cut that was skipped (falling behind) or failed (the engine stopped, timed out or
383
+ * was not ready) is not lost: the caller hears of it through onSkip({ id, source, t, ms, tries }) and, once the queue is short
384
+ * again, hands the same stretch back from the kept audio through fill(). So the live transcript fills its own gaps. */
385
+ function skipped(job, error) {
386
+ onError({ ...job, error });
387
+ try { onSkip({ id: job.id, source: job.source, t: job.t, ms: job.ms, tries: job.tries || 0 }); } catch { /* the caller's bookkeeping */ }
388
+ }
389
+ function enqueue(job, pcm, voicedRatio, done = () => {}) {
380
390
  const q = { id: job.id, source: job.source, t: job.t };
381
391
  inQueue.push(q);
382
392
  waiting++;
383
393
  queue = queue.then(async () => {
384
394
  const d = det();
385
- if (!d.ready) { onError({ ...job, error: 'local transcription is not set up' }); return; }
395
+ if (!d.ready) { skipped(job, 'local transcription is not set up'); return; }
386
396
  fs.mkdirSync(tmpDir, { recursive: true });
387
397
  const file = path.join(tmpDir, 'cut-' + crypto.randomBytes(6).toString('hex') + '.wav');
388
398
  try {
389
399
  fs.writeFileSync(file, wav(pcm), { mode: 0o600 });
390
400
  // `engine` is 'qwen' when the caller's detect chose Qwen3-ASR (lib/notes-qwen.js); `run` then sends the cut there
391
401
  const r = await transcribe(d, job, file, voicedRatio);
392
- if (!r.ok) { onError({ ...job, error: r.error }); return; }
393
- if (r.text) await deliver(job, r.text, r.extra);
394
- } catch (e) { onError({ ...job, error: String((e && e.message) || e) }); }
402
+ engineOk = !!r.ok;
403
+ if (!r.ok) { skipped(job, r.error); return; }
404
+ if (r.text) await deliver(job, r.text, job.fill ? { ...(r.extra || {}), fill: true } : r.extra);
405
+ } catch (e) { engineOk = false; skipped(job, String((e && e.message) || e)); }
395
406
  finally { try { fs.unlinkSync(file); } catch { /* already gone */ } }
396
407
  }).catch(() => {}).finally(() => { waiting--; done(); const i = inQueue.indexOf(q); if (i >= 0) inQueue.splice(i, 1); if (held.length) release(); });
408
+ }
409
+ /** A stretch skipped earlier, read back from the kept audio. Queued only once the engine has answered again (a stretch tried
410
+ * while it is still down would only fail again) and while the queue has room for the live cuts too. → true when it was queued. */
411
+ let engineOk = true;
412
+ function fill({ id, source, pcm, t, tries = 0 }) {
413
+ if (!pcm || pcm.length < 2 || waiting >= FILL_ROOM || !engineOk) return false;
414
+ const ms = (pcm.length / 2 / RATE) * 1000;
415
+ let voiced = 0; let noise = noiseOf.has(source) ? noiseOf.get(source) : null;
416
+ for (const v of levels(pcm)) { if (v > Math.max(MIN_RMS, (noise == null ? 0 : noise) * 3)) voiced += FRAME_MS; else noise = noise == null ? v : noise * 0.9 + v * 0.1; }
417
+ if (voiced < MIN_VOICED_MS) return true; // nothing was said there: nothing to fill
418
+ enqueue({ id, source, t, ms, exact: true, fill: true, tries: tries + 1 }, pcm, ms > 0 ? voiced / ms : 1);
397
419
  return true;
398
420
  }
399
421
 
@@ -460,9 +482,9 @@ function createTranscriber({ runtimeDir, onText, onError = () => {}, onCut = ()
460
482
  if (q === queue) return;
461
483
  }
462
484
  }
463
- return { push, flush, drop, has, pending: () => waiting + held.length, idle };
485
+ return { push, fill, flush, drop, has, pending: () => waiting + held.length, idle };
464
486
  }
465
487
 
466
488
  module.exports = { detect, setupCommand, getLanguage, setLanguage, LANGUAGES, DEFAULT_LANGUAGE, getModel, setModel, MODELS, DEFAULT_MODEL,
467
489
  getAccuracy, setAccuracy, ACCURACIES, DEFAULT_ACCURACY, createTranscriber, runWhisper, wav, levels, cleanText, promptFor, modelDir, RATE, MODEL_FILE, MODEL_URL,
468
- MIN_CUT_MS, MAX_CUT_MS, PAUSE_MS, LONG_PAUSE_MS, PROMPT_MAX, LOW_VOICED_RATIO, NO_SPEECH_THOLD };
490
+ MIN_CUT_MS, MAX_CUT_MS, MAX_QUEUE, FILL_ROOM, PAUSE_MS, LONG_PAUSE_MS, PROMPT_MAX, LOW_VOICED_RATIO, NO_SPEECH_THOLD };
@@ -587,7 +587,7 @@ function joinText(prev, next, names) {
587
587
  const tail = KEEP_CAP.test(next) || (names && names.has(word)) || PROPER_DAYS.test(word) ? next : next.charAt(0).toLowerCase() + next.slice(1);
588
588
  return askMark(head.replace(/[,\s]+$/, '') + ' ' + tail);
589
589
  }
590
- function appendTranscript(dir, { id, text, source = 'speech', t: at = null, ms = null, heard_as = null, now = Date.now() } = {}) {
590
+ function appendTranscript(dir, { id, text, source = 'speech', t: at = null, ms = null, heard_as = null, fill = false, now = Date.now() } = {}) {
591
591
  const note = load(dir, id);
592
592
  if (!note) return err(404, 'no such note');
593
593
  if (note.private) return err(409, 'this note is marked private, so nothing more is recorded in it');
@@ -602,12 +602,14 @@ function appendTranscript(dir, { id, text, source = 'speech', t: at = null, ms =
602
602
  const names = namesIn((note.transcript || []).map((x) => x.text).concat(sentences, [note.body || '']));
603
603
  const tr = note.transcript || (note.transcript = []);
604
604
  const tEnd = Number.isFinite(ms) && ms > 0 ? t + Math.round(ms) : null;
605
- const open = JOINS.has(src) && endsOpen(raw);
605
+ // a stretch filled in after the engine caught up (notes-transcript-recovery) belongs earlier than the last line: it is never
606
+ // joined to that line, and it is never left open for the next line to join
607
+ const open = !fill && JOINS.has(src) && endsOpen(raw);
606
608
  // the first text of a line that came back in another language and was run again in English (notes-recording-reliability, D8)
607
609
  const heardAs = heard_as && typeof heard_as.text === 'string' && heard_as.text ? { text: heard_as.text.slice(0, MAX_PHRASE), language: String(heard_as.language || '').slice(0, 40) } : null;
608
610
  const out = [];
609
611
  // the first sentence may finish the line before it, from the same source
610
- if (JOINS.has(src)) {
612
+ if (JOINS.has(src) && !fill) {
611
613
  let pi = -1;
612
614
  for (let k = tr.length - 1; k >= 0; k--) if (tr[k] && tr[k].source === src) { pi = k; break; }
613
615
  const prev = pi >= 0 ? tr[pi] : null;
@@ -627,7 +629,7 @@ function appendTranscript(dir, { id, text, source = 'speech', t: at = null, ms =
627
629
  const base = tr.length;
628
630
  const added = sentences.map((s, k) => { const isOpen = open && k === sentences.length - 1;
629
631
  return { at: iso(now), t, ...(tEnd != null ? { t_end: tEnd } : {}), text: s, source: src, cat: isOpen ? null : categoryOf(s, names), cat_by: 'local',
630
- ...(isOpen ? { open: true } : {}), ...(heardAs ? { heard_as: heardAs } : {}), index: base + k }; });
632
+ ...(isOpen ? { open: true } : {}), ...(heardAs ? { heard_as: heardAs } : {}), ...(fill ? { filled: true } : {}), index: base + k }; });
631
633
  note.transcript = tr.concat(added.map(({ index, ...x }) => x));
632
634
  note.updated_at = iso(now);
633
635
  store(dir, note);