create-pmos 0.362.0 → 0.363.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 (32) hide show
  1. package/package.json +18 -13
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/briefing-premium-board-test.js +3 -3
  7. package/workspace/briefing-premium-calendar-2-test.js +3 -3
  8. package/workspace/briefing-premium-calendar-3-test.js +6 -5
  9. package/workspace/briefing-premium-calendar-test.js +3 -2
  10. package/workspace/briefing-premium-initiative-test.js +3 -3
  11. package/workspace/briefing-premium-insights-test.js +1 -1
  12. package/workspace/briefing-premium-test.js +14 -10
  13. package/workspace/briefing-premium-work-test.js +1 -1
  14. package/workspace/changelog.json +17 -0
  15. package/workspace/guide/briefing-premium.md +22 -18
  16. package/workspace/package-lock.json +2 -2
  17. package/workspace/package.json +1 -1
  18. package/workspace/premium-studio-test.js +6 -6
  19. package/workspace/premium-vw-item-test.js +2 -2
  20. package/workspace/premium-vw-meet-test.js +32 -21
  21. package/workspace/premium-vw-notes-test.js +5 -5
  22. package/workspace/premium-vw-rec-test.js +1 -1
  23. package/workspace/public/pm/premium-meeting.js +28 -29
  24. package/workspace/public/pm/premium-shell.js +32 -18
  25. package/workspace/public/pm/premium-vw-meet.css +27 -7
  26. package/workspace/public/pm/premium-vw-meet.js +31 -16
  27. package/workspace/public/pm/premium.css +28 -4
  28. package/workspace/public/premium-board.html +1 -0
  29. package/workspace/public/premium-initiative.html +1 -0
  30. package/workspace/public/premium-insights.html +1 -0
  31. package/workspace/public/premium-work.html +2 -1
  32. package/workspace/public/premium.html +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.362.0",
3
+ "version": "0.363.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,23 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.363.0",
37
+ "at": "2026-10-21T00:46:24.704Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 965,
42
+ "t": "Chat is the big middle place in the premium rail",
43
+ "s": "Chat is the big middle place in the premium rail"
44
+ },
45
+ {
46
+ "n": 966,
47
+ "t": "The meeting detail is one scroll with a short head on a phone",
48
+ "s": "The meeting detail is one scroll with a short head on a phone"
49
+ }
50
+ ]
51
+ },
35
52
  {
36
53
  "v": "0.362.0",
37
54
  "at": "2026-10-21T00:23:03.151Z",
@@ -289,18 +306,6 @@
289
306
  "s": "Replay follows the rich layout from prototype PR 901."
290
307
  }
291
308
  ]
292
- },
293
- {
294
- "v": "0.343.0",
295
- "at": "2026-10-20T05:20:19.894Z",
296
- "f": 2,
297
- "prs": [
298
- {
299
- "n": 938,
300
- "t": "A file Claude names in a premium chat panel opens beside the conversation",
301
- "s": "A file path in Claude's words is underlined, and pressing it opens the file read-only as a viewer tab beside the conversation."
302
- }
303
- ]
304
309
  }
305
310
  ]
306
311
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@245c2ee7
1
+ kernel-source: pmos@fee37c6c
2
2
  assembled: 2026-10-21
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-21T00:22:59Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-21T00:46:21Z"}
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-21T00:22:59Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-21T00:46:21Z"}
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-21T00:22:59Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-21T00:46:21Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -64,7 +64,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
64
64
 
65
65
  /* B1 */
66
66
  const rail = await p.evaluate(() => ({ names: [...document.querySelectorAll('.rail .pl')].map((b) => b.textContent.trim()), cur: document.querySelector('.rail [aria-current="page"]').textContent.trim(), pi: getComputedStyle(document.querySelector('.rail')).getPropertyValue('--pi').trim(), title: document.title, name: document.querySelector('#crBoard').textContent, sw: document.querySelector('#crSw').hidden }));
67
- ok('B1 the rail names four places, Board is current, the board is named and has no switcher for one board', rail.names.join() === 'Briefing,My work,Board,Insights' && rail.cur === 'Board' && rail.pi === '2' && rail.name === 'pmos' && rail.sw, JSON.stringify(rail));
67
+ ok('B1 the rail names five places, Board is current, the board is named and has no switcher for one board', rail.names.join() === 'Briefing,My work,Chat,Board,Insights' && rail.cur === 'Board' && rail.pi === '3' && rail.name === 'pmos' && rail.sw, JSON.stringify(rail));
68
68
  { await p.click('#moreBtn'); const tc = await p.evaluate(() => { const a = document.querySelector('#toConsole'); if (!a) return null; const r = a.getBoundingClientRect(); return { href: a.getAttribute('href'), label: a.getAttribute('aria-label'), w: Math.round(r.width), h: Math.round(r.height), tab: a.tabIndex }; }); ok('B1 the ⋯ menu links to the console (premium-console-link, premium-topbar)', tc && tc.href === '/console.html' && tc.label === 'Open the console' && tc.w >= 44 && tc.h >= 44 && tc.tab === 0, JSON.stringify(tc)); await p.keyboard.press('Escape'); }
69
69
  ok('B1 the page is served at /premium-board and /premium-board.html', (await fetch(BASE + '/premium-board')).status === 200 && (await fetch(BASE + '/premium-board.html')).status === 200);
70
70
  for (const [go, re] of [['brief', /\/premium\.html$/], ['work', /\/premium-work\.html$/]]) {
@@ -174,8 +174,8 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
174
174
  const D = await open({ model: BP.build(Object.assign({}, base, { docs: docs3 })) });
175
175
  const q = D.page;
176
176
  ok('B15 the third card is "Next release", as the mockup names it', await q.evaluate(() => document.querySelector('#hRel').textContent === 'Next release'));
177
- ok('B15 the header is the crumb: the board\'s name, no switcher for one board, and the sparkle', await q.evaluate(() => document.querySelector('#crBoard').disabled && document.querySelector('#crBoard').textContent === 'pmos' && document.querySelector('#crSw').hidden && document.querySelector('#crAsk').getAttribute('aria-label') === 'Ask about this board' && !document.querySelector('#bsw')));
178
- await q.click('#crAsk'); await until(() => q.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(500);
177
+ ok('B15 the header is the crumb: the board\'s name, no switcher for one board, and no chat button (Chat is in the rail)', await q.evaluate(() => document.querySelector('#crBoard').disabled && document.querySelector('#crBoard').textContent === 'pmos' && document.querySelector('#crSw').hidden && !document.querySelector('#crAsk') && !document.querySelector('#bsw')));
178
+ await q.click('.rail [data-go="chat"]'); await until(() => q.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(500);
179
179
  const bd = await q.evaluate(() => ({ title: document.querySelector('#dTitle').textContent, grid: [...document.querySelectorAll('#oMain .kv2 span')].map((x) => x.textContent).join('|'), ask: document.querySelector('#askF').hidden }));
180
180
  ok('B15 the sparkle opens the board in the dialog, its counts as a grid and the read-only agent beside it', bd.title === 'pmos' && /Open initiatives\|9\|On track\|5\|At risk\|3\|Late\|1/.test(bd.grid) && bd.ask === false, JSON.stringify(bd));
181
181
  D.setThread({ ok: true, working: false, turns: [] }); await q.fill('#askIn', 'What is late?'); const nq = D.posts.length; await q.press('#askIn', 'Enter');
@@ -109,8 +109,8 @@ const SUGGEST = { ok: true, suggested: [{ kind: 'pmos-doc', ref: 'planning/prd/p
109
109
  await until(() => page.evaluate(() => document.querySelectorAll('#wkStrip [data-day]').length === 5)); // the card's day strip: today is picked, so the row is a Today row
110
110
  await page.evaluate(() => { const r = [...document.querySelectorAll('#tl .ev')].find((e) => e.querySelector('b').textContent === 'Sprint planning'); r.id = 'rowSprint'; r.click(); });
111
111
  S.dlg = await until(() => page.evaluate(() => document.querySelector('#dlg').classList.contains('on') && !!document.querySelector('#mmAdd') && /Roadmap|No material/.test(document.querySelector('#oMain').textContent)));
112
- // the detail opens on After when the meeting has notes (premium-viewer S3): material is under Before, Make task under After
113
- if (S.dlg && stage) { await page.click(`#oMain [data-ph="${stage}"]`); S.dlg = await until(() => page.evaluate((k) => !document.querySelector(`#oMain .vm-body[data-part="${k}"]`).hidden, stage)); }
112
+ // the detail shows Notes first and open when the meeting has notes: material is in Prep and material, Make task in Notes and next steps
113
+ if (S.dlg && stage) { await page.evaluate((k) => { const d = document.querySelector(`#oMain .vm-body[data-part="${k}"]`); if (d && !d.open) d.querySelector('summary').click(); }, stage); S.dlg = await until(() => page.evaluate((k) => document.querySelector(`#oMain .vm-body[data-part="${k}"]`).open, stage)); }
114
114
  return Object.assign(S, { ctx, page });
115
115
  };
116
116
  const text = (p) => p.evaluate(() => document.querySelector('#oMain').textContent);
@@ -212,7 +212,7 @@ const SUGGEST = { ok: true, suggested: [{ kind: 'pmos-doc', ref: 'planning/prd/p
212
212
  /* M7 floors and fidelity */
213
213
  for (const th of ['light', 'dark']) {
214
214
  const P = await open({ w: 390, h: 844, theme: th });
215
- const f1 = await P.page.evaluate(() => ({ scroll: document.documentElement.scrollWidth <= innerWidth + 1, btn: [...document.querySelectorAll('#mmAdd,.mtg-rm,.mtg-task,#oMain .vm-ph button')].filter((b) => b.getClientRects().length).map((b) => Math.min(b.getBoundingClientRect().width, b.getBoundingClientRect().height)) }));
215
+ const f1 = await P.page.evaluate(() => ({ scroll: document.documentElement.scrollWidth <= innerWidth + 1, btn: [...document.querySelectorAll('#mmAdd,.mtg-rm,.mtg-task,#oMain .vm-sh')].filter((b) => b.getClientRects().length).map((b) => Math.min(b.getBoundingClientRect().width, b.getBoundingClientRect().height)) }));
216
216
  await P.page.click('#mmAdd'); await until(() => P.page.evaluate(() => /Premium UX PRD/.test(document.querySelector('#mmSug').textContent)));
217
217
  await P.page.click('#mmSug [data-pick]');
218
218
  const f2 = await P.page.evaluate(() => ({ scroll: document.documentElement.scrollWidth <= innerWidth + 1 && document.querySelector('#oMain').scrollWidth <= document.querySelector('#oMain').clientWidth + 1, btn: [...document.querySelectorAll('#mmBack,#mmDo,#mmCancel,[data-scope],[data-pick],.mtg-in')].map((b) => Math.min(b.getBoundingClientRect().width, b.getBoundingClientRect().height)) }));
@@ -148,9 +148,9 @@ const RECORDER = () => {
148
148
  };
149
149
  const text = (p) => p.evaluate(() => document.querySelector('#oMain').textContent);
150
150
  const rec = (p) => p.evaluate(() => document.querySelector('#m3Rec') ? document.querySelector('#m3Rec').textContent : '');
151
- /* A control under a stage the dialog is not showing (Before / During / After) is reached by pressing that stage first; the press holds the stage
152
- * when the meeting's answers land and the dialog would otherwise open on its own pick. */
153
- const reveal = async (p, sel) => { await until(() => p.evaluate(() => document.querySelector('#oMain').dataset.ready === 'meeting')); await p.evaluate((q) => { const b = document.querySelector(q), part = b && b.closest('.vm-body[data-part]'); if (part) document.querySelector(`#oMain [data-ph="${part.dataset.part}"]`).click(); }, sel); };
151
+ /* A control in a folded part of the detail is reached by opening that part first, and one in the More menu by opening the menu; an opened part stays
152
+ * open when the meeting's answers land and the detail is drawn again. */
153
+ const reveal = async (p, sel) => { await until(() => p.evaluate(() => document.querySelector('#oMain').dataset.ready === 'meeting')); await p.evaluate((q) => { const b = document.querySelector(q), part = b && b.closest('details.vm-part'), mn = b && b.closest('details.vm-menu'); if (part && !part.open) part.querySelector('summary').click(); if (mn) mn.open = true; }, sel); };
154
154
  const press = async (p, act) => { const sel = `#oMain [data-m3="${act}"]`; await reveal(p, sel); await p.click(sel); };
155
155
  const chip = (p) => p.evaluate(() => { const c = document.querySelector('#recChip'); return c && !c.hidden ? c.textContent : null; });
156
156
 
@@ -161,7 +161,8 @@ const RECORDER = () => {
161
161
 
162
162
  /* R1 R2 record */
163
163
  const t0 = await text(p);
164
- ok('R1 a meeting under way has Record, and says what the press does', /Record/.test(await rec(p)) && /microphone/.test(await rec(p)) && /this machine/.test(await rec(p)));
164
+ const why = () => p.evaluate(() => (document.querySelector('#oMain .acts2 > .why') || {}).textContent || '');
165
+ ok('R1 a meeting under way has Record, and More says what the press does', /Record/.test(await rec(p)) && /microphone/.test(await why()) && /this machine/.test(await why()));
165
166
  ok('R5 the Detail view says what Focus reads before any read, and none was made', /every 3 seconds/.test(t0) && /sends nothing/.test(t0) && A.focusGets === 0);
166
167
  ok('R5 the dialog read the meeting prep once, apart from Focus', !!(await until(() => A.briefGets === 1)) && A.focusGets === 0, 'brief ' + A.briefGets + ' focus ' + A.focusGets);
167
168
  ok('R1 nothing was sent to the notes routes before a press', !A.reqs.some((r) => /^POST \/api\/notes/.test(r)), A.reqs.join());
@@ -185,7 +186,7 @@ const RECORDER = () => {
185
186
  await press(p, 'stopno');
186
187
  ok('R1 Cancel on the ask stops nothing', A.stopPosts.length === 0 && /Recording/.test(await rec(p)));
187
188
  await press(p, 'stop'); await press(p, 'stopgo');
188
- ok('R1 Stop for good ends the meeting through the route, and the row says it ended', await until(() => A.stopPosts.length === 1) && await until(() => p.evaluate(() => /cannot be recorded again/.test(document.querySelector('#m3Rec').textContent))), await rec(p));
189
+ ok('R1 Stop for good ends the meeting through the route, and the row says it ended', await until(() => A.stopPosts.length === 1) && await until(() => p.evaluate(() => /Stopped for good/.test(document.querySelector('#m3Rec').textContent) && !document.querySelector('#m3Rec [data-m3="rec"]'))), await rec(p));
189
190
  ok('R3 the chip is gone once no note records', await until(async () => (await chip(p)) === null));
190
191
  ok('R10 the notes writes sent were new, record, pause, record, stop and nothing else', A.reqs.filter((r) => /^POST \/api\/notes/.test(r)).join() === 'POST /api/notes/new,POST /api/notes/record,POST /api/notes/pause,POST /api/notes/record,POST /api/notes/stop', A.reqs.filter((r) => /^POST/.test(r)).join());
191
192
  await A.ctx.close();
@@ -152,7 +152,7 @@ const MOCKUP = fs.readFileSync(path.join(__dirname, '..', 'prototype', 'premium-
152
152
  /* C5 link it */
153
153
  await p.click('#rowSprint');
154
154
  await until(() => p.evaluate(() => !!document.querySelector('#mtgSel') && /Capacity sheet/.test(document.querySelector('#oMain').textContent)));
155
- await p.click('#oMain [data-vm="about"]'); // the head's Change opens the choice (premium-viewer S3)
155
+ await p.click('#oMain .vm-menu > summary'); await p.click('#oMain [data-vm="about"]'); // Change what it is about, in the More menu, opens the choice
156
156
  const dis = await p.evaluate(() => document.querySelector('#mtgLink').disabled);
157
157
  ok('C5 Link it is off until a choice is made', dis === true);
158
158
  const optsText = await p.evaluate(() => [...document.querySelectorAll('#mtgSel option')].map((o) => o.textContent));
@@ -181,7 +181,8 @@ const MOCKUP = fs.readFileSync(path.join(__dirname, '..', 'prototype', 'premium-
181
181
  const owner = await R.page.evaluate(() => { const c = document.querySelector('#oMain [data-vm-t="actions"] tbody tr'); return c ? [...c.children].slice(1, 3).map((x) => x.textContent).join(' · ') : ''; });
182
182
  ok('C6 the note\'s decisions, next steps and questions are listed as the note holds them', rd && /Plan the sprint with eight people/.test(rd) && /Sam confirms the data fix owner/.test(rd) && /^Sam · Tue/.test(owner) && /Does a release eat the capacity\?/.test(rd) && /Sprint planning notes/.test(rd), String(rd).slice(0, 300));
183
183
  ok('C8 a kept recording is summarised, and Replay opens in the dialog', rd && /A recording is kept: 25 min, 3 key points/.test(rd) && /Replay/.test(rd) && !/Replay opens in the console/.test(rd));
184
- ok('C6 the replay answer\'s people are used only when the calendar lists none', rd && /Dara, Priya, Sam/.test(rd));
184
+ const ppl = await R.page.evaluate(() => [...document.querySelectorAll('#oMain .vm-ppl .pp')].map((x) => x.lastChild.textContent).join(', '));
185
+ ok('C6 the replay answer\'s people are used only when the calendar lists none', rd && ppl === 'Dara, Priya, Sam', ppl);
185
186
 
186
187
  /* C4 a Today row opens the same dialog when the calendar answer knows the meeting */
187
188
  const Tt = await open({ replay: REPLAY });
@@ -74,9 +74,9 @@ const HEALTH = { ok: true, path: 'planning/prd/self-serve-v2-prd.md', health: {
74
74
 
75
75
  /* I1 place */
76
76
  const rail = await p.evaluate(() => ({ names: [...document.querySelectorAll('.rail .pl')].map((b) => b.textContent.trim()), cur: document.querySelector('.rail [aria-current="page"]').textContent.trim() }));
77
- ok('I1 the rail names the four places and marks Board', rail.names.join() === 'Briefing,My work,Board,Insights' && rail.cur === 'Board');
77
+ ok('I1 the rail names the five places and marks Board', rail.names.join() === 'Briefing,My work,Chat,Board,Insights' && rail.cur === 'Board');
78
78
  { await p.click('#moreBtn'); const tc = await p.evaluate(() => { const a = document.querySelector('#toConsole'); if (!a) return null; const r = a.getBoundingClientRect(); return { href: a.getAttribute('href'), label: a.getAttribute('aria-label'), w: Math.round(r.width), h: Math.round(r.height), tab: a.tabIndex }; }); ok('I1 the ⋯ menu links to the console (premium-console-link, premium-topbar)', tc && tc.href === '/console.html' && tc.label === 'Open the console' && tc.w >= 44 && tc.h >= 44 && tc.tab === 0, JSON.stringify(tc)); await p.keyboard.press('Escape'); }
79
- ok('I1 the bar has a back button to the board, the initiative with its switcher, and Chat (premium-topbar)', await p.evaluate(() => document.querySelector('#crBoard').getAttribute('aria-label') === 'Back to Onboarding' && document.querySelector('#crIni').textContent === 'Self-serve onboarding v2' && !document.querySelector('#crSw') && !!document.querySelector('#crSw2') && document.querySelector('#crAsk').getAttribute('aria-label') === 'Ask about this initiative'));
79
+ ok('I1 the bar has a back button to the board, the initiative with its switcher, and no chat button (Chat is in the rail)', await p.evaluate(() => document.querySelector('#crBoard').getAttribute('aria-label') === 'Back to Onboarding' && document.querySelector('#crIni').textContent === 'Self-serve onboarding v2' && !document.querySelector('#crSw') && !!document.querySelector('#crSw2') && !document.querySelector('#crAsk')));
80
80
  await p.route('**/premium-board.html*', (r) => r.fulfill({ contentType: 'text/html', body: '<title>b</title>' }));
81
81
  await p.route('**/premium-initiative.html?id=partner*', (r) => r.fulfill({ contentType: 'text/html', body: '<title>i</title>' }));
82
82
  await p.click('#crSw2'); const im = await p.evaluate(() => [...document.querySelectorAll('#crMenu button')].map((b) => b.textContent + (b.hasAttribute('aria-current') ? '*' : '')).join('|'));
@@ -85,7 +85,7 @@ const HEALTH = { ok: true, path: 'planning/prd/self-serve-v2-prd.md', health: {
85
85
  { const u = new URL(p.url()); ok('I1 choosing an initiative opens its page on the same board', u.pathname === '/premium-initiative.html' && u.searchParams.get('id') === 'partner-rate-limits' && u.searchParams.get('board') === 'w1', p.url()); await p.goBack(); await until(() => p.evaluate(() => !!document.querySelector('#cIniTk'))); }
86
86
  await p.click('#crBoard'); await sleep(500);
87
87
  { const u = new URL(p.url()); ok('I1 the back button leads back to the Board', u.pathname === '/premium-board.html' && u.searchParams.get('board') === 'w1', p.url()); await p.goBack(); await until(() => p.evaluate(() => !!document.querySelector('#cIniTk'))); }
88
- await p.click('#crAsk'); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(500);
88
+ await p.click('.rail [data-go="chat"]'); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(500);
89
89
  ok('I1 Chat opens the initiative in the dialog with the read-only agent beside it', await p.evaluate(() => document.querySelector('#dTitle').textContent === 'Self-serve onboarding v2' && /Lane\|feature/.test([...document.querySelectorAll('#oMain .kv2 span')].map((x) => x.textContent).join('|')) && !document.querySelector('#askF').hidden));
90
90
  await p.keyboard.press('Escape'); await until(() => p.evaluate(() => !document.querySelector('#dlg').classList.contains('on')));
91
91
 
@@ -64,7 +64,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
64
64
 
65
65
  /* I1 */
66
66
  const rail = await p.evaluate(() => ({ names: [...document.querySelectorAll('.rail .pl')].map((b) => b.textContent.trim()), cur: document.querySelector('.rail [aria-current="page"]').textContent.trim(), pi: getComputedStyle(document.querySelector('.rail')).getPropertyValue('--pi').trim(), title: document.title, name: document.querySelector('#crBoard').textContent, sw: document.querySelector('#crSw').hidden }));
67
- ok('I1 the rail names four places, Insights is current, the board is named and has no switcher for one board', rail.names.join() === 'Briefing,My work,Board,Insights' && rail.cur === 'Insights' && rail.pi === '3' && rail.name === 'pmos' && rail.sw, JSON.stringify(rail));
67
+ ok('I1 the rail names five places, Insights is current, the board is named and has no switcher for one board', rail.names.join() === 'Briefing,My work,Chat,Board,Insights' && rail.cur === 'Insights' && rail.pi === '4' && rail.name === 'pmos' && rail.sw, JSON.stringify(rail));
68
68
  { await p.click('#moreBtn'); const tc = await p.evaluate(() => { const a = document.querySelector('#toConsole'); if (!a) return null; const r = a.getBoundingClientRect(); return { href: a.getAttribute('href'), label: a.getAttribute('aria-label'), w: Math.round(r.width), h: Math.round(r.height), tab: a.tabIndex }; }); ok('I1 the ⋯ menu links to the console (premium-console-link, premium-topbar)', tc && tc.href === '/console.html' && tc.label === 'Open the console' && tc.w >= 44 && tc.h >= 44 && tc.tab === 0, JSON.stringify(tc)); await p.keyboard.press('Escape'); }
69
69
  ok('I1 the page is served at /premium-insights and /premium-insights.html', (await fetch(BASE + '/premium-insights')).status === 200 && (await fetch(BASE + '/premium-insights.html')).status === 200);
70
70
  for (const [go, re] of [['brief', /\/premium\.html$/], ['work', /\/premium-work\.html$/], ['init', /\/premium-board\.html$/]]) {
@@ -92,8 +92,9 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
92
92
 
93
93
  /* R1 */
94
94
  const rail = await p.evaluate(() => ({ names: [...document.querySelectorAll('.rail .pl')].map((b) => b.textContent.trim()), cur: document.querySelector('.rail [aria-current="page"]').textContent.trim(), go: [...document.querySelectorAll('.rail [data-go]')].map((b) => b.dataset.go) }));
95
- ok('R1 the rail names four places and Briefing is current', rail.names.join() === 'Briefing,My work,Board,Insights' && rail.cur === 'Briefing', JSON.stringify(rail));
96
- ok('R1 each place has a target: Briefing and My work are premium pages, Board and Insights open the console tab', rail.go.join() === 'brief,work,init,rep');
95
+ ok('R1 the rail names five places, Chat in the middle, and Briefing is current (premium-chat-rail)', rail.names.join() === 'Briefing,My work,Chat,Board,Insights' && rail.cur === 'Briefing' && rail.go.join() === 'brief,work,chat,init,rep', JSON.stringify(rail));
96
+ ok('R1b no round chat button beside the page name, and no Sessions in the ⋯ menu (premium-chat-rail C4)', await p.evaluate(() => !document.querySelector('#pgChat,#crAsk,#sessBtn')));
97
+ ok('R1 each place has a target: the four pages and Chat', rail.go.join() === 'brief,work,chat,init,rep');
97
98
  const def = await fetch(BASE + '/').then((r) => r.text());
98
99
  ok('R1 the premium Briefing is the default page', /class="rail/.test(def) && !/id="c3-root"/.test(def));
99
100
  { const con = await fetch(BASE + '/console.html').then((r) => r.text()); ok('R1 the console is served at /console.html', /id="c3-root"/.test(con)); const old = await fetch(BASE + '/c3.html', { redirect: 'manual' }); const oldQ = await fetch(BASE + '/c3.html?tab=rep', { redirect: 'manual' }); ok('R1 /c3.html goes to the premium Briefing, and with a query to the console with the same query', old.status === 302 && old.headers.get('location') === '/premium.html' && oldQ.status === 302 && oldQ.headers.get('location') === '/console.html?tab=rep', old.headers.get('location') + ' | ' + oldQ.headers.get('location')); }
@@ -153,7 +154,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
153
154
  for (let i = A.reqs.length - 1; i >= 0; i--) if (/^POST \/api\/proactive\/settings$/.test(A.reqs[i])) A.reqs.splice(i, 1); // R10 below counts presses on a page where nothing was pressed
154
155
  await p.keyboard.press('Escape'); }
155
156
 
156
- /* premium-session-list (replaces the Agent sessions popup): the ⋯ menu's Sessions opens the chat panel full screen with the list beside it.
157
+ /* premium-session-list, reached from the rail's Chat (premium-chat-rail): Chat opens the page's conversation full screen with the list beside it.
157
158
  * The list reads /api/sessions; PMOS sessions that need nothing fold into one line; the viewer holds the session's facts, its question and Stop. */
158
159
  { const now = Date.now();
159
160
  const fake = [
@@ -167,17 +168,20 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
167
168
  await p.route('**/api/sessions/conversation**', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, state: 'conv', turn: 'user', messages: [{ role: 'user', text: 'Draft the brief' }, { role: 'assistant', text: 'The brief is drafted in planning/briefs.' }] }) }));
168
169
  await p.route('**/api/session/say', (r) => { said.push({ ...JSON.parse(r.request().postData()), hasNonce: !!r.request().headers()['x-pmos-nonce'] }); r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true }) }); });
169
170
  await p.route('**/api/session/remove', (r) => { removes++; const id = JSON.parse(r.request().postData()).id; if (id === 'sess-4' && slowOnce) { slowOnce = false; return r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, removed: false, note: 'asked it to end' }) }); } const i = fake.findIndex((x) => x.id === id); if (i >= 0) fake.splice(i, 1); return r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, removed: true }) }); });
170
- await p.click('#moreBtn'); const bt = await p.evaluate(() => { const b = document.querySelector('#sessBtn'); if (!b) return null; const r = b.getBoundingClientRect(); return { w: Math.round(r.width), h: Math.round(r.height), t: b.textContent }; });
171
- ok('X1 the ⋯ menu has a Sessions item of at least 44 px', bt && bt.w >= 44 && bt.h >= 44 && /^Sessions/.test(bt.t), JSON.stringify(bt));
172
- await p.click('#sessBtn');
171
+ const bt = await p.evaluate(() => { const b = document.querySelector('.rail [data-go="chat"] .orb'); if (!b) return null; const r = b.getBoundingClientRect(); return { w: Math.round(r.width), h: Math.round(r.height) }; });
172
+ ok('X1 the rail\'s Chat is a round button of at least 44 px', bt && bt.w >= 44 && bt.h >= 44, JSON.stringify(bt));
173
+ await p.click('.rail [data-go="chat"]'); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on')));
174
+ await p.click('#dExpand');
173
175
  const lay = await until(() => p.evaluate(() => { const d = document.querySelector('#dlg'), r = document.querySelector('#sRail'); if (!d.classList.contains('full') || !r || !r.offsetWidth || !document.querySelector('#srlList .srl-r')) return null; const o = { rail: Math.round(r.getBoundingClientRect().width), work: Math.round(document.querySelector('#dBody').getBoundingClientRect().width), out: Math.round(document.querySelector('#dOut').getBoundingClientRect().width) }; return o.out > 300 ? o : null; }), 8000) || (await p.evaluate(() => ({ rail: document.querySelector('#sRail').getBoundingClientRect().width, work: document.querySelector('#dBody').getBoundingClientRect().width, out: document.querySelector('#dOut').getBoundingClientRect().width, cls: document.querySelector('#dlg').className, mode: document.querySelector('#dlg').dataset.mode, w: document.querySelector('#dlg').getBoundingClientRect().width })));
174
- ok('X2 Sessions opens the chat panel full screen with three panels: list, conversation, viewer', lay && lay.out > 300 && lay.rail > 150 && lay.work > 300 && lay.out > 300, JSON.stringify(lay));
176
+ ok('X2 Chat opens the Briefing\'s conversation; full screen gives three panels: list, conversation, viewer', /Ask about the Briefing/.test(await p.evaluate(() => document.querySelector('#dTitle').textContent)) && lay && lay.out > 300 && lay.rail > 150 && lay.work > 300 && lay.out > 300, JSON.stringify(lay));
175
177
  const grpOf = () => p.evaluate(() => [...document.querySelectorAll('#srlList .srl-g')].map((g) => g.querySelector('.srl-gh span').textContent + ':' + g.querySelectorAll('.srl-r').length + (g.querySelector('.srl-more') ? '+' + g.querySelector('.srl-more').textContent : '')));
176
178
  const grp = (await until(async () => { const v = await grpOf(); return v.join('|') === 'Yours:1|Started by PMOS:1+1 more working on their own · Show' ? v : null; }, 8000)) || (await grpOf());
177
179
  ok('X3 the list groups by who started each session, exited ones are gone, and PMOS runs that need nothing fold into one line', grp.join('|') === 'Yours:1|Started by PMOS:1+1 more working on their own · Show', grp.join('|'));
178
- ok('X4 the badge counts the sessions that need you (Ready or Maybe blocked), not every running one', !!(await until(() => p.evaluate(() => document.querySelector('#sessBdg').textContent === '2'), 6000)), await p.evaluate(() => document.querySelector('#sessBdg').textContent));
180
+ const chatName = () => p.evaluate(() => { const a = document.querySelector('.rail [data-go="chat"]'); return a.getAttribute('aria-label') + (a.querySelector('.cdot').hidden ? '' : ' +dot'); });
181
+ ok('X4 the Chat dot counts the sessions that need you (Ready or Maybe blocked), not every running one', !!(await until(async () => (await chatName()) === 'Chat, 2 sessions need you +dot', 6000)), await chatName());
182
+ await p.click('#srlList [data-sid="sess-1"]');
179
183
  const first = await until(() => p.evaluate(() => { const on = document.querySelector('#srlList .srl-r.on'); return on && /Draft the brief/.test(document.querySelector('#dTitle').textContent) && /brief is drafted/.test(document.querySelector('#dBody').textContent) ? on.dataset.sid : null; }), 8000);
180
- ok('X5 it opens on the session that needs you most, with its conversation from the transcript', first === 'sess-1', String(first));
184
+ ok('X5 a press on the Ready session opens its conversation from the transcript', first === 'sess-1', String(first));
181
185
  await p.fill('#askIn', 'Put it in planning/research instead'); await p.click('#askGo');
182
186
  await until(() => said.length, 6000);
183
187
  ok('X6 a message to a session with no chat row goes to that session, as a page press', said.length === 1 && said[0].id === 'sess-1' && /planning\/research/.test(said[0].text) && said[0].hasNonce, JSON.stringify(said));
@@ -641,7 +645,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
641
645
  {
642
646
  const t = await p.evaluate(() => {
643
647
  const small = [];
644
- for (const s of ['.rr .rhd', '.rr .rpin', '#tl .ev', '#srcChips .fchip', '.fbtn', '.rail .pl', '#srcChip', '#moreBtn', '#pgChat', '#theme2']) document.querySelectorAll(s).forEach((e) => { const r = e.getBoundingClientRect(); if (r.width && (r.height < 44 || r.width < 44)) small.push(s + ' ' + Math.round(r.width) + 'x' + Math.round(r.height)); });
648
+ for (const s of ['.rr .rhd', '.rr .rpin', '#tl .ev', '#srcChips .fchip', '.fbtn', '.rail .pl', '#srcChip', '#moreBtn', '.rail .pchat .orb', '#theme2']) document.querySelectorAll(s).forEach((e) => { const r = e.getBoundingClientRect(); if (r.width && (r.height < 44 || r.width < 44)) small.push(s + ' ' + Math.round(r.width) + 'x' + Math.round(r.height)); });
645
649
  return small;
646
650
  });
647
651
  ok('R11 every control is at least 44 px', t.length === 0, t.join(' | '));
@@ -71,7 +71,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
71
71
 
72
72
  /* M1 */
73
73
  const rail = await p.evaluate(() => ({ names: [...document.querySelectorAll('.rail .pl')].map((b) => b.textContent.trim()), cur: document.querySelector('.rail [aria-current="page"]').textContent.trim(), go: [...document.querySelectorAll('.rail [data-go]')].map((b) => b.dataset.go), pi: getComputedStyle(document.querySelector('.rail')).getPropertyValue('--pi').trim(), title: document.title }));
74
- ok('M1 the rail names four places, My work is current and the indicator sits on it', rail.names.join() === 'Briefing,My work,Board,Insights' && rail.cur === 'My work' && rail.go.join() === 'brief,work,init,rep' && rail.pi === '1', JSON.stringify(rail));
74
+ ok('M1 the rail names five places, My work is current and the indicator sits on it', rail.names.join() === 'Briefing,My work,Chat,Board,Insights' && rail.cur === 'My work' && rail.go.join() === 'brief,work,chat,init,rep' && rail.pi === '1', JSON.stringify(rail));
75
75
  { await p.click('#moreBtn'); const tc = await p.evaluate(() => { const a = document.querySelector('#toConsole'); if (!a) return null; const r = a.getBoundingClientRect(); return { href: a.getAttribute('href'), label: a.getAttribute('aria-label'), w: Math.round(r.width), h: Math.round(r.height), tab: a.tabIndex }; }); ok('M1 the ⋯ menu links to the console (premium-console-link, premium-topbar)', tc && tc.href === '/console.html' && tc.label === 'Open the console' && tc.w >= 44 && tc.h >= 44 && tc.tab === 0, JSON.stringify(tc)); await p.keyboard.press('Escape'); }
76
76
  const res = await fetch(BASE + '/premium-work').then((r) => r.status);
77
77
  ok('M13 My work has no Calendar card: the Briefing holds the calendar (premium-calendar-card A1)', await p.evaluate(() => !document.querySelector('#weekCard') && ![...document.querySelectorAll('h2')].some((h) => /Calendar|This week/.test(h.textContent))));
@@ -1,4 +1,21 @@
1
1
  [
2
+ {
3
+ "v": "0.363.0",
4
+ "at": "2026-10-21T00:46:24.704Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 965,
9
+ "t": "Chat is the big middle place in the premium rail",
10
+ "s": "Chat is the big middle place in the premium rail"
11
+ },
12
+ {
13
+ "n": 966,
14
+ "t": "The meeting detail is one scroll with a short head on a phone",
15
+ "s": "The meeting detail is one scroll with a short head on a phone"
16
+ }
17
+ ]
18
+ },
2
19
  {
3
20
  "v": "0.362.0",
4
21
  "at": "2026-10-21T00:23:03.151Z",
@@ -11,15 +11,15 @@ The premium Briefing is a page of its own at `/premium.html`. The console at `/`
11
11
 
12
12
  Every premium page uses the console's type: Space Grotesk for text, IBM Plex Mono for times and labels, and the same sizes and weights as the console. A premium page and the console at the same place read at the same size.
13
13
 
14
- A rail on the left names four places: Briefing, My work, Board and Insights. Each is a premium page. On a phone the rail is a bar at the bottom of the screen. It stays at the bottom after you type in a field and the keyboard closes.
14
+ A rail on the left has five places: Briefing, My work, **Chat**, Board and Insights. Chat is in the middle, a large round button, because the chat is the main place to work. The other four are premium pages. On a phone the rail is a bar at the bottom of the screen, and Chat rises above it. It stays at the bottom after you type in a field and the keyboard closes.
15
15
 
16
- Every premium page has the same top bar. On the left is where you are, then a round **Chat** button. On the right are the **Sources** chip, the bell and one **⋯** menu.
16
+ Every premium page has the same top bar. On the left is where you are. On the right are the **Sources** chip, the bell and one **⋯** menu.
17
17
 
18
- - **Chat** opens a conversation with Claude about the page you are on: the Briefing, My work, the board, or the initiative. On Insights, Chat opens the Insight Studio, because the Studio is that page's chat.
18
+ - **Chat** (in the rail) opens a conversation with Claude about the page you are on: the Briefing, My work, the board, or the initiative. On Insights, Chat opens the Insight Studio, because the Studio is that page's chat. An orange dot on Chat means one or more sessions are Ready or Maybe blocked; the button's name says how many.
19
19
  - **Sources** has a green dot when every source was read recently, and an orange dot when a source is old, was never read, failed, or the page could not read it. Hover to see which. A press opens the Sources dialog (see "Sources" below).
20
20
  - **The bell** is your inbox of agent results: see [The bell: what the agent has for you](#the-bell-what-the-agent-has-for-you).
21
- - **The ⋯ menu** holds **Search** (Ctrl K), **Sessions** with a count of the sessions that need you, **Console**, **Theme** (Light, Dark or Auto) and **Settings**. On the Board it also holds **Open initiatives** as Page or Popup. An orange dot on ⋯ means a newer PMOS is ready, and **Settings** then shows the version.
22
- - **On a phone** the bar is one row: the page name, Chat, the bell and ⋯. Sources moves into the ⋯ menu.
21
+ - **The ⋯ menu** holds **Search** (Ctrl K), **Console**, **Theme** (Light, Dark or Auto) and **Settings**. On the Board it also holds **Open initiatives** as Page or Popup. An orange dot on ⋯ means a newer PMOS is ready, and **Settings** then shows the version.
22
+ - **On a phone** the bar is one row: the page name, the bell and ⋯. Sources moves into the ⋯ menu.
23
23
  - **Menus.** An option that is too long for one line wraps onto the next line, and its row grows to hold it.
24
24
 
25
25
  **Search** (Ctrl K, or `/`) opens the search over places, initiatives, documents and your running sessions; Enter opens the result. Search and the bell only read; neither changes a record. **Console** opens the console at `/console.html`, for the places premium does not have yet. In the console, the More menu has **Open premium**, which opens this page. **Settings** opens one dialog. **Updates** comes first: the PMOS version you have, the newest published version, **Check now** and, when a newer one is ready, **Update**. Update does what the console's Settings › Updates does: it updates the kit in each workspace that is behind, then PMOS itself, which stops for about a minute and reloads the page. PMOS that runs from a checkout says to use `git pull` instead. Each workspace is a row with its kit version. PMOS checks once a day while a page is open (the console's **Check for updates** setting turns this off). **What's new** lists each published kit, newest first and grouped by day: its version, when it published, and one entry per pull request it carries: the pull request's title in bold, with its number, and under it the first sentence of its "After:" paragraph. Both are copied from the pull request when the kit is published; a parenthesis that holds code or a decision number is left out, and a pull request with no "After:" paragraph shows its title only. Kits newer than yours are tinted, and yours is marked. Five show per day; **Show more** opens the rest. Then come two choices. **Workspaces** lists the repositories PMOS works in, with Add (a folder path) and Remove; Remove forgets the address and never deletes the folder, and a refusal shows the server's reason. **Connectors** has an On/Off switch for each source the Briefing reads, then a row for every other connector your Claude session has (for example BigQuery). PMOS reads the connector names from the default profile, or from Claude Code's own settings when no profile is set. Your Claude sessions can use every connector whatever its switch says; a switch chooses only what PMOS reads on its own. Such a row is Off until you switch it on, and it says that nothing in PMOS reads it on its own yet: the switch saves your choice for a reader to come. Each press saves that one record. Every other setting runs on a default and stays in the console; the dialog links to it. Remove needs the page's launch nonce, so an agent session cannot call it.
@@ -37,7 +37,7 @@ The first line of **Sources** says whether PMOS's background work is running. Wh
37
37
  - **End.** Every row has an **End** button (×) on its right: it shows when the pointer is over the row, and always on a touch screen. An idle session ends at once. A session that is Running, Ready or Maybe blocked asks first, in the row, with **End** and **Keep**. Ending stops the process and removes the row; files it already wrote stay. If it has not exited yet, the toast says so and the row stays.
38
38
  - **Idle shells.** A terminal shell with no agent in it and no output for a while folds under **Yours** into one line, "N more idle · Show", with **End all idle**. End all idle ends only those shells, never a goal or a session that needs you. PMOS opens one shell when it starts with no live session; it now checks after your sessions come back, so a restart no longer adds a shell each time.
39
39
  - **When the chat is not full screen,** a chip in the dialog's header shows the loudest dot and, for example, "2 ready". Press it to go full screen with the list. On a phone, it opens the list over the dialog, and a tap on a row switches to that session.
40
- - **Sessions in the ⋯ menu** counts the sessions that are Ready or Maybe blocked. It opens the dialog full screen on the session that needs you most. On a phone, it opens the list.
40
+ - **The dot on Chat** in the rail shows when sessions are Ready or Maybe blocked. Chat opens the page's conversation; its chip or its full-screen button shows the list. On a page with no conversation of its own, Chat opens the list itself.
41
41
  - When more than six agents are working at once, a note at the top of the list says how many, and suggests stopping the ones you are not watching. Nothing is stopped for you.
42
42
  - Terminals and new sessions stay in the console. Writing, answering and Stop need the page's launch nonce, so an agent session cannot call them.
43
43
 
@@ -164,7 +164,7 @@ In **Notes**, each next step has **Make task** when the note is linked to an ini
164
164
 
165
165
  **The recording chip.** While a note records or is paused, every premium page shows a chip at the bottom left with its name, **Open** and **Stop**. On the Briefing, while it records there, the chip has **Highlight**, **Pause**, **Focus**, **Open** (the Live notes tab) and **Stop**; a paused note has **Open**, **Resume** and **Stop**. The browser can capture audio only while the Briefing is open, because each premium page is its own page. If you leave the Briefing while it records, the browser asks first. If you leave anyway, the meeting is paused, so the record does not say "recording" for audio that nobody captures. The chip on the next page says "Paused", and **Open** takes you back to resume. A note that the server marks as recording, while the Briefing holds no recorder, shows "marked recording, but this page is not capturing audio".
166
166
 
167
- **Focus.** The dialog has a **Focus** press. Focus shows the meeting as it is now: the state (starts in, recording, paused, ended), a bar of the stretches by topic, the topic now (or the first topic before the start), the last lines of the talk with who said them, the topics, the material and the counts of decisions, next steps and questions. It reads the meeting every 3 seconds while it is open and stops when you leave it. While the note records, PMOS's companion, a read-only Claude run that sends nothing, may read the last minutes of the talk at most every 40 seconds and writes its own notes. The dialog says this before the first read. **Change** lists the topics. A press records one correction on the meeting through the console's route. If the companion is off, has not answered or has failed, Focus says so and shows only the talk. It shows no topic, line or count that the record does not hold.
167
+ **Focus.** The meeting dialog has **Focus** in its **More** menu. Focus shows the meeting as it is now: the state (starts in, recording, paused, ended), a bar of the stretches by topic, the topic now (or the first topic before the start), the last lines of the talk with who said them, the topics, the material and the counts of decisions, next steps and questions. It reads the meeting every 3 seconds while it is open and stops when you leave it. While the note records, PMOS's companion, a read-only Claude run that sends nothing, may read the last minutes of the talk at most every 40 seconds and writes its own notes. The dialog says this before the first read. **Change** lists the topics. A press records one correction on the meeting through the console's route. If the companion is off, has not answered or has failed, Focus says so and shows only the talk. It shows no topic, line or count that the record does not hold.
168
168
 
169
169
  **Replay.** When a recording is kept, the Replay part has a **Replay** press. Replay opens wide and hides the conversation panel; **Back to the meeting** puts both back. The header shows the meeting's day, start and end, length, the number of people, and the position as m:ss and as the time of day. The player plays the note's audio, with Back 10 s and 1x, 1.5x or 2x. Under it is a bar of the stretches by topic and, above the bar, one marker for each decision, next step, question and PMOS note that has a time. A ring marks a point that needs you (a question still open, or a next step with no owner). A shaded part of the bar is a gap where the recording was off. The line under the bar shows the topic being talked about and the key points near the playhead. Below are two panels: **On screen**, with the screen shot kept for that time and a strip of all shots, and **Conversation**, with the transcript and PMOS's notes. Its tabs show all lines, only the key-point lines or only PMOS's notes, and a search box narrows the lines. The key points sit in three columns: decisions, questions and next steps. **Confirm all** makes a task of each next step in the note's initiative, under its first stage; when the note has no initiative, it says to link one first. A press on a marker, stretch, key point, line or shot plays from there, and the current line is marked. A key point with no time has no play press. If no audio was kept, the playhead keeps its own clock.
170
170
 
@@ -299,7 +299,7 @@ Not drawn, because no record backs them: answers and ideas an agent files by its
299
299
 
300
300
  ## Board
301
301
 
302
- Board is the third place on the rail, at `/premium-board.html`. It reads what the production Initiatives page reads, for one board at a time, and shows a switcher only when more than one board is registered. The first time it takes a few seconds, because the routes derive every initiative. The page says "Reading the board" with the seconds, shows nothing in place of a guess, and asks again.
302
+ Board is the fourth place on the rail, after Chat, at `/premium-board.html`. It reads what the production Initiatives page reads, for one board at a time, and shows a switcher only when more than one board is registered. The first time it takes a few seconds, because the routes derive every initiative. The page says "Reading the board" with the seconds, shows nothing in place of a guess, and asks again.
303
303
 
304
304
  - **The header** counts the board's open initiatives: how many are on track, at risk, late and on hold, with a bar. A zero is shown.
305
305
  - **List** shows the late and at-risk initiatives first, then the board's now view, up to 100 loaded and 25 on screen at a time. A row shows the owner and lane, a status chip when it is not on track, how far through the workflow it is (and "derived" when the workflow engine placed it), a progress bar only when a record holds progress, and the planned finish only when an end date was set ("Not planned" otherwise). "Do this first" appears only when the first row is late.
@@ -309,7 +309,7 @@ Board is the third place on the rail, at `/premium-board.html`. It reads what th
309
309
  - **Open the backlog** is in the Sprint dialog and on its sprint tab. It opens the board's Jira backlog in a tab beside the dialog: the open sprints (active, then next) and then **Backlog**, the tickets in no sprint and not done. A row shows the key, title, status, points and initiative, and why a blocked ticket is blocked. **All**, **Blocked** and **Bugs** filter it (Bugs appears only when the Jira read holds the issue type). A row opens its ticket. The list holds only the tickets the board's initiatives pushed to Jira or hold under their epics, in key order: the Jira read has no rank, assignee or capacity. You move and rank tickets in Jira. With no Jira read, the tab says so.
310
310
  - **Next release** shows the next release that carries an initiative of this board, the one planned after it, and the three latest past releases (**Released** when accepted, else **Past**). It reads the release records (`releases/releases.jsonl`, written from the console's Releases view); Jira fix versions alone do not make a release. With no release planned it says so and still lists the past ones. With none at all it says "No release is on record for this board, past or planned."
311
311
  - **Metrics** appears above the Initiatives card on the board of any workspace except the home one (PMOS itself), and counts from that workspace's own repository. It has four tiles. **Corrections per 100 runs** is the corrections logged on the week's runs in `planning/runs/agent-runs.jsonl`; a week with fewer than 10 runs is left blank. **Merged a week** counts the commits on the first-parent line of the trunk. **Blocked** and **Idle for a month** come from the workflow engine, which keeps no history. From the first day the card is read, PMOS keeps their counts once a day in the workspace's state folder (`board-metric-history.jsonl`), so their charts start on that day and their caption says **history starts today** (later, the date). Earlier weeks read **Not kept yet**. Move over a chart, or use the arrow keys, to read a week. A tile that cannot be counted says **Not read** and why; a repository with no run log says **No runs yet**. The line above the tiles starts with how many tiles need a look, and those tiles have a **Needs a look** chip and an orange outline. The line ends with **open Insights**, which opens the same board's Insights page. Press a tile for its definition and values, with the read-only agent beside it. A target is set on Insights, not here. A measure with a target shows it under the value, draws it as a dashed line, and carries **On target** or its gap (for example **2 short**); off target, it also has the orange outline. A measure without a target draws no line. Day and Month are off. It was tested only on made-up repositories, not on a real IDPF or microsite repository.
312
- - **The top bar** names the page and the board. With more than one board a menu switches between them, and **Chat** opens the board in the dialog with the read-only agent.
312
+ - **The top bar** names the page and the board. With more than one board a menu switches between them, and **Chat** in the rail opens the board in the dialog with the agent.
313
313
  - **Core documents** lists the board's documents with their state, cadence and writer, a summary (drafts to review, not started, up to date), a progress bar, a filter and a search. A document with a file opens in the dialog, read only, with its path and state; a draft there has **Issue it**, which marks it issued through the console's own route and sends nothing, and **Draft it again**, which starts a new draft that replaces this one (a board draft has no Edit tab). **Draft it** starts the existing read-only run that writes a draft and sends nothing; **Draft the N not started** does that for each document that can be drafted. **Open** stays on premium pages: the backlog goes to this page's initiatives, new asks to its New asks card, releases to the release dialog, a Horizon scan to the Briefing's Horizon scan, and **Set it up** for a report to Insights. **Add a document** opens a form (title, who writes it, where it lives) and saves a document the core set does not cover on the board's record, in `custom-docs.jsonl`. A document with no link reads "Not started". A document with a link to Confluence or Google Docs reads "Linked" and shows its address. PMOS does not read or sync the linked page, so a linked document is never counted as up to date. Issue and Drop are not on this page.
314
314
  - **Opening an initiative.** A click on an initiative opens its page (see "Initiative page"). **Open initiatives** (Page or Popup) in the ⋯ menu changes that: Popup opens the initiative's dialog instead, which shows its record as a grid and the path of its file, with the read-only agent beside it. The choice is kept in this browser. The dialog holds no press.
315
315
  - **New asks** sits at the top of the right column on a team board. Each ask shows where it came from and the drafted title, lane and anchor. **Accept** makes it an initiative in the first stage, through the console's accept route; **Decline** asks for a reason first. The card says when nothing is left to triage.
@@ -323,7 +323,7 @@ Not drawn, because PMOS holds no record for them: the mockup's demo measures (Ac
323
323
 
324
324
  The initiative page is at `/premium-initiative.html?id=<initiative>`. A click on a Board initiative opens it. The round back button at the top leads back to the Board. Like the Board it reads the records of the production Initiatives sheet, and the first read takes a few seconds, because the routes derive every initiative. Until they have, the page says so and shows nothing.
325
325
 
326
- - **The top bar** has a back button to the board, then the initiative's name with a menu of the board's initiatives. **Chat** opens the initiative in the dialog with the read-only agent beside it.
326
+ - **The top bar** has a back button to the board, then the initiative's name with a menu of the board's initiatives. **Chat** in the rail opens the initiative in the dialog with the agent beside it.
327
327
  - Long file names in the evidence of a check wrap inside the card instead of running past its edge.
328
328
  - **The header** shows a status chip, the owner and the planned finish. Each appears only when a record holds it. Under it, the stage strip shows how far through the board's workflow the initiative is.
329
329
  - **Overview** shows the description (the part of the record's title after " — "), then the next step with its reason, its action and what happens if you wait, as the workflow engine states them, and who it waits on. **PMOS can help** offers up to three presses that do something real: a draft of the first core document not started (the existing read-only run) and a question for the read-only agent. The health reasons and the board's warnings are shown as written.
@@ -336,13 +336,13 @@ Not drawn, because PMOS holds no record for them: the mockup's demo tasks, its J
336
336
 
337
337
  ## Insights
338
338
 
339
- Insights is the fourth place on the rail, at `/premium-insights.html`. It reads the KR metric records of the board's workspace, your saved dashboards, and the report files and report setups the console's Reports tab lists. It writes only when you press a button: a dashboard goes to the workspace's state folder (`premium-dashboards.jsonl`), and a report press goes to the report ledger through the console's own report routes. An agent session cannot make either write.
339
+ Insights is the fifth place on the rail, at `/premium-insights.html`. It reads the KR metric records of the board's workspace, your saved dashboards, and the report files and report setups the console's Reports tab lists. It writes only when you press a button: a dashboard goes to the workspace's state folder (`premium-dashboards.jsonl`), and a report press goes to the report ledger through the console's own report routes. An agent session cannot make either write.
340
340
 
341
341
  - **Charts.** One chart for each KR metric that holds at least two readings. The line runs through the readings at their dates, so a month with no reading is a gap and not a zero. The dashed line is the metric's target. The chip is the record's own line status: on its line, behind it, or well behind it. Pressing a chart, or its Details link, opens the metric's record in the dialog with the read-only agent beside it.
342
342
  - **The insight.** The page opens with one finding across the board's measures, in a large line, with the reason and its numbers under it, up to two more findings, **Ask PMOS why** (opens the measure's dialog on the Conversation tab) and **See the chart**. A measure that is short of its target, with a target date after its last reading, gets a projection: a straight line through its last four readings (all, when fewer), carried to the target date. When the line lands short, the finding says the measure will miss its target on that date at this pace, where it lands, how far short, and when it would get there. When the line lands on or past the target, it says the measure is on course. The page says how the projection is made, and no forecast line is drawn on a chart. With no KR metric, or none with two readings, the page says there is no insight yet and why.
343
343
  - **The pinned dashboard.** The card under the insight shows the pinned dashboard: its insight band (the next findings on it, past the one the page leads with), its charts and **Unpin**. When nothing is pinned, it shows All measures, marked **Not pinned**, with **Pin**. Pressing a dashboard in the list shows it in this card, with **Pin** and **Back to** the pinned one. One dashboard per board is pinned, All measures included; pillar groups cannot be pinned. The pin is a line in `premium-dashboards.jsonl` and shows on Insights only.
344
344
  - **Dashboards and reports.** One list holds the dashboards (All measures, your saved ones, then the pillars the metrics name) and then the reports (your set-up reports, then the report files). **All**, **Dashboards** and **Reports** filter it; it shows six rows to a page, with page numbers. A dashboard row shows its top finding and a pin. A report row quotes the opening sentence of its latest file; a set-up report with no file says no draft is written yet. **New** offers **Dashboard** or **Report**. Your requests and what PMOS found in your work stay at the top of the list. A saved dashboard draws its charts in the order you saved them. A chart whose record is gone, or that has fewer than two readings, is listed in its place with the reason and is not drawn.
345
- - **Open the Studio from the top.** **Chat** beside the board name opens the Insight Studio: on the saved dashboard you are looking at, otherwise on a new dashboard, or in Report mode when no measure has a series yet.
345
+ - **Open the Studio from the top.** **Chat** in the rail opens the Insight Studio: on the saved dashboard you are looking at, otherwise on a new dashboard, or in Report mode when no measure has a series yet.
346
346
  - **Make or edit a dashboard.** **+** (at the left of the report input), then **Dashboard**, or **Edit** on a saved one, opens the **Insight Studio**, a wide dialog. On the right, the brief shows the Name, Purpose, Charts and Main dashboard; press a chip to change it. **Library** lists the board's measures and saved dashboards to add. The preview draws the dashboard as the page will, and lists a measure with no series as not drawn. The checks (a name, a purpose, a chart, six or fewer, no repeat, a main dashboard on the board) say what fails, with a one-press fix. On the left you can say it instead: "add Partner activation", "remove …", "move … first", "call it …", "it is for …", "make it the main dashboard", "undo" or "start a new one". A turn changes the draft only. **Undo** steps back one change. **Save the dashboard** records it; **Remove the dashboard** asks once more and then removes it. In a chart's dialog, **On your dashboards** has a switch for each saved dashboard, which adds the chart to it or takes it off.
347
347
  - **Make your own chart.** **New chart**, or **Edit** on one of your charts, opens the Insight Studio in **Chart** mode; the switch at the top moves between Chart and Dashboard, and each keeps its own draft. The brief shows the Question, Measure, Form (line, bars, number or meter), Range (all readings or the last few) and Target; **More** adds the Title, Better when, Note and Add to (a dashboard). The Studio suggests a form from the question and says why. The checks (a question, a target, enough readings, a form that fits the question, one scale) say what fails, with a one-press fix. You can say it instead: "show it as bars", "last 4 readings", "target 35", "lower is better", "call it …", "note: …", "add it to Weekly", or a question. A pie is declined, with the reason. **Save the chart** records it in the workspace's state folder, and adds it to the dashboard you named. Your charts are listed under **All measures**, and a dashboard can hold them beside the measures. **Remove the chart** asks once more; a dashboard that held it then says it was removed.
348
348
  - **Set up a report in the Studio.** **+**, then **Report**, opens the Insight Studio in **Report** mode. The brief shows the Title, What it answers, Audience, Format, Schedule, Draw from (your work, or the board's dashboard) and the Sections. A new report always has the same sections, in the same order, so they are listed, not edited. The checks (what it answers, an audience, a format that fits the audience, a new title, the answer first) say what fails, with a one-press fix. You can say it instead: "it answers: …", "for leadership", "slides", "monthly", "every two weeks on Thursday", "call it …". **Set it up** records the report and writes its first draft as a file.
@@ -384,15 +384,19 @@ On a phone or tablet (under 1000 px) every dialog opens on **Detail**. On a touc
384
384
 
385
385
  A dialog's detail panel opens with the record's path, its heading and one lead line. A decision's evidence reads as a list. A measure's dialog draws the measure's chart above its facts and readings.
386
386
 
387
- A calendar meeting's panel follows the mockup's Design review panel: the title with a status chip (when it starts, on now, or done), **Focus** and **Record**, **Prepared for you** (what it is about, people, material and the last meeting, each Ready only when PMOS holds that record), **Material** with **Add material**, **Previous meetings** and **Topics**. What Record and Focus do is one press away under **What Record does** and **What Focus reads**.
387
+ A calendar meeting's panel is one scroll, with no Before, During and After switch. On a phone the dialog's head is short: the title, then the day and the time. When you scroll the detail, the head keeps only the title and the tools, so the detail gets most of the screen. Scroll back to the top to see the Detail and Conversation switch again.
388
388
 
389
- The panel is laid out like the console's note sheet. Under the head, a line shows the time, then what the meeting is about with **Change** (the link choice). When the meeting is part of a series, the series line names it with "N of M" and has a press for the meeting before and the one after. Each opens that meeting's notes as a tab in the viewer, and the tab pages through the series. **Not part of this series** takes the note out of the series, and **Put it back** returns it. A switch then shows one part at a time:
389
+ The detail starts with the meeting's state (when it starts, on now, or done) and its people as a count, for example **5 people**. Press the count to see the names. A line says what the meeting is about when it is linked. When the meeting is part of a series, the series line names it with "N of M" and has a press for the meeting before and the one after. Each opens that meeting's notes as a tab in the viewer, and the tab pages through the series.
390
390
 
391
- - **Before**: first the meeting prep the console's Calendar card shows: In short, What matters today (To settle in planning for a planning meeting), Since the last one with its decisions and the steps From last time, To be ready, and the meeting's links. When the note already carries in the meeting before, Since the last one is left to it. The prep is read once when the detail opens; that read is not a Focus read, and Focus still reads nothing until you open it. Then the open steps carried in from the meeting before, the agenda with each item marked when the transcript heard it, what the meeting is for, what to have ready, what to read first and the people. Prepared for you, Material, Previous meetings and Topics follow.
392
- - **During**: the transcript the note holds, with times. On the Briefing, while the note records or is paused there, During is the live capture instead, the same as the **Live notes** tab: Recording or Paused, **Highlight**, **Pause** or **Resume**, **Stop**, **Private**, **Your notes**, the highlights and the live transcript.
393
- - **After**: **Since the last one** (each step from the meeting before as Done, Raised again or Not mentioned, and the new steps), the replay, the summary, a table of decisions with their why, a table of next steps with owner, due and **Make task**, the open questions, the screenshots of the shared screen and the transcript, folded.
391
+ **Record** is the one press up front, and only for a meeting that can be recorded now. **More** holds the rest: **Focus**, **Change what it is about** (or **Choose what it is about**, the link choice), **Not part of this series** when the meeting is in a series, and **What Record and Focus do**. A note taken out of its series shows **Put it back** on the series line.
394
392
 
395
- The switch opens on During while the note records, on After once there are notes, and on Before otherwise. A part with no record behind it says so. A private note shows none of its notes.
393
+ Then the parts. The part that fits the meeting comes first and open: **Transcript and live notes** while the note records or is paused, **Notes and next steps** once there are notes, and **Prep and material** otherwise. The other parts follow, folded. Press a part's head to open or fold it. A part you open stays open while the dialog is open.
394
+
395
+ - **Prep and material**: first the meeting prep the console's Calendar card shows: In short, What matters today (To settle in planning for a planning meeting), Since the last one with its decisions and the steps From last time, To be ready, and the meeting's links. When the note already carries in the meeting before, Since the last one is left to it. The prep is read once when the detail opens; that read is not a Focus read, and Focus still reads nothing until you open it. Then the open steps carried in from the meeting before, the agenda with each item marked when the transcript heard it, what the meeting is for, what to have ready, what to read first and the people. **Prepared for you** (what it is about, the first two people and how many more, material and the last meeting, each Ready only when PMOS holds that record), **Material** with **Add material**, **Previous meetings** and **Topics** follow.
396
+ - **Transcript and live notes**: the transcript the note holds, with times. On the Briefing, while the note records or is paused there, this part is the live capture instead, the same as the **Live notes** tab: Recording or Paused, **Highlight**, **Pause** or **Resume**, **Stop**, **Private**, **Your notes**, the highlights and the live transcript.
397
+ - **Notes and next steps**: **Since the last one** (each step from the meeting before as Done, Raised again or Not mentioned, and the new steps), the replay, the summary, a table of decisions with their why, a table of next steps with owner, due and **Make task**, the open questions, the screenshots of the shared screen and the transcript, folded.
398
+
399
+ A part with no record behind it says so. A private note shows none of its notes. A meeting's note opened as a viewer tab uses the same parts in one scroll.
396
400
 
397
401
  A document opens in one sheet on both the Board and the initiative page. Its status line shows the state, the version, the checks, the file and the last change; the file's path and front matter sit behind the file chip. The outline lists the headings at their depth, with **Find a heading** when there are many and **Hide the outline**. The body shows lists, tables, bold, code and links. A board draft keeps **Issue it** and **Draft it again**.
398
402
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.362.0",
3
+ "version": "0.363.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.362.0",
9
+ "version": "0.363.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.362.0",
3
+ "version": "0.363.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -63,9 +63,9 @@ const saved = async () => { const j = await (await fetch(BASE + '/api/insights-p
63
63
  const open = async (sel) => { if (sel === '#pdNew' || sel === '#repNew') await p.click('#listNew'); await p.click(sel); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on') && !!document.querySelector('#oMain .stu'))); await sleep(300); };
64
64
  const shut = async () => { for (let i = 0; i < 2 && await p.evaluate(() => document.querySelector('#dlg').classList.contains('on')); i++) { await p.keyboard.press('Escape'); await sleep(150); } };
65
65
 
66
- /* O0: the bar's Chat button opens the Studio on the dashboard shown (premium-topbar: the Studio is this page's chat) */
67
- ok('O0 the bar has the Chat button, no label, named for the Studio (premium-topbar)', await p.evaluate(() => { const b = document.querySelector('#crAsk'); return !!b && b.textContent.trim() === '' && !!b.querySelector('svg') && b.getAttribute('aria-label') === 'Open the Insight Studio'; }));
68
- await open('#crAsk');
66
+ /* O0: the rail's Chat opens the Studio on the dashboard shown (premium-chat-rail: the Studio is this page's chat) */
67
+ ok('O0 the bar has no chat button; Chat is the rail\'s middle place (premium-chat-rail)', await p.evaluate(() => !document.querySelector('#crAsk') && !!document.querySelector('.rail [data-go="chat"] svg')));
68
+ await open('.rail [data-go="chat"]');
69
69
  ok('O0b Chat opens the Studio', await p.evaluate(() => /^Insight Studio · /.test(document.querySelector('#dEye').textContent)));
70
70
  await shut();
71
71
  /* O: New dashboard opens the Studio */
@@ -166,9 +166,9 @@ const saved = async () => { const j = await (await fetch(BASE + '/api/insights-p
166
166
  for (const theme of ['light', 'dark']) {
167
167
  const c2 = await browser.newContext({ viewport: { width: 390, height: 844 }, colorScheme: theme }), q = await c2.newPage();
168
168
  await q.goto(BASE + '/premium-insights.html');
169
- await until(() => q.evaluate(() => !!document.querySelector('#crAsk') && !!document.querySelector('#listRows .dmr')));
170
- const pill = await q.evaluate(() => { const b = document.querySelector('#crAsk'), r = b.getBoundingClientRect(); return { txt: b.textContent.trim(), w: r.width, h: r.height, right: r.right, vw: innerWidth, vis: !!b.offsetParent }; });
171
- ok(`F0 at 390 px (${theme}) the Chat button shows, fits the width and is 44 px`, pill.vis && pill.right <= pill.vw && Math.round(pill.h) >= 44 && Math.round(pill.w) >= 44, JSON.stringify(pill));
169
+ await until(() => q.evaluate(() => !!document.querySelector('.rail [data-go="chat"]') && !!document.querySelector('#listRows .dmr')));
170
+ const pill = await q.evaluate(() => { const b = document.querySelector('.rail [data-go="chat"] .orb'), r = b.getBoundingClientRect(); return { txt: b.textContent.trim(), w: r.width, h: r.height, right: r.right, vw: innerWidth, vis: !!b.offsetParent }; });
171
+ ok(`F0 at 390 px (${theme}) the rail's Chat shows, fits the width and is 44 px`, pill.vis && pill.right <= pill.vw && Math.round(pill.h) >= 44 && Math.round(pill.w) >= 44, JSON.stringify(pill));
172
172
  await q.click('#listNew'); await q.click('#pdNew'); await until(() => q.evaluate(() => !!document.querySelector('#oMain .stu'))); await sleep(400);
173
173
  // measured once the dialog has finished opening: its rise animation scales the targets while it runs
174
174
  const measure = () => q.evaluate(() => {