create-pmos 0.351.0 → 0.353.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.351.0",
3
+ "version": "0.353.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,35 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.353.0",
37
+ "at": "2026-10-20T08:29:44.242Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 951,
42
+ "t": "Sessions listed beside the chat, grouped like Slack",
43
+ "s": "In full screen, the chat dialog has three panels: the session list on the left, the chat in the middle and the viewer on the right."
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.352.0",
49
+ "at": "2026-10-20T08:20:25.043Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 944,
54
+ "t": "Briefing \"What you need to do\" rows are two lines",
55
+ "s": "Each row is two lines, the title and then \"subject · next step\", with a chevron, as in item 5 of the premium-simple-ui mockup."
56
+ },
57
+ {
58
+ "n": 952,
59
+ "t": "An .html file Claude names opens in the viewer as its page, not its source",
60
+ "s": "The tab draws the page itself, with its toggles and charts working."
61
+ }
62
+ ]
63
+ },
35
64
  {
36
65
  "v": "0.351.0",
37
66
  "at": "2026-10-20T07:13:35.370Z",
@@ -257,40 +286,6 @@
257
286
  "s": "On the Briefing, while a note records or is paused, the meeting sheet's During part is the live capture itself."
258
287
  }
259
288
  ]
260
- },
261
- {
262
- "v": "0.333.0",
263
- "at": "2026-10-20T01:10:53.373Z",
264
- "f": 2,
265
- "prs": [
266
- {
267
- "n": 929,
268
- "t": "What's new shows each PR's title and one clean sentence",
269
- "s": "Each pull request shows its title in bold, such as \"Draw the premium calendar the way the console draws it\", with one clean sentence from its After: paragraph under it, such as \"The grid follows the console's Calendar.\""
270
- },
271
- {
272
- "n": 928,
273
- "t": "Agent draft rows on the premium Briefing stay in premium",
274
- "s": "An agent drafts row (driver-drafts, driver-blocked) opens the Briefing's own Agent proposals dialog, showing only that task's or initiative's proposals, with Keep, Send back and Drop, and a \"Show all proposals\" button."
275
- },
276
- {
277
- "n": 930,
278
- "t": "Premium menus, console sheets and highlight tags no longer draw broken",
279
- "s": "Menu rows grow with their text and keep their old height as the minimum."
280
- }
281
- ]
282
- },
283
- {
284
- "v": "0.332.0",
285
- "at": "2026-10-20T01:00:38.017Z",
286
- "f": 2,
287
- "prs": [
288
- {
289
- "n": 927,
290
- "t": "The Checker can no longer spend the whole daily cap",
291
- "s": "The Checker gets a share of the cap."
292
- }
293
- ]
294
289
  }
295
290
  ]
296
291
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@53f8bf38
1
+ kernel-source: pmos@234b6784
2
2
  assembled: 2026-10-20
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-20T07:13:31Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T08:29:41Z"}
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-20T07:13:31Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T08:29:41Z"}
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-20T07:13:31Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T08:29:41Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -94,14 +94,15 @@ const sh = (cwd, args) => spawnSync('git', args, { cwd, encoding: 'utf8' });
94
94
 
95
95
  {
96
96
  const { ctx, page, errors } = await open();
97
- const rows = await page.$$eval('#rank .rr', (els) => els.map((e) => ({ key: e.dataset.key, title: e.querySelector('.rt').textContent.replace('Do this first', ''), subject: e.querySelector('.rs').textContent, sug: e.querySelector('.sug').textContent, skip: e.querySelector('.skip').textContent })));
98
- ok('S2 the first row shows the source and sender, the verb and the prepared line, and why now', rows[0] && rows[0].subject === 'Across productsMail · Anna Lee' && rows[0].sug === 'Reply: Confirm Thursday' && rows[0].skip === 'Why now: Why aaaaaaaaaaa1', JSON.stringify(rows[0]));
99
- ok('S2 a row with a verb and no prepared line shows the verb alone', rows[1] && rows[1].sug === 'Sign off' && /Confluence · Budi Santoso/.test(rows[1].subject), JSON.stringify(rows[1]));
97
+ const rows = await page.$$eval('#rank .rr', (els) => els.map((e) => ({ key: e.dataset.key, title: e.querySelector('.rt').textContent.replace('Do this first', ''), line2: e.querySelector('.rs').textContent, old: e.querySelectorAll('.sug, .skip').length })));
98
+ ok('S2 the first row is two lines: the title, then the source and sender · the verb and the prepared line', rows[0] && rows[0].line2 === 'Across productsMail · Anna Lee · Reply: Confirm Thursday' && rows[0].old === 0, JSON.stringify(rows[0]));
99
+ ok('S2 a row with a verb and no prepared line shows the verb alone', rows[1] && /Confluence · Budi Santoso · Sign off$/.test(rows[1].line2), JSON.stringify(rows[1]));
100
100
  ok('S6 the dock counts the rows', (await page.textContent('#dN')) === '4', await page.textContent('#dN'));
101
101
  await page.click('#rank .rr:first-child .rhd');
102
102
  await page.waitForSelector('#srcLink');
103
103
  const link = await page.$eval('#srcLink', (a) => ({ href: a.href, target: a.target, rel: a.rel, h: Math.round(a.getBoundingClientRect().height) }));
104
104
  ok('S3 the dialog opens the item\'s https link in a new tab', link.href === 'https://mail.example/t/1' && link.target === '_blank' && /noopener/.test(link.rel), JSON.stringify(link));
105
+ ok('S2 the row\'s why now is in its dialog', /Why now\s*Why aaaaaaaaaaa1/.test(await page.textContent('#card')), await page.textContent('#card'));
105
106
  ok('S3 the dialog offers nothing that records or sends', (await page.$('#recBtn')) === null && (await page.$('[data-until]')) === null && (await page.$('#dBody [data-op]')) === null);
106
107
  ok('S11 the link is at least 44 px high', link.h >= 44, String(link.h));
107
108
  await page.keyboard.press('Escape');
@@ -130,7 +131,7 @@ const sh = (cwd, args) => spawnSync('git', args, { cwd, encoding: 'utf8' });
130
131
  /* S11 fidelity: the source row against the mockup's second row, the digest against the mockup's Today item */
131
132
  if (!fs.existsSync(MOCKUP)) ok('S11 the mockup is in the repository', false, MOCKUP);
132
133
  else {
133
- const PAIRS = [['row', '#rank .rr:nth-child(2)'], ['number', '#rank .rr:nth-child(2) .rn'], ['title', '#rank .rr:nth-child(2) .rt'], ['subject', '#rank .rr:nth-child(2) .rs'], ['prepared', '#rank .rr:nth-child(2) .sug'], ['skip', '#rank .rr:nth-child(2) .skip'], ['event', '#tl .ev:not(:first-of-type)'], ['eventTime', '#tl .ev:not(:first-of-type) time'], ['eventTitle', '#tl .ev:not(:first-of-type) b']];
134
+ const PAIRS = [['row', '#rank .rr:nth-child(2)'], ['number', '#rank .rr:nth-child(2) .rn'], ['title', '#rank .rr:nth-child(2) .rt'], ['subject', '#rank .rr:nth-child(2) .rs'], ['event', '#tl .ev:not(:first-of-type)'], ['eventTime', '#tl .ev:not(:first-of-type) time'], ['eventTitle', '#tl .ev:not(:first-of-type) b']];
134
135
  const PROPS = ['fontSize', 'fontWeight', 'fontFamily', 'color', 'backgroundColor', 'borderRadius', 'paddingTop', 'paddingLeft', 'letterSpacing', 'lineHeight', 'boxShadow', 'borderTopColor'];
135
136
  const grab = (pg, sel) => pg.evaluate(([pairs, props]) => { const o = {}; for (const [n, s] of pairs) { const e = /^#tl/.test(s) && window.__ev ? window.__ev(s) : document.querySelector(s); if (!e) { o[n] = null; continue; } const cs = getComputedStyle(e), r = e.getBoundingClientRect(), v = { left: Math.round(r.left), width: Math.round(r.width) }; props.forEach((k) => { v[k] = cs[k]; }); o[n] = v; } return o; }, [sel, PROPS]);
136
137
  for (const [w, h] of [[1280, 900], [390, 844]]) for (const th of ['light', 'dark']) {
@@ -146,7 +147,7 @@ const sh = (cwd, args) => spawnSync('git', args, { cwd, encoding: 'utf8' });
146
147
  for (const [n] of PAIRS) {
147
148
  if (!a[n] || !c[n]) { diffs.push(n + ' missing'); continue; }
148
149
  for (const k of Object.keys(a[n])) {
149
- if (k === 'left' || k === 'width') { if (['row', 'number', 'title', 'subject', 'prepared', 'skip', 'event', 'eventTime', 'eventTitle'].includes(n) && (k === 'left' || n !== 'row' && n !== 'event' && n !== 'eventTime')) continue; }
150
+ if (k === 'left' || k === 'width') { if (['row', 'number', 'title', 'subject', 'event', 'eventTime', 'eventTitle'].includes(n) && (k === 'left' || n !== 'row' && n !== 'event' && n !== 'eventTime')) continue; }
150
151
  if ((k === 'left' || k === 'width') ? Math.abs(a[n][k] - c[n][k]) > 2 : a[n][k] !== c[n][k]) diffs.push(`${n}.${k} ${a[n][k]} | ${c[n][k]}`);
151
152
  }
152
153
  }
@@ -5,7 +5,7 @@
5
5
  * fixture (fixtures/briefing-premium-facts.js), so the page is checked against known data.
6
6
  * R1 the rail, the dock, the page opens at /premium.html and the console stays the default page
7
7
  * R2 the hero is the model's sentences, with the numbers marked
8
- * R4 rows: numbered, one "Do this first", an "If you skip" line each, a dialog with Detail first on a phone
8
+ * R4 rows: numbered, one "Do this first", two lines each (title, then subject · next step), "If you skip" in the dialog, Detail first on a phone
9
9
  * R5 "N of M done" counts rows that cleared since the page first read today
10
10
  * R7 Today: Ahead, a now marker, Earlier today, source chips that filter
11
11
  * R8 the dock count equals the list count
@@ -142,69 +142,86 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
142
142
  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
143
143
  await p.keyboard.press('Escape'); }
144
144
 
145
- /* premium-sessions: the running list reads /api/sessions; Stop asks first and the one write is /api/session/remove */
146
- { const fake = [
147
- { id: 'sess-1', name: 'Draft the brief', agent: 'claude', note: 'Writing the brief', cwd: 'planning', created: new Date(Date.now() - 14 * 60000).toISOString(), shown: 'working', label: 'Working', automatic: false },
148
- { id: 'sess-2', name: 'Refresh metrics', agent: 'claude', note: '', cwd: '.', created: new Date(Date.now() - 6 * 60000).toISOString(), shown: 'working', label: 'Working', automatic: true, headless: 'skill' },
149
- { id: 'sess-3', name: 'Old one', agent: 'claude', note: '', cwd: '.', created: new Date().toISOString(), shown: 'exited', label: 'Exited', automatic: false }];
150
- let removes = 0, slowOnce = true;
145
+ /* premium-session-list (replaces the Agent sessions popup): the ⋯ menu's Sessions opens the chat panel full screen with the list beside it.
146
+ * 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. */
147
+ { const now = Date.now();
148
+ const fake = [
149
+ { id: 'sess-1', name: 'Draft the brief', agent: 'claude', note: 'Writing the brief', cwd: 'planning', created: new Date(now - 14 * 60000).toISOString(), shown: 'needs', label: 'needs you', automatic: false, origin: 'next-step' },
150
+ { id: 'sess-2', name: 'Refresh metrics', agent: 'claude', note: '', cwd: '.', created: new Date(now - 6 * 60000).toISOString(), shown: 'working', label: 'working', automatic: true, origin: 'schedule:metrics', headless: 'skill' },
151
+ { id: 'sess-3', name: 'Old one', agent: 'claude', note: '', cwd: '.', created: new Date(now).toISOString(), shown: 'exited', label: 'exited', automatic: false },
152
+ { id: 'sess-4', name: 'Driver · drafts search', agent: 'claude', note: '', cwd: '.', created: new Date(now - 3 * 60000).toISOString(), shown: 'blocked', label: 'maybe blocked', automatic: true, origin: 'drive:drafts:search' }];
153
+ let removes = 0, slowOnce = true; const said = [];
151
154
  await p.route('**/api/sessions', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ sessions: fake }) }));
152
- await p.route('**/api/session/remove', (r) => { removes++; const id = JSON.parse(r.request().postData()).id; if (id === 'sess-2' && 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 }) }); });
153
- 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) }; });
154
- ok('X1 the ⋯ menu has an Agent sessions item of at least 44 px', bt && bt.w >= 44 && bt.h >= 44, JSON.stringify(bt));
155
+ await p.route('**/api/briefing-premium/goals', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, goals: {} }) }));
156
+ 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.' }] }) }));
157
+ 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 }) }); });
158
+ 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 }) }); });
159
+ 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 }; });
160
+ 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));
155
161
  await p.click('#sessBtn');
156
- const rows = await until(() => p.evaluate(() => document.querySelectorAll('#oMain .ssr').length), 8000);
157
- ok('X2 the list shows the sessions that have not exited, and the title counts them', rows === 2 && (await p.evaluate(() => document.querySelector('#dTitle').textContent)) === '2 running', String(rows));
158
- const meta = await p.evaluate(() => [...document.querySelectorAll('#oMain .ssr')].map((r) => r.querySelector('.ssm').textContent + '|' + r.querySelector('.ssn').textContent));
159
- ok('X3 a row carries only record fields: agent, state word, folder, age; a background run and a PMOS start are named', /claude.*Working.*planning.*min ago/.test(meta[0]) && /Background run/.test(meta[1]) && /Started by PMOS/.test(meta[1]) && /No note$/.test(meta[1]), meta.join(' // '));
160
- await p.click('#oMain [data-stop="sess-1"]');
162
+ 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 })));
163
+ 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));
164
+ 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 : '')));
165
+ 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());
166
+ 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('|'));
167
+ 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));
168
+ 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);
169
+ ok('X5 it opens on the session that needs you most, with its conversation from the transcript', first === 'sess-1', String(first));
170
+ await p.fill('#askIn', 'Put it in planning/research instead'); await p.click('#askGo');
171
+ await until(() => said.length, 6000);
172
+ 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));
173
+ await p.click('#srlList [data-smore]');
174
+ ok('X7 Show lists the PMOS runs that need nothing', (await p.evaluate(() => document.querySelectorAll('#srlList .srl-r').length)) === 3);
175
+ await p.click('#srlList [data-sid="sess-4"]');
176
+ await until(() => p.evaluate(() => /Driver · drafts search/.test(document.querySelector('#dTitle').textContent) && !!document.querySelector('#oMain [data-stop]')), 6000);
177
+ await p.click('#oMain [data-stop]');
161
178
  const asked = await p.evaluate(() => { const c = document.querySelector('#oMain .ssc'); return c ? c.textContent : ''; });
162
- ok('X4 Stop asks first and says what it ends, and nothing is sent yet', /Stop “Draft the brief”\?/.test(asked) && /closes its terminal/.test(asked) && removes === 0, asked);
163
- await p.click('#oMain [data-no="sess-1"]');
164
- ok('X5 Keep running closes the question and sends nothing', (await p.evaluate(() => !document.querySelector('#oMain .ssc'))) && removes === 0);
165
- await p.click('#oMain [data-stop="sess-2"]'); await p.click('#oMain [data-yes="sess-2"]');
179
+ ok('X8 Stop in the viewer asks first and says what it ends, and nothing is sent yet', /Stop “Driver · drafts search”\?/.test(asked) && /closes its terminal/.test(asked) && removes === 0, asked);
180
+ await p.click('#oMain [data-no]');
181
+ ok('X9 Keep running closes the question and sends nothing', (await p.evaluate(() => !document.querySelector('#oMain .ssc'))) && removes === 0);
182
+ await p.click('#oMain [data-stop]'); await p.click('#oMain [data-yes]');
166
183
  const slow = await until(() => p.evaluate(() => { const c = document.querySelector('#oMain .ssc'); return c ? c.textContent : ''; }), 6000);
167
- ok('X6 a session that has not exited says so and offers Stop again, never "Ended"', /has not exited yet/.test(slow) && !/Ended/.test(await p.evaluate(() => document.querySelector('#oMain').textContent)), slow);
168
- await p.click('#oMain [data-yes="sess-2"]');
169
- ok('X7 the second press ends it: the row says Ended and the toast confirms', !!(await until(() => p.evaluate(() => /Ended “Refresh metrics”/.test(document.querySelector('#oMain').textContent) && /Ended “Refresh metrics”/.test(document.querySelector('#toast').textContent)), 6000)));
170
- ok('X8 the list re-reads and drops it, and the badge follows', !!(await until(() => p.evaluate(() => document.querySelectorAll('#oMain .ssr').length === 1 && document.querySelector('#sessBdg').textContent === '1'), 8000)));
171
- /* the soft warning: silent at 6 working agents, speaks at 7, names the count and the cause, and offers no new press */
172
- const rm0 = removes;
173
- const mk = (n) => Array.from({ length: n }, (_, i) => ({ id: 'w-' + i, name: 'Agent ' + i, agent: 'claude', note: '', cwd: '.', created: new Date().toISOString(), shown: 'working', label: 'Working', automatic: false }));
184
+ ok('X10 a session that has not exited says so and offers Stop again, never "Ended"', /has not exited yet/.test(slow), slow);
185
+ await p.click('#oMain [data-yes]');
186
+ ok('X11 the second press ends it, the toast confirms, and the list drops it', !!(await until(() => p.evaluate(() => /Ended “Driver · drafts search”/.test(document.querySelector('#toast').textContent) && !document.querySelector('#srlList [data-sid="sess-4"]')), 8000)));
187
+ await p.click('#srlFold');
188
+ const folded = await until(() => p.evaluate(() => { const w = document.querySelector('#sRail').getBoundingClientRect().width; return w > 0 && w < 70 ? Math.round(w) : 0; }), 4000);
189
+ ok('X12 the list folds to a strip of dots', folded > 0, String(folded));
190
+ await p.click('#vFold');
191
+ const vf = await until(() => p.evaluate(() => { const w = document.querySelector('#dOut').getBoundingClientRect().width; return w > 0 && w < 70 ? Math.round(w) : 0; }), 4000);
192
+ ok('X13 the viewer folds and the conversation takes the width', vf > 0 && (await p.evaluate(() => document.querySelector('#dBody').getBoundingClientRect().width)) > 800, String(vf));
193
+ await p.click('#srlFold'); await p.click('#vFold');
194
+ /* the soft warning: silent at 6 working agents, speaks at 7, at the top of the list */
174
195
  const before = fake.slice();
196
+ const mk = (n) => Array.from({ length: n }, (_, i) => ({ id: 'w-' + i, name: 'Agent ' + i, agent: 'claude', note: '', cwd: '.', created: new Date().toISOString(), shown: 'working', label: 'working', automatic: false }));
175
197
  fake.splice(0, fake.length, ...mk(6));
176
- await p.keyboard.press('Escape'); await p.click('#moreBtn'); await p.click('#sessBtn');
177
- const six = await until(() => p.evaluate(() => document.querySelectorAll('#oMain .ssr').length === 6), 8000);
178
- ok('X10 six agents working: no warning', six && (await p.evaluate(() => !document.querySelector('#oMain .ssw'))));
179
- fake.push(...mk(7).slice(6).map((x) => ({ ...x, id: 'w-6' })));
180
- await p.keyboard.press('Escape'); await p.click('#moreBtn'); await p.click('#sessBtn');
181
- const warnText = await until(() => p.evaluate(() => { const w = document.querySelector('#oMain .ssw'); return w ? w.textContent : ''; }), 8000);
182
- ok('X11 seven agents working: the warning names the count and says why, in the dialog only', /^7 agents are working at once\./.test(warnText) && /slow it/.test(warnText) && /Stop the ones you are not watching/.test(warnText), warnText);
183
- ok('X12 the warning adds no button and no write', (await p.evaluate(() => document.querySelectorAll('#oMain .ssw button, #oMain .ssw a').length)) === 0 && removes === rm0);
184
- fake.splice(0, fake.length, ...mk(7).map((x, i) => (i < 3 ? { ...x, shown: 'needs', label: 'Needs you' } : x)));
185
- await p.keyboard.press('Escape'); await p.click('#moreBtn'); await p.click('#sessBtn');
186
- await until(() => p.evaluate(() => document.querySelectorAll('#oMain .ssr').length === 7), 8000);
187
- ok('X13 only working agents are counted: seven sessions with three waiting is four working, no warning', await p.evaluate(() => !document.querySelector('#oMain .ssw')));
198
+ ok('X14 six agents working: no warning', !!(await until(() => p.evaluate(() => document.querySelectorAll('#srlList .srl-r').length === 6 && !document.querySelector('#srlList .srl-warn')), 8000)));
199
+ fake.push({ ...mk(7)[6] });
200
+ const warnText = await until(() => p.evaluate(() => { const w = document.querySelector('#srlList .srl-warn'); return w ? w.textContent : ''; }), 8000);
201
+ ok('X15 seven agents working: the warning names the count and says why, with no button', /^7 agents are working at once\./.test(warnText) && /Stop the ones you are not watching/.test(warnText) && (await p.evaluate(() => document.querySelectorAll('#srlList .srl-warn button').length)) === 0, warnText);
188
202
  fake.splice(0, fake.length, ...before);
189
203
  const bare = await fetch(BASE + '/api/session/remove', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ id: 'sess-1' }) });
190
- ok('X9 Stop is a page press: no nonce, no end (403)', bare.status === 403, String(bare.status));
191
- /* premium-run-questions: a session whose card is asking shows the agent's own question and its offered options; a press is the one write, /api/runs/answer */
204
+ ok('X16 Stop is a page press: no nonce, no end (403)', bare.status === 403, String(bare.status));
205
+ const bareSay = await fetch(BASE + '/api/session/say', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ id: 'sess-1', text: 'hi' }) });
206
+ ok('X17 writing to a session is a page press: no nonce, nothing typed (403)', bareSay.status === 403, String(bareSay.status));
207
+ /* premium-run-questions: the question a run asks shows in its viewer; a press is the one write, /api/runs/answer */
192
208
  let asking = true; const answers = [];
193
209
  await p.route('**/api/runs', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, cards: asking ? { 'sess-1': { state: 'asking', asked: 'q-7', ask: { id: 'q-7', q: 'Which folder should the brief go in?', options: [{ label: 'planning/briefs', rec: true }, { label: 'planning/research' }] } } } : {} }) }));
194
210
  await p.route('**/api/runs/answer', (r) => { answers.push({ ...JSON.parse(r.request().postData()), hasNonce: !!r.request().headers()['x-pmos-nonce'] }); asking = false; r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true }) }); });
195
- await p.keyboard.press('Escape'); await p.click('#moreBtn'); await p.click('#sessBtn');
211
+ await until(() => p.evaluate(() => !!document.querySelector('#srlList [data-sid="sess-1"]')), 8000);
212
+ await p.click('#srlList [data-sid="sess-1"]');
196
213
  const q = await until(() => p.evaluate(() => { const b = document.querySelector('#oMain .ssq'); return b ? b.textContent : ''; }), 8000);
197
214
  ok('Q1 a session that is asking shows its question and the options it offered, in its own words', /Which folder should the brief go in\?/.test(q) && /planning\/briefs/.test(q) && /planning\/research/.test(q), q);
198
- ok('Q2 no question shows on a session that is not asking', (await p.evaluate(() => document.querySelectorAll('#oMain .ssq').length)) === 1);
199
- await p.click('#oMain [data-ans="sess-1"][data-opt="planning/research"]');
215
+ await p.click('#oMain [data-ans="planning/research"]');
200
216
  await until(() => answers.length, 6000);
201
217
  ok('Q3 a press sends the chosen option to /api/runs/answer with the run, the request id and the page nonce', answers.length === 1 && answers[0].run === 'sess-1' && answers[0].request === 'q-7' && answers[0].behavior === 'answer' && answers[0].message === 'planning/research' && answers[0].hasNonce, JSON.stringify(answers));
202
- ok('Q4 the question leaves the row once answered, and the toast says so', !!(await until(() => p.evaluate(() => !document.querySelector('#oMain .ssq') && /Answered/.test(document.querySelector('#toast').textContent)), 6000)));
218
+ ok('Q4 the question leaves once answered, and the toast says so', !!(await until(() => p.evaluate(() => !document.querySelector('#oMain .ssq') && /Answered/.test(document.querySelector('#toast').textContent)), 6000)));
203
219
  const bareAns = await fetch(BASE + '/api/runs/answer', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ run: 'sess-1', request: 'q-7', behavior: 'answer', message: 'planning/research' }) });
204
220
  ok('Q5 answering is a page press: no nonce, no answer (403)', bareAns.status === 403, String(bareAns.status));
205
221
  await p.unroute('**/api/runs'); await p.unroute('**/api/runs/answer');
206
- await p.keyboard.press('Escape'); await p.unroute('**/api/sessions'); await p.unroute('**/api/session/remove');
207
- for (let i = A.reqs.length - 1; i >= 0; i--) if (/^POST \/api\/(session\/remove|runs\/answer)$/.test(A.reqs[i])) A.reqs.splice(i, 1); }
222
+ await p.keyboard.press('Escape'); await p.keyboard.press('Escape');
223
+ await p.unroute('**/api/sessions'); await p.unroute('**/api/session/remove'); await p.unroute('**/api/session/say'); await p.unroute('**/api/sessions/conversation**'); await p.unroute('**/api/briefing-premium/goals');
224
+ for (let i = A.reqs.length - 1; i >= 0; i--) if (/^POST \/api\/(session\/remove|session\/say|runs\/answer)$/.test(A.reqs[i])) A.reqs.splice(i, 1); }
208
225
 
209
226
  /* R2: with the console reads off, the hero is the model's records-only sentences */
210
227
  const hero = await p.evaluate(() => ({ text: document.querySelector('#brief').textContent, k: [...document.querySelectorAll('#brief .k')].map((x) => x.textContent) }));
@@ -214,11 +231,12 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
214
231
  ok('R2 the date line is the model\'s', await p.evaluate((d) => document.querySelector('#date').textContent === d, MODEL.date));
215
232
 
216
233
  /* R3, R4 */
217
- const rows = await p.evaluate(() => [...document.querySelectorAll('#rank .rr')].map((r) => ({ n: r.querySelector('.rn').textContent, t: r.querySelector('.rt').childNodes[0].textContent, skip: (r.querySelector('.skip') || {}).textContent || '', first: !!r.querySelector('.tgf') })));
234
+ const rows = await p.evaluate(() => [...document.querySelectorAll('#rank .rr')].map((r) => ({ n: r.querySelector('.rn').textContent, t: r.querySelector('.rt').childNodes[0].textContent, skip: r.querySelectorAll('.skip, .sug').length, line2: r.querySelector('.rs').textContent, chev: !!r.querySelector('.rchev'), first: !!r.querySelector('.tgf') })));
218
235
  ok('R3 the rows follow the model\'s order', rows.map((r) => r.t).join('|') === MODEL.list.rows.map((r) => r.title).join('|'), JSON.stringify(rows.map((r) => r.t)));
219
236
  ok('R4 rows are numbered 01, 02, …', rows.map((r) => r.n).join() === '01,02,03,04,05');
220
237
  ok('R4 exactly one row says Do this first, and it is the first', rows.filter((r) => r.first).length === 1 && rows[0].first);
221
- ok('R4 every row says what skipping costs', rows.every((r) => /^If you skip: /.test(r.skip)));
238
+ ok('R4 every row is two lines: the title, then subject · next step, with a chevron and no "If you skip" line', rows.every((r) => r.skip === 0 && r.chev && r.line2) && MODEL.list.rows.every((m, i) => rows[i].line2.startsWith(m.subject)), JSON.stringify(rows.map((r) => r.line2)));
239
+ ok('R4 a row with a next step on record shows it after the subject', MODEL.list.rows.every((m, i) => !/^Next step: /.test(m.prepared) || rows[i].line2 === m.subject + ' · ' + m.prepared.replace(/^Next step: /, '')));
222
240
  ok('R3 the order line is shown', await p.evaluate(() => /blocked work first, then decisions only you can make/.test(document.querySelector('#order').textContent)));
223
241
 
224
242
  /* R5 */
@@ -275,7 +293,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
275
293
  await p.click('[data-start="no"]');
276
294
  ok('W8 Not now goes back to the Start button', await p.evaluate(() => !!document.querySelector('#startBtn') && !document.querySelector('#startGo')) && startBody === null);
277
295
  await p.click('#startBtn'); await p.click('#startGo');
278
- ok('W8 confirming starts a draft session for that initiative, closes the dialog and raises the sessions badge', await until(() => startBody && p.evaluate(() => !document.querySelector('#dlg').classList.contains('on') && !document.querySelector('#sessBdg').hidden)) && startBody.task === 'draft' && !!startBody.initiative && !!startBody.what, JSON.stringify(startBody));
296
+ ok('W8 confirming starts a draft session for that initiative and closes the dialog', await until(() => startBody && p.evaluate(() => !document.querySelector('#dlg').classList.contains('on'))) && startBody.task === 'draft' && !!startBody.initiative && !!startBody.what, JSON.stringify(startBody));
279
297
  await p.unroute('**/api/agent/start');
280
298
  await row0.focus(); await row0.press('Enter');
281
299
  await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on')));
@@ -613,6 +631,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
613
631
  ok(`R11 no sideways scroll at 390 px (${th})`, ov <= 0, String(ov));
614
632
  await R.page.click('#rank .rhd');
615
633
  const ph = await until(() => R.page.evaluate(() => document.querySelector('#dlg').classList.contains('on')), 3000) && await R.page.evaluate(() => ({ tab: document.querySelector('#dGrid').dataset.tab, pressed: document.querySelector('#dTabs [data-t="out"]').getAttribute('aria-pressed'), tabsShown: getComputedStyle(document.querySelector('#dTabs')).display !== 'none', paneBtn: getComputedStyle(document.querySelector('#dPane')).display, w: Math.round(document.querySelector('#dlg').getBoundingClientRect().width), l: Math.round(document.querySelector('#dlg').getBoundingClientRect().left), vw: innerWidth, btn: document.querySelector('#dPane').getAttribute('aria-pressed'), ov: document.documentElement.scrollWidth - innerWidth }));
634
+ ok(`R4 the row's dialog says what skipping costs (${th})`, await R.page.evaluate(() => /If you skip/.test(document.querySelector('#card').textContent)), await R.page.evaluate(() => document.querySelector('#card').textContent.slice(0, 300)));
616
635
  ok(`R4 on a phone the dialog opens on Detail, with the mockup's Detail / Conversation switch and no panel button (${th})`, ph && ph.tab === 'out' && ph.pressed === 'true' && ph.tabsShown && ph.paneBtn === 'none' && ph.l === 0 && ph.w === ph.vw && ph.ov <= 0, JSON.stringify(ph));
617
636
  ok(`0 no page error at 390 px (${th})`, R.errors.length === 0, R.errors.join(' | '));
618
637
  await R.ctx.close();
@@ -629,7 +648,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
629
648
  /* R12 fidelity: computed styles and geometry against the mockup */
630
649
  if (!fs.existsSync(MOCKUP)) ok('R12 the mockup is in the repository', false, MOCKUP);
631
650
  else {
632
- const PAIRS = [['rail', '.rail'], ['name', '.top .name'], ['date', '.hero .date'], ['brief', '.brief'], ['card', '.cols2>div:first-child .card'], ['today', '#todayCard'], ['heading', '#hMoves'], ['row', '.rr'], ['number', '.rr .rn'], ['title', '.rr .rt'], ['subject', '.rr .rs'], ['skip', '.rr .skip'], ['tag', '.tgf'], ['group', '#tl .grp'], ['event', '#tl .ev'], ['now', '.nowl'], ['dock', '.dock']];
651
+ const PAIRS = [['rail', '.rail'], ['name', '.top .name'], ['date', '.hero .date'], ['brief', '.brief'], ['card', '.cols2>div:first-child .card'], ['today', '#todayCard'], ['heading', '#hMoves'], ['row', '.rr'], ['number', '.rr .rn'], ['title', '.rr .rt'], ['subject', '.rr .rs'], ['tag', '.tgf'], ['group', '#tl .grp'], ['event', '#tl .ev'], ['now', '.nowl'], ['dock', '.dock']];
633
652
  const SKIP_GEOM = { 1280: [], 390: ['heading'] }; // D5: on a phone the card heading wraps its caption under the title (the mockup wrapped the title over four lines)
634
653
  const PROPS = ['fontSize', 'fontWeight', 'fontFamily', 'color', 'backgroundColor', 'borderRadius', 'paddingTop', 'paddingLeft', 'letterSpacing', 'lineHeight', 'boxShadow', 'backdropFilter', 'borderTopColor'];
635
654
  const grab = (pg) => pg.evaluate(([pairs, props]) => { const o = {}; for (const [n, s] of pairs) { const e = document.querySelector(s); if (!e) { o[n] = null; continue; } const cs = getComputedStyle(e), r = e.getBoundingClientRect(), v = { left: Math.round(r.left), width: Math.round(r.width) }; props.forEach((k) => { v[k] = cs[k]; }); o[n] = v; } return o; }, [PAIRS, PROPS]);
@@ -646,7 +665,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
646
665
  if (!a[n] || !c[n]) { diffs.push(n + ' missing'); continue; }
647
666
  for (const k of Object.keys(a[n])) {
648
667
  if ((k === 'left' || k === 'width') && (SKIP_GEOM[w].includes(n) || ['tag', 'brief', 'now', 'event'].includes(n) && k === 'left')) continue;
649
- if (k === 'width' && ['tag', 'brief', 'title', 'subject', 'skip'].includes(n)) continue; // D8: the row text leaves room for the pin, so its lines are narrower
668
+ if (k === 'width' && ['tag', 'brief', 'title', 'subject'].includes(n)) continue; // D8: the row text leaves room for the pin, so its lines are narrower
650
669
  if ((k === 'left' || k === 'width') ? Math.abs(a[n][k] - c[n][k]) > 2 : a[n][k] !== c[n][k]) diffs.push(`${n}.${k} ${a[n][k]} | ${c[n][k]}`);
651
670
  }
652
671
  }
@@ -1,4 +1,33 @@
1
1
  [
2
+ {
3
+ "v": "0.353.0",
4
+ "at": "2026-10-20T08:29:44.242Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 951,
9
+ "t": "Sessions listed beside the chat, grouped like Slack",
10
+ "s": "In full screen, the chat dialog has three panels: the session list on the left, the chat in the middle and the viewer on the right."
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.352.0",
16
+ "at": "2026-10-20T08:20:25.043Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 944,
21
+ "t": "Briefing \"What you need to do\" rows are two lines",
22
+ "s": "Each row is two lines, the title and then \"subject · next step\", with a chevron, as in item 5 of the premium-simple-ui mockup."
23
+ },
24
+ {
25
+ "n": 952,
26
+ "t": "An .html file Claude names opens in the viewer as its page, not its source",
27
+ "s": "The tab draws the page itself, with its toggles and charts working."
28
+ }
29
+ ]
30
+ },
2
31
  {
3
32
  "v": "0.351.0",
4
33
  "at": "2026-10-20T07:13:35.370Z",
@@ -0,0 +1,49 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <title>Password Conversion Funnel</title>
7
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500&display=swap">
8
+ <style>
9
+ :root{--bg:#f5f6f4;--panel:#fff;--fg:#1d2421;--muted:#5d6963;--accent:#1f6f5c;--track:#e6ebe8;color-scheme:light}
10
+ @media (prefers-color-scheme:dark){:root{--bg:#101513;--panel:#171d1a;--fg:#e6ece9;--muted:#9aa8a1;--accent:#7fc9b3;--track:#232c28;color-scheme:dark}}
11
+ body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.55 "IBM Plex Sans",system-ui,sans-serif}
12
+ main{max-width:960px;margin:0 auto;padding:24px 16px}
13
+ h1{font-size:24px;margin:0 0 4px}
14
+ p.sub{color:var(--muted);margin:0 0 18px}
15
+ .tg{display:inline-flex;gap:4px;margin-bottom:16px}
16
+ .tg button{font:inherit;padding:6px 12px;border-radius:6px;border:1px solid var(--track);background:var(--panel);color:var(--fg);cursor:pointer}
17
+ .tg button[aria-pressed="true"]{background:var(--accent);color:var(--bg)}
18
+ .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
19
+ .pn{background:var(--panel);border-radius:10px;padding:16px}
20
+ .row{margin:10px 0}.row span{display:flex;justify-content:space-between;font-size:13px}
21
+ .bar{height:10px;background:var(--track);border-radius:5px;overflow:hidden}.bar i{display:block;height:100%;background:var(--accent)}
22
+ </style>
23
+ </head>
24
+ <body>
25
+ <main>
26
+ <h1>Password Conversion Funnel</h1>
27
+ <p class="sub">Lightbox, 19 Oct · single-day snapshot</p>
28
+ <div class="tg" role="group" aria-label="Count"><button type="button" data-m="events" aria-pressed="true">Events</button><button type="button" data-m="users" aria-pressed="false">Users</button></div>
29
+ <div class="grid" id="grid"></div>
30
+ </main>
31
+ <script>
32
+ const D = { events: { 'Sign-up (RF-01)': [1840, 1210, 702], 'Login (RF-02)': [5320, 4980, 4410] }, users: { 'Sign-up (RF-01)': [1310, 930, 588], 'Login (RF-02)': [3900, 3720, 3390] } };
33
+ const STEPS = ['Started', 'Submitted', 'Success'];
34
+ function draw(m) {
35
+ document.getElementById('grid').innerHTML = Object.entries(D[m]).map(([name, v]) => '<section class="pn"><h2 style="font-size:16px;margin:0 0 8px">' + name + '</h2>'
36
+ + v.map((n, i) => '<div class="row"><span><b>' + STEPS[i] + '</b><span>' + n.toLocaleString('en') + ' · ' + Math.round(n / v[0] * 100) + '%</span></span><div class="bar"><i style="width:' + (n / v[0] * 100) + '%"></i></div></div>').join('') + '</section>').join('');
37
+ document.querySelectorAll('.tg button').forEach((b) => b.setAttribute('aria-pressed', String(b.dataset.m === m)));
38
+ document.body.dataset.mode = m;
39
+ }
40
+ document.querySelector('.tg').onclick = (e) => { const b = e.target.closest('button'); if (b) draw(b.dataset.m); };
41
+ draw('events');
42
+ // what the viewer must keep from the page: the app's document, its storage and the network
43
+ let parentRead = 'blocked'; try { parentRead = String(window.parent.document.title); } catch (e) { /* opaque origin */ }
44
+ let store = 'blocked'; try { localStorage.setItem('x', '1'); store = 'open'; } catch (e) { /* opaque origin */ }
45
+ document.body.dataset.parent = parentRead; document.body.dataset.store = store;
46
+ fetch('/api/sessions').then(() => { document.body.dataset.net = 'open'; }, () => { document.body.dataset.net = 'blocked'; });
47
+ </script>
48
+ </body>
49
+ </html>
@@ -18,7 +18,7 @@ Every premium page has the same top bar. On the left is where you are, then a ro
18
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.
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), **Agent sessions** with a count, **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.
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
22
  - **On a phone** the bar is one row: the page name, Chat, 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
 
@@ -26,7 +26,16 @@ Every premium page has the same top bar. On the left is where you are, then a ro
26
26
 
27
27
  **Sources** is a dialog that lists each tracked source (Repository, Initiatives, Calendar, Jira status, My work and Tracker items) with its own state and the time it was last read. Each source except the repository has **Refresh**, and **Refresh all** reads them all again. Slack and email are read as part of My work, so they have no row of their own. A source PMOS does not track has no row: the dialog shows only what PMOS can say it read.
28
28
 
29
- **Agent sessions** in the ⋯ menu shows a count of the sessions running. It opens a dialog that lists each running session and background run with its note, state and start time. **Stop** asks first and says what it ends, then ends the session and closes its terminal. If the session has not exited yet, the row says so and offers Stop again. When more than six agents are working at once, a note at the top says how many and that many at once can slow this computer, and suggests stopping the ones you are not watching. It is only a note: nothing is stopped for you. When a session has asked a question, its row shows the question in the agent's own words with the options it offered; a press sends that option as your answer, and the question leaves the row. A permission request ("Wants to run"), terminals and new sessions stay in the console; the dialog links to it. Answering needs the page's launch nonce, so an agent session cannot call it.
29
+ **Sessions** lists every running session beside the chat. When a chat dialog is full screen on a desktop, it has three panels: the session list, the conversation and the viewer.
30
+
31
+ - **Groups.** **Goals** holds a chat whose goal is started or waiting on you. **Yours** holds the other sessions you started. **Started by PMOS** holds schedules, the day run, the Driver, the Checker, notes, document syncs and other background runs. A PMOS session shows only when it needs you. The rest fold into one line, "N more working on their own · Show".
32
+ - **Dots.** An orange dot means **Ready**: the session finished its turn and waits for you. A green dot means **Running**. An orange ring means **Maybe blocked**: a call is open and nothing moves, often a permission question. No dot means idle. Ready sessions come first and are bold. Hold the pointer over a row to see its state in words.
33
+ - **Switch.** Press a row to switch the dialog to that session. A chat opens its own conversation. Any other session shows its conversation from Claude Code's record. You can write to it and answer its permission questions, as in a chat. The viewer shows the session's facts, the question a background run asks with the options it offered, and **Stop**. Stop asks first, and if the session has not exited yet it says so and offers Stop again.
34
+ - **Fold.** The button at the top of the list folds it to a strip of icons with dots. The button at the top of the viewer folds the viewer, so the conversation gets the width. PMOS remembers both in this browser.
35
+ - **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.
36
+ - **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.
37
+ - 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.
38
+ - 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.
30
39
 
31
40
  ## Products
32
41
 
@@ -113,7 +122,7 @@ The list is the console's **Needs you**: the same rows, in the same order, from
113
122
 
114
123
  Each row is a thing that waits for you. The order is fixed: blocked work first, then decisions only you can make, then what has waited longest. The first row is tagged "Do this first".
115
124
 
116
- A row has a verb-first title, the subject, what the repository says is next, and "If you skip", which says what stays blocked. Press a row to open it. Detail opens first, and the conversation sits beside it. On a phone, the Detail tab is first.
125
+ A row has two lines: a verb-first title, then the subject and what the repository says is next, joined by a dot. When the line is too long it ends in "…"; the full text is in the row's dialog. "If you skip", which says what stays blocked, is in the dialog too. Press a row to open it. Detail opens first, and the conversation sits beside it. On a phone, the Detail tab is first.
117
126
 
118
127
  The header counts "N of M done". A row counts as done when the record behind it changes, so a row clears by itself. Nothing on this page presses Done for you. The count starts again each day and is kept on this device.
119
128
 
@@ -233,7 +242,7 @@ Each button writes one record, through a check that only a real press from this
233
242
 
234
243
  Later today means three hours from now. Tomorrow and Next week mean 09:00, tomorrow and next Monday.
235
244
 
236
- A decision needs your reason. A prototype or tripwire that already has a decision on record cannot be decided again from this page. A decided row leaves the list because the record changed. A merge has no run of its own, so its return button stays off and says so. The Start button on a blocked row asks you to confirm, then starts an agent session that drafts the next step. The session is listed in Agent sessions.
245
+ A decision needs your reason. A prototype or tripwire that already has a decision on record cannot be decided again from this page. A decided row leaves the list because the record changed. A merge has no run of its own, so its return button stays off and says so. The Start button on a blocked row asks you to confirm, then starts an agent session that drafts the next step. The session is listed in Sessions.
237
246
 
238
247
  ## Asking the agent
239
248
 
@@ -391,9 +400,9 @@ The conversation beside every premium dialog is a real Claude Code session. Anyt
391
400
  - **What it may do** is set by your own Claude Code settings. Claude can change files and run commands. When your settings say to ask first, the question shows in the panel with its options; press one to answer.
392
401
  - **Stop** shows while Claude works. It presses Esc in the session.
393
402
  - **The conversation** is Claude Code's own record, word for word. Claude's answers are formatted as Claude Code formats them: headings, bold, lists, code, tables, quotes and links (links open in a new tab). Your messages keep their line breaks, and a paste shows without the tags Claude Code wraps around it. A run of tool calls shows as one small grey line, for example "Used Read ×2, slack_read_thread". A connector tool shows its short name.
394
- - **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. Markdown shows as a page and other text files as code. 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 outside the workspaces PMOS serves says "Not in a workspace" and is not read.
403
+ - **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. 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 outside the workspaces PMOS serves says "Not in a workspace" and is not read.
395
404
  - **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.
396
- - **The session** is also listed in **Agent sessions** and in the console, where you can open its terminal. When it has ended, your next message starts a new one.
405
+ - **The session** is also listed in **Sessions** and in the console, where you can open its terminal. When it has ended, your next message starts a new one.
397
406
  - Answers from the older read-only agent stay above the session, marked "Earlier read-only answer".
398
407
 
399
408
  Sending and the option presses need the page's launch nonce, so an agent session cannot type into your chat.
@@ -180,7 +180,7 @@ function chat({ runtimeDir, key, text, model, sessions, wsId, now = new Date() }
180
180
  if (cmd) { const b = Goal.begin({ runtimeDir, key, text: cmd.text, now }); if (b.error) return fail(400, b.error); msg = b.prompt; goal = b.id; }
181
181
  const extra = goal ? { goal } : {};
182
182
  if (alive) {
183
- if (!sessions.type(live, msg)) return fail(409, 'The message did not reach the session. Open it in Agent sessions.');
183
+ if (!sessions.type(live, msg)) return fail(409, 'The message did not reach the session. Open it in Sessions.');
184
184
  if (!goal) Goal.resume({ runtimeDir, key, now }); // slice 3: the PM's answer to a goal that needs them sets it going again; a finished one is seen
185
185
  return { status: 200, body: { ok: true, session: live, started: false, ...extra } };
186
186
  }
@@ -74,7 +74,7 @@ const fmRows = (fm) => (fm ? [['Lane', fm.lane], ['Anchor', fm.parent_kr], ['Sta
74
74
 
75
75
  /* A record the builder cannot read must cost its own row or dialog and nothing more. tryD gives a dialog or null; a record that throws is skipped and counted,
76
76
  * and the header says how many (never silently). */
77
- const START_NOTE = 'Starting opens an agent session that drafts this for you to read. It sends nothing outside PMOS and you can stop it in Agent sessions.';
77
+ const START_NOTE = 'Starting opens an agent session that drafts this for you to read. It sends nothing outside PMOS and you can stop it in Sessions.';
78
78
  const tryD = (fn) => { try { return fn(); } catch { return null; } };
79
79
  const skipped = { n: 0 };
80
80