create-pmos 0.371.0 → 0.372.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 -18
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-board-test.js +9 -8
- package/workspace/briefing-premium-metrics-test.js +5 -4
- package/workspace/changelog.json +12 -0
- package/workspace/guide/briefing-premium.md +2 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/premium-board.js +8 -2
- package/workspace/public/pm/premium-metric-tiles.js +1 -1
- package/workspace/public/pm/premium.css +4 -0
- package/workspace/public/premium-board.html +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.372.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.372.0",
|
|
37
|
+
"at": "2026-10-21T02:53:20.808Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 981,
|
|
42
|
+
"t": "The Board's first screen has quiet chips, not two segmented rows (calmer first screen 4/5)",
|
|
43
|
+
"s": "The Board's first screen has quiet chips, not two segmented rows (calmer first screen 4/5)"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
35
47
|
{
|
|
36
48
|
"v": "0.371.0",
|
|
37
49
|
"at": "2026-10-21T02:38:31.758Z",
|
|
@@ -309,23 +321,6 @@
|
|
|
309
321
|
"s": "In full screen, the chat dialog has three panels: the session list on the left, the chat in the middle and the viewer on the right."
|
|
310
322
|
}
|
|
311
323
|
]
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
"v": "0.352.0",
|
|
315
|
-
"at": "2026-10-20T08:20:25.043Z",
|
|
316
|
-
"f": 2,
|
|
317
|
-
"prs": [
|
|
318
|
-
{
|
|
319
|
-
"n": 944,
|
|
320
|
-
"t": "Briefing \"What you need to do\" rows are two lines",
|
|
321
|
-
"s": "Each row is two lines, the title and then \"subject · next step\", with a chevron, as in item 5 of the premium-simple-ui mockup."
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
"n": 952,
|
|
325
|
-
"t": "An .html file Claude names opens in the viewer as its page, not its source",
|
|
326
|
-
"s": "The tab draws the page itself, with its toggles and charts working."
|
|
327
|
-
}
|
|
328
|
-
]
|
|
329
324
|
}
|
|
330
325
|
]
|
|
331
326
|
}
|
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-21T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T02:53:18Z"}
|
|
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-21T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T02:53:18Z"}
|
|
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-21T02:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-21T02:53:18Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -97,21 +97,22 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
/* B5 stages */
|
|
100
|
-
await p.
|
|
100
|
+
ok('B3 the view is one chip in the Initiatives head that says List, and its menu (List, By stage, Timeline) starts shut (premium-calmer-first-screen)', await p.evaluate(() => document.querySelector('#ibF').textContent.trim() === 'List' && document.querySelector('#ibTabs').hidden && document.querySelector('#ibF').getAttribute('aria-expanded') === 'false' && [...document.querySelectorAll('#ibTabs button')].map((b) => b.textContent).join() === 'List,By stage,Timeline' && !!document.querySelector('#cIni .ch #ibF')));
|
|
101
|
+
await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(p, 'stages');
|
|
101
102
|
const stg = await p.evaluate(() => ({ cols: [...document.querySelectorAll('#ibBody .isc')].map((c) => c.querySelector('.label').textContent.replace(/\s+/g, ' ').trim()), cards: document.querySelectorAll('#ibBody .icd').length, none: [...document.querySelectorAll('#ibBody .isc')].filter((c) => /None/.test(c.textContent)).length, pressed: document.querySelector('#ibTabs [aria-pressed="true"]').textContent }));
|
|
102
103
|
ok('B5 one column per workflow stage with the board\'s own count; a stage with none says so', stg.cols.length === 9 && stg.cols[0] === 'Discover 1' && stg.cols.includes('Build 2') && stg.cols.includes('Evaluate 21') && stg.cols.includes('Ideate 0') && stg.none === 3 && stg.cards === 7 && stg.pressed === 'By stage', JSON.stringify(stg));
|
|
103
104
|
/* B6 timeline */
|
|
104
|
-
await
|
|
105
|
+
await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(p, 'time');
|
|
105
106
|
const tl = await p.evaluate(() => ({ rows: [...document.querySelectorAll('#ibBody .tlr')].map((r) => ({ t: r.querySelector('.tlt b').textContent, n: r.querySelector('.tln b').textContent, w: r.querySelector('.tln small').textContent, l: r.querySelector('.tlb').style.getPropertyValue('--l'), ww: r.querySelector('.tlb').style.getPropertyValue('--w'), bd: r.classList.contains('bd') })), today: !!document.querySelector('#ibBody .tlplot .td'), none: document.querySelector('#ibBody .tlnone').textContent }));
|
|
106
107
|
ok('B6 a bar for each initiative with both dates, with days left or over; the others are counted and not drawn', tl.rows.length === 3 && tl.rows[0].t === 'Self-serve onboarding v2' && tl.rows[0].n === '7' && tl.rows[0].w === 'days over' && tl.rows[2].w === 'days left' && /4 initiatives have no dates on record/.test(tl.none) && tl.today, JSON.stringify(tl));
|
|
107
108
|
ok('B6 each bar sits inside the scale', tl.rows.every((r) => parseFloat(r.l) >= 0 && parseFloat(r.l) + parseFloat(r.ww) <= 100.01) && tl.rows[0].bd);
|
|
108
109
|
{
|
|
109
110
|
const f = F.facts(); f.rows = f.rows.map((r) => ({ ...r, start: null, end: null }));
|
|
110
|
-
const R = await open({ model: BP.build(f) }); await
|
|
111
|
+
const R = await open({ model: BP.build(f) }); await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(R.page, 'time');
|
|
111
112
|
ok('B6 with no dates anywhere it draws nothing and says so', await R.page.evaluate(() => document.querySelectorAll('#ibBody .tlr').length === 0 && /No initiative has both a start and an end date on record/.test(document.querySelector('#ibBody').textContent)));
|
|
112
113
|
await R.ctx.close();
|
|
113
114
|
}
|
|
114
|
-
await
|
|
115
|
+
await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(p, 'list');
|
|
115
116
|
|
|
116
117
|
/* B9 B8 */
|
|
117
118
|
ok('B9 with no Jira read the sprint card says so and draws nothing', await p.evaluate(() => /No sprint is on record/.test(document.querySelector('#sprBody').textContent) && document.querySelector('#sprCap').textContent === 'none' && !document.querySelector('#sprBody .spr')));
|
|
@@ -216,9 +217,9 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
216
217
|
const R = await open({ w: 390, h: 844, theme }), q = R.page;
|
|
217
218
|
const m = await q.evaluate(() => { const small = [...document.querySelectorAll('#ibTabs button, #ibBody .ini2, #docBody .dmcta, #bsw')].filter((b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0 && b.getBoundingClientRect().height < 44).map((b) => b.className + ':' + Math.round(b.getBoundingClientRect().height)); return { over: document.documentElement.scrollWidth > innerWidth + 1, small }; });
|
|
218
219
|
ok(`B13 at 390 px (${theme}) the page has no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0, JSON.stringify(m));
|
|
219
|
-
await
|
|
220
|
+
await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(q, 'stages'); await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(q, 'time');
|
|
220
221
|
ok(`B13 at 390 px (${theme}) the stage and timeline views do not scroll sideways`, await q.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1));
|
|
221
|
-
await
|
|
222
|
+
await (async (pg, v) => { if (await pg.locator('#ibTabs').isHidden()) await pg.click('#ibF'); await pg.click(`#ibTabs [data-v="${v}"]`); })(q, 'list'); await q.locator('#ibBody .ini2').first().click(); await until(() => q.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(900);
|
|
222
223
|
const g = await q.evaluate(() => { const r = document.querySelector('#dlg').getBoundingClientRect(); return { l: Math.round(r.left), w: Math.round(r.width), vw: innerWidth, tabs: getComputedStyle(document.querySelector('#dTabs')).display }; });
|
|
223
224
|
ok(`B13 at 390 px (${theme}) the dialog is full width and its Detail / Conversation switch is shown`, g.l === 0 && g.w === g.vw && g.tabs !== 'none', JSON.stringify(g));
|
|
224
225
|
await R.ctx.close();
|
|
@@ -250,8 +251,8 @@ const MOCKUP = path.join(__dirname, '..', 'prototype', 'premium-ux-concept', 'br
|
|
|
250
251
|
/* B13 fidelity against the mockup */
|
|
251
252
|
if (!fs.existsSync(MOCKUP)) ok('B13 the mockup is in the repository', false, MOCKUP);
|
|
252
253
|
else {
|
|
253
|
-
const PAIRS = [['rail', '.rail'], ['card', '#cIni'], ['heading', '#hIni'], ['
|
|
254
|
-
const SKIP_W = ['row', 'title', 'subtitle', 'stage', 'finish', 'tag', 'dmr', 'dmt', 'dmd', 'cta', 'segs', 'progress', 'spr', 'docs', 'card', '
|
|
254
|
+
const PAIRS = [['rail', '.rail'], ['card', '#cIni'], ['heading', '#hIni'], ['inih', '.inih'], ['row', '.ini2'], ['title', '.ini2 .it b'], ['subtitle', '.ini2 .it small'], ['stage', '.ini2 .wst em'], ['segs', '.ini2 .sg2'], ['progress', '.ini2 .pg i'], ['finish', '.ini2 .rl'], ['tag', '.tgf'], ['docs', '#cDocs'], ['dmr', '.dmr'], ['dmi', '.dmi'], ['dmt', '.dmn b'], ['dmd', '.dmn>small'], ['cta', '.dmcta.alt'], ['dock', '.dock']];
|
|
255
|
+
const SKIP_W = ['row', 'title', 'subtitle', 'stage', 'finish', 'tag', 'dmr', 'dmt', 'dmd', 'cta', 'segs', 'progress', 'spr', 'docs', 'card', 'heading', 'inih'];
|
|
255
256
|
const PROPS = ['fontSize', 'fontWeight', 'fontFamily', 'color', 'backgroundColor', 'borderRadius', 'paddingTop', 'paddingLeft', 'letterSpacing', 'lineHeight', 'boxShadow', 'backdropFilter', 'borderTopColor'];
|
|
256
257
|
const grab = (pg) => pg.evaluate(([pairs, props]) => { const o = {}; for (const [n, s0] of pairs) { const s = (n === 'rail' || n === 'dock') ? s0 : 'main.stage:not([hidden]) ' + s0; const e = document.querySelector(s); if (!e) { o[n] = null; continue; } const cs = getComputedStyle(e), r = e.getBoundingClientRect(), v = { left: Math.round(r.left), width: Math.round(r.width) }; props.forEach((k) => { v[k] = cs[k]; }); o[n] = v; } return o; }, [PAIRS, PROPS]);
|
|
257
258
|
for (const [w, h] of [[1280, 900], [390, 844]]) for (const th of ['light', 'dark']) {
|
|
@@ -76,6 +76,7 @@ const ready = (model) => ({ status: 200, body: { ok: true, state: 'ready', model
|
|
|
76
76
|
ok('C2 merges, blocked and idle are counted; blocked and idle chart from today and say plainly that their history starts today', tiles[1].v === '3' && tiles[1].chart && tiles[2].v === '1' && tiles[2].c === 'of 3 open · history starts today' && tiles[2].chart && tiles[3].v === '1' && tiles[3].c === 'of 3 open · history starts today' && tiles[3].chart && /\bbad\b/.test(tiles[2].cls) && /\bwarn\b/.test(tiles[3].cls), JSON.stringify(tiles));
|
|
77
77
|
const per = await p.evaluate(() => [...document.querySelectorAll('#perTabs button')].map((b) => b.textContent + ':' + b.getAttribute('aria-pressed') + ':' + (b.getAttribute('aria-disabled') || '')).join('|'));
|
|
78
78
|
ok('C2 only Week is available; Day and Month are disabled', per === 'Day:false:true|Week:true:|Month:false:true', per);
|
|
79
|
+
ok('C2 Day and Month hold no count, so only Week shows, as one quiet chip (premium-calmer-first-screen)', await p.evaluate(() => [...document.querySelectorAll('#perTabs button')].filter((b) => getComputedStyle(b).display !== 'none').map((b) => b.textContent).join() === 'Week'));
|
|
79
80
|
ok('C2 no target, on-target chip, dashed line or demo label is drawn; the lead line says no measure has a target', await p.evaluate(() => !document.querySelector('#cMet .mchip.ok, #cMet .tg, #cMet .tgl') && !/on target|demo|dashed/i.test(document.querySelector('#metBody').textContent) && /No measure here has a target/.test(document.querySelector('#metHint').textContent)));
|
|
80
81
|
const look = await p.evaluate(() => ({ chips: [...document.querySelectorAll('#metBody .mt1')].map((t) => (t.querySelector('.mchip') || {}).textContent || ''), off: [...document.querySelectorAll('#metBody .mt1')].map((t) => t.classList.contains('off')), lead: (document.querySelector('#metHint .mflag') || {}).textContent || '', ins: (document.querySelector('#metHint a#metIns') || {}).getAttribute ? document.querySelector('#metHint a#metIns').getAttribute('href') : '' }));
|
|
81
82
|
ok('C2 the tiles that need a look carry the chip and the orange outline; the lead line counts them and links to Insights', JSON.stringify(look.off) === JSON.stringify(tiles.map((t) => /\b(warn|bad)\b/.test(t.cls))) && look.chips.every((c, i) => (c === 'Needs a look') === look.off[i]) && look.lead === look.off.filter(Boolean).length + ' of 4 need a look.' && /^\/premium-insights\.html\?ws=/.test(look.ins), JSON.stringify(look));
|
|
@@ -112,7 +113,7 @@ const ready = (model) => ({ status: 200, body: { ok: true, state: 'ready', model
|
|
|
112
113
|
await p.locator('#metBody .mt1').nth(2).click(); await until(() => p.evaluate(() => document.querySelector('#dlg').classList.contains('on'))); await sleep(400);
|
|
113
114
|
ok('C4 Blocked opens its definition, and the weeks before its history started read Not kept yet', await p.evaluate(() => { const v = [...document.querySelectorAll('#oMain .vtb div b')].map((b) => b.textContent); return document.querySelector('#dTitle').textContent === 'Blocked' && /blocked step/.test(document.querySelector('#oMain .lede').textContent) && v.length === 8 && v.slice(0, 7).every((x) => x === 'Not kept yet') && v[7] === '1'; }));
|
|
114
115
|
await p.keyboard.press('Escape'); await until(() => p.evaluate(() => !document.querySelector('#dlg').classList.contains('on')));
|
|
115
|
-
await p
|
|
116
|
+
await p.$eval('#perTabs [data-per="day"]', (b) => b.click()); ok('C4 a disabled period says why and changes nothing', await until(() => p.evaluate(() => /by week only/.test(document.querySelector('#toast').textContent))) && await p.evaluate(() => document.querySelector('#perTabs [data-per="week"]').getAttribute('aria-pressed') === 'true'));
|
|
116
117
|
ok('0 no page error', A.errors.length === 0, A.errors.join(' | '));
|
|
117
118
|
await A.ctx.close();
|
|
118
119
|
|
|
@@ -191,9 +192,9 @@ const ready = (model) => ({ status: 200, body: { ok: true, state: 'ready', model
|
|
|
191
192
|
/* C8 fidelity against the mockup */
|
|
192
193
|
if (!fs.existsSync(MOCKUP)) ok('C8 the mockup is in the repository', false, MOCKUP);
|
|
193
194
|
else {
|
|
194
|
-
const SEL = [['card', '#cMet'], ['heading', '#hMet'], ['hint', '#cMet .mhint'], ['
|
|
195
|
-
const SKIP_W = new Set(['hint', 'note', 't1val', 't1cap', 't1chg', 't1foot', 't3val', 't3cap', 't4lab', 'heading'
|
|
196
|
-
const SKIP_L = new Set(['t1val', 't1cap', 't1chg', 't1foot', 't3val', 't3cap', 't4lab', 'hint', 'note'
|
|
195
|
+
const SEL = [['card', '#cMet'], ['heading', '#hMet'], ['hint', '#cMet .mhint'], ['note', '#cMet .note'], ['t1', '#cMet .mt1:nth-child(1)'], ['t1val', '#cMet .mt1:nth-child(1) .mval'], ['t1cap', '#cMet .mt1:nth-child(1) .mwk'], ['t1chg', '#cMet .mt1:nth-child(1) .mchg'], ['t1svg', '#cMet .mt1:nth-child(1) svg'], ['t1line', '#cMet .mt1:nth-child(1) .ln2'], ['t1dot', '#cMet .mt1:nth-child(1) .dt'], ['t1foot', '#cMet .mt1:nth-child(1) .mfoot'], ['t3', '#cMet .mt1:nth-child(3)'], ['t3val', '#cMet .mt1:nth-child(3) .mval'], ['t3cap', '#cMet .mt1:nth-child(3) .mwk'], ['t4', '#cMet .mt1:nth-child(4)'], ['t4lab', '#cMet .mt1:nth-child(4) span']];
|
|
196
|
+
const SKIP_W = new Set(['hint', 'note', 't1val', 't1cap', 't1chg', 't1foot', 't3val', 't3cap', 't4lab', 'heading']);
|
|
197
|
+
const SKIP_L = new Set(['t1val', 't1cap', 't1chg', 't1foot', 't3val', 't3cap', 't4lab', 'hint', 'note']);
|
|
197
198
|
const PROPS = ['fontSize', 'fontWeight', 'fontFamily', 'color', 'backgroundColor', 'borderRadius', 'paddingTop', 'paddingLeft', 'letterSpacing', 'lineHeight', 'boxShadow', 'stroke', 'strokeWidth', 'fill', 'marginTop'];
|
|
198
199
|
const grab = (pg) => pg.evaluate(([pairs, props]) => { const o = {}; for (const [n, s] of pairs) { const e = document.querySelector('main.stage:not([hidden]) ' + s); if (!e) { o[n] = null; continue; } const cs = getComputedStyle(e), r = e.getBoundingClientRect(), v = { left: Math.round(r.left), width: Math.round(r.width) }; props.forEach((k) => { v[k] = cs[k]; }); o[n] = v; } return o; }, [SEL, PROPS]);
|
|
199
200
|
for (const [w, h] of [[1280, 900], [390, 844]]) for (const th of ['light', 'dark']) {
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.372.0",
|
|
4
|
+
"at": "2026-10-21T02:53:20.808Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 981,
|
|
9
|
+
"t": "The Board's first screen has quiet chips, not two segmented rows (calmer first screen 4/5)",
|
|
10
|
+
"s": "The Board's first screen has quiet chips, not two segmented rows (calmer first screen 4/5)"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"v": "0.371.0",
|
|
4
16
|
"at": "2026-10-21T02:38:31.758Z",
|
|
@@ -304,13 +304,14 @@ Not drawn, because no record backs them: answers and ideas an agent files by its
|
|
|
304
304
|
Board is the fourth place on the rail, after Chat, at `/premium-board.html`. It reads what the production Initiatives page reads, for one board at a time, and shows a switcher only when more than one board is registered. The first time it takes a few seconds, because the routes derive every initiative. The page says "Reading the board" with the seconds, shows nothing in place of a guess, and asks again.
|
|
305
305
|
|
|
306
306
|
- **The header** counts the board's open initiatives: how many are on track, at risk, late and on hold, with a bar. A zero is shown.
|
|
307
|
+
- **The view chip** in the Initiatives head says which view is shown (List, By stage or Timeline); press it to pick another.
|
|
307
308
|
- **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.
|
|
308
309
|
- **By stage** has one column for each stage of the board's workflow with the board's own count and its first five initiatives.
|
|
309
310
|
- **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 both a start and an end date, with the days left or over, and counts the rest. With no dates on record it says so and draws nothing.
|
|
310
311
|
- **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.
|
|
311
312
|
- **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.
|
|
312
313
|
- **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."
|
|
313
|
-
- **Metrics** appears above the Initiatives card on the board of any workspace except the home one (PMOS itself), and counts from that workspace's own repository. It has four tiles. **Corrections per 100 runs** is the corrections logged on the week's runs in `planning/runs/agent-runs.jsonl`; a week with fewer than 10 runs is left blank. **Merged a week** counts the commits on the first-parent line of the trunk. **Blocked** and **Idle for a month** come from the workflow engine, which keeps no history. From the first day the card is read, PMOS keeps their counts once a day in the workspace's state folder (`board-metric-history.jsonl`), so their charts start on that day and their caption says **history starts today** (later, the date). Earlier weeks read **Not kept yet**. Move over a chart, or use the arrow keys, to read a week. A tile that cannot be counted says **Not read** and why; a repository with no run log says **No runs yet**. The line above the tiles starts with how many tiles need a look, and those tiles have a **Needs a look** chip and an orange outline. The line ends with **open Insights**, which opens the same board's Insights page. Press a tile for its definition and values, with the read-only agent beside it. A target is set on Insights, not here. A measure with a target shows it under the value, draws it as a dashed line, and carries **On target** or its gap (for example **2 short**); off target, it also has the orange outline. A measure without a target draws no line. Day and Month are off. It was tested only on made-up repositories, not on a real IDPF or microsite repository.
|
|
314
|
+
- **Metrics** appears above the Initiatives card on the board of any workspace except the home one (PMOS itself), and counts from that workspace's own repository. It counts by week only, so its period shows as one **Week** chip. A tile still being read says Reading; open it to see why. It has four tiles. **Corrections per 100 runs** is the corrections logged on the week's runs in `planning/runs/agent-runs.jsonl`; a week with fewer than 10 runs is left blank. **Merged a week** counts the commits on the first-parent line of the trunk. **Blocked** and **Idle for a month** come from the workflow engine, which keeps no history. From the first day the card is read, PMOS keeps their counts once a day in the workspace's state folder (`board-metric-history.jsonl`), so their charts start on that day and their caption says **history starts today** (later, the date). Earlier weeks read **Not kept yet**. Move over a chart, or use the arrow keys, to read a week. A tile that cannot be counted says **Not read** and why; a repository with no run log says **No runs yet**. The line above the tiles starts with how many tiles need a look, and those tiles have a **Needs a look** chip and an orange outline. The line ends with **open Insights**, which opens the same board's Insights page. Press a tile for its definition and values, with the read-only agent beside it. A target is set on Insights, not here. A measure with a target shows it under the value, draws it as a dashed line, and carries **On target** or its gap (for example **2 short**); off target, it also has the orange outline. A measure without a target draws no line. Day and Month are off. It was tested only on made-up repositories, not on a real IDPF or microsite repository.
|
|
314
315
|
- **The top bar** names the page and the board. With more than one board a menu switches between them, and **Chat** in the rail opens the Chat page on the board's conversation.
|
|
315
316
|
- **Core documents** lists the board's documents with their state, cadence and writer, a summary (drafts to review, not started, up to date), a progress bar, a filter and a search. A document with a file opens in the dialog, read only, with its path and state; a draft there has **Issue it**, which marks it issued through the console's own route and sends nothing, and **Draft it again**, which starts a new draft that replaces this one (a board draft has no Edit tab). **Draft it** starts the existing read-only run that writes a draft and sends nothing; **Draft the N not started** does that for each document that can be drafted. **Open** stays on premium pages: the backlog goes to this page's initiatives, new asks to its New asks card, releases to the release dialog, a Horizon scan to the Briefing's Horizon scan, and **Set it up** for a report to Insights. **Add a document** opens a form (title, who writes it, where it lives) and saves a document the core set does not cover on the board's record, in `custom-docs.jsonl`. A document with no link reads "Not started". A document with a link to Confluence or Google Docs reads "Linked" and shows its address. PMOS does not read or sync the linked page, so a linked document is never counted as up to date. Issue and Drop are not on this page.
|
|
316
317
|
- **Opening an initiative.** A click on an initiative opens its page (see "Initiative page"). **Open initiatives** (Page or Popup) in the ⋯ menu changes that: Popup opens the initiative's dialog instead, which shows its record as a grid and the path of its file, with the read-only agent beside it. The choice is kept in this browser. The dialog holds no press.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.372.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.372.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/workspace/package.json
CHANGED
|
@@ -81,9 +81,15 @@ function drawInit() {
|
|
|
81
81
|
const bar = $('#iniBar'); bar.hidden = !I.cap; if (I.cap) { bar.setAttribute('aria-valuemax', I.cap.open); bar.setAttribute('aria-valuenow', I.cap.on); $('b', bar).style.width = (I.cap.open ? I.cap.on / I.cap.open * 100 : 0) + '%'; }
|
|
82
82
|
$('#ibBody').innerHTML = view === 'list' ? drawList() : view === 'stages' ? drawStages() : drawTime();
|
|
83
83
|
$('#iniNote').textContent = I.note;
|
|
84
|
-
$$('#ibTabs button').forEach((b) => b.setAttribute('aria-pressed', b.dataset.v === view));
|
|
84
|
+
$$('#ibTabs button').forEach((b) => b.setAttribute('aria-pressed', b.dataset.v === view));
|
|
85
|
+
{ const cur = $(`#ibTabs [data-v="${view}"]`).textContent; $('#ibF').firstChild.textContent = cur; $('#ibF').setAttribute('aria-label', 'View: ' + cur); }
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
+
/* the view is one chip in the card's head; List, By stage and Timeline wait in its menu (premium-calmer-first-screen) */
|
|
88
|
+
function ibMenu(open) { $('#ibTabs').hidden = !open; $('#ibF').setAttribute('aria-expanded', String(open)); }
|
|
89
|
+
$('#ibF').addEventListener('click', () => { const open = $('#ibTabs').hidden; ibMenu(open); if (open) $('#ibTabs [aria-pressed="true"]').focus(); });
|
|
90
|
+
document.addEventListener('click', (e) => { if (!$('#ibTabs').hidden && !e.target.closest('#ibTabs, #ibF')) ibMenu(false); });
|
|
91
|
+
document.addEventListener('keydown', (e) => { if (e.key === 'Escape' && !$('#ibTabs').hidden) { ibMenu(false); $('#ibF').focus(); } });
|
|
92
|
+
$('#ibTabs').addEventListener('click', (e) => { const b = e.target.closest('[data-v]'); if (!b) return; ibMenu(false); view = b.dataset.v; drawInit(); $('#ibF').focus(); });
|
|
87
93
|
$('#ibBody').addEventListener('click', (e) => {
|
|
88
94
|
if (e.target.closest('#more')) { shown += 25; drawInit(); return; }
|
|
89
95
|
if (e.target.closest('#goneT')) { showGone = !showGone; drawInit(); const g = $('#goneT'); if (g) g.focus(); return; }
|
|
@@ -17,7 +17,7 @@ export const fmt = (m, v) => (+v).toFixed(m.dec) + (m.suf || '');
|
|
|
17
17
|
const lastJ = (t) => t.ser.reduce((a, v, j) => (v != null ? j : a), 0);
|
|
18
18
|
|
|
19
19
|
export function tileHtml(t, i) {
|
|
20
|
-
if (t.absent) return `<div class="mt1" data-m="${i}" data-op="m:${i}" tabindex="0" role="button" aria-label="${esc(t.label)}: ${esc(t.absent)}. ${esc(t.why)}"><span>${esc(t.label)}</span><b class="mval">${esc(t.absent)}</b><em class="mwk">${esc(t.why)}</em></div>`;
|
|
20
|
+
if (t.absent) return `<div class="mt1 abs" data-m="${i}" data-op="m:${i}" tabindex="0" role="button" aria-label="${esc(t.label)}: ${esc(t.absent)}. ${esc(t.why)}"><span>${esc(t.label)}</span><b class="mval">${esc(t.absent)}</b><em class="mwk">${esc(t.why)}</em></div>`;
|
|
21
21
|
const chip = t.tg != null ? `<i class="mchip ${t.ok ? 'ok' : 'warn'}">${esc(t.chip)}</i>` : t.look ? '<i class="mchip warn">Needs a look</i>' : '';
|
|
22
22
|
const lab = chip ? `<span class="mlab">${esc(t.label)}${chip}</span>` : `<span>${esc(t.label)}</span>`, off = t.look ? ' off' : '';
|
|
23
23
|
const tgt = t.tg != null ? `<em class="mtg">${esc(t.targetTxt)}</em>` : '';
|
|
@@ -1526,6 +1526,10 @@ button.dsn:hover{box-shadow:inset 0 0 0 1.5px rgb(79,109,245)}
|
|
|
1526
1526
|
@media (max-width:700px){.ibt>.mt1:last-child:nth-child(odd){grid-column:1/-1}}
|
|
1527
1527
|
.ch .mper button{height:30px;padding:0 14px;font-size:var(--fs-2)}
|
|
1528
1528
|
.ch .mper button[aria-disabled="true"]{opacity:.4;cursor:not-allowed}
|
|
1529
|
+
/* calmer first screen: PMOS counts the Board's measures by week only, so the period shows as one quiet Week chip; a tile still reading says "Reading" and keeps the why for its detail */
|
|
1530
|
+
#perTabs button[aria-disabled="true"]{display:none}
|
|
1531
|
+
#perTabs .pill{background:transparent}#perTabs button[aria-pressed="true"]{color:var(--ink)}
|
|
1532
|
+
.mt1.abs .mwk{display:none}
|
|
1529
1533
|
#cMet .ch{flex-wrap:wrap;gap:10px}
|
|
1530
1534
|
.mhint{margin:2px 0 14px;color:var(--ink-2);font-size:var(--fs-2);line-height:1.55;max-width:78ch}
|
|
1531
1535
|
.mhint b{color:var(--ink)}
|
|
@@ -47,10 +47,9 @@
|
|
|
47
47
|
<div class="bcols">
|
|
48
48
|
<div>
|
|
49
49
|
<section class="card rise" style="--d:5" id="cIni" aria-labelledby="hIni">
|
|
50
|
-
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg></span><h2 id="hIni">Initiatives</h2><small id="iniCap"></small><button class="fold alt dmadd2" id="newIni" type="button" hidden>New initiative</button></div>
|
|
50
|
+
<div class="ch"><span class="ic"><svg class="i" viewBox="0 0 24 24"><path d="M12 3 3 8l9 5 9-5z"/><path d="m3 13 9 5 9-5"/></svg></span><h2 id="hIni">Initiatives</h2><small id="iniCap"></small><span class="lfw"><button type="button" class="lfchip" id="ibF" aria-haspopup="true" aria-expanded="false" aria-controls="ibTabs" aria-label="View: List">List<svg class="i" viewBox="0 0 24 24" aria-hidden="true"><path d="m7 10 5 5 5-5"/></svg></button><span class="lfmenu glass" id="ibTabs" role="group" aria-label="Initiatives view" hidden><button type="button" data-v="list" aria-pressed="true">List</button><button type="button" data-v="stages" aria-pressed="false">By stage</button><button type="button" data-v="time" aria-pressed="false">Timeline</button></span></span><button class="fold alt dmadd2" id="newIni" type="button" hidden>New initiative</button></div>
|
|
51
51
|
<div class="mprog" id="iniBar" role="progressbar" aria-label="Open initiatives on track" aria-valuemin="0" hidden><b></b></div>
|
|
52
|
-
|
|
53
|
-
<div id="ibBody"></div>
|
|
52
|
+
<div id="ibBody"></div>
|
|
54
53
|
<p class="note" id="iniNote" style="margin-top:12px"></p>
|
|
55
54
|
</section>
|
|
56
55
|
</div>
|