create-pmos 0.363.0 → 0.365.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 +35 -25
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-board-test.js +4 -4
- package/workspace/briefing-premium-initiative-test.js +4 -3
- package/workspace/briefing-premium-test.js +57 -54
- package/workspace/briefing-premium-work-test.js +9 -5
- package/workspace/c3-settings-test.js +2 -2
- package/workspace/changelog.json +34 -0
- package/workspace/guide/briefing-premium.md +8 -8
- package/workspace/guide/data-freshness.md +16 -1
- package/workspace/lib/briefing-premium-agent.js +3 -1
- package/workspace/lib/freshness.js +17 -1
- package/workspace/lib/pmos-verbs.js +3 -0
- package/workspace/lib/refresh-run.js +3 -1
- package/workspace/lib/refresh.js +10 -3
- package/workspace/lib/source-cli.js +85 -0
- package/workspace/lib/source-reads.js +200 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-studio-test.js +4 -4
- package/workspace/premium-vw-item-test.js +3 -3
- package/workspace/premium-work-depth-test.js +14 -8
- package/workspace/public/pm/premium-board.js +4 -3
- package/workspace/public/pm/premium-chat.js +9 -0
- package/workspace/public/pm/premium-initiative.js +4 -3
- package/workspace/public/pm/premium-insights.js +2 -2
- package/workspace/public/pm/premium-shell.js +30 -17
- package/workspace/public/pm/premium-work.js +56 -25
- package/workspace/public/pm/premium.css +24 -0
- package/workspace/public/pm/premium.js +2 -2
- package/workspace/public/premium-board.html +1 -1
- package/workspace/public/premium-chat.html +39 -0
- package/workspace/public/premium-initiative.html +1 -1
- package/workspace/public/premium-insights.html +1 -1
- package/workspace/public/premium-work.html +1 -1
- package/workspace/public/premium.html +1 -1
- package/workspace/server.js +4 -2
- package/workspace/skills/morning-brief.skill +7 -14
- package/workspace/skills/sources-read.skill +54 -0
- package/workspace/test-lists/briefing-source-flow.json +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.365.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,40 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.365.0",
|
|
37
|
+
"at": "2026-10-21T01:17:24.947Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 962,
|
|
42
|
+
"t": "Item fields move out of the chat start into Edit ▾ beside the tabs",
|
|
43
|
+
"s": "Item fields move out of the chat start into Edit ▾ beside the tabs"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"n": 972,
|
|
47
|
+
"t": "The morning brief is built from the saved reads of your tools (briefing-source-flow, slice 2)",
|
|
48
|
+
"s": "The brief is derived content, following the rule Wawan set on 2026-10-21."
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"v": "0.364.0",
|
|
54
|
+
"at": "2026-10-21T00:58:08.077Z",
|
|
55
|
+
"f": 2,
|
|
56
|
+
"prs": [
|
|
57
|
+
{
|
|
58
|
+
"n": 967,
|
|
59
|
+
"t": "Chat is its own page, with the sessions on it",
|
|
60
|
+
"s": "Chat is its own page, with the sessions on it"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"n": 970,
|
|
64
|
+
"t": "Each tool the Briefing uses gets a stored read (briefing-source-flow, slice 1)",
|
|
65
|
+
"s": "Each tool the Briefing uses gets a stored read (briefing-source-flow, slice 1)"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
35
69
|
{
|
|
36
70
|
"v": "0.363.0",
|
|
37
71
|
"at": "2026-10-21T00:46:24.704Z",
|
|
@@ -282,30 +316,6 @@
|
|
|
282
316
|
"s": "On a touch screen every premium text field (input, textarea, select) uses 16 px type, so focus does not zoom the page."
|
|
283
317
|
}
|
|
284
318
|
]
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"v": "0.345.0",
|
|
288
|
-
"at": "2026-10-20T05:50:20.786Z",
|
|
289
|
-
"f": 2,
|
|
290
|
-
"prs": [
|
|
291
|
-
{
|
|
292
|
-
"n": 941,
|
|
293
|
-
"t": "Agent results wait in the bell, with deep links to each one",
|
|
294
|
-
"s": "The bell is an inbox of what the agent made that waits on the PM."
|
|
295
|
-
}
|
|
296
|
-
]
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"v": "0.344.0",
|
|
300
|
-
"at": "2026-10-20T05:29:13.194Z",
|
|
301
|
-
"f": 2,
|
|
302
|
-
"prs": [
|
|
303
|
-
{
|
|
304
|
-
"n": 940,
|
|
305
|
-
"t": "Replay takes the rich layout from the prototype",
|
|
306
|
-
"s": "Replay follows the rich layout from prototype PR 901."
|
|
307
|
-
}
|
|
308
|
-
]
|
|
309
319
|
}
|
|
310
320
|
]
|
|
311
321
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T01:17:22Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T01:17:22Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T01:17:22Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -175,12 +175,12 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
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
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
|
-
const bd = await q.evaluate(() => ({ title: document.querySelector('#dTitle').textContent,
|
|
180
|
-
ok('B15
|
|
178
|
+
await q.click('.rail [data-go="chat"]'); await until(() => q.evaluate(() => /premium-chat\.html/.test(location.pathname) && document.querySelector('#dlg').classList.contains('on')), 10000); await sleep(500);
|
|
179
|
+
const bd = await q.evaluate(() => ({ title: document.querySelector('#dTitle').textContent, ask: document.querySelector('#askF').hidden }));
|
|
180
|
+
ok('B15 Chat opens the Chat page on the board\'s conversation (premium-chat-page)', /about=board%3Athis-board/.test(q.url()) && bd.title === 'Ask about the pmos board' && bd.ask === false, JSON.stringify({ ...bd, url: q.url() }));
|
|
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');
|
|
182
182
|
ok('B15 a question about the board posts the board key and the text', await until(() => D.posts.length > nq && D.posts[D.posts.length - 1].path === '/api/briefing-premium/ask' && D.posts[D.posts.length - 1].body.key === 'board:this-board' && D.posts[D.posts.length - 1].body.text === 'What is late?'));
|
|
183
|
-
await q.
|
|
183
|
+
await q.goBack(); await until(() => q.evaluate(() => document.querySelectorAll('#ibBody .ini2').length > 0), 20000);
|
|
184
184
|
const dm = await q.evaluate(() => ({ cap: document.querySelector('#docCap').textContent, sum: document.querySelector('.dsum').textContent.replace(/\s+/g, ' '), bar: document.querySelectorAll('.dprog i').length, tabs: [...document.querySelectorAll('#dmF button')].map((b) => b.textContent.replace(/\s+/g, '')).join(','), link: (document.querySelector('.dsum .dlink') || {}).textContent }));
|
|
185
185
|
ok('B15 the documents have the mockup\'s summary, progress bar, filter and search, from one set of counts', dm.cap === '8' && /1 draft to review/.test(dm.sum) && /5 not started/.test(dm.sum) && /1 up to date/.test(dm.sum) && dm.bar === 8 && dm.tabs === 'All8,Notstarted5,Draft1,Uptodate1' && /Draft the 3 not started/.test(dm.link || ''), JSON.stringify(dm));
|
|
186
186
|
await q.click('#dmF [data-dmf="none"]'); ok('B15 the filter shows the documents not started', (await q.evaluate(() => [...document.querySelectorAll('#docBody .dmn b')].map((b) => b.textContent))).join('|') === 'Board charter|Board status report|Board risks|Intake log|Roadmap note'.replace('|Board risks', '') || true);
|
|
@@ -85,9 +85,10 @@ 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('.rail [data-go="chat"]'); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(500);
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
await p.click('.rail [data-go="chat"]'); await until(() => p.evaluate(() => /premium-chat\.html/.test(location.pathname) && document.querySelector('#dlg').classList.contains('on')), 10000); await sleep(500);
|
|
89
|
+
{ const u = new URL(p.url()); const t = await p.evaluate(() => document.querySelector('#dTitle').textContent);
|
|
90
|
+
ok('I1 Chat opens the Chat page on the initiative\'s conversation (premium-chat-page)', /^init:/.test(u.searchParams.get('about') || '') && t === 'Ask about Self-serve onboarding v2', JSON.stringify({ url: p.url(), t })); }
|
|
91
|
+
await p.goBack(); await until(() => p.evaluate(() => !!document.querySelector('#cIniTk')), 20000);
|
|
91
92
|
|
|
92
93
|
/* I3 header */
|
|
93
94
|
const head = await p.evaluate(() => ({ chip: document.querySelector('.ihead .chp').textContent.trim(), tone: document.querySelector('.ihead .chp').className, meta: document.querySelector('.ihm').textContent, segs: [...document.querySelectorAll('.iws .sg2 i')].map((i) => i.className).join('|'), cur: document.querySelector('.iws em b').textContent }));
|
|
@@ -157,72 +157,75 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
157
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.
|
|
158
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. */
|
|
159
159
|
{ const now = Date.now();
|
|
160
|
+
// premium-chat-page: the session list lives on the Chat page. The Briefing stays open on p; this block works in a second tab, xp.
|
|
161
|
+
const xp = await A.ctx.newPage(); xp.on('pageerror', (e) => A.errors.push(String((e && e.message) || e)));
|
|
162
|
+
await xp.route('**/api/briefing-premium*', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, state: 'ready', model: MODEL, as_of: Date.now() }) }));
|
|
160
163
|
const fake = [
|
|
161
164
|
{ 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' },
|
|
162
165
|
{ 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' },
|
|
163
166
|
{ id: 'sess-3', name: 'Old one', agent: 'claude', note: '', cwd: '.', created: new Date(now).toISOString(), shown: 'exited', label: 'exited', automatic: false },
|
|
164
167
|
{ 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' }];
|
|
165
168
|
let removes = 0, slowOnce = true; const said = [];
|
|
166
|
-
await
|
|
167
|
-
await
|
|
168
|
-
await
|
|
169
|
-
await
|
|
170
|
-
await
|
|
171
|
-
|
|
169
|
+
await xp.route('**/api/sessions', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ sessions: fake }) }));
|
|
170
|
+
await xp.route('**/api/briefing-premium/goals', (r) => r.fulfill({ contentType: 'application/json', body: JSON.stringify({ ok: true, goals: {} }) }));
|
|
171
|
+
await xp.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.' }] }) }));
|
|
172
|
+
await xp.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 }) }); });
|
|
173
|
+
await xp.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 }) }); });
|
|
174
|
+
await xp.goto(BASE + '/premium.html?theme=light'); await until(() => xp.evaluate(() => document.querySelectorAll('#rank .rr').length > 0), 20000);
|
|
175
|
+
const bt = await xp.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
176
|
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
|
|
174
|
-
|
|
175
|
-
const lay = await until(() =>
|
|
176
|
-
ok('X2 Chat opens the Briefing\'s conversation
|
|
177
|
-
const grpOf = () =>
|
|
177
|
+
await xp.click('.rail [data-go="chat"]'); await until(() => xp.evaluate(() => /premium-chat\.html/.test(location.pathname) && document.querySelector('#dlg').classList.contains('on')), 10000);
|
|
178
|
+
ok('X1b Chat goes to the Chat page and carries the Briefing as the conversation it opens', /about=src%3Athis-page/.test(xp.url()) && /label=the(\+|%20)Briefing/.test(xp.url()), xp.url());
|
|
179
|
+
const lay = await until(() => xp.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 xp.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 })));
|
|
180
|
+
ok('X2 the Chat page opens the Briefing\'s conversation with three panels: list, conversation, viewer', /Ask about the Briefing/.test(await xp.evaluate(() => document.querySelector('#dTitle').textContent)) && lay && lay.out > 300 && lay.rail > 150 && lay.work > 300 && lay.out > 300, JSON.stringify(lay));
|
|
181
|
+
const grpOf = () => xp.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 : '')));
|
|
178
182
|
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());
|
|
179
183
|
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('|'));
|
|
180
|
-
const chatName = () =>
|
|
184
|
+
const chatName = () => xp.evaluate(() => { const a = document.querySelector('.rail [data-go="chat"]'); return a.getAttribute('aria-label') + (a.querySelector('.cdot').hidden ? '' : ' +dot'); });
|
|
181
185
|
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
|
|
183
|
-
const first = await until(() =>
|
|
186
|
+
await xp.click('#srlList [data-sid="sess-1"]');
|
|
187
|
+
const first = await until(() => xp.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);
|
|
184
188
|
ok('X5 a press on the Ready session opens its conversation from the transcript', first === 'sess-1', String(first));
|
|
185
|
-
await
|
|
189
|
+
await xp.fill('#askIn', 'Put it in planning/research instead'); await xp.click('#askGo');
|
|
186
190
|
await until(() => said.length, 6000);
|
|
187
191
|
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));
|
|
188
|
-
await
|
|
189
|
-
ok('X7 Show lists the PMOS runs that need nothing', (await
|
|
190
|
-
await
|
|
191
|
-
await until(() =>
|
|
192
|
-
await
|
|
193
|
-
const asked = await
|
|
192
|
+
await xp.click('#srlList [data-smore]');
|
|
193
|
+
ok('X7 Show lists the PMOS runs that need nothing', (await xp.evaluate(() => document.querySelectorAll('#srlList .srl-r').length)) === 3);
|
|
194
|
+
await xp.click('#srlList [data-sid="sess-4"]');
|
|
195
|
+
await until(() => xp.evaluate(() => /Driver · drafts search/.test(document.querySelector('#dTitle').textContent) && !!document.querySelector('#oMain [data-stop]')), 6000);
|
|
196
|
+
await xp.click('#oMain [data-stop]');
|
|
197
|
+
const asked = await xp.evaluate(() => { const c = document.querySelector('#oMain .ssc'); return c ? c.textContent : ''; });
|
|
194
198
|
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);
|
|
195
|
-
await
|
|
196
|
-
ok('X9 Keep running closes the question and sends nothing', (await
|
|
197
|
-
await
|
|
198
|
-
const slow = await until(() =>
|
|
199
|
+
await xp.click('#oMain [data-no]');
|
|
200
|
+
ok('X9 Keep running closes the question and sends nothing', (await xp.evaluate(() => !document.querySelector('#oMain .ssc'))) && removes === 0);
|
|
201
|
+
await xp.click('#oMain [data-stop]'); await xp.click('#oMain [data-yes]');
|
|
202
|
+
const slow = await until(() => xp.evaluate(() => { const c = document.querySelector('#oMain .ssc'); return c ? c.textContent : ''; }), 6000);
|
|
199
203
|
ok('X10 a session that has not exited says so and offers Stop again, never "Ended"', /has not exited yet/.test(slow), slow);
|
|
200
|
-
await
|
|
201
|
-
ok('X11 the second press ends it, the toast confirms, and the list drops it', !!(await until(() =>
|
|
202
|
-
await
|
|
203
|
-
const folded = await until(() =>
|
|
204
|
+
await xp.click('#oMain [data-yes]');
|
|
205
|
+
ok('X11 the second press ends it, the toast confirms, and the list drops it', !!(await until(() => xp.evaluate(() => /Ended “Driver · drafts search”/.test(document.querySelector('#toast').textContent) && !document.querySelector('#srlList [data-sid="sess-4"]')), 8000)));
|
|
206
|
+
await xp.click('#srlFold');
|
|
207
|
+
const folded = await until(() => xp.evaluate(() => { const w = document.querySelector('#sRail').getBoundingClientRect().width; return w > 0 && w < 70 ? Math.round(w) : 0; }), 4000);
|
|
204
208
|
ok('X12 the list folds to a strip of dots', folded > 0, String(folded));
|
|
205
|
-
await
|
|
206
|
-
const vf = await until(() =>
|
|
207
|
-
ok('X13 the viewer folds and the conversation takes the width', vf > 0 && (await
|
|
209
|
+
await xp.click('#vFold');
|
|
210
|
+
const vf = await until(() => xp.evaluate(() => { const w = document.querySelector('#dOut').getBoundingClientRect().width; return w > 0 && w < 70 ? Math.round(w) : 0; }), 4000);
|
|
211
|
+
ok('X13 the viewer folds and the conversation takes the width', vf > 0 && (await xp.evaluate(() => document.querySelector('#dBody').getBoundingClientRect().width)) > 800, String(vf));
|
|
208
212
|
/* premium-fullscreen-blank: the folded viewer is a strip that opens again from anywhere on it, and folding never empties the panel */
|
|
209
|
-
const strip = await
|
|
210
|
-
await
|
|
211
|
-
ok('X13b a press anywhere on the folded viewer strip opens the viewer again', !!(await until(() =>
|
|
212
|
-
await
|
|
213
|
-
await
|
|
214
|
-
|
|
215
|
-
ok('X13c
|
|
216
|
-
await
|
|
217
|
-
await p.click('#srlFold'); await p.click('#vFold');
|
|
213
|
+
const strip = await xp.evaluate(() => { const r = document.querySelector('#dOut').getBoundingClientRect(); return { x: r.left + r.width / 2, y: r.top + r.height * 0.6 }; });
|
|
214
|
+
await xp.mouse.click(strip.x, strip.y);
|
|
215
|
+
ok('X13b a press anywhere on the folded viewer strip opens the viewer again', !!(await until(() => xp.evaluate(() => document.querySelector('#dOut').getBoundingClientRect().width > 300 && !document.querySelector('#dlg').classList.contains('vw-min')), 4000)));
|
|
216
|
+
await xp.click('#vFold');
|
|
217
|
+
const shell = await xp.evaluate(() => ({ close: !!document.querySelector('#dClose').offsetParent, expand: !!document.querySelector('#dExpand').offsetParent, rail: !document.querySelector('.rail').inert }));
|
|
218
|
+
await xp.keyboard.press('Escape');
|
|
219
|
+
ok('X13c the Chat page has no close and no full-screen button, its rail stays live, and Escape keeps it open', !shell.close && !shell.expand && shell.rail && await xp.evaluate(() => document.querySelector('#dlg').classList.contains('on') && document.querySelector('#dlg').classList.contains('full')), JSON.stringify(shell));
|
|
220
|
+
await xp.click('#srlFold'); await xp.click('#vFold');
|
|
218
221
|
/* the soft warning: silent at 6 working agents, speaks at 7, at the top of the list */
|
|
219
222
|
const before = fake.slice();
|
|
220
223
|
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 }));
|
|
221
224
|
fake.splice(0, fake.length, ...mk(6));
|
|
222
|
-
ok('X14 six agents working: no warning', !!(await until(() =>
|
|
225
|
+
ok('X14 six agents working: no warning', !!(await until(() => xp.evaluate(() => document.querySelectorAll('#srlList .srl-r').length === 6 && !document.querySelector('#srlList .srl-warn')), 8000)));
|
|
223
226
|
fake.push({ ...mk(7)[6] });
|
|
224
|
-
const warnText = await until(() =>
|
|
225
|
-
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
|
|
227
|
+
const warnText = await until(() => xp.evaluate(() => { const w = document.querySelector('#srlList .srl-warn'); return w ? w.textContent : ''; }), 8000);
|
|
228
|
+
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 xp.evaluate(() => document.querySelectorAll('#srlList .srl-warn button').length)) === 0, warnText);
|
|
226
229
|
fake.splice(0, fake.length, ...before);
|
|
227
230
|
const bare = await fetch(BASE + '/api/session/remove', { method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ id: 'sess-1' }) });
|
|
228
231
|
ok('X16 Stop is a page press: no nonce, no end (403)', bare.status === 403, String(bare.status));
|
|
@@ -230,21 +233,21 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
230
233
|
ok('X17 writing to a session is a page press: no nonce, nothing typed (403)', bareSay.status === 403, String(bareSay.status));
|
|
231
234
|
/* premium-run-questions: the question a run asks shows in its viewer; a press is the one write, /api/runs/answer */
|
|
232
235
|
let asking = true; const answers = [];
|
|
233
|
-
await
|
|
234
|
-
await
|
|
235
|
-
await until(() =>
|
|
236
|
-
await
|
|
237
|
-
const q = await until(() =>
|
|
236
|
+
await xp.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' }] } } } : {} }) }));
|
|
237
|
+
await xp.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 }) }); });
|
|
238
|
+
await until(() => xp.evaluate(() => !!document.querySelector('#srlList [data-sid="sess-1"]')), 8000);
|
|
239
|
+
await xp.click('#srlList [data-sid="sess-1"]');
|
|
240
|
+
const q = await until(() => xp.evaluate(() => { const b = document.querySelector('#oMain .ssq'); return b ? b.textContent : ''; }), 8000);
|
|
238
241
|
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);
|
|
239
|
-
await
|
|
242
|
+
await xp.click('#oMain [data-ans="planning/research"]');
|
|
240
243
|
await until(() => answers.length, 6000);
|
|
241
244
|
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));
|
|
242
|
-
ok('Q4 the question leaves once answered, and the toast says so', !!(await until(() =>
|
|
245
|
+
ok('Q4 the question leaves once answered, and the toast says so', !!(await until(() => xp.evaluate(() => !document.querySelector('#oMain .ssq') && /Answered/.test(document.querySelector('#toast').textContent)), 6000)));
|
|
243
246
|
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' }) });
|
|
244
247
|
ok('Q5 answering is a page press: no nonce, no answer (403)', bareAns.status === 403, String(bareAns.status));
|
|
245
|
-
await
|
|
246
|
-
await
|
|
247
|
-
await
|
|
248
|
+
await xp.unroute('**/api/runs'); await xp.unroute('**/api/runs/answer');
|
|
249
|
+
await xp.unroute('**/api/sessions'); await xp.unroute('**/api/session/remove'); await xp.unroute('**/api/session/say'); await xp.unroute('**/api/sessions/conversation**'); await xp.unroute('**/api/briefing-premium/goals');
|
|
250
|
+
await xp.close();
|
|
248
251
|
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); }
|
|
249
252
|
|
|
250
253
|
/* R2: with the console reads off, the hero is the model's records-only sentences */
|
|
@@ -24,7 +24,9 @@ const showKey = (pg, key) => pg.evaluate((key) => { const has = () => document.q
|
|
|
24
24
|
const results = [];
|
|
25
25
|
const ok = (name, cond, extra = '') => { results.push({ name, cond: !!cond }); console.log(`${cond ? '✓' : '✗'} ${name}${!cond && extra !== '' ? ' — ' + extra : ''}`); };
|
|
26
26
|
/* the dialog's fields (premium-simple-ui): a field opens its panel; When holds Today, Not yet, Not before and Someday */
|
|
27
|
-
|
|
27
|
+
/* the fields sit in a sheet behind Edit ▾ in the dialog's switch row, closed by default (PM, 2026-10-20) */
|
|
28
|
+
const sheet = async (pg) => { if (await pg.locator('#iTog[aria-expanded="false"]').count()) await pg.click('#iTog'); };
|
|
29
|
+
const field = async (pg, k) => { await sheet(pg); if (await pg.locator(`#card .ffd[data-k="${k}"][aria-expanded="false"]`).count()) await pg.click(`#card .ffd[data-k="${k}"]`); };
|
|
28
30
|
const more = (pg) => field(pg, 'when');
|
|
29
31
|
let srv = null; let browser = null;
|
|
30
32
|
const finish = async (code) => {
|
|
@@ -155,11 +157,12 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
155
157
|
await openKey('work:item-aaaaaaaaaaa1');
|
|
156
158
|
const dlg = await p.evaluate(() => ({ title: document.querySelector('#dTitle').textContent, mod: document.querySelector('#dlg').getAttribute('aria-modal'), ask: !!document.querySelector('#askGo'),
|
|
157
159
|
fields: [...document.querySelectorAll('#card .ffd small')].map((x) => x.textContent).join(), when: document.querySelector('#card .ffd[data-k="when"] b').textContent,
|
|
158
|
-
bar: [...document.querySelectorAll('#card .fbar button')].map((b) => b.textContent.trim()).join(), solid: [...document.querySelectorAll('#card .
|
|
160
|
+
bar: [...document.querySelectorAll('#card .ibrow button, #card .fbar button')].map((b) => b.textContent.trim()).join(), solid: [...document.querySelectorAll('#card .cta')].length,
|
|
161
|
+
shut: document.querySelector('#iSheet').hidden && !document.querySelector('#dBody .ffd'), row: !!document.querySelector('#dTabs #card [data-p="done"]') }));
|
|
159
162
|
await more(p); dlg.opts = await p.evaluate(() => [...document.querySelectorAll('#card .fmenu .fopt > span')].map((x) => x.textContent).join());
|
|
160
163
|
await field(p, 'wait'); dlg.wDis = await p.evaluate(() => document.querySelector('#wBtn').disabled);
|
|
161
|
-
ok('M8 a dialog shows
|
|
162
|
-
&& dlg.fields === 'The agent,When,Waiting on,Who does it,Priority · Due' && /^Inbox/.test(dlg.when) && dlg.bar === 'Drop it
|
|
164
|
+
ok('M8 a dialog shows Edit ▾ and Done in its switch row, the fields closed behind Edit and out of the conversation; the fields are the agent, When, Waiting on, Who does it, Priority · Due; When holds Today, Not yet, Not before and Someday; Waiting needs a name', dlg.title === 'Decide how partial refunds are handled'
|
|
165
|
+
&& dlg.fields === 'The agent,When,Waiting on,Who does it,Priority · Due' && /^Inbox/.test(dlg.when) && dlg.bar === 'EditInbox,Done,Drop it' && dlg.solid === 1 && dlg.shut && dlg.row
|
|
163
166
|
&& dlg.opts === 'Today,Later today,Tomorrow,Next week,Not before a date…,Someday' && dlg.mod === 'true' && dlg.ask && dlg.wDis, JSON.stringify(dlg));
|
|
164
167
|
await more(p);
|
|
165
168
|
await p.locator('#card [data-p="notyet"][data-when="tomorrow"]').click();
|
|
@@ -167,6 +170,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
167
170
|
for (const [sel, route, check] of [['[data-p="flag"]', '/api/pm-items/flag', (b) => b.flagged === true], ['[data-p="xt"][data-k="someday"]', '/api/pm-items/someday', (b) => Object.keys(b).join() === 'id'], ['[data-p="done"]', '/api/pm-items/done', (b) => Object.keys(b).join() === 'id'], ['[data-p="remove"]', '/api/pm-items/remove', (b) => Object.keys(b).join() === 'id']]) {
|
|
168
171
|
await openKey('work:item-aaaaaaaaaaa2'); const n = A.posts.length;
|
|
169
172
|
if (sel.includes('someday') || sel.includes('flag')) await more(p);
|
|
173
|
+
if (sel.includes('remove')) await sheet(p);
|
|
170
174
|
await p.locator('#card ' + sel).click();
|
|
171
175
|
ok(`M8 ${route.split('/').pop()} posts exactly what the Work page's route takes`, await until(() => A.posts.length > n && lastPost().path === route && lastPost().body.id === 'item-aaaaaaaaaaa2' && check(lastPost().body)), JSON.stringify(lastPost()));
|
|
172
176
|
await until(() => p.evaluate(() => !document.querySelector('#dlg').classList.contains('on')));
|
|
@@ -179,7 +183,7 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
179
183
|
await until(() => p.evaluate(() => !document.querySelector('#dlg').classList.contains('on')));
|
|
180
184
|
await openKey('work:item-ddddddddddd1');
|
|
181
185
|
ok('M7 an item on the review list offers Keep, and Keep posts it', await p.evaluate(() => !!document.querySelector('#card [data-p="keep"]')));
|
|
182
|
-
await p.click('#card [data-p="keep"]');
|
|
186
|
+
await sheet(p); await p.click('#card [data-p="keep"]');
|
|
183
187
|
ok('M7 Keep posts the item id only', await until(() => A.posts.some((x) => x.path === '/api/pm-items/keep' && Object.keys(x.body).join() === 'id' && x.body.id === 'item-ddddddddddd1')));
|
|
184
188
|
await until(() => p.evaluate(() => !document.querySelector('#dlg').classList.contains('on')));
|
|
185
189
|
ok('M8 no press carried a writer field', A.posts.every((x) => !['by', 'via', 'at', 'actor', 'pm', 'nonce'].some((k) => k in x.body)));
|
|
@@ -119,10 +119,10 @@ async function waitFor(page, fn, arg, ms = 8000) {
|
|
|
119
119
|
ok('R1 Connectors links to Data refresh instead of holding its schedule', await waitFor(page, () => { const a = document.querySelector('[data-c3set-row="conn.cal.refresh"]'); const b = document.querySelector('[data-c3set-row="conn.jira.refresh"]'); return !!a && !!b && !!a.querySelector('button.lk') && /Data refresh/.test(a.textContent) && !a.querySelector('select') && !b.querySelector('select'); }));
|
|
120
120
|
await page.click('[data-c3set-row="conn.cal.refresh"] button.lk');
|
|
121
121
|
ok('R2 the link opens the Data refresh section', await waitFor(page, () => !!document.querySelector('[data-c3set-section="refresh"] [data-c3set-rf-card]')));
|
|
122
|
-
ok('R3 the section draws
|
|
122
|
+
ok('R3 the section draws 14 source rows in three cards', await waitFor(page, () => document.querySelectorAll('[data-c3set-section="refresh"] [data-c3set-rf]').length === 14 && document.querySelectorAll('[data-c3set-rf-card]').length === 3));
|
|
123
123
|
ok('R3b the overview, the rules and the log are there', await page.evaluate(() => !!document.querySelector('[data-c3set-rf-sum]') && !!document.querySelector('[data-c3set-rf-all]') && !!document.querySelector('[data-c3set-rf-rules]') && !!document.querySelector('[data-c3set-rf-log]')));
|
|
124
124
|
ok('R3c a source with its own home says where, and has no editor button', await page.evaluate(() => { const r = document.querySelector('[data-c3set-rf="scan"]'); return !!r && /Set in Initiatives/.test(r.textContent) && !r.querySelector('[data-c3set-rf-open]'); }));
|
|
125
|
-
ok('R3d the filter Off lists the sources that are off', await (async () => { await page.click('[data-c3set-section="refresh"] .seg [data-v="off"]'); const n = await page.evaluate(() => document.querySelectorAll('[data-c3set-rf]').length); await page.click('[data-c3set-section="refresh"] .seg [data-v="all"]'); return n > 0 && n <
|
|
125
|
+
ok('R3d the filter Off lists the sources that are off', await (async () => { await page.click('[data-c3set-section="refresh"] .seg [data-v="off"]'); const n = await page.evaluate(() => document.querySelectorAll('[data-c3set-rf]').length); await page.click('[data-c3set-section="refresh"] .seg [data-v="all"]'); return n > 0 && n < 14; })());
|
|
126
126
|
|
|
127
127
|
// turning on needs no question
|
|
128
128
|
await page.click('[data-c3set-rf-on="calendar"]');
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,38 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.365.0",
|
|
4
|
+
"at": "2026-10-21T01:17:24.947Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 962,
|
|
9
|
+
"t": "Item fields move out of the chat start into Edit ▾ beside the tabs",
|
|
10
|
+
"s": "Item fields move out of the chat start into Edit ▾ beside the tabs"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"n": 972,
|
|
14
|
+
"t": "The morning brief is built from the saved reads of your tools (briefing-source-flow, slice 2)",
|
|
15
|
+
"s": "The brief is derived content, following the rule Wawan set on 2026-10-21."
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"v": "0.364.0",
|
|
21
|
+
"at": "2026-10-21T00:58:08.077Z",
|
|
22
|
+
"f": 2,
|
|
23
|
+
"prs": [
|
|
24
|
+
{
|
|
25
|
+
"n": 967,
|
|
26
|
+
"t": "Chat is its own page, with the sessions on it",
|
|
27
|
+
"s": "Chat is its own page, with the sessions on it"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"n": 970,
|
|
31
|
+
"t": "Each tool the Briefing uses gets a stored read (briefing-source-flow, slice 1)",
|
|
32
|
+
"s": "Each tool the Briefing uses gets a stored read (briefing-source-flow, slice 1)"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
2
36
|
{
|
|
3
37
|
"v": "0.363.0",
|
|
4
38
|
"at": "2026-10-21T00:46:24.704Z",
|
|
@@ -11,11 +11,11 @@ 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 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.
|
|
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. Each place is a page; Chat is at `/premium-chat.html`. 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
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** (in the rail) opens a conversation with Claude about the page you
|
|
18
|
+
- **Chat** (in the rail) opens the Chat page on a conversation with Claude about the page you were on: the Briefing, My work, the board, or the initiative. It is the same conversation the page's chat has always kept, so its history comes with it. From Insights, or opened on its own, the Chat page opens your own chat, which is about no page. 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
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.
|
|
@@ -28,7 +28,7 @@ Every premium page has the same top bar. On the left is where you are. On the ri
|
|
|
28
28
|
|
|
29
29
|
The first line of **Sources** says whether PMOS's background work is running. When everything is on time it reads like "Background on · brief 06:52 · sources 06:49": the time today's morning brief was saved and the time of the last source read. It turns orange when something is late, such as a source that missed its scheduled read by more than an hour, or Git sync that keeps failing. It turns red when something stopped: no morning brief 45 minutes after its time, a source whose last run failed, a session whose prompt was typed but not sent, or background checks that stopped. The line gives the reason in plain words, and other problems are listed under it. The Sources dot takes the same colour, and a stop is also added to the bell, once a day. When the morning brief is due, it first refreshes Calendar, Jira and My work if they are more than 2 hours old, then builds from them. It waits for them for at most 30 minutes.
|
|
30
30
|
|
|
31
|
-
**
|
|
31
|
+
**The Chat page** is the chat as a page of its own. On a desktop it has three panels: the session list, the conversation and the viewer. It has no close button; the rail takes you to another place. On a phone it fills the screen above the bar and opens on the conversation; the **Sessions** chip opens the list. A chat dialog elsewhere (a row's Conversation tab) still shows the list when it is full screen.
|
|
32
32
|
|
|
33
33
|
- **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".
|
|
34
34
|
- **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.
|
|
@@ -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
|
-
- **The dot on Chat** in the rail shows when sessions are Ready or Maybe blocked. Chat
|
|
40
|
+
- **The dot on Chat** in the rail shows when sessions are Ready or Maybe blocked. The Chat page shows the list beside the conversation.
|
|
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
|
|
|
@@ -271,7 +271,7 @@ My work is the second place on the rail, at `/premium-work.html`. It reads the l
|
|
|
271
271
|
|
|
272
272
|
**Work queue.** One full-width card holds everything you sort, as tabs in one row: **Today**, **Inbox**, **Upcoming**, **Someday**, **Kept** and **Done**. Each tab shows its count, and the card opens on Today (or on the first tab that has something). On a phone the tabs stay in one row: swipe the row sideways to see the rest. Rows sit in two columns, one column on a narrow screen. The left and right arrow keys move between tabs. **Inbox** shows what is new from Jira and Slack first, then what you added. **Kept** gathers items you pressed Keep on, and **Done** shows what you added and marked done in the last 7 days. An item shows in one place tab only. Kept is a mark on an item, not a place, so a kept item also shows where it was placed. The card replaces the earlier On your plate, With agents and tray cards.
|
|
273
273
|
|
|
274
|
-
**The item dialog.** The
|
|
274
|
+
**The item dialog.** The conversation gets the whole body. Two controls sit beside the Detail / Conversation switch, on both tabs: **Edit ▾** and **Done**. On a wide screen the row also shows where the item is. **Edit ▾** opens a sheet with one labelled field for each choice. Each field shows its value from the record and opens when you press it: **When** (Today, Later today, Tomorrow, Next week, Not before a date, Someday), **Waiting on**, **Who does it** (the steps) and **Priority · Due** (the edit panel). **Keep it** and **Drop it** are at the bottom of the sheet. The sheet closes when you press Edit again, press outside it, or press Escape. **Waiting on** is not shown when the item cannot wait and waits on nobody. An agent that only can draft is a field in the sheet. An agent that is working, has a draft, or stopped stays in the conversation, because it needs you. Every action stays reachable.
|
|
275
275
|
|
|
276
276
|
**The agent's draft.** The draft shows as formatted text in the detail panel on the right, labelled as the agent's and not checked, with **Open** and **Copy**. Its heading names the item ("Draft for IDPF-2989", or "Draft for you"), the round and the time of the latest round, and an approved step shows as "Step when you approve". A long draft is cut short, with **Show all**. It appears there as soon as the agent finishes, even while the dialog is open. The left column keeps the conversation (with **View round**) and the decision cards, in the console's words: **Post it to Jira** (marked outward, with exactly the text that goes), **Edit the draft**, **Keep it as a draft** and **Mark it done**. Post asks you to confirm the exact text first, and nothing is posted before that.
|
|
277
277
|
|
|
@@ -309,7 +309,7 @@ Board is the fourth place on the rail, after Chat, at `/premium-board.html`. It
|
|
|
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** in the rail opens the
|
|
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 Chat page on the board's conversation.
|
|
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** in the rail opens the
|
|
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 Chat page on the initiative's conversation.
|
|
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.
|
|
@@ -342,7 +342,7 @@ Insights is the fifth place on the rail, at `/premium-insights.html`. It reads t
|
|
|
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
|
|
345
|
+
- **Open the Studio.** **New**, then **Dashboard**, opens the Insight Studio on a new dashboard, and **Edit** opens it on the saved dashboard you are looking at. Chat in the rail opens the Chat page, not the Studio.
|
|
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.
|