create-pmos 0.609.0 → 0.611.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 +69 -27
- 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/board-columns-test.js +2 -1
- package/workspace/board-deliveries-test.js +2 -1
- package/workspace/board-programs-test.js +9 -5
- package/workspace/board-publish-ui-test.js +2 -1
- package/workspace/board-shared-ui-test.js +2 -1
- package/workspace/board-workflows-test.js +2 -1
- package/workspace/briefing-premium-adddoc-test.js +2 -1
- package/workspace/briefing-premium-board-test.js +10 -9
- package/workspace/briefing-premium-doc-edit-test.js +2 -1
- package/workspace/briefing-premium-initiative-test.js +7 -6
- package/workspace/briefing-premium-insights-test.js +12 -11
- package/workspace/briefing-premium-products-test.js +4 -2
- package/workspace/briefing-premium-sources-test.js +1 -1
- package/workspace/briefing-premium-test.js +6 -5
- package/workspace/briefing-premium-work-test.js +1 -1
- package/workspace/calm-timeline-test.js +2 -1
- package/workspace/changelog.json +68 -0
- package/workspace/core-docs-workflow-test.js +2 -1
- package/workspace/ev-everywhere-test.js +11 -10
- package/workspace/guide/home.md +2 -2
- package/workspace/guide/index.md +4 -0
- package/workspace/guide/layout.md +92 -11
- package/workspace/guide/programs.md +16 -2
- package/workspace/guide/routine.md +50 -0
- package/workspace/guide/scheduled-tasks-and-cli.md +1 -1
- package/workspace/guide/settings-and-switches.md +1 -1
- package/workspace/home-other-product-test.js +2 -1
- package/workspace/home-railcard-test.js +2 -1
- package/workspace/impact-screens-test.js +3 -1
- package/workspace/ini-workflow-test.js +2 -1
- package/workspace/lib/beside-page.js +15 -0
- package/workspace/lib/classic-board.js +15 -0
- package/workspace/lib/events-place.js +216 -0
- package/workspace/lib/library-items.js +78 -0
- package/workspace/lib/notes.js +6 -1
- package/workspace/lib/route-modules.js +4 -0
- package/workspace/lib/routes-events-place.js +166 -0
- package/workspace/lib/routes-library.js +89 -0
- package/workspace/lib/routes-pop-work.js +39 -0
- package/workspace/lib/routes-report-setups.js +20 -0
- package/workspace/lib/routes-today-log.js +48 -0
- package/workspace/lib/routine-reports.js +52 -0
- package/workspace/lib/today-log.js +131 -0
- package/workspace/live-pill-round-test.js +11 -9
- package/workspace/metric-drafts-ui-test.js +3 -1
- package/workspace/milestone-pins-test.js +2 -1
- package/workspace/milestone-suggest-test.js +3 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/panels-test.js +6 -4
- package/workspace/premium-board-actions-test.js +3 -1
- package/workspace/premium-chat-context-test.js +6 -6
- package/workspace/premium-chat-line-test.js +1 -1
- package/workspace/premium-chat-notes-test.js +1 -1
- package/workspace/premium-core-doc-issue-test.js +2 -1
- package/workspace/premium-rec-tab-test.js +2 -1
- package/workspace/premium-vw-backlog-test.js +3 -1
- package/workspace/premium-vw-cal-test.js +1 -1
- package/workspace/premium-vw-doc-test.js +2 -1
- package/workspace/premium-vw-item-test.js +3 -1
- package/workspace/premium-vw-jira-test.js +3 -1
- package/workspace/product-lane-test.js +2 -1
- package/workspace/program-charter-test.js +3 -1
- package/workspace/program-leave-test.js +3 -1
- package/workspace/program-order-test.js +2 -1
- package/workspace/program-panel-test.js +5 -3
- package/workspace/public/pm/bd-ini-panel.js +75 -8
- package/workspace/public/pm/bd-prog-panel.js +55 -8
- package/workspace/public/pm/bd-scroll.js +4 -2
- package/workspace/public/pm/bd-work.css +130 -0
- package/workspace/public/pm/bd-work.js +356 -0
- package/workspace/public/pm/cozy-board.css +3 -0
- package/workspace/public/pm/cozy-ev.css +52 -0
- package/workspace/public/pm/cozy-events-view.js +142 -0
- package/workspace/public/pm/cozy-events.css +107 -0
- package/workspace/public/pm/cozy-events.js +210 -0
- package/workspace/public/pm/cozy-evmodel.js +1 -1
- package/workspace/public/pm/cozy-library.css +36 -0
- package/workspace/public/pm/cozy-live-pill.js +3 -1
- package/workspace/public/pm/cozy-nav.js +70 -7
- package/workspace/public/pm/cozy-panels.js +1 -1
- package/workspace/public/pm/cozy-pick.css +3 -0
- package/workspace/public/pm/cozy-pick.js +6 -2
- package/workspace/public/pm/cozy-pop-work.css +165 -0
- package/workspace/public/pm/cozy-pop-work.js +427 -0
- package/workspace/public/pm/cozy-popup.css +113 -0
- package/workspace/public/pm/cozy-popup.js +408 -0
- package/workspace/public/pm/cozy-routine-model.js +111 -0
- package/workspace/public/pm/cozy-routine-pop.js +196 -0
- package/workspace/public/pm/cozy-routine.css +102 -0
- package/workspace/public/pm/cozy-routine.js +156 -0
- package/workspace/public/pm/cozy-schedwork.js +6 -5
- package/workspace/public/pm/cozy-settings.js +10 -1
- package/workspace/public/pm/cozy-today-app.js +236 -0
- package/workspace/public/pm/cozy-today-model.js +176 -0
- package/workspace/public/pm/cozy-today-page.css +100 -0
- package/workspace/public/pm/cozy-today-view.js +76 -0
- package/workspace/public/pm/cozy-viewer.js +66 -18
- package/workspace/public/pm/home-app.js +29 -6
- package/workspace/public/pm/home-ini.js +39 -7
- package/workspace/public/pm/library-model.js +69 -0
- package/workspace/public/pm/library-open.js +34 -0
- package/workspace/public/pm/page-chat.js +16 -4
- package/workspace/public/pm/pop-sessions.js +65 -0
- package/workspace/public/pm/pop-work-model.js +335 -0
- package/workspace/public/pm/premium-board.js +137 -11
- package/workspace/public/pm/premium-insights.js +14 -2
- package/workspace/public/pm/premium-library.js +122 -0
- package/workspace/public/pm/premium-shell.js +1 -1
- package/workspace/public/premium-board.html +1 -0
- package/workspace/public/premium-events.html +42 -0
- package/workspace/public/premium-library.html +31 -0
- package/workspace/public/premium-routine.html +31 -0
- package/workspace/public/today.html +50 -0
- package/workspace/ready-dash-ui-test.js +3 -1
- package/workspace/rename-test.js +2 -1
- package/workspace/run-tests.js +4 -1
- package/workspace/server.js +3 -2
- package/workspace/sort-order-test.js +2 -1
- package/workspace/split-merge-ui-test.js +3 -1
- package/workspace/stage-card-tasks-test.js +5 -3
- package/workspace/stage-card-test.js +2 -1
- package/workspace/task-card-test.js +2 -1
- package/workspace/task-delete-test.js +3 -1
- package/workspace/task-links-test.js +4 -2
- package/workspace/task-milestones-test.js +4 -2
- package/workspace/task-plans-test.js +3 -1
- package/workspace/task-press-test.js +3 -1
- package/workspace/task-views-test.js +10 -8
- package/workspace/test-lists/events-place.json +11 -0
- package/workspace/test-lists/library-place.json +9 -0
- package/workspace/test-lists/one-popup.json +9 -0
- package/workspace/test-lists/pop-work.json +9 -0
- package/workspace/test-lists/routine-place.json +9 -0
- package/workspace/test-lists/today-log.json +9 -0
- package/workspace/test-lists/work-view.json +9 -0
- package/workspace/timeline-holds-test.js +3 -1
- package/workspace/tk-tasks-test.js +3 -1
- package/workspace/viewer-trail-test.js +1 -1
- package/workspace/workflows-setup-test.js +1 -1
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* H4 the program panel's links into Home (initiative program-hierarchy): ?item=pt:<program>:<key> and ?ask=program:<id>
|
|
19
19
|
* Every wait polls the page. */
|
|
20
20
|
const fs = require('fs');
|
|
21
|
+
const { classicBoard } = require('./lib/classic-board'); // these checks are about the four Board views, not Work (work-one-view)
|
|
21
22
|
const path = require('path');
|
|
22
23
|
const { spawn } = require('child_process');
|
|
23
24
|
const { findBrowser } = require('./lib/find-browser');
|
|
@@ -51,7 +52,7 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
51
52
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed — the briefing-premium suite cannot run'); return finish(1); }
|
|
52
53
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
|
|
53
54
|
await T.waitForServer(BASE);
|
|
54
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
55
|
+
browser = classicBoard(await chromium.launch({ executablePath: exe }));
|
|
55
56
|
|
|
56
57
|
const open = async ({ w = 1440, h = 900, theme = 'light', model = MODEL, fail = false, mock = true, touch = false, programs = null, qs = '' } = {}) => {
|
|
57
58
|
const ctx = await browser.newContext({ viewport: { width: w, height: h }, colorScheme: theme, hasTouch: touch });
|
|
@@ -84,11 +85,11 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
84
85
|
const gone = await Promise.all(['/console.html', '/classic.html'].map((u) => fetch(BASE + u, { redirect: 'manual' })));
|
|
85
86
|
ok('R1 /console.html and /classic.html go to Home: the console and the classic page are deleted', gone.every((r) => r.status === 302 && /\/premium\.html$/.test(r.headers.get('location') || '')), gone.map((r) => r.status).join());
|
|
86
87
|
const old = await fetch(BASE + '/c3.html', { redirect: 'manual' }); ok('R1 /c3.html with no query goes to Home', old.status === 302 && /\/premium\.html$/.test(old.headers.get('location') || ''));
|
|
87
|
-
const rail = await p.evaluate(() => ({ gone: !document.querySelector('nav.rail, .rail [data-go], #dlg'), places: [...document.querySelectorAll('#czMenu a')].map((a) => a.textContent.trim() + '>' + a.getAttribute('href')), cur: (document.querySelector('#czMenu [aria-current="page"]') || {}).textContent || '' }));
|
|
88
|
-
ok('R1 no old rail and no old dialog; the
|
|
88
|
+
const rail = await p.evaluate(() => ({ gone: !document.querySelector('nav.rail, .rail [data-go], #dlg'), places: [...document.querySelectorAll('#czMenu a')].map((a) => (a.querySelector('span, b') || a).textContent.trim() + '>' + a.getAttribute('href')), cur: (document.querySelector('#czMenu [aria-current="page"]') || {}).textContent || '' }));
|
|
89
|
+
ok('R1 no old rail and no old dialog; the places are Today, Work and Goals (slice 1) and Today is current', rail.gone && /^Today>\/today\.html,Work>\/premium-board\.html,Goals>\/premium-intelligence\.html(,(Events|Library|Routine)>\/premium-[a-z]+\.html)*$/.test(rail.places.join()) && /Today/.test(rail.cur), JSON.stringify(rail));
|
|
89
90
|
ok('R1 nothing on Home links to the console', await p.evaluate(() => !document.querySelector('a[href*="console"], a[href*="c3.html"], [data-href*="console"]')));
|
|
90
91
|
// premium-uncovered-features (EvSettings): Settings is its own dialog, opened from the place menu
|
|
91
|
-
await p.click('#czFab'); await p.click('[data-cz-settings]');
|
|
92
|
+
if (await p.isVisible('#czFab')) await p.click('#czFab'); await p.click('[data-cz-settings]');
|
|
92
93
|
const st = await until(() => p.evaluate(() => { const d = document.querySelector('#evSettings:not([hidden])'); return d ? d.getAttribute('aria-label') + ' ' + ((d.querySelector('h2') || {}).textContent || '') : null; }));
|
|
93
94
|
ok('R1 Settings opens its dialog', !!st && /Settings/.test(st), String(st));
|
|
94
95
|
await p.keyboard.press('Escape');
|
|
@@ -271,7 +272,7 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
271
272
|
const desk = document.querySelector('#hmDesk'), list = document.querySelector('#hmList'), cs = getComputedStyle(document.querySelector('#hmChat')), r = list.getBoundingClientRect();
|
|
272
273
|
return { inset: Math.round(r.left), radius: cs.borderTopLeftRadius, list: Math.round(list.getBoundingClientRect().width), font: getComputedStyle(document.body).fontFamily, theme: document.documentElement.dataset.theme || '', bg: getComputedStyle(document.body).backgroundColor, rail: !!document.querySelector('nav.rail'), menu: !!document.querySelector('#czMenu, .cz-nav') };
|
|
273
274
|
});
|
|
274
|
-
ok(`R12 Home follows the Home A + C design at 1440 px (HvACDesk), ${theme}: the list at 16 px and 360 px wide, the chat a card with a 24 px radius, Plus Jakarta Sans, the
|
|
275
|
+
ok(`R12 Home follows the Home A + C design at 1440 px (HvACDesk), ${theme}: the list after the rail of places (slice 1: the desk at 12 + 72 + 12 px, the list 16 px inside it) and 360 px wide, the chat a card with a 24 px radius, Plus Jakarta Sans, the place menu, no old rail`, f.inset === 112 && f.radius === '24px' && f.list === 360 && /Plus Jakarta Sans/.test(f.font) && f.menu && !f.rail, JSON.stringify(f));
|
|
275
276
|
await D.ctx.close();
|
|
276
277
|
}
|
|
277
278
|
return finish();
|
|
@@ -70,7 +70,7 @@ const view = () => { const v = document.querySelector('#czViewer:not([hidden])')
|
|
|
70
70
|
ok('0 My work opens in the Viewer', !!A.up);
|
|
71
71
|
if (!A.up) return finish(1);
|
|
72
72
|
/* M1 */
|
|
73
|
-
ok('M1 /premium-work.html opens Home, the place menu marks
|
|
73
|
+
ok('M1 /premium-work.html opens Today (Home), the place menu marks Today and nothing on the page is the old My work page', await p.evaluate(() => /\/premium\.html$/.test(location.pathname) && /Today/.test((document.querySelector('#czMenu [aria-current="page"]') || {}).textContent || '') && !document.querySelector('#qBody, #capIn, nav.rail')));
|
|
74
74
|
ok('M1 the page is still served at /premium-work and /premium-work.html', (await fetch(BASE + '/premium-work', { redirect: 'manual' })).status === 302 && (await fetch(BASE + '/premium-work.html')).status === 200);
|
|
75
75
|
/* M4 */
|
|
76
76
|
const v0 = await p.evaluate(view);
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* N names wrap to two lines and are never cut · B one tint, quarter lines only · M the phone keeps the labels and the quiet dots
|
|
12
12
|
* SHOTS_4=<dir>: the timeline at 1440 and 390, light and dark, folded, into <dir>. */
|
|
13
13
|
const path = require('path');
|
|
14
|
+
const { classicBoard } = require('./lib/classic-board'); // these checks are about the four Board views, not Work (work-one-view)
|
|
14
15
|
const { spawn } = require('child_process');
|
|
15
16
|
const { findBrowser } = require('./lib/find-browser');
|
|
16
17
|
const T = require('./test-run').configure({ name: 'calm-timeline' });
|
|
@@ -54,7 +55,7 @@ const ITEMS = [
|
|
|
54
55
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
|
|
55
56
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
|
|
56
57
|
await T.waitForServer(BASE);
|
|
57
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
58
|
+
browser = classicBoard(await chromium.launch({ executablePath: exe }));
|
|
58
59
|
|
|
59
60
|
/** The Board on the timeline. o: { w, h, span, dark, mode, fold, phone } */
|
|
60
61
|
const open = async (o = {}) => {
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,72 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.611.0",
|
|
4
|
+
"at": "2026-11-18T23:52:14.177Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1366,
|
|
9
|
+
"t": "The rail and the popup together keep main green",
|
|
10
|
+
"s": "The rail and the popup together keep main green",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"n": 1363,
|
|
15
|
+
"t": "Work, one list of initiatives with its timeline (nav slice 4)",
|
|
16
|
+
"s": "Work, one list of initiatives with its timeline (nav slice 4)",
|
|
17
|
+
"k": "new"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"n": 1364,
|
|
21
|
+
"t": "Today page, a daily log beside today's agenda (nav slice 5)",
|
|
22
|
+
"s": "Today page, a daily log beside today's agenda (nav slice 5)",
|
|
23
|
+
"k": "new"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"n": 1362,
|
|
27
|
+
"t": "Events, one place for everything with a date (nav slice 6)",
|
|
28
|
+
"s": "Events, one place for everything with a date (nav slice 6)",
|
|
29
|
+
"k": "new"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"n": 1367,
|
|
33
|
+
"t": "Library, one table of everything that was made (slice 7)",
|
|
34
|
+
"s": "Library, one table of everything that was made (slice 7)",
|
|
35
|
+
"k": "new"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"n": 1365,
|
|
39
|
+
"t": "What the popup shows for work (nav slice 3)",
|
|
40
|
+
"s": "What the popup shows for work (nav slice 3)",
|
|
41
|
+
"k": "new"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"n": 1361,
|
|
45
|
+
"t": "Routine, everything that repeats in one place, and a report in the popup (slice 8)",
|
|
46
|
+
"s": "Routine, everything that repeats in one place, and a report in the popup (slice 8)",
|
|
47
|
+
"k": "new"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"v": "0.610.0",
|
|
53
|
+
"at": "2026-11-18T19:46:47.442Z",
|
|
54
|
+
"f": 4,
|
|
55
|
+
"prs": [
|
|
56
|
+
{
|
|
57
|
+
"n": 1359,
|
|
58
|
+
"t": "The navigation of six places, one thin rail on every page (slice 1)",
|
|
59
|
+
"s": "The navigation of six places, one thin rail on every page (slice 1)",
|
|
60
|
+
"k": "new"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"n": 1360,
|
|
64
|
+
"t": "One popup with the chat",
|
|
65
|
+
"s": "One popup with the chat",
|
|
66
|
+
"k": "new"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
2
70
|
{
|
|
3
71
|
"v": "0.609.0",
|
|
4
72
|
"at": "2026-11-18T14:39:08.423Z",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* D2 no Product feature document (PRD, Risks, Problem statement) is listed; the primary drafts the stage's own document
|
|
8
8
|
* D3 a document issued before the switch sits under Other documents · D4 phone and dark. SHOTS=<dir> writes the screenshots. */
|
|
9
9
|
const fs = require('fs');
|
|
10
|
+
const { besidePage } = require('./lib/beside-page'); // these checks read the full page beside the page; in the popup work shows its three parts (nav slice 3)
|
|
10
11
|
const os = require('os');
|
|
11
12
|
const path = require('path');
|
|
12
13
|
const { spawn } = require('child_process');
|
|
@@ -82,7 +83,7 @@ const OLD = new Map([['initiative:' + ID + '|risks', { drafts: [], issued: { at:
|
|
|
82
83
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
|
|
83
84
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT), PMOS_SELF_ROOT: path.resolve(__dirname, '..') }) });
|
|
84
85
|
await T.waitForServer(BASE);
|
|
85
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
86
|
+
browser = besidePage(await chromium.launch({ executablePath: exe }));
|
|
86
87
|
if (SHOTS) fs.mkdirSync(SHOTS, { recursive: true });
|
|
87
88
|
const shot = async (p, name) => { if (SHOTS) await p.screenshot({ path: path.join(SHOTS, name + '.png'), fullPage: true }); };
|
|
88
89
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* D1 Theme Dark in Settings › General draws the page dark (data-theme), kept for the next page; P1 at 390 px Search fills the screen and nothing scrolls sideways
|
|
13
13
|
* Set EV_SHOTS=<dir> for screenshots at 1440x900 and 390x844, light and dark. Every wait polls the page; no fixed sleep stands in for a state. */
|
|
14
14
|
const fs = require('fs');
|
|
15
|
+
const { classicBoard } = require('./lib/classic-board'); // these checks are about the four Board views, not Work (work-one-view)
|
|
15
16
|
const os = require('os');
|
|
16
17
|
const path = require('path');
|
|
17
18
|
const { spawn, spawnSync } = require('child_process');
|
|
@@ -66,7 +67,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
|
|
|
66
67
|
const api = (await json('GET', '/api/find?q=billing&ws=' + encodeURIComponent(ws))).body || {};
|
|
67
68
|
ok('S0 GET /api/find finds the PRD and the deck on main and the draft on the worktree', api.ok && Array.isArray(api.results) && api.results.some((r) => r.path === 'planning/prd/billing-prd.md' && !r.draft) && api.results.some((r) => r.kind === 'slides') && api.results.some((r) => r.draft && /billing-spec-draft/.test(r.path)), JSON.stringify(api).slice(0, 400));
|
|
68
69
|
|
|
69
|
-
browser = await chromium.launch({ executablePath: exe, headless: true, args: ['--no-sandbox'] });
|
|
70
|
+
browser = classicBoard(await chromium.launch({ executablePath: exe, headless: true, args: ['--no-sandbox'] }));
|
|
70
71
|
const shot = process.env.EV_SHOTS || '';
|
|
71
72
|
const snap = async (pg, name) => { if (!shot) return; fs.mkdirSync(shot, { recursive: true }); await sleep(400); await pg.screenshot({ path: path.join(shot, name + '.png') }); };
|
|
72
73
|
const open = async ({ w = 1440, h = 900, page = 'premium.html', theme = '' } = {}) => {
|
|
@@ -75,20 +76,20 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
|
|
|
75
76
|
pg.on('pageerror', (e) => errors.push(String(e)));
|
|
76
77
|
pg.on('request', (r) => { if (r.method() === 'POST') posts.push(new URL(r.url()).pathname); });
|
|
77
78
|
await pg.goto(`${BASE}/${page}?ws=${encodeURIComponent(ws)}${theme ? '&theme=' + theme : ''}`);
|
|
78
|
-
await pg.waitForSelector('#czFab', { timeout: 30000 });
|
|
79
|
+
await pg.waitForSelector('#czFab', { state: 'attached', timeout: 30000 }); // a desktop hides the button: the rail is the menu (slice 1)
|
|
79
80
|
return { ctx, pg, errors, posts };
|
|
80
81
|
};
|
|
81
|
-
const menu = async (pg) => { if (await pg.isHidden('#czMenu')) await pg.click('#czFab'); await pg.waitForSelector('#czMenu:not([hidden])'); };
|
|
82
|
+
const menu = async (pg) => { if (await pg.isHidden('#czMenu')) if (await pg.isVisible('#czFab')) await pg.click('#czFab'); await pg.waitForSelector('#czMenu:not([hidden])'); };
|
|
82
83
|
|
|
83
84
|
{ /* U: the place menu on Home */
|
|
84
85
|
const { ctx, pg, errors, posts } = await open();
|
|
85
86
|
await menu(pg);
|
|
86
|
-
const m = await pg.evaluate(() => ({ links: [...document.querySelectorAll('#czMenu a')].map((a) => a.textContent.trim()), tray: [...document.querySelectorAll('#czMenu .ev-tray button')].map((b) => b.getAttribute('aria-label').replace(/\..*$/, '')), rows: document.querySelectorAll('#czMenu .ev-mi, #czMenu [data-cz-more], #czMenu [data-cz-news], #czMenu [data-cz-sources], #czMenu [data-ev-theme]').length }));
|
|
87
|
+
const m = await pg.evaluate(() => ({ links: [...document.querySelectorAll('#czMenu a')].map((a) => (a.querySelector('span, b') || a).textContent.trim()), tray: [...document.querySelectorAll('#czMenu .ev-tray button, #czMenu .ev-rtray button')].map((b) => b.getAttribute('aria-label').replace(/\..*$/, '')), rows: document.querySelectorAll('#czMenu .ev-mi, #czMenu [data-cz-more], #czMenu [data-cz-news], #czMenu [data-cz-sources], #czMenu [data-ev-theme]').length }));
|
|
87
88
|
// feedback batch 16 item 5 (canvas FmA1Menu): the three places, then Search and Settings as icons, and nothing else; guide-in-app adds Guide between them
|
|
88
|
-
ok('U1 the
|
|
89
|
+
ok('U1 the rail holds Today, Work, Goals, then Ask PMOS, Search, Guide and Settings as four icons, and no New for you, Sources, More or Theme', /^Today,Work,Goals(,(Events|Library|Routine))*$/.test(m.links.join()) && m.tray.join() === 'Ask PMOS,Search (⌘K),Guide,Settings' && m.rows === 0, JSON.stringify(m));
|
|
89
90
|
await snap(pg, 'menu-1440-light');
|
|
90
91
|
await pg.keyboard.press('Escape');
|
|
91
|
-
ok('U2 Escape
|
|
92
|
+
ok('U2 Escape leaves the rail: on a desktop it is always shown (slice 1)', !(await pg.isHidden('#czMenu')) && await pg.evaluate(() => document.querySelector('#czMenu').classList.contains('ev-rail')));
|
|
92
93
|
|
|
93
94
|
/* S: Search */
|
|
94
95
|
await pg.keyboard.press('Control+k');
|
|
@@ -128,7 +129,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
|
|
|
128
129
|
await until(() => pg.evaluate(() => !document.querySelector('#czViewer:not([hidden])')));
|
|
129
130
|
// Sources is Settings › Connectors now (feedback batch 16 item 5, canvas FmA3Settings): each source's last read, ↻ in the header reads all
|
|
130
131
|
await menu(pg); await pg.click('#czMenu [data-cz-settings]');
|
|
131
|
-
const stale = await pg.evaluate(() => !!document.querySelector('#czFdRisk:not([hidden]), #czMenu .ev-md.risk'));
|
|
132
|
+
const stale = await pg.evaluate(() => !!document.querySelector('#czFdRisk:not([hidden]), #czMenu .ev-md.risk, #czMenu .ev-rd.risk'));
|
|
132
133
|
await pg.waitForSelector('#evSettings:not([hidden])');
|
|
133
134
|
if (!stale) await pg.click('#evSettings [data-ev-sec="connectors"]');
|
|
134
135
|
const src = await until(() => pg.evaluate(() => { const d = document.querySelector('#evSettings:not([hidden])'); const r = d ? [...d.querySelectorAll('.ev-fr[data-src]')] : []; return r.length ? { n: r.length, h: (d.querySelector('#evStTitle') || {}).textContent, all: !!d.querySelector('.ev-top [data-ev-readall]'), info: !!d.querySelector('.ev-top [data-ev-info]'), t: d.textContent } : null; }), 20000);
|
|
@@ -173,10 +174,10 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
|
|
|
173
174
|
await pg.click('#evSettings [data-ev-sec="general"]'); await pg.click('#evSettings [data-ev-seg="theme"][data-v="dark"]');
|
|
174
175
|
await pg.keyboard.press('Escape');
|
|
175
176
|
ok('D1 Theme Dark in Settings › General draws the page dark', !!(await until(() => pg.evaluate(() => document.documentElement.dataset.theme === 'dark' && getComputedStyle(document.body).backgroundColor !== 'rgb(255, 255, 255)'))));
|
|
176
|
-
await pg.goto(`${BASE}/premium-insights.html?ws=${encodeURIComponent(ws)}`); await pg.waitForSelector('#czFab');
|
|
177
|
+
await pg.goto(`${BASE}/premium-insights.html?ws=${encodeURIComponent(ws)}`); await pg.waitForSelector('#czFab', { state: 'attached' });
|
|
177
178
|
ok('D1 the choice is kept for the next page', await pg.evaluate(() => document.documentElement.dataset.theme === 'dark'));
|
|
178
179
|
await menu(pg);
|
|
179
|
-
ok('U1 no page has More in its menu', await pg.evaluate(() => !document.querySelector('#czMenu [data-cz-more]') && document.querySelectorAll('#czMenu .ev-tray button').length === 4));
|
|
180
|
+
ok('U1 no page has More in its menu', await pg.evaluate(() => !document.querySelector('#czMenu [data-cz-more]') && document.querySelectorAll('#czMenu .ev-tray button, #czMenu .ev-rtray button').length === 4));
|
|
180
181
|
await snap(pg, 'menu-1440-dark');
|
|
181
182
|
await pg.keyboard.press('Escape');
|
|
182
183
|
await pg.keyboard.press('Control+k'); await pg.waitForSelector('#evSearch:not([hidden])'); await pg.keyboard.type('billing');
|
|
@@ -193,7 +194,7 @@ const put = (root, rel, text) => { fs.mkdirSync(path.dirname(path.join(root, rel
|
|
|
193
194
|
// UI grill U2: Settings and Sources left the Board's ⋯; the place menu's Settings opens the designed Settings, and the sources are its Connectors
|
|
194
195
|
if (await pg.$('#moreBtn')) {
|
|
195
196
|
ok('B1 the Board\'s ⋯ holds no Settings, Sources or Theme', await pg.evaluate(() => !document.querySelector('#moreMenu #srcItem') && !document.querySelector('#moreMenu #tbTheme') && document.querySelector('#settingsBtn').hidden));
|
|
196
|
-
await pg.click('#czFab'); await pg.click('#czMenu [data-cz-settings]');
|
|
197
|
+
if (await pg.isVisible('#czFab')) await pg.click('#czFab'); await pg.click('#czMenu [data-cz-settings]');
|
|
197
198
|
ok('B1 the Board\'s Settings (the place menu) opens the designed Settings', !!(await until(() => pg.evaluate(() => !!document.querySelector('#evSettings:not([hidden])')))));
|
|
198
199
|
await pg.keyboard.press('Escape');
|
|
199
200
|
await until(() => pg.evaluate(() => !document.querySelector('#evSettings:not([hidden])')));
|
package/workspace/guide/home.md
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Home: your list, the chat, the Viewer, My work, documents and people"
|
|
4
4
|
description: "Home's list, Mentions, Your day, the chat and the Viewer; My work; documents and their copies; People; and the suggested next prompt."
|
|
5
|
-
timestamp: 2026-11-
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Home
|
|
9
9
|
|
|
10
|
-
Home
|
|
10
|
+
On a computer, PMOS opens on Today, its log and its agenda (see [Layout: Today](layout.md#today)). Home stays at its own address, and a phone opens on Home. The left side is one list. The middle is the chat. The right side is the Viewer. A row opens its item in the Viewer. On a phone the list is the page, and a row opens its conversation with a back bar.
|
|
11
11
|
|
|
12
12
|
Home, the Board, Insights and the Viewer use one typeface, Plus Jakarta Sans, with two weights (regular and semibold) and four sizes: 13, 15, 18 and 26 px. Each kind of text has one role, and the role sets its size, weight and line height: a large number and a page title are 26 px, a panel title is 18 px, a group head, a row's name and a sentence are 15 px, and the quiet meta line, a label and a badge are 13 px. The same kind of text looks the same on every page. Rows have room to breathe, so a list row is about 52 to 58 px high. There is no compact setting. Slides and report templates keep their own sizes.
|
|
13
13
|
|
package/workspace/guide/index.md
CHANGED
|
@@ -60,6 +60,10 @@ PMOS has three places: **Home**, **Board** and **Intelligence**. The round menu
|
|
|
60
60
|
- [An initiative's tasks](breakdown.md): tasks under their initiative, tasks an agent adds, and who made a change.
|
|
61
61
|
- [Jira tickets](jira.md): Jira tickets drafted from the PRD, pushed when you select them, their status and the sprints.
|
|
62
62
|
|
|
63
|
+
### Routine
|
|
64
|
+
|
|
65
|
+
- [Routine](routine.md): everything that repeats in one table, with its switch; Waits for you; PMOS did and its Undo; a report in the popup with its setup; and your own scheduled tasks.
|
|
66
|
+
|
|
63
67
|
### Intelligence and reports
|
|
64
68
|
|
|
65
69
|
- [Intelligence](intelligence-okr-goals.md): the goal list from the OKR file, readings, what waits on a source, Did it work?, All products, Delivery trends, forecasts and the Horizon scan.
|
|
@@ -1,25 +1,53 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
|
-
title: "Layout and first run: the places, the
|
|
4
|
-
description: "The
|
|
5
|
-
timestamp: 2026-11-
|
|
3
|
+
title: "Layout and first run: the places, the navigation, the Viewer, the launcher and Adler"
|
|
4
|
+
description: "The places, the navigation at the left, the Viewer, the keys and the phone; the first run; when features appear; the PMOS app; and Adler."
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Layout and first run
|
|
9
9
|
|
|
10
|
-
PMOS has
|
|
10
|
+
PMOS has four places: **Today**, **Work**, **Goals** and **Events**. PMOS opens on Today. Until each place gets its new page, Work is the Board and Goals is Intelligence. Home is still there for the links that open it, and a phone uses Home as Today. **Library** and **Routine** join the navigation when their pages ship. The console and its three columns were removed; their old addresses open Today.
|
|
11
11
|
|
|
12
|
-
## The
|
|
12
|
+
## The navigation
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
On a computer, one thin panel at the left edge of every page holds the places. It is the same on every page. Press a place to go there.
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
16
|
+
- At its foot: the chat icon, **Search**, **Guide** and **Settings**.
|
|
17
|
+
- A number on Today says how many calls are yours. A number on the chat icon says how many sessions wait for you.
|
|
18
|
+
- A blue dot on a place means that it has something new to show. An amber dot on Settings means that a source is stale.
|
|
19
|
+
- Settings opens over the page you are on. The navigation stays.
|
|
20
|
+
- The navigation does not count as a panel.
|
|
21
|
+
- The product choice is at the top left of Work and Goals. It is one choice for both. It shows the product's full name, "All products", or the first name and "+2".
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
On a phone, the round button at the bottom right opens the same places as a menu, then the four icons. In a chat on a phone, **⋯** in the top bar opens the same menu (see [On a phone](#on-a-phone)).
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
- [Home](home.md) explains Today in full.
|
|
26
|
+
|
|
27
|
+
## Today
|
|
28
|
+
|
|
29
|
+
On a computer, Today is one page. Today's log is on the left. Today's agenda is in one grey box on the right. Today reads every product.
|
|
30
|
+
|
|
31
|
+
The log is a table, kept the Bullet Journal way. Each row is one short line:
|
|
32
|
+
|
|
33
|
+
- The bullet says what it is: **•** a task, **○** an event, **–** a note, **×** done, **✦** something PMOS suggests. **!** marks what comes first.
|
|
34
|
+
- **What**, **Work** (the initiative it belongs to), **Job** (**Decide**, **Do** or **Send**) and **When**.
|
|
35
|
+
- The rows are the calls only you can make, your late tasks, the next steps, your own items for today, the drafts to send, and what you typed yourself.
|
|
36
|
+
- One quiet line at the top counts the log, for example "5 to decide · 6 to do · 1 to send".
|
|
37
|
+
|
|
38
|
+
To use the log:
|
|
39
|
+
|
|
40
|
+
1. Type a task, an event or a note in the first line and press Enter. Start with **o** for an event (add a time, such as 14:00, to put it on the agenda), with **-** for a note, and with **!** for what comes first. Enter only adds the row. It opens nothing and starts no session.
|
|
41
|
+
2. Point at a row to see its three icons: **Done**, **Move to tomorrow** and **Set a date**. Done gives the row the × bullet. Each change shows Undo for a moment.
|
|
42
|
+
3. Press a row, or an event in the agenda, to open its work in the popup with the chat.
|
|
43
|
+
|
|
44
|
+
What you do not finish is carried to the next day, and the When column says for how long ("carried 16 days"). When a row is carried for 30 days, PMOS suggests to drop it from your log. ✓ drops it, ✕ keeps it, and PMOS does not ask again for a month. A task's own date changes only when you set a date on it.
|
|
45
|
+
|
|
46
|
+
Findings that fit no initiative (the Lab) are ✦ rows in the log. ✓ keeps one and starts an initiative from it. ✕ drops it.
|
|
47
|
+
|
|
48
|
+
The calendar icon in the agenda opens the full calendar. "PMOS did" is not on Today; it moves to Routine.
|
|
49
|
+
|
|
50
|
+
On a phone, Today is Home: the list of your work, and the chat when you open a row.
|
|
23
51
|
|
|
24
52
|
## The Viewer
|
|
25
53
|
|
|
@@ -30,6 +58,59 @@ The Viewer shows one item: an initiative, a program, a task, a document, a meeti
|
|
|
30
58
|
- It keeps one trail: a press inside it keeps the item behind, ← goes back, → goes forward, and the browser's Back and Forward move along the same trail. × or Escape closes it.
|
|
31
59
|
- One item shows in one Viewer only. If an item is already open, opening it again (a row, a ⌘-click, Open beside) shows it in the Viewer it is in. It never opens a second copy.
|
|
32
60
|
|
|
61
|
+
## Work and its chat, in one popup
|
|
62
|
+
|
|
63
|
+
On a computer, an initiative you open from Home, Board or Intelligence opens in one popup over the page. The work is on the left and the chat about the same work is on the right. A thin dimmed edge of the page shows around it. Escape, × or a press on the edge closes it.
|
|
64
|
+
|
|
65
|
+
- Drag the grip between the two sides to change their widths. Each side keeps a smallest width, and PMOS keeps the chat's width on this computer.
|
|
66
|
+
- The hide icon in the chat's top bar hides the chat, and the work takes the full width. **Ask PMOS** brings the chat back.
|
|
67
|
+
- When you open one thing from another inside the popup, the path and ← show at the top of the work.
|
|
68
|
+
- The chat's title chooses the session. It shows your sessions, newest first, each with the work it is about and its state: **Waits for you**, **PMOS is working**, or when you last used it. **New session** starts another session about the same work. **All sessions** shows the full list with a search box, and the popup stays open.
|
|
69
|
+
- The stop icon on a live session ends it at once. **Session ended** shows with **Undo** for a few seconds, and the session moves to **Earlier**.
|
|
70
|
+
- The chat icon opens the popup on the session that waits for you, or else the newest. The left side shows that session's work, or the list of sessions when it is about no work.
|
|
71
|
+
- The split icon in the chat's top bar, **Open work beside the page**, keeps work beside the page instead, as before. Press it again in the popup to go back. PMOS keeps this choice on this computer.
|
|
72
|
+
- Beside the page, a panel you slide off the edge is put away. The round Live button above the chat icon then shows, and its first row brings the panel back. Otherwise the chat icon holds your sessions, and there is no Live button.
|
|
73
|
+
|
|
74
|
+
A phone keeps its own layout. A shared read-only Board has no popup.
|
|
75
|
+
|
|
76
|
+
### What the popup shows for an initiative
|
|
77
|
+
|
|
78
|
+
The work side has three parts, top to bottom.
|
|
79
|
+
|
|
80
|
+
- **Overview.** First a summary of what the initiative is and how it stands. PMOS writes it, with ✦, until you change it or keep it. Press the summary to change it. It saves when you leave the field, with **Undo** for a moment. Under it, **PMOS suggests** shows at most three suggestions, each with ✓ and ✕. When there is none, the part is absent. Then the facts: stage, plan dates, next milestone, next stage, workflow, goal, product, program and the gate. Press a value to change it where you see it. The gate and the open tasks come from the work, so you cannot change them there. With many tasks, the Overview shows only the summary, and **Details** opens the facts.
|
|
81
|
+
- **Work breakdown.** Each stage is a row that folds and says how much is done, for example "3 of 9 done". Only the stage in progress opens by itself. Late tasks come first. Done tasks fold to one line, and the stages after the next one fold to one row. The timeline is on the right: choose its span (Quarter to Full) or hide it. The tune icon shows or hides columns. The four-corners icon gives the breakdown the whole popup, and **Ask PMOS** brings the chat back. Type in the last row of a stage to add a task to it.
|
|
82
|
+
- **Artefacts.** One table of the documents, links and prototypes of the initiative. A document a gate needs that nobody wrote is a grey row that says which gate. A link opens in a new tab. The last row adds a file, a link or a new document.
|
|
83
|
+
|
|
84
|
+
Press a suggestion's words to open it as its own page: ✓ and ✕, why PMOS suggests it, what changes, what PMOS read and **Ask PMOS about this**. ← goes back to the same place. A suggestion about one task shows under that task, never twice.
|
|
85
|
+
|
|
86
|
+
The **Product** and **Program** facts go one level up. A program or a product opens in the same popup with the same three parts: its overview, its initiatives (and programs) on the timeline, and its documents. Press a row to go one level down. ⋯ › **Every part** shows every part of the earlier page, so nothing is lost.
|
|
87
|
+
|
|
88
|
+
## Events
|
|
89
|
+
|
|
90
|
+
Events is one page for everything with a date: the delivery milestones of every initiative, the tasks that are yours, the days a report goes out, and your meetings and focus time. It reads every product.
|
|
91
|
+
|
|
92
|
+
- **Late** lists the dates that passed. For each one, PMOS suggests what to do: "It looks done. Mark it done" when the work is already in a later stage, a new date from the Jira forecast or from the plan end, "Moves with" a task of the same stage, or "Drop it" for a task that is 28 days late or more. Press ✓ to do it, or ✕ to say no. PMOS does not suggest the same thing again after a no. **Yes to all** takes every suggestion in one press. Each change has Undo for a moment.
|
|
93
|
+
- **Today** holds today's dates, with one press to the act itself: read the draft of a report, or mark a task done.
|
|
94
|
+
- **Coming up** holds the next 30 days (meetings: the next 7). Only a date at risk carries a suggestion. A date that needs nothing shows nothing.
|
|
95
|
+
- The delivery milestones after that are one line at the bottom.
|
|
96
|
+
- A delivery milestone is a diamond. A task or a report is a round dot. A meeting is a ring. Orange is late, amber is at risk.
|
|
97
|
+
- Point at a row for its tools: a new date, written in place, and the lock. A locked date is fixed: PMOS never suggests a new date for it.
|
|
98
|
+
- On the right, the small month shows a mark under each day that has a date. Press a day to see only that day; press it again for every day.
|
|
99
|
+
- **Show** lists the four kinds. Press a kind to hide it or show it. It is the key to the marks too. PMOS keeps your choice on this computer.
|
|
100
|
+
- The **+** at the top right adds your own date: what, and when.
|
|
101
|
+
- Press a row to open its work in the popup, with Ask PMOS beside it.
|
|
102
|
+
|
|
103
|
+
A Jira date and the plan end of an initiative get no ✓: PMOS cannot write them from here. Open the work to change them.
|
|
104
|
+
|
|
105
|
+
## Library
|
|
106
|
+
|
|
107
|
+
**Library** in the navigation is one table of everything that was made for your work, from every product: documents, links, meeting notes and prototypes. The newest is first, in the groups This week, Earlier this month and Older. Reports are not here: a report repeats, so it lives in Routine.
|
|
108
|
+
|
|
109
|
+
1. To see one kind, press **Documents**, **Meeting notes** or **Prototypes**. The third column changes to fit: the type of a document, what came out of a meeting (its decisions and tasks), or the number of versions of a prototype.
|
|
110
|
+
2. To find a thing, type in **Find in Library**, or press `/`.
|
|
111
|
+
3. To add a file, a link or a new document, press **+**. Ask PMOS opens with "Add to Library:" in the box. Say what to add and PMOS adds it.
|
|
112
|
+
4. To open a thing, press its row. It opens in the popup with the chat about it. A link opens in a new browser tab.
|
|
113
|
+
|
|
33
114
|
## Board and Intelligence
|
|
34
115
|
|
|
35
116
|
The Board shows initiatives by stage, with programs, a timeline and a list. Intelligence shows the goals from each product's OKR file. A panel on either page (an initiative, a program, a goal, the chat) can dock on the left or the right: drag its header to that half of the window, or press **Arrange** in its header. Each kind of panel stays on its side after a reload. [Programs on the Board](programs.md) and [Intelligence reads your OKR file](intelligence-okr-goals.md) explain them.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "The Board: programs, views, published boards and core documents"
|
|
4
4
|
description: "The Board's views and programs, milestones, a read-only published copy of a Board, and the core documents of each level."
|
|
5
|
-
timestamp: 2026-11-
|
|
5
|
+
timestamp: 2026-11-19
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# The Board
|
|
@@ -15,9 +15,23 @@ Programs do not change how Insights, the weekly update or sprints count initiati
|
|
|
15
15
|
|
|
16
16
|
A cancelled or archived initiative leaves its program's views: the band, the program panel and the timeline show only live initiatives. It stays in **Cancelled and archived** on its product's Board.
|
|
17
17
|
|
|
18
|
+
## Work on a computer
|
|
19
|
+
|
|
20
|
+
On a computer the Board place is **Work**: one list of initiatives with the timeline on its right. There are no List, By stage, Track or Timeline views to choose.
|
|
21
|
+
|
|
22
|
+
- **The columns.** Initiative, Product, Stage, Next milestone and Date, in this order. **Next milestone** is the name of the milestone. When an initiative has no milestone, it says **Plan end** in grey and the date is the end of its plan. Only a late or at-risk date has colour, for example "4 Nov · 14 days late". The Product column does not show when you pick one product.
|
|
23
|
+
- **The groups.** The rows are under their goals. An initiative with no goal is under **No goal yet**.
|
|
24
|
+
- **The timeline.** Light grey is the plan, dark grey is the part that has passed, a diamond is the next milestone, and a red line goes from a missed date to today. Point at a row to see its stages on its bar and in a small card with each stage and its date ("no date" when there is none). The span chooser at the top left of the timeline has **Quarter**, **Half**, **Year**, **2 yr**, **5 yr** and **Full**. **Full** shows every bar from the earliest start to the latest end. The button beside it hides the timeline. The key is under the list.
|
|
25
|
+
- **The view menu.** Press the tune button. **Group by**: Goal, Product, Stage, Status, Program or No groups. **Timeline**: on or off. **Columns**: a switch for each column. Status, Program, Goal and Workflow are off at first. Drag a column to change the order (or use Alt+↑ and Alt+↓). PMOS remembers the view in this browser. **Reset** goes back to the usual view. The last part of the menu has **Sort and filter**, **New asks**, **Only what waits on you**, **Sprints and releases**, **Shared with me** and **Read Jira again**.
|
|
26
|
+
- **Sort.** Press a column title to sort by it. Press it again to go back to your usual order.
|
|
27
|
+
- **Edit in place.** Press the Stage of a row to move the initiative to another stage. The toast has **Undo**.
|
|
28
|
+
- **Open.** Press a row to open the initiative in the popup, with the chat beside it.
|
|
29
|
+
|
|
30
|
+
A phone, a narrow Board beside another panel and a published read-only copy keep the views below.
|
|
31
|
+
|
|
18
32
|
## The top row
|
|
19
33
|
|
|
20
|
-
The Board has one row of seven controls at the top, the same on a phone and on a computer. The pieces are in this order:
|
|
34
|
+
The Board has one row of seven controls at the top, the same on a phone and on a computer. On a computer Work leaves out the view button and the Needs a look pill (see above). The pieces are in this order:
|
|
21
35
|
|
|
22
36
|
- **The product picker.** Pick the products that the Board shows.
|
|
23
37
|
- **The view.** Press the view button. Its menu has **List**, **By stage**, **Track** and **Timeline**. When the timeline shows, the menu also has the span (for example **Quarter**) and, on a computer, the **Columns** beside the names. **Shared with me** is the last item.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Guide
|
|
3
|
+
title: "Routine: everything that repeats"
|
|
4
|
+
timestamp: 2026-11-18
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Routine: everything that repeats
|
|
8
|
+
|
|
9
|
+
Routine is the place for everything PMOS does by itself on a schedule, and for your own scheduled tasks. To open it, press **Routine** in the rail on the left of the page.
|
|
10
|
+
|
|
11
|
+
## The table
|
|
12
|
+
|
|
13
|
+
Routine is one table. Each row has these columns:
|
|
14
|
+
|
|
15
|
+
| Column | What it shows |
|
|
16
|
+
|---|---|
|
|
17
|
+
| Routine | The name of the report, the source, the job or the task. |
|
|
18
|
+
| What it does | For a report, who it tells. For a read or a job, what it does. |
|
|
19
|
+
| When | How often it repeats. |
|
|
20
|
+
| Next | When it runs next. "Paused" when it is off. "A draft waits" when a report has a draft to issue. |
|
|
21
|
+
| (switch) | Pauses the routine, or starts it again. |
|
|
22
|
+
|
|
23
|
+
The rows are in these groups, in this order:
|
|
24
|
+
|
|
25
|
+
1. **Waits for you.** A report whose definition waits for your word, or a report that is about another product. Press ✓ to start it, or to move it to that product.
|
|
26
|
+
2. **Reports.** Every report that is set up or that has issues.
|
|
27
|
+
3. **PMOS reads.** The sources PMOS reads. Each service of Your tools is a row of its own. It follows the switch of Your tools, so it has no switch.
|
|
28
|
+
4. **PMOS jobs.** The jobs PMOS runs by itself, such as the day check and the initiative driver.
|
|
29
|
+
5. **Your tasks.** Your own scheduled tasks.
|
|
30
|
+
|
|
31
|
+
A group with no rows does not show. Use the kinds at the top (All, Reports, Reads, PMOS jobs, Your tasks) to show one kind. PMOS remembers the kind you chose on this computer.
|
|
32
|
+
|
|
33
|
+
## PMOS did
|
|
34
|
+
|
|
35
|
+
The line at the top says how many things PMOS did since yesterday, and how many of them it showed you. Press the line to see the full log of the last 14 days. Each line in the log has **Undo**.
|
|
36
|
+
|
|
37
|
+
## Open a routine
|
|
38
|
+
|
|
39
|
+
Press a row. The routine opens in the popup, and Ask PMOS is on the right.
|
|
40
|
+
|
|
41
|
+
- **A report.** The newest issue is on the left. When it is a draft, PMOS asks **Issue this draft?** Press ✓ to issue it, or ✕ to stop PMOS from asking about that draft. Issuing freezes the issue. PMOS sends nothing, so you send it from your own mail. Use the chooser to read an older issue. Press the pencil to open the full reader, where you can edit, present, share and download the report. The grey box beside the issue is the setup: On, Repeats, Next, Tells, After the run, Built from, and the issues. Press a value to change it, or tell PMOS in the chat, for example "send it on Thursdays".
|
|
42
|
+
- **A read, a job or a task.** Its setup: Active, Next run, Repeats, PMOS's proposed rhythm, History, and ▶ to run it now.
|
|
43
|
+
|
|
44
|
+
## Add a routine
|
|
45
|
+
|
|
46
|
+
Press **+** at the top right. Ask PMOS opens. Tell PMOS what to do and how often.
|
|
47
|
+
|
|
48
|
+
## Settings
|
|
49
|
+
|
|
50
|
+
Scheduled work used to be in Settings › Connectors. It is in Routine now. Settings › Connectors has one line, **Scheduled work is in Routine**, that opens this page. Each source row in Connectors still opens its own setup.
|
|
@@ -9,7 +9,7 @@ timestamp: 2026-11-18
|
|
|
9
9
|
|
|
10
10
|
A scheduled task runs a skill at a set time. The workspace starts a terminal session in the repository and types the skill into it.
|
|
11
11
|
|
|
12
|
-
A task repeats every hour (at the minute of its time), every day, every week, every 2 weeks or every month, or runs once.
|
|
12
|
+
A task repeats every hour (at the minute of its time), every day, every week, every 2 weeks or every month, or runs once. [Routine](routine.md) lists your tasks under **Your tasks**, with their next run, and each task's page turns it on or off, changes how often it repeats and runs it now.
|
|
13
13
|
|
|
14
14
|
## Limits
|
|
15
15
|
|
|
@@ -370,7 +370,7 @@ Press › on a row to open its page. A change you make there shows on the Connec
|
|
|
370
370
|
|
|
371
371
|
On a day with 3 or more meetings, PMOS proposes ✦ **Read it more often on meeting days**: Calendar every 15 min on such days, other days as set. Nothing changes until you press ✓. **Undo** puts the old rhythm back, and ✕ hides the proposal for today.
|
|
372
372
|
|
|
373
|
-
The **Scheduled work**
|
|
373
|
+
The line **Scheduled work is in Routine** under the sources opens [Routine](routine.md). Routine lists everything that runs on a schedule: what PMOS reads, PMOS's own jobs (the day check, the initiative driver, signals), your reports and your own scheduled tasks, each with its next run. Your own tasks can repeat every hour, every day, every week, every 2 weeks or every month.
|
|
374
374
|
|
|
375
375
|
When all is well, there is no other line. ↻ in the Connectors header is **Refresh all**. The (i) button says what PMOS reads and that it never posts. Under the list is the connectors directory:
|
|
376
376
|
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
const path = require('path');
|
|
16
16
|
const { spawn } = require('child_process');
|
|
17
17
|
const { findBrowser } = require('./lib/find-browser');
|
|
18
|
+
const { besidePage } = require('./lib/beside-page'); // these checks are about work beside the page, not the popup
|
|
18
19
|
const T = require('./test-run').configure({ name: 'home-other-product' });
|
|
19
20
|
const IP = require('./lib/initiative-premium.js');
|
|
20
21
|
const F = require('./fixtures/initiative-premium-facts.js');
|
|
@@ -50,7 +51,7 @@ const model = () => { const m = IP.build(F.facts()); return { ...m, id: ID, key:
|
|
|
50
51
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
|
|
51
52
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
|
|
52
53
|
await T.waitForServer(BASE);
|
|
53
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
54
|
+
browser = besidePage(await chromium.launch({ executablePath: exe }));
|
|
54
55
|
|
|
55
56
|
const ctx = await browser.newContext({ viewport: { width: 1440, height: 900 } });
|
|
56
57
|
const page = await ctx.newPage();
|
|
@@ -17,6 +17,7 @@ const fs = require('fs');
|
|
|
17
17
|
const path = require('path');
|
|
18
18
|
const { spawn } = require('child_process');
|
|
19
19
|
const { findBrowser } = require('./lib/find-browser');
|
|
20
|
+
const { besidePage } = require('./lib/beside-page'); // these checks are about work beside the page, not the popup
|
|
20
21
|
const T = require('./test-run').configure({ name: 'home-railcard' });
|
|
21
22
|
const B = require('./lib/briefing-premium.js');
|
|
22
23
|
const F = require('./fixtures/briefing-premium-facts.js');
|
|
@@ -47,7 +48,7 @@ const BF = require('./fixtures/board-premium-facts.js');
|
|
|
47
48
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed — the home-railcard suite cannot run'); return finish(1); }
|
|
48
49
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
|
|
49
50
|
await T.waitForServer(BASE);
|
|
50
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
51
|
+
browser = besidePage(await chromium.launch({ executablePath: exe }));
|
|
51
52
|
|
|
52
53
|
const open = async ({ w = 1440, h = 900, dark = false } = {}) => {
|
|
53
54
|
const ctx = await browser.newContext({ viewport: { width: w, height: h }, colorScheme: dark ? 'dark' : 'light' });
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* N every POST went to /api/impact/seen, and no page error
|
|
13
13
|
* PMOS_SHOTS=<dir> also saves the screenshots. */
|
|
14
14
|
const path = require('path');
|
|
15
|
+
const { besidePage } = require('./lib/beside-page'); // these checks read the full page beside the page; in the popup work shows its three parts (nav slice 3)
|
|
16
|
+
const { classicBoard } = require('./lib/classic-board'); // these checks are about the four Board views, not Work (work-one-view)
|
|
15
17
|
const fs = require('fs');
|
|
16
18
|
const { spawn } = require('child_process');
|
|
17
19
|
const { findBrowser } = require('./lib/find-browser');
|
|
@@ -58,7 +60,7 @@ const WEEKS = { ok: true, on: true, live: true, weeks: [
|
|
|
58
60
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
|
|
59
61
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
|
|
60
62
|
await T.waitForServer(BASE);
|
|
61
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
63
|
+
browser = besidePage(classicBoard(await chromium.launch({ executablePath: exe })));
|
|
62
64
|
if (SHOTS) fs.mkdirSync(SHOTS, { recursive: true });
|
|
63
65
|
const shot = async (p, name) => { if (SHOTS) { await sleep(500); await p.screenshot({ path: path.join(SHOTS, name + '.png') }); } };
|
|
64
66
|
const BRIEF = BRP.build(BRF.facts());
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* W1 the kind line and the card count its own workflow · W2 "Set to Tender from the BRD · Undo" · W3 the Change picker · W4 Switch ·
|
|
8
8
|
* W5 the ⋯ menu · W6 Won't do · W7 back to Triage · W8 phone and dark. SHOTS=<dir> also writes the screenshots at 1440 and 390. */
|
|
9
9
|
const fs = require('fs');
|
|
10
|
+
const { besidePage } = require('./lib/beside-page'); // these checks read the full page beside the page; in the popup work shows its three parts (nav slice 3)
|
|
10
11
|
const path = require('path');
|
|
11
12
|
const { spawn } = require('child_process');
|
|
12
13
|
const { findBrowser } = require('./lib/find-browser');
|
|
@@ -67,7 +68,7 @@ const BRIEF = BRP.build(BRF.facts());
|
|
|
67
68
|
try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
|
|
68
69
|
srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT), PMOS_SELF_ROOT: path.resolve(__dirname, '..') }) });
|
|
69
70
|
await T.waitForServer(BASE);
|
|
70
|
-
browser = await chromium.launch({ executablePath: exe });
|
|
71
|
+
browser = besidePage(await chromium.launch({ executablePath: exe }));
|
|
71
72
|
if (SHOTS) fs.mkdirSync(SHOTS, { recursive: true });
|
|
72
73
|
const shot = async (p, name) => { if (SHOTS) await p.screenshot({ path: path.join(SHOTS, name + '.png') }); };
|
|
73
74
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* beside-page: a browser-test helper. On a desk an initiative opens in the popup with the chat (public/pm/cozy-popup.js, initiative
|
|
3
|
+
* one-popup-with-chat), which covers the page. A suite written for work beside the page (the panels, a page that stays pressable) wraps its
|
|
4
|
+
* browser with this: every context it makes starts with the PM's choice "Open work beside the page" (localStorage cz-pop-open = beside),
|
|
5
|
+
* unless the suite set the key itself. */
|
|
6
|
+
function besidePage(browser) {
|
|
7
|
+
const make = browser.newContext.bind(browser);
|
|
8
|
+
browser.newContext = async (...a) => {
|
|
9
|
+
const ctx = await make(...a);
|
|
10
|
+
await ctx.addInitScript(() => { try { if (localStorage.getItem('cz-pop-open') == null) localStorage.setItem('cz-pop-open', 'beside'); } catch { /* no storage */ } });
|
|
11
|
+
return ctx;
|
|
12
|
+
};
|
|
13
|
+
return browser;
|
|
14
|
+
}
|
|
15
|
+
module.exports = { besidePage };
|