create-pmos 0.427.0 → 0.428.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 +13 -13
- 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-programs-test.js +16 -2
- package/workspace/briefing-premium-board-test.js +25 -20
- package/workspace/briefing-premium-test.js +2 -1
- package/workspace/changelog.json +12 -0
- package/workspace/guide/briefing-premium.md +4 -2
- package/workspace/guide/home.md +32 -7
- package/workspace/guide/programs.md +1 -0
- package/workspace/home-other-product-test.js +12 -2
- package/workspace/lib/routes-meeting-material.js +22 -1
- package/workspace/lib/settings-store.js +14 -0
- package/workspace/milestone-pins-test.js +13 -0
- package/workspace/milestone-suggest-test.js +10 -4
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-board-actions-test.js +40 -13
- package/workspace/premium-rec-tab-test.js +8 -0
- package/workspace/premium-vw-item-test.js +7 -3
- package/workspace/premium-vw-jira-test.js +2 -1
- package/workspace/program-charter-test.js +1 -1
- package/workspace/program-leave-test.js +2 -2
- package/workspace/program-order-test.js +3 -2
- package/workspace/program-panel-test.js +2 -1
- package/workspace/public/pm/bd-acts.js +20 -26
- package/workspace/public/pm/bd-ini-panel.js +90 -32
- package/workspace/public/pm/bd-pin-card.js +4 -1
- package/workspace/public/pm/bd-span.js +22 -12
- package/workspace/public/pm/cozy-rec-tab.js +12 -3
- package/workspace/public/pm/cozy-viewer.js +157 -23
- package/workspace/public/pm/cozy-vw-shell.css +13 -0
- package/workspace/public/pm/hi-pop.css +82 -0
- package/workspace/public/pm/hi-pop.js +65 -0
- package/workspace/public/pm/home-app.js +55 -26
- package/workspace/public/pm/home-ini.css +6 -76
- package/workspace/public/pm/home-ini.js +50 -68
- package/workspace/public/pm/home-list.js +29 -3
- package/workspace/public/pm/home-today.js +18 -7
- package/workspace/public/pm/ini-more.js +67 -0
- package/workspace/public/pm/ini-view-model.js +3 -2
- package/workspace/public/pm/ini-view.css +3 -1
- package/workspace/public/pm/ini-view.js +7 -5
- package/workspace/public/pm/order-model.js +85 -0
- package/workspace/public/pm/premium-board.js +57 -11
- package/workspace/public/pm/premium-insights.js +11 -1
- package/workspace/public/pm/premium-vw-item.js +3 -1
- package/workspace/public/pm/premium-vw-jira.js +2 -0
- package/workspace/public/pm/prog-order.js +15 -2
- package/workspace/public/pm/sort-order.css +17 -0
- package/workspace/public/pm/sort-order.js +108 -0
- package/workspace/public/pm/tk-view.js +3 -2
- package/workspace/public/pm/wf-page.js +1 -1
- package/workspace/public/premium-board.html +1 -0
- package/workspace/sort-order-test.js +201 -0
- package/workspace/stage-card-test.js +1 -0
- package/workspace/task-card-test.js +1 -1
- package/workspace/test-lists/sort-order.json +6 -0
- package/workspace/test-lists/viewer-trail.json +5 -0
- package/workspace/tk-tasks-test.js +5 -3
- package/workspace/viewer-trail-test.js +145 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.428.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,18 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.428.0",
|
|
37
|
+
"at": "2026-10-27T09:47:36.220Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1071,
|
|
42
|
+
"t": "Feedback batch 14",
|
|
43
|
+
"s": "Feedback batch 14"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
35
47
|
{
|
|
36
48
|
"v": "0.427.0",
|
|
37
49
|
"at": "2026-10-27T04:17:38.420Z",
|
|
@@ -259,18 +271,6 @@
|
|
|
259
271
|
"s": "Program milestones in the charter, and a workflow per initiative"
|
|
260
272
|
}
|
|
261
273
|
]
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"v": "0.408.0",
|
|
265
|
-
"at": "2026-10-25T02:55:03.294Z",
|
|
266
|
-
"f": 2,
|
|
267
|
-
"prs": [
|
|
268
|
-
{
|
|
269
|
-
"n": 1039,
|
|
270
|
-
"t": "Read another product's initiative from its own board; its heading no longer moves Home",
|
|
271
|
-
"s": "Read another product's initiative from its own board; its heading no longer moves Home"
|
|
272
|
-
}
|
|
273
|
-
]
|
|
274
274
|
}
|
|
275
275
|
]
|
|
276
276
|
}
|
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-27T09:47:32Z"}
|
|
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-27T09:47:32Z"}
|
|
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-27T09:47:32Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -78,7 +78,7 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
78
78
|
{
|
|
79
79
|
const { ctx, page: p, errors } = await open();
|
|
80
80
|
const tr = await p.evaluate(() => ({
|
|
81
|
-
first: (document.querySelector('#ibBody .bt-h +
|
|
81
|
+
first: (document.querySelector('#ibBody .bt-h + [data-po-list="@top"] > .so-g > *:not(.so-grip)') || {}).className || '', // the groups are one list the grip arranges (batch 14 item 8)
|
|
82
82
|
band: (document.querySelector('#ibBody .bt-pg .bt-pgo') || {}).textContent || '',
|
|
83
83
|
spread: (document.querySelector('#ibBody .bt-pg .bd-spl') || {}).textContent || '',
|
|
84
84
|
next: (document.querySelector('#ibBody .bt-pg .bd-pm') || {}).textContent || '',
|
|
@@ -234,6 +234,20 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
234
234
|
return true;
|
|
235
235
|
});
|
|
236
236
|
ok('T By product: a program\'s undated initiative keeps its "No dates" row under its product, desktop and phone; one in no program is in the foot only (batch 11 item 19)', bnd === true, JSON.stringify(bnd));
|
|
237
|
+
// batch 14 item 2: a product whose initiatives are all undated (outside a program) kept no group, so it was missing from the Board
|
|
238
|
+
const pnd = await p.evaluate(async () => {
|
|
239
|
+
const S = await import('/pm/bd-span.js'), now = new Date(2026, 9, 26);
|
|
240
|
+
const a = { key: 'board:a', id: 'a', title: 'Dated one', start: '2026-10-01', end: '2026-11-20', track: { key: 'build' } };
|
|
241
|
+
const c = { key: 'board:c', id: 'c', title: 'Loose undated', start: null, end: null, track: { key: 'discover' } };
|
|
242
|
+
const m = { key: 'board:m', id: 'm', title: 'AI Forward Festival', start: null, end: null, track: { key: 'discover' } };
|
|
243
|
+
const groups = [{ kind: 'product', key: 'p:x', name: 'x', rows: [a, c] }, { kind: 'product', key: 'p:ms', name: 'pmos-microsites', rows: [m] }];
|
|
244
|
+
const T = S.timelineHtml([a, c, m], { jira: null }, 'quarter', { now, groups, prodHtml: (g) => `<div class="tg-r ph" data-prod="${g.key}"></div>` });
|
|
245
|
+
const d = document.createElement('div'); d.innerHTML = T.html;
|
|
246
|
+
const row = d.querySelector('[data-row="board:m"]');
|
|
247
|
+
return { heads: [...d.querySelectorAll('[data-prod]')].map((x) => x.dataset.prod).join(), nd: row ? (row.querySelector('.tg-nd') || {}).textContent : '', loose: !!d.querySelector('[data-row="board:c"]'), foot: ((d.querySelector('.tg-ft .tg-none span') || {}).textContent || '') };
|
|
248
|
+
});
|
|
249
|
+
ok('T a product with only undated initiatives keeps its head and its "No dates" rows; they leave the foot, which still names the rest (batch 14 item 2)',
|
|
250
|
+
pnd.heads === 'p:x,p:ms' && pnd.nd === 'No dates' && !pnd.loose && pnd.foot === 'Loose undated', JSON.stringify(pnd));
|
|
237
251
|
ok('T a legend in the chip row names done, planned, Milestone (Deliver, Evaluate and milestone tasks, batch 11 item 3) and today; no program milestone key while a program draws none (batch 13 item 4)', /Done in Jira/.test(t.lgd) && /To do/.test(t.lgd) && !/Program milestone/.test(t.lgd) && /Milestone/.test(t.lgd) && /Today/.test(t.lgd), t.lgd);
|
|
238
252
|
await p.click('#ibBody .tg-pg .tg-pgo');
|
|
239
253
|
// the program opens in the floating Viewer (shell A), which sits over the right of the timeline; close it before the next press
|
|
@@ -423,7 +437,7 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
423
437
|
await p.click('#ibBody .bt-nm >> text=Legacy IdP sunset');
|
|
424
438
|
await p.waitForSelector('#czViewer:not([hidden])');
|
|
425
439
|
const m = await menu();
|
|
426
|
-
ok('P7 an initiative in no program: ⋯ offers Turn into a program, after the
|
|
440
|
+
ok('P7 an initiative in no program: ⋯ offers Turn into a program, in the place group after split and merge (the one menu, batch 14 item 5)', m.indexOf('Turn into a program') > m.indexOf('Merge into›') && m.indexOf('Merge into›') > m.indexOf('Change the plan dates') && m.indexOf('Change the plan dates') >= 0, JSON.stringify(m));
|
|
427
441
|
await p.click('.cz-vw-menu [role="menuitem"] >> text=Turn into a program');
|
|
428
442
|
await p.waitForTimeout(400);
|
|
429
443
|
const ev = await events(p);
|
|
@@ -144,7 +144,7 @@ const IVREAD = () => {
|
|
|
144
144
|
// PgBoard: a committed date (the planned end) shows under the Deliver milestone; at the milestone itself it replaces the days count
|
|
145
145
|
ok('B1 at the Deliver milestone the committed date replaces the days count', tr.rows.filter((r) => /Deliver/.test(r.dt)).every((r) => r.days === 'Oct 23'), JSON.stringify(tr.rows.map((r) => r.days + ':' + r.dt)));
|
|
146
146
|
ok('B1 the Next column has no segment bar and no legend', tr.lg === false, String(tr.lg));
|
|
147
|
-
ok('B1 Monitor and Evaluate fold after the first of each: "20 more in Monitor and Evaluate"
|
|
147
|
+
ok('B1 Monitor and Evaluate fold after the first of each: "20 more in Monitor and Evaluate"; no "Sorted by stage" line (the sort button says it, batch 14 item 8)', /^20 more in Monitor and Evaluate$/.test(tr.tf.trim()), tr.tf);
|
|
148
148
|
await p.click('#fold');
|
|
149
149
|
ok('B1 the fold opens and says how many are not loaded, and closes again', await p.evaluate(() => document.querySelector('#fold').getAttribute('aria-expanded') === 'true' && /Fold Monitor and Evaluate · 20 more are not loaded/.test(document.querySelector('#fold').textContent)));
|
|
150
150
|
await p.click('#fold');
|
|
@@ -334,11 +334,12 @@ const IVREAD = () => {
|
|
|
334
334
|
const tp = await until(() => p.evaluate(IVREAD).then((x) => (x && x.kind === 'Initiative' ? x : null)));
|
|
335
335
|
ok('B6 an initiative on the timeline opens in the Viewer: the stage card names Plan over the eight steps, the dates line draws the plan dates, no empty rows', !!tp && tp.t === 'Partner API rate limits' && tp.stage === 'Plan' && tp.bars.split('|').length === 8 && tp.bars.split('|').indexOf('now') === 2 && tp.right === '18% done · typed in by hand' && /^Sep 20(, 2026)? ?Nov 30(, 2026)? · \d+ days left$/.test(tp.dates || '') && !/Jira:/.test(tp.dates) && !tp.folds.includes('Dates and trend'), JSON.stringify(tp && [tp.stage, tp.bars, tp.right, tp.dates, tp.folds]));
|
|
336
336
|
await p.click('#czViewer [data-cz-vw="more"]'); await sleep(80);
|
|
337
|
-
const tm = await p.evaluate(() => [...document.querySelectorAll('.cz-vw-menu [role="menuitem"]')].map((b) => b.textContent.trim()));
|
|
338
|
-
|
|
337
|
+
const tm = await p.evaluate(() => [...document.querySelectorAll('.cz-vw-menu [role="menuitem"]')].map((b) => b.querySelector('span').textContent.trim()));
|
|
338
|
+
/* re-pointed (batch 14 item 5): ⋯ is the ONE initiative menu (pm/ini-more.js), Home's order; no "Move, hold, cancel or archive", no "Open in full" */
|
|
339
|
+
ok('B6 ⋯ is the one initiative menu: change it first (workflow, stage, plan dates), then look at it (link, copy), then stop it, red and last', tm[0] === 'Change workflow' && tm.includes('Move back a stage') && tm.includes('Move to a stage') && tm.indexOf('Change the plan dates') < tm.indexOf('Copy link') && tm.includes('The record') && tm.includes('Copy as text') && !tm.includes('Open on the Board') && !tm.includes('Open in full') && !tm.includes('Move, hold, cancel or archive') && tm[tm.length - 1] === 'Cancel the initiative', JSON.stringify(tm));
|
|
339
340
|
await p.click('#czViewer [data-cz-vw="more"]'); await sleep(80);
|
|
340
|
-
await vwMore(p, 'Move
|
|
341
|
-
ok('B6
|
|
341
|
+
await vwMore(p, 'Move to a stage');
|
|
342
|
+
ok('B6 Move to a stage lists the other stages, by the row menu\'s own presses (BdActions)', await until(() => p.evaluate(() => { const m = document.querySelector('#bdPop'); return !!m && !m.hidden && m.getAttribute('role') === 'menu' && !!m.querySelector('[data-rowact="mv:3"]') && /Prioritize/.test(m.textContent) && !/^Plan$/m.test([...m.querySelectorAll('.bd-mi')].map((b) => b.textContent).join('\n')); })));
|
|
342
343
|
await p.keyboard.press('Escape');
|
|
343
344
|
ok('B6 Escape closes the menu first and leaves the Viewer open', await p.evaluate(() => document.querySelector('#bdPop').hidden) && await vwOn(p, 'Initiative'));
|
|
344
345
|
await p.keyboard.press('Escape'); await vwShut(p);
|
|
@@ -375,17 +376,22 @@ const IVREAD = () => {
|
|
|
375
376
|
ok('0 no page error', A.errors.length === 0, A.errors.join(' | '));
|
|
376
377
|
await A.ctx.close();
|
|
377
378
|
|
|
378
|
-
/* B14
|
|
379
|
+
/* B14 there is no Page/Popup switch. Re-pointed (batch 14 item 5): "Open in full" left ⋯ (the header's Open wide says it once); Copy link holds the initiative page's address */
|
|
379
380
|
{
|
|
380
381
|
const D = await open();
|
|
381
382
|
await D.ctx.route('**/premium-initiative.html*', (r) => r.fulfill({ contentType: 'text/html', body: '<title>x</title>' }));
|
|
382
383
|
ok('B14 there is no Page/Popup switch', await D.page.evaluate(() => !document.querySelector('#modeSeg') && !document.querySelector('#modeRow:not([hidden])')));
|
|
383
384
|
await D.page.locator('#ibBody .bt-l[data-row="board:self-serve-v2"] .bt-nm').click(); await until(() => vwOn(D.page, 'Initiative'));
|
|
384
385
|
ok('B14 a click on an initiative opens it in the Viewer and stays on the Board', new URL(D.page.url()).pathname === '/premium-board.html');
|
|
385
|
-
|
|
386
|
-
await
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
await D.ctx.grantPermissions(['clipboard-read', 'clipboard-write']).catch(() => {});
|
|
387
|
+
const noFull = await vwMore(D.page, 'Open in full');
|
|
388
|
+
if (noFull) await D.page.keyboard.press('Escape');
|
|
389
|
+
if (!noFull) await D.page.keyboard.press('Escape');
|
|
390
|
+
ok('B14 ⋯ has no Open in full, and the header keeps Open wide', !noFull && await D.page.evaluate(() => !!document.querySelector('#czViewer [data-cz-vw="wide"]')));
|
|
391
|
+
await vwMore(D.page, 'Copy link');
|
|
392
|
+
const cl = await until(() => D.page.evaluate(() => navigator.clipboard.readText().catch(() => '')));
|
|
393
|
+
const u = new URL(cl || 'http://x/none');
|
|
394
|
+
ok('B14 Copy link holds the initiative page with the initiative, the workspace and the board', u.pathname === '/premium-initiative.html' && u.searchParams.get('id') === 'self-serve-v2' && u.searchParams.get('ws') === 'w1' && u.searchParams.get('board') === 'w1', cl);
|
|
389
395
|
ok('0 no page error on expand', D.errors.length === 0, D.errors.join(' | '));
|
|
390
396
|
await D.ctx.close();
|
|
391
397
|
}
|
|
@@ -424,11 +430,11 @@ const IVREAD = () => {
|
|
|
424
430
|
await q.click('#bdView'); const s2 = await q.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1 && document.querySelectorAll('#ibBody .bd-scols.ph .bd-scol').length + (((document.querySelector('#ibBody .bd-sempty') || {}).textContent || '').replace(/^Nothing on screen in /, '').match(/[A-Z][a-z]+/g) || []).length === 8);
|
|
425
431
|
ok(`B13 at 390 px (${theme}) the one view button switches to By stage, every step a column down the page (the empty steps named on one line), with no sideways scroll`, s2);
|
|
426
432
|
await q.click('#bdView'); await q.locator('#ibBody .bt-l[data-row="board:sso-partners"] .bt-nm').click();
|
|
427
|
-
/* re-pointed (viewer-shell-a, XvABoard): on a phone the Viewer covers the screen; ⋯
|
|
433
|
+
/* re-pointed (viewer-shell-a, XvABoard; batch 14 item 5): on a phone the Viewer covers the screen; ⋯ Move to a stage opens the stages as a sheet */
|
|
428
434
|
const g = await until(() => q.evaluate(() => { const v = document.querySelector('#czViewer'); if (!v || v.hidden) return null; const r = v.getBoundingClientRect(); return { l: Math.round(r.left), w: Math.round(r.width), h: Math.round(r.height), vw: innerWidth, vh: innerHeight }; }));
|
|
429
435
|
ok(`B13 at 390 px (${theme}) the initiative covers the screen`, !!g && g.l === 0 && g.w === g.vw && g.h === g.vh, JSON.stringify(g));
|
|
430
|
-
await vwMore(q, 'Move
|
|
431
|
-
ok(`B13 at 390 px (${theme}) Move
|
|
436
|
+
await vwMore(q, 'Move to a stage');
|
|
437
|
+
ok(`B13 at 390 px (${theme}) Move to a stage opens the stages as a sheet across the width, with 44 px rows, and no dialog`, await until(() => q.evaluate(() => { const m = document.querySelector('#bdPop'); if (!m || m.hidden) return false; const r = m.getBoundingClientRect(); return m.classList.contains('sheet') && Math.round(r.left) === 0 && Math.round(r.width) === innerWidth && m.querySelectorAll('.bd-mi').length >= 3 && [...m.querySelectorAll('.bd-mi')].every((b) => b.getBoundingClientRect().height >= 44) && !document.querySelector('#dlg.on'); })));
|
|
432
438
|
await q.keyboard.press('Escape');
|
|
433
439
|
ok(`0 no page error at 390 px (${theme})`, R.errors.length === 0, R.errors.join(' | '));
|
|
434
440
|
await R.ctx.close();
|
|
@@ -476,24 +482,23 @@ const IVREAD = () => {
|
|
|
476
482
|
await spanTo(q, 'quarter');
|
|
477
483
|
ok('T the Quarter names a release sign-off in its bar\'s hover (no blue ◆, batch 13 item 4) and a dependency on the bar', await q.evaluate(() => [...document.querySelectorAll('#ibBody .tg-bar')].some((b) => /v2\.4 sign-off/.test(b.getAttribute('title') || '')) && !document.querySelector('#ibBody .tg-msd') && /after SSO for partners/.test(document.querySelector('#ibBody').textContent)));
|
|
478
484
|
await view(q, 'track');
|
|
479
|
-
/* the row actions write through the console's routes, each with Undo; re-pointed (
|
|
485
|
+
/* the row actions write through the console's routes, each with Undo; re-pointed (batch 14 item 5): they are items of the initiative's ⋯ */
|
|
480
486
|
await q.click('#bdChipset [data-f="sprint"]');
|
|
481
487
|
const n3 = R.posts.length;
|
|
482
|
-
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, '
|
|
483
|
-
await q.click('#bdPop [data-rowact="hold"]');
|
|
488
|
+
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, 'Put on hold');
|
|
484
489
|
ok('T Put on hold writes one on-hold lifecycle line, with the check-back day', await until(() => R.posts.some((x) => x.path === '/api/lifecycle' && x.body.initiative_id === 'partner-rate-limits' && x.body.state === 'on-hold' && /^\d{4}-\d{2}-\d{2}$/.test(x.body.back || ''))), JSON.stringify(R.posts));
|
|
485
490
|
await until(() => q.evaluate(() => !!document.querySelector('#bdToast .bd-undo')));
|
|
486
491
|
await q.click('#bdToast .bd-undo');
|
|
487
492
|
ok('T Undo writes the state it had before through the same route', await until(() => R.posts.slice(n3).some((x) => x.path === '/api/lifecycle' && x.body.state === 'active' && x.body.reason === 'undo')), JSON.stringify(R.posts.slice(n3)));
|
|
488
|
-
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, 'Move
|
|
489
|
-
ok('T
|
|
493
|
+
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, 'Move to a stage');
|
|
494
|
+
ok('T Move to a stage says how much of the step is ready next to the next stage', await until(() => q.evaluate(() => /^Prioritize1 of 4 ready$/.test((document.querySelector('#bdPop [data-rowact="mv:3"]') || {}).textContent || ''))), await q.evaluate(() => (document.querySelector('#bdPop') || {}).textContent));
|
|
490
495
|
await q.click('#bdPop [data-rowact="mv:3"]');
|
|
491
496
|
ok('T Move to the next stage writes a move line in the board ledger', await until(() => R.posts.some((x) => x.path === '/api/boards/move' && x.body.id === 'partner-rate-limits' && x.body.to === 'Prioritize' && x.body.board === 'w1')), JSON.stringify(R.posts.slice(-2)));
|
|
492
|
-
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, '
|
|
497
|
+
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, 'Cancel the initiative');
|
|
493
498
|
ok('T Cancel asks why, with the same chips as Decline', await until(() => q.evaluate(() => /Why cancel Partner API rate limits\?/.test(document.querySelector('#bdPop').textContent) && [...document.querySelectorAll('#bdPop [data-why]')].map((b) => b.textContent).join() === 'Out of scope,Already planned,Not now,Other')));
|
|
494
499
|
await q.click('#bdPop [data-why="Not now"]'); await q.click('#bdPop [data-rowact="cancel-go"]');
|
|
495
500
|
ok('T Cancel writes a cancelled lifecycle line with the reason', await until(() => R.posts.some((x) => x.path === '/api/lifecycle' && x.body.state === 'cancelled' && x.body.reason === 'Not now')), JSON.stringify(R.posts.slice(-2)));
|
|
496
|
-
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, '
|
|
501
|
+
await q.click('.bt-l[data-row="board:partner-rate-limits"] .bt-nm'); await until(() => vwOn(q, 'Initiative')); await vwMore(q, 'Archive');
|
|
497
502
|
ok('T Archive needs no reason and writes an archive line, with Undo', await until(() => R.posts.some((x) => x.path === '/api/boards/archive' && x.body.archived === true && x.body.id === 'partner-rate-limits')) && await until(() => q.evaluate(() => !!document.querySelector('#bdToast .bd-undo'))), JSON.stringify(R.posts.slice(-2)));
|
|
498
503
|
/* New initiative and the new asks */
|
|
499
504
|
await q.keyboard.press('Escape');
|
|
@@ -105,7 +105,8 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
105
105
|
/* R2 */
|
|
106
106
|
{ await p.click('[data-hm-new]');
|
|
107
107
|
const nw = await until(() => p.evaluate(() => { const m = document.querySelector('#hmMenu:not([hidden])'); return m ? [...m.querySelectorAll('[role=menuitem], button')].map((b) => b.textContent.trim()).filter(Boolean) : null; }));
|
|
108
|
-
ok('R2 the list head is the greeting (Home A + C, HvAC), and New offers its
|
|
108
|
+
ok('R2 the list head is the greeting (Home A + C, HvAC), and New offers its four kinds, one word each (batch 14 item 10, canvas PmAHome)', await p.evaluate(() => /^Good (morning|afternoon|evening)$/.test(document.querySelector('#hmList .hm-hd [data-hm-day] b').textContent)) && !!nw && nw.length === 4 && /^Task/.test(nw[0]) && /^Chat/.test(nw[1]) && /^Recording/.test(nw[2]) && /^Initiative/.test(nw[3]), JSON.stringify(nw));
|
|
109
|
+
ok('R2 New is headed New and has no sub lines (no "What is it for?")', await p.evaluate(() => { const m = document.querySelector('#hmMenu:not([hidden])'); return !!m && m.querySelector('.hm-ml').textContent === 'New' && !m.querySelector('em'); }));
|
|
109
110
|
await p.keyboard.press('Escape');
|
|
110
111
|
ok('R2 the list head has no fold button (no header chrome, canvas HmMyWork)', await p.evaluate(() => !document.querySelector('[data-hm-fold]'))); }
|
|
111
112
|
|
package/workspace/changelog.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "The premium Briefing (/premium.html)"
|
|
4
4
|
description: "The Briefing page at /premium.html: the hero sentence, What you need to do, Today, the dock, and what each one reads from the repository."
|
|
5
|
-
timestamp: 2026-10-
|
|
5
|
+
timestamp: 2026-10-27
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# The premium Briefing
|
|
@@ -288,6 +288,8 @@ My work is the second place on the rail, at `/premium-work.html`. It reads the l
|
|
|
288
288
|
|
|
289
289
|
**Leads written after each refresh.** PMOS keeps a short list of the popups you opened in the last 14 days, with what each one showed. Forms such as Add a task and Settings are left out. Opening a popup only adds it to that list and starts nothing. When a read of your tools ends well, and once no other read is going, one **Popup leads** session writes the lead of each popup on the list whose lead is missing or older than the newest stored read, at most 12. Refresh all runs it after the reads and before the Briefing. It reads only the stored reads and the repository, never a tool, and runs only when a lead is due. `pmos lead due` lists the popups it will write for. Popup leads is on whenever the Briefing is, and you can turn it off under Settings › Data refresh.
|
|
290
290
|
|
|
291
|
+
**A Jira ticket's header and description.** The header shows the key and the ticket's title, for example "MSD-4329 Try out the different options". The description is PMOS's copy, from the initiative's ticket draft, so it says **PMOS's copy, Jira may differ**. PMOS does not read the description in Jira. Status and the other facts come from the Jira read.
|
|
292
|
+
|
|
291
293
|
**A Jira ticket PMOS has not read.** A task's Jira tab first looks in the initiative's ticket draft and the sprint reads. When neither holds the ticket, it shows the newest Jira check that read it, or else what the stored Jira read says about it, and names which one. When nothing stored holds it, the tab says **Not read yet**, gives the time of the last Jira read, and offers **Read it now**. Read it now asks the popup's own Claude session to read that one ticket with your Atlassian connection, read only, and to save the popup's lead. Nothing reads Jira when the tab opens.
|
|
292
294
|
|
|
293
295
|
**A Board measure popup.** On Insights, a measure's popup first says what the numbers are: this week's value, the change from last week, and the target. For Merged a week it also says when the trunk was last fetched, and the details list it as **Trunk read**. When the last two weeks are 0 after a busy week, it says that is a quiet trunk or an old fetch, and gives the fetch time, so you can tell which. PMOS does not fetch when the popup opens.
|
|
@@ -326,7 +328,7 @@ Board is the fourth place on the rail, after Chat, at `/premium-board.html`. It
|
|
|
326
328
|
- **The view chip** in the Initiatives head says which view is shown (List, By stage or Timeline); press it to pick another.
|
|
327
329
|
- **List** shows the late and at-risk initiatives first, then the board's now view, up to 100 loaded and 25 on screen at a time. A row shows the owner and lane, a status chip when it is not on track, how far through the workflow it is (and "derived" when the workflow engine placed it), a progress bar only when a record holds progress, and the planned finish only when an end date was set ("Not planned" otherwise). "Do this first" appears only when the first row is late.
|
|
328
330
|
- **By stage** has one column for each stage of the board's workflow with the board's own count and its first five initiatives.
|
|
329
|
-
- **List** and **Timeline** show ten tasks a page with Previous and Next; **By stage** shows six cards a column with Show more. **Timeline** draws a bar for each initiative that has dates, with the days left or over, and counts the rest. A bar runs from the earliest start to the latest due date of the initiative's breakdown items and its tasks. Every stage shows, Monitor and Evaluate too. Under a program, every initiative of the program has a row; one with no dates says **No dates** beside today. In each group the rows run by start date, then end date, and the ones with no dates come last; the status dot still marks a late or at-risk initiative. With no dates on record it says so and draws nothing. A gap in the plan that overlaps a hold still leaves out the days outside the hold, also when the hold has no return date.
|
|
331
|
+
- **List** and **Timeline** show ten tasks a page with Previous and Next; **By stage** shows six cards a column with Show more. **Timeline** draws a bar for each initiative that has dates, with the days left or over, and counts the rest. A bar runs from the earliest start to the latest due date of the initiative's breakdown items and its tasks. Every stage shows, Monitor and Evaluate too. Under a program, every initiative of the program has a row; one with no dates says **No dates** beside today. A product whose initiatives all have no dates keeps its row too, with each initiative saying **No dates**, so the product is never missing from the Board. In each group the rows run by start date, then end date, and the ones with no dates come last; the status dot still marks a late or at-risk initiative. With no dates on record it says so and draws nothing. A gap in the plan that overlaps a hold still leaves out the days outside the hold, also when the hold has no return date.
|
|
330
332
|
- **Sprint** appears when an agent session has read Jira for the board. Otherwise it says there is none. Press it to open the sprint's facts, with the sprint as a board in a second tab: **To do**, **In progress** and **Done** columns from the last Jira read, with the dates, the days left and the points. The sprint goal is the one the Jira status check writes from the sprint's tickets, as on the console's Sprints tab, with its summary; Jira's own goal shows under it only as a reference (**In Jira: "…"**). Until the check has written one, the tab says **No goal yet**. The active and next sprints are buttons at the top. The closed sprints are behind **Past sprints**, which is shut until you press it. Press any card to open its ticket in another tab. A ticket that is on no initiative of this board shows what the sprint read holds (title, status, points and its Jira link). The board is read only: Jira owns each ticket's status and sprint, so you move tickets in Jira. Tickets with no sprint are not in this read. **Coming up** shows the next release, from the releases ledger.
|
|
331
333
|
- **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.
|
|
332
334
|
- **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."
|
package/workspace/guide/home.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Home (/premium.html) and the designed features"
|
|
4
4
|
description: "Home in the Agreed design: the list grouped by product, the Viewer, the place menu, New for you, Search, and the initiative, meeting, report, Board and Insights features designed after it."
|
|
5
|
-
timestamp: 2026-10-
|
|
5
|
+
timestamp: 2026-10-27
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Home
|
|
@@ -12,7 +12,8 @@ Home is the page at `/premium.html`. It follows the Agreed design and the "Uncov
|
|
|
12
12
|
## The list
|
|
13
13
|
|
|
14
14
|
- The top line has **Good morning**, the product picker, the filter icon (on a desktop) and **New**. The line under it says how many items are yours, for example "4 are yours".
|
|
15
|
-
-
|
|
15
|
+
- On a computer, press **Good morning** to open the calendar in the Viewer. The list already shows each item that waits on you, under its initiative. A program's milestone changes that wait on you are the first line of the program's card.
|
|
16
|
+
- On a phone, press **Good morning** to open **Your day**. Your day shows the date, the meetings of the day, **Your move** (the items that wait on you, with their count) and **This week** (the Weekly review).
|
|
16
17
|
- A **program** comes first, above the products. Its header shows the program icon, its name, the next milestone (◆ and the date) and how many of its initiatives are ready for that milestone. Inside it, the program's own tasks come first, then its initiatives under a small heading for each product. Each initiative shows once. Press the program's name to open the program in the Viewer. The chat then talks about the program. Press the chevron to close or open the group.
|
|
17
18
|
- The **product picker** is the chip on the top line. It shows the tiles of the ticked products, overlapped, with **+N** after 3, or **All** when every product is ticked. It shows even with one product. Hold the pointer on it to read the names. Press it to open the list: **All products**, then each product with its tile, its name and one line (for example "3 initiatives · 1 of 2 goals"), then **Add a product**. Press a product to tick or untick it; the list stays open, and the last ticked product stays ticked. The pick applies when the list closes (Escape, a press outside, or the chip again). On a phone the list is a sheet at the bottom. The pick is one saved setting (`ws.briefing.include`) that Home, the Board and Insights share, so a product that you untick on one page goes from all three. With **All** ticked, a product that you add later is ticked too. The **Product** row in Settings opens the same list.
|
|
18
19
|
- A program with no open initiative yet still shows, with "No initiatives yet" or "No open initiatives". A program shows only when it holds work of a ticked product. Home reads again when you come back to its tab, so a program made on the Board shows at once.
|
|
@@ -51,22 +52,41 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
|
|
|
51
52
|
- Under the header is one line for the whole initiative. Each stage is a part of the line, on its own dates. Done stages are grey, the current stage is blue, later stages are light, and a stage with no dated task is dashed. The ◇ marks are the milestone tasks, with the name above and the date below. The end ◇ is the end date. A thin tick is Today.
|
|
52
53
|
- Press a part to show that stage in **Tasks**. Press **N of M done** to do the same. Press a ◇ to open the milestone task in **Tasks**. Milestones a few days apart merge into one ◇ with a count. Press it to list them.
|
|
53
54
|
- The line also shows what the Board's timeline shows: » for a skipped stage, a dotted gap and ⏸ for a hold (press ⏸ to set or change the return date), a hairline for 2 weeks or more with no activity (press it; ahead of Today, + adds a task in the gap), hatching past the end date, a dashed Jira forecast, a thin line under it for a saved plan, and "after <initiative>" when it waits on another initiative.
|
|
55
|
+
- A cancelled, done or archived initiative leaves Home, and so do the next steps that were for it.
|
|
54
56
|
- With no dates at all, the parts are even and dashed. The calendar button opens **Tasks** in the Timeline view to set the dates.
|
|
55
57
|
- On a phone the line shows only the next open milestone's name. Press the line to unfold the stages and milestones as a list under it.
|
|
56
58
|
- Under the card are the 3 most urgent tasks and the documents that need a look. **Show N more** opens all the tasks and **Show all N** opens all the documents. ← goes back to the page. A task or a document that you open from the page also has ← back to the page.
|
|
57
|
-
- ⋯
|
|
58
|
-
|
|
59
|
+
- ⋯ is the same menu on Home and on the Board, in the same order. A line separates the groups:
|
|
60
|
+
1. **Change workflow**, **Rename**, **Moves on by itself**, **Move back a stage**, **Move to a stage**, **Change the plan dates** and **Add a stakeholder**.
|
|
61
|
+
2. **Split into a new initiative**, **Merge into**, and **Move out of** or **Move to another program**. An initiative that is in no program has **Turn into a program**.
|
|
62
|
+
3. **Read Jira again** (only when the board reads Jira), **Open on the Board** (only on Home), **The record**, **Copy link** and **Copy as text**.
|
|
63
|
+
4. **Won't do** (**Back to Triage** after Won't do) and **Archive**.
|
|
64
|
+
5. **Put on hold** (**Resume** when it is on hold) and **Cancel the initiative**, which is red and last.
|
|
65
|
+
- An item that does not apply does not show. For example, a PMOS-self initiative has no stage moves and no workflow to change. To open the initiative wide, use the expand button in the header.
|
|
66
|
+
- To go back to all work, press the browser's Back, or Menu > **Home**. Neither reloads the page. Close (×) closes the page but keeps the initiative's chat. See [Back and forward](#back-and-forward).
|
|
59
67
|
- If there is no room beside the chat, the Viewer shows on top of the chat. The list stays.
|
|
60
68
|
- On a phone the page fills the screen. **Message Claude about <name>** opens the chat.
|
|
61
69
|
- **Moves on by itself** is a switch, on by default. When every exit item is done, the stage moves to the next stage and a message shows **Undo**. A stage never moves by itself into a milestone (Deliver or Evaluate). This rule is a proposal that the PM has not confirmed yet.
|
|
62
70
|
- → with open tasks in the stage asks first (**Move anyway**, with a note). **Back** always asks for a reason.
|
|
63
71
|
- **Tasks** in the Viewer can be grouped by stage, by groups that you name, by owner or by status. Drag a task to another group.
|
|
64
|
-
- In the Build stage, the open Jira tickets show with the tasks. A task whose name starts with a Jira key (for example "MSD-4376 Navigation tabs") is that ticket, so the ticket shows once, as the task, and counts once.
|
|
72
|
+
- In the Build stage, the open Jira tickets show with the tasks. A task whose name starts with a Jira key (for example "MSD-4376 Navigation tabs") is that ticket, so the ticket shows once, as the task, and counts once. It looks like the ticket rows: a blue square in place of the box and the key in blue. Its status follows Jira; press its name to open it.
|
|
65
73
|
- **Set a Jira ticket's dates.** Press the dates of a Jira ticket in the List, or drag its bar on the Timeline, as you do for a task. PMOS keeps the start and due days and shows them in place of the sprint end. Jira does not change. The status and the name stay Jira's.
|
|
66
74
|
- **Tasks** show one row (one group) for each stage of the workflow, in order. Finished stages and later stages are never merged into one row; they start folded, and the current stage and any stage with a late task start open.
|
|
67
75
|
- **Delete a task.** Press the caret under a task's box (on a phone, press and hold the box) and press the trash at the end of the status picker. The task goes at once and the message shows **Undo**. The ⋯ menu of a task also has **Delete**. You can delete every PMOS task, also a task that Claude planned in the breakdown. A Jira ticket has no Delete: change it in Jira. A task deleted in a draft leaves only the draft.
|
|
68
76
|
|
|
69
|
-
##
|
|
77
|
+
## Back and forward
|
|
78
|
+
|
|
79
|
+
The Viewer keeps one trail on Home, the Board and Insights.
|
|
80
|
+
|
|
81
|
+
- A press inside the Viewer keeps the item behind the one it opens. For example: an initiative, then a ticket in its Tasks, then a Linked ticket, then that ticket's epic card. A press on the page outside the Viewer (a row in the list, a row on the Board) starts a new trail.
|
|
82
|
+
- ← goes one step back. Point to it to see where it goes, for example "Back to PSLE Landing Page". At the first item of the trail, a computer shows no ←, and × closes. On a phone, ← at the first item closes the Viewer.
|
|
83
|
+
- → shows only after you go back. It goes one step forward. When you open something new, → goes away, as in a browser.
|
|
84
|
+
- To see the whole trail, point to ← or → on a computer, or hold it on a phone. The list shows the newest item first and ends with the page. Press an item to go to it. Press the page to close the Viewer.
|
|
85
|
+
- The browser's Back and Forward buttons and the back swipe on a phone move along the same trail. Back at the first item closes the Viewer. One more Back goes to the page before.
|
|
86
|
+
- Close (×, Escape) ends the trail. Back then does not open the closed item again.
|
|
87
|
+
- The address keeps the open initiative or program on Home and the Board, and the open goal on Insights. When you go to another page and come back with Back, that item is open again. The rest of its trail is not kept.
|
|
88
|
+
|
|
89
|
+
## Rename a product, a program, an initiative or a task
|
|
70
90
|
|
|
71
91
|
Press the name in the Viewer's header. The name becomes a field.
|
|
72
92
|
|
|
@@ -77,6 +97,7 @@ Press the name in the Viewer's header. The name becomes a field.
|
|
|
77
97
|
- An initiative with a Jira epic shows **Rename the Jira epic too**. It is off by default. When you select it, Home opens the initiative's chat with the request typed. Send it to let your agent rename the epic in Jira. PMOS does not change Jira itself.
|
|
78
98
|
- A program has no Jira box. Its goal stays as it is.
|
|
79
99
|
- A Jira ticket keeps its Jira name. Rename it in Jira.
|
|
100
|
+
- A product's new name is your name for its repository. The folder and the workspace id do not change. Home, the Board, Insights and the product picker show the new name.
|
|
80
101
|
|
|
81
102
|
## Session names
|
|
82
103
|
|
|
@@ -115,7 +136,11 @@ There is no My work page. The list on Home is your list:
|
|
|
115
136
|
|
|
116
137
|
- **Tasks.** An initiative shows its 3 most urgent tasks: yours first, then due today, late, and due this week. **Show N more tasks** shows the rest.
|
|
117
138
|
- **Your items.** A PM item opens alone, as its own card. There is no Focus chip. Items that nobody touched are in the Weekly review.
|
|
118
|
-
- **
|
|
139
|
+
- **New.** Press **+** at the top of the list. It offers four things, and each one lands where you are: the initiative or product that is open, or else Home.
|
|
140
|
+
- **Task.** In an open initiative, the task goes there. On Home, choose an initiative, or **Not in an initiative** (your own list). Home has no add box that is always open.
|
|
141
|
+
- **Chat.** A new session in the open initiative or product. On Home, a loose chat that you link to an initiative later.
|
|
142
|
+
- **Recording.** Record a note now, with no calendar event.
|
|
143
|
+
- **Initiative.** The Board opens with **New initiative**, in the open product.
|
|
119
144
|
- **Sessions.** A session row names its agent. The coloured dot beside it is its state: blue waits on you, amber may be blocked, green is running. A session PMOS started itself (a skill or a background job) shows on Home only while it works or asks you something. Once it finishes its prompt, it leaves the list. On an initiative's page, a session that waits on you shows once, under **Needs you**, not again under **Sessions**. **Finished sessions** does not list an old run of a chat that is open again.
|
|
120
145
|
- **One chat box.** Every conversation has the same box: **+** (attach a file, notes, the terminal, and **Link to an initiative** for a loose chat), **/** for commands, **@** inside an initiative, the To or In chip, the mic, and Send. A chat opens at its newest message.
|
|
121
146
|
- **Documents not written yet.** A document that does not exist yet shows **Draft it**, in its stage or ahead of it. The agent writes a draft. Nothing is issued until you read it.
|
|
@@ -21,6 +21,7 @@ Programs do not change how Insights, the weekly update or sprints count initiati
|
|
|
21
21
|
- The **timeline** draws a program row that brackets its initiatives' bars, on every span. Program milestones are diamonds. Milestones that are close together merge into one diamond with a count.
|
|
22
22
|
- On the timeline, a **product's head row** also shows milestones. Nothing is added by hand: the row shows every milestone of the product's initiatives, which are each milestone task and each initiative's end diamond (its Deliver or Evaluate date). The diamonds are the same as on the initiative rows: open, filled when done, orange when late. Diamonds that are close together merge into one diamond with a count and the date range under it. Press it to see a list with the milestone, its initiative and the date. Press a line to open that initiative. Hold the pointer on a single diamond to see its milestone and initiative. A thin line goes from the first start to the last end of the product's initiatives. When the product is folded, the row stays the same, so it is a summary of the product. On a phone the diamonds have no dates; tap the row to see all the milestones in date order. A product inside a program has no such row, because the program row shows its milestones.
|
|
23
23
|
- On the timeline, an initiative row shows only its **pinned** milestones. By default that is its last milestone. Press a diamond to see every milestone of the initiative, with how many are on the timeline. Press the pin beside a milestone to show it or to hide it. To see every milestone or none, open **Filter** and pick **Milestones on the timeline: Pinned**, **All** or **None**. The Board keeps your pick. From a terminal: `pmos task set <task> --pin`, `--no-pin`, or `--pin-default` to go back to the default.
|
|
24
|
+
- The label at the end of an initiative row says what lands and when. When a milestone task is in the last milestone stage, or is on the end date, or is in the Deliver stage, the label shows its name and its own date, and the end date of the initiative shows when you hold the pointer on the label. Otherwise the label is **Deliver** (or **Evaluate**) and the end date. Press that end diamond: the card has the same words as the label, then the milestones of the initiative.
|
|
24
25
|
- **List** has a Product column and a Program column. Press a column header to sort by it.
|
|
25
26
|
- **New** opens a menu: **New initiative** or **New program**.
|
|
26
27
|
- A new program shows at once, before any initiative joins it. A program with no open initiative shows on its own product's Board and on All products, with "No initiatives yet" or "No open initiatives". Press its name, then **⋯** and **Move an initiative in**. That menu lists open initiatives only, grouped by product, with the program's own product first, wherever you open the program (Home, another product's Board or All products). An initiative joins in its own product.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* O5 its chat's first message starts a session in Microsites, and "A new session" (In: chip, + New) starts a second one beside it
|
|
10
10
|
* O6 batch 11 item 10: an initiative `pmos initiative new` made in Microsites sits in Later, so the Microsites model does not list it. Its
|
|
11
11
|
* next step (tagged ws=microsites) puts it on Home; pressing it reads it from Microsites, never IDPF's board, under its title
|
|
12
|
+
* O8 batch 14 item 9: the product's name in its page's header renames it (POST /api/workspaces/rename), with Undo
|
|
12
13
|
* O7 the same initiative opened by a link with no next step: the read on IDPF fails, the Microsites one finds it, and its chat is Microsites'
|
|
13
14
|
* Serves the real page from the real server; the reads are fixtures (fixtures/program-ascent.js through the Board and Home fixtures). */
|
|
14
15
|
const path = require('path');
|
|
@@ -92,6 +93,15 @@ const model = () => { const m = IP.build(F.facts()); return { ...m, id: ID, key:
|
|
|
92
93
|
await sleep(500);
|
|
93
94
|
ok('O3 Home stays on IDPF: no navigation, and the IDPF group is still in the list', opens.length === navs && new URL(page.url()).searchParams.get('ws') === 'idpf' && await page.evaluate(() => [...document.querySelectorAll('#hmList [data-hm-prodopen]')].some((b) => /IDPF/.test(b.getAttribute('aria-label') || ''))), JSON.stringify(opens.slice(navs)) + ' ' + page.url());
|
|
94
95
|
ok('O3 the chat is the Microsites product\'s own', await page.evaluate(() => (document.querySelector('#hmChat textarea, textarea') || {}).placeholder === 'Message Claude about Microsites'));
|
|
96
|
+
// O8 batch 14 item 9 (Wawan, "Should be able to rename product"): the product's name in its page's header is the rename press. It saves
|
|
97
|
+
// the PM's name for the repository (POST /api/workspaces/rename, the id stays) and the header shows the new name.
|
|
98
|
+
const renames = [];
|
|
99
|
+
await page.route('**/api/workspaces/rename', (r) => { renames.push(JSON.parse(r.request().postData() || '{}')); return json(r, { ok: true, workspace: { id: 'microsites', name: 'Microsites web', label: 'Microsites web' } }); });
|
|
100
|
+
const rnBtn = await until(() => page.evaluate((v) => { const b = document.querySelector(v + ' [data-cz-vw-rn]'); if (!b || !/Microsites/.test(b.textContent)) return false; b.click(); return true; }, V), 5000);
|
|
101
|
+
ok('O8 the product\'s name in its page header is a rename press', rnBtn);
|
|
102
|
+
if (rnBtn) { await page.fill(V + ' [data-cz-vw-ren] input', 'Microsites web'); await page.keyboard.press('Enter'); }
|
|
103
|
+
ok('O8 it saves the name for the Microsites repository', await until(() => renames.length === 1, 5000) && renames[0].id === 'microsites' && renames[0].name === 'Microsites web', JSON.stringify(renames));
|
|
104
|
+
ok('O8 the header shows the new name, with Undo in the toast', await until(() => page.evaluate((v) => /Microsites web/.test((document.querySelector(v + ' #czVwTitle') || {}).textContent || '') && /Undo/.test((document.querySelector('#toast') || {}).textContent || ''), V), 5000));
|
|
95
105
|
// O5 a product's chat starts its first session and, like an initiative, a new one beside it (batch 9 item 3, Wawan 2026-10-26: "I can't
|
|
96
106
|
// initiate a new session" on pmos-scarlet). Each send asks with the product's own key in its own workspace; a new session has the next key.
|
|
97
107
|
const asks = [];
|
|
@@ -105,8 +115,8 @@ const model = () => { const m = IP.build(F.facts()); return { ...m, id: ID, key:
|
|
|
105
115
|
await page.fill('#hmIn', 'A second thread'); await page.keyboard.press('Enter');
|
|
106
116
|
ok('O5 it sends with the next key, so a second session starts beside the first', await until(() => asks.length === 2, 5000) && asks[1].key === 'chat:product:microsites:2' && asks[1].ws === 'microsites', JSON.stringify(asks));
|
|
107
117
|
await page.click('[data-hm-new]');
|
|
108
|
-
const nw = await until(() => page.evaluate(() => [...document.querySelectorAll('#hmMenu [role=menuitem], #hmMenu button')].map((x) => x.textContent).find((x) =>
|
|
109
|
-
ok('O5 the + New menu names the product: "
|
|
118
|
+
const nw = await until(() => page.evaluate(() => [...document.querySelectorAll('#hmMenu [role=menuitem], #hmMenu button')].map((x) => x.textContent).find((x) => /^Chat/.test(x)) || null), 3000);
|
|
119
|
+
ok('O5 the + New menu\'s Chat names the product on its right: "Chat Microsites" (batch 14 item 10)', !!nw && /^ChatMicrosites$/.test(nw), nw);
|
|
110
120
|
await page.keyboard.press('Escape');
|
|
111
121
|
|
|
112
122
|
// O4 a phone (Wawan, 2026-10-25): the chat is not beside the page, so the page ends with the way to its own chat
|
|
@@ -91,6 +91,21 @@ function candidates(ctx, w) {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
} catch { /* no library */ }
|
|
94
|
+
// a document a chat wrote and nobody has committed yet: the library lists tracked files only, so it is read here
|
|
95
|
+
try {
|
|
96
|
+
const seen = new Set(docs.map((d) => d.ref));
|
|
97
|
+
const out = require('child_process').execFileSync('git', ['ls-files', '--others', '--exclude-standard', '-z', '--', '*.md'], { cwd: root, encoding: 'utf8', maxBuffer: 16 * 1024 * 1024, stdio: ['ignore', 'pipe', 'ignore'] });
|
|
98
|
+
for (const rel of out.split('\0').filter(Boolean).slice(0, 2000)) {
|
|
99
|
+
if (seen.has(rel) || isReportPath(rel) || /(^|\/)(node_modules|\.git)\//.test(rel)) continue;
|
|
100
|
+
let title = '', date = '';
|
|
101
|
+
try {
|
|
102
|
+
const full = require('path').join(root, rel), head = fs.readFileSync(full, 'utf8').slice(0, 4096);
|
|
103
|
+
const m = /^---\n[\s\S]*?^title:\s*"?(.+?)"?\s*$/m.exec(head) || /^#\s+(.+)$/m.exec(head);
|
|
104
|
+
title = m ? m[1].trim() : ''; date = fs.statSync(full).mtime.toISOString().slice(0, 10);
|
|
105
|
+
} catch { /* the name stands for it */ }
|
|
106
|
+
docs.push({ kind: 'pmos-doc', ref: rel, title: title || rel.split('/').pop().replace(/\.md$/, ''), date, ini: null, ws: w.id, meta: 'Not committed yet' + (date ? ' · ' + dayText(date) : '') });
|
|
107
|
+
}
|
|
108
|
+
} catch { /* not a git repository */ }
|
|
94
109
|
try {
|
|
95
110
|
const rs = require('./routes-report-setups.js');
|
|
96
111
|
for (const d of rs.documentsOf({ runtimeDir: ctx.runtimeDir, getWs: ctx.getWs }, w).docs || []) {
|
|
@@ -121,8 +136,14 @@ function suggest(q, ctx) {
|
|
|
121
136
|
const text = str(q.q, 120).toLowerCase();
|
|
122
137
|
let found = [];
|
|
123
138
|
if (text.length >= 2) {
|
|
139
|
+
// a search looks in every workspace, this one first: the meeting's workspace is often not the one that holds the document
|
|
124
140
|
const hit = (x) => (x.title + ' ' + x.ref).toLowerCase().includes(text);
|
|
125
|
-
|
|
141
|
+
const others = typeof ctx.workspaceList === 'function' ? (ctx.workspaceList() || []).filter((o) => o && o.root && o.id !== w.id && o.root !== w.root) : [];
|
|
142
|
+
for (const [i, src] of [c, ...others.map((o) => candidates(ctx, o))].entries()) {
|
|
143
|
+
if (found.length >= 8) break;
|
|
144
|
+
const got = [...src.reports.filter(hit), ...src.docs.filter(hit)].sort(newest).map((x) => pick(x));
|
|
145
|
+
found.push(...(i === 0 ? got : got.map((x) => ({ ...x, meta: x.meta + ' · ' + (others[i - 1].name || others[i - 1].id) }))).slice(0, 8 - found.length));
|
|
146
|
+
}
|
|
126
147
|
}
|
|
127
148
|
return { status: 200, body: { ok: true, suggested, found } };
|
|
128
149
|
}
|
|
@@ -63,6 +63,8 @@ const DEFS = Object.freeze({
|
|
|
63
63
|
'sess.idle': one('sessions', 'computer', ['15', '30', '60', 'never'], '30'),
|
|
64
64
|
'sess.share': one('sessions', 'computer', ['ws', 'job'], 'ws'),
|
|
65
65
|
'look.start': one('appearance', 'computer', ['brief', 'cal', 'work', 'init', 'rep'], 'brief'),
|
|
66
|
+
// ONE order for Home, the Board and the Timeline (batch 14 item 8): the sort, the programs and products, the initiatives under each product
|
|
67
|
+
'look.order': { section: 'appearance', scope: 'computer', type: 'order', def: { sort: 'mine', top: [], inis: {} } },
|
|
66
68
|
// premium-updates: once a day by default. An open page posts the check; the server never schedules one (no-network.test.js).
|
|
67
69
|
'upd.check': one('updates', 'computer', ['press', 'daily'], 'daily'),
|
|
68
70
|
'upd.apply': one('updates', 'computer', ['ask', 'idle'], 'ask'),
|
|
@@ -127,6 +129,18 @@ function validate(key, value) {
|
|
|
127
129
|
}
|
|
128
130
|
// ['*'] alone is every workspace (the product picker's All, lib/briefing-premium-products.js)
|
|
129
131
|
case 'ids': return value === null || Array.isArray(value) && (value.length === 1 && value[0] === '*' || value.length <= d.max && value.every((x) => typeof x === 'string' && WS_ID.test(x)) && new Set(value).size === value.length) ? null : `${key} must list at most ${d.max} workspace ids, each once, or ['*'] for every one`;
|
|
132
|
+
case 'order': {
|
|
133
|
+
// pm/order-model.js keeps a layout this small (trim)
|
|
134
|
+
const SORTS = ['mine', 'turn', 'date', 'stage', 'name'];
|
|
135
|
+
const keys = (a, n) => Array.isArray(a) && a.length <= n && a.every((x) => typeof x === 'string' && x.length > 0 && x.length <= 200 && !/[\u0000-\u001f]/.test(x));
|
|
136
|
+
if (!value || typeof value !== 'object' || Array.isArray(value)) return `${key} must be { sort, top, inis }`;
|
|
137
|
+
if (!SORTS.includes(value.sort)) return `${key}.sort must be one of ${SORTS.join(', ')}`;
|
|
138
|
+
if (!keys(value.top, 200)) return `${key}.top must list at most 200 keys`;
|
|
139
|
+
if (!value.inis || typeof value.inis !== 'object' || Array.isArray(value.inis)) return `${key}.inis must map a product to its initiatives`;
|
|
140
|
+
const ps = Object.entries(value.inis);
|
|
141
|
+
if (ps.length > 100 || !ps.every(([k, v]) => k.length <= 200 && keys(v, 300))) return `${key}.inis must hold at most 100 products of 300 initiatives each`;
|
|
142
|
+
return null;
|
|
143
|
+
}
|
|
130
144
|
case 'templates': {
|
|
131
145
|
if (!value || typeof value !== 'object' || Array.isArray(value)) return `${key} must name the templates`;
|
|
132
146
|
const ids = Object.keys(value);
|
|
@@ -34,6 +34,7 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
34
34
|
const ROWS = [
|
|
35
35
|
F.row('migration', 'Migration — move from Okta to Descope', { owner: 'Wawan', stage: 'Build', start: '2026-10-01', end: '2027-09-05', progress: 20 }),
|
|
36
36
|
F.row('passkey', 'Passkey sign-in', { owner: 'Lee', start: '2026-09-15', end: '2027-02-26', progress: 45 }),
|
|
37
|
+
F.row('otp', 'Email OTP', { owner: 'Lee', start: '2026-11-02', end: '2027-06-09', progress: 10 }),
|
|
37
38
|
];
|
|
38
39
|
const it = (ini, uid, title, o) => ({ uid, key: '', kind: 'Task', src: 'pmos', title, status: 'To do', owner: 'Wawan', ini, start: null, end: null, ref: uid, board: 'w1', milestone: true, ...o });
|
|
39
40
|
const ITEMS = [
|
|
@@ -43,6 +44,7 @@ const ITEMS = [
|
|
|
43
44
|
it('migration', 'm-eval', 'Evaluation at 30 days', { end: '2027-07-01' }),
|
|
44
45
|
it('migration', 'm-okta', 'Okta decommissioned', { end: '2027-09-05' }),
|
|
45
46
|
it('passkey', 'p-beta', 'Beta to staff', { end: '2026-12-18' }),
|
|
47
|
+
it('otp', 'o-roll', 'Email OTP rolled out', { end: '2027-05-26', section: 'deliver' }),
|
|
46
48
|
];
|
|
47
49
|
|
|
48
50
|
(async () => {
|
|
@@ -121,6 +123,17 @@ const ITEMS = [
|
|
|
121
123
|
ok('T unpinning the last one writes pinned false', posts[1] && posts[1].task === 'm-okta' && posts[1].pinned === false && c && /2 of 5/.test(c.sub), JSON.stringify(posts));
|
|
122
124
|
await p.keyboard.press('Escape');
|
|
123
125
|
ok('C Escape closes the card', await p.evaluate(() => document.querySelector('#bdPop').hidden));
|
|
126
|
+
// batch 14 item 1: the row's end label and the card say the same thing
|
|
127
|
+
const otp = await p.evaluate(() => { const r = document.querySelector('#ibBody [data-row="board:otp"]'); const e = r && r.querySelector('.tg-end'), l = r && r.querySelector('.tg-endl');
|
|
128
|
+
return { id: e ? e.dataset.msId : null, label: l ? l.textContent.trim() : '', hover: l ? l.title : '', tm: r ? r.querySelectorAll('.tg-tm').length : -1 }; });
|
|
129
|
+
ok('E a milestone in the Deliver stage before the end names the row\'s end, at its own date; the end date is the hover; one ◇ only',
|
|
130
|
+
otp.id === 'o-roll' && otp.label === 'Email OTP rolled out May 26 ’27' && /Initiative ends Jun 9 ’27/.test(otp.hover) && otp.tm === 0, JSON.stringify(otp));
|
|
131
|
+
await p.click('[data-ms-pick="board:passkey"][data-ms-id=""]');
|
|
132
|
+
await p.waitForSelector('#bdPop.bd-pc:not([hidden])', { timeout: 4000 });
|
|
133
|
+
c = await card(p);
|
|
134
|
+
ok('E the plain end ◇ opens a card headed with the row\'s own label, "Deliver Feb 26 ’27"',
|
|
135
|
+
c && c.h === 'Deliver Feb 26 ’27' && c.sub === 'The end of Passkey sign-in · 1 of 1 milestone on the timeline', JSON.stringify(c));
|
|
136
|
+
await p.keyboard.press('Escape');
|
|
124
137
|
ok('C the ◇ press does not open the initiative', await p.evaluate(() => !document.querySelector('.iv-tr')));
|
|
125
138
|
|
|
126
139
|
/* F — the Filter */
|