create-pmos 0.552.0 → 0.554.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 +33 -27
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/briefing-premium-board-test.js +4 -4
- package/workspace/briefing-premium-initiative-test.js +2 -2
- package/workspace/briefing-premium-test.js +1 -1
- package/workspace/changelog.json +32 -0
- package/workspace/chat-asks-test.js +5 -5
- package/workspace/ev-everywhere-test.js +2 -2
- package/workspace/goals-clear-ui-test.js +1 -1
- package/workspace/guide/agent-capabilities.md +31 -31
- package/workspace/guide/claude-proposes.md +68 -68
- package/workspace/guide/cli.md +22 -22
- package/workspace/guide/cloud.md +3 -3
- package/workspace/guide/home.md +38 -38
- package/workspace/guide/index.md +5 -5
- package/workspace/guide/intelligence-okr-goals.md +4 -4
- package/workspace/guide/layout.md +23 -23
- package/workspace/guide/notes.md +8 -8
- package/workspace/guide/programs.md +18 -18
- package/workspace/guide/reports.md +16 -16
- package/workspace/guide/settings-and-switches.md +37 -37
- package/workspace/guide/statuses.md +3 -3
- package/workspace/home-other-product-test.js +8 -8
- package/workspace/home-pill-test.js +3 -3
- package/workspace/home-rows-test.js +7 -7
- package/workspace/intel-report-ui-test.js +1 -1
- package/workspace/intelligence-gaps-ui-test.js +2 -2
- package/workspace/lib/agent-roles.js +1 -1
- package/workspace/lib/autonomy.js +1 -1
- package/workspace/lib/bg-queue.js +1 -1
- package/workspace/lib/board-pack-route.js +18 -2
- package/workspace/lib/briefing-premium-agent.js +2 -2
- package/workspace/lib/decision-memory.js +2 -2
- package/workspace/lib/driver-decide.js +2 -2
- package/workspace/lib/driver.js +6 -2
- package/workspace/lib/folder-needs.js +1 -1
- package/workspace/lib/goal-chat.js +5 -5
- package/workspace/lib/goal-watch.js +1 -1
- package/workspace/lib/grill-runs.js +5 -5
- package/workspace/lib/idle-lab.js +5 -5
- package/workspace/lib/impact-runs.js +2 -2
- package/workspace/lib/job-graph.js +2 -2
- package/workspace/lib/metric-draft-runs.js +4 -4
- package/workspace/lib/metric-read-runs.js +5 -5
- package/workspace/lib/news-for-you.js +1 -1
- package/workspace/lib/proposal-runs.js +6 -6
- package/workspace/lib/refresh.js +1 -1
- package/workspace/lib/routes-board-premium.js +1 -1
- package/workspace/lib/routes-goal-status.js +4 -4
- package/workspace/lib/routes-impact.js +1 -1
- package/workspace/lib/routes-insight-moves.js +1 -1
- package/workspace/lib/routes-loose.js +2 -2
- package/workspace/lib/routes-mentions.js +1 -1
- package/workspace/lib/routes-metric-drafts.js +9 -9
- package/workspace/lib/routes-proposals.js +8 -8
- package/workspace/lib/routes-ready-reports.js +1 -1
- package/workspace/lib/routes-slash.js +1 -1
- package/workspace/lib/source-heal.js +3 -3
- package/workspace/lib/state-root.js +22 -1
- package/workspace/lib/task-items.js +1 -1
- package/workspace/lib/task-links.js +2 -2
- package/workspace/lib/today.js +2 -2
- package/workspace/live-pill-round-test.js +1 -1
- package/workspace/metric-drafts-ui-test.js +1 -1
- package/workspace/milestone-suggest-test.js +5 -5
- package/workspace/news-viewers-test.js +3 -3
- package/workspace/okr-goals-ui-test.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-chat-chart-tab-test.js +1 -1
- package/workspace/premium-chat-context-test.js +4 -4
- package/workspace/premium-chat-goal-setup-test.js +3 -3
- package/workspace/premium-chat-goal-view-test.js +1 -1
- package/workspace/premium-chat-line-test.js +6 -6
- package/workspace/premium-chat-notes-test.js +4 -4
- package/workspace/premium-chat-report-tab-test.js +4 -4
- package/workspace/premium-rec-now-test.js +2 -2
- package/workspace/public/pm/batch-press.js +4 -4
- package/workspace/public/pm/bd-fc-card.js +1 -1
- package/workspace/public/pm/bd-goal.js +39 -2
- package/workspace/public/pm/bd-next.js +10 -10
- package/workspace/public/pm/bd-prog-panel.js +5 -5
- package/workspace/public/pm/bd-views.js +9 -4
- package/workspace/public/pm/chat-ask.js +1 -1
- package/workspace/public/pm/chat-context.js +3 -3
- package/workspace/public/pm/cozy-board.css +15 -0
- package/workspace/public/pm/cozy-evmodel.js +1 -1
- package/workspace/public/pm/cozy-home.css +1 -1
- package/workspace/public/pm/cozy-lab-ins.js +4 -4
- package/workspace/public/pm/cozy-lab.js +1 -1
- package/workspace/public/pm/cozy-news.js +2 -2
- package/workspace/public/pm/cozy-onboard.js +2 -2
- package/workspace/public/pm/cozy-rec-now.js +5 -5
- package/workspace/public/pm/cozy-rec-present.js +1 -1
- package/workspace/public/pm/cozy-reveal.js +2 -2
- package/workspace/public/pm/cozy-settings.js +19 -19
- package/workspace/public/pm/cozy-steps.js +2 -2
- package/workspace/public/pm/cozy-viewer.js +1 -1
- package/workspace/public/pm/ctx-wedge.js +1 -1
- package/workspace/public/pm/dash-view.js +1 -1
- package/workspace/public/pm/goal-chat.js +6 -6
- package/workspace/public/pm/good-morning.js +2 -2
- package/workspace/public/pm/grill-words.js +1 -1
- package/workspace/public/pm/home-app.js +19 -19
- package/workspace/public/pm/home-ask.js +1 -1
- package/workspace/public/pm/home-chat.js +6 -6
- package/workspace/public/pm/home-data.js +2 -2
- package/workspace/public/pm/home-day.js +3 -3
- package/workspace/public/pm/home-drift.js +1 -1
- package/workspace/public/pm/home-goal.js +1 -1
- package/workspace/public/pm/home-impact.js +1 -1
- package/workspace/public/pm/home-ini.js +1 -1
- package/workspace/public/pm/home-line.js +5 -5
- package/workspace/public/pm/home-mentions.js +4 -4
- package/workspace/public/pm/home-moment.js +1 -1
- package/workspace/public/pm/home-need.js +1 -1
- package/workspace/public/pm/home-phone-card.js +1 -1
- package/workspace/public/pm/home-stage-card.js +2 -2
- package/workspace/public/pm/home-sweep.js +1 -1
- package/workspace/public/pm/home-today.js +2 -2
- package/workspace/public/pm/ini-about.js +2 -2
- package/workspace/public/pm/ini-agent.js +5 -5
- package/workspace/public/pm/ini-links.js +5 -5
- package/workspace/public/pm/ini-props.js +11 -11
- package/workspace/public/pm/ini-view-model.js +1 -1
- package/workspace/public/pm/ini-view.js +2 -2
- package/workspace/public/pm/intent.js +3 -3
- package/workspace/public/pm/loose-props.js +5 -5
- package/workspace/public/pm/metric-drafts.js +1 -1
- package/workspace/public/pm/ms-suggest.js +3 -3
- package/workspace/public/pm/next-prompt-ui.js +2 -2
- package/workspace/public/pm/okr-list.js +1 -1
- package/workspace/public/pm/page-chat.js +2 -2
- package/workspace/public/pm/premium-attach.js +1 -1
- package/workspace/public/pm/premium-board.js +15 -8
- package/workspace/public/pm/premium-initiative-head.js +1 -1
- package/workspace/public/pm/premium-insights.js +3 -3
- package/workspace/public/pm/premium-meeting.js +1 -1
- package/workspace/public/pm/premium-mtg-replay.js +1 -1
- package/workspace/public/pm/premium-notes.js +2 -2
- package/workspace/public/pm/premium-report-read.js +6 -6
- package/workspace/public/pm/premium-report-tab.js +7 -7
- package/workspace/public/pm/premium-shell.js +18 -18
- package/workspace/public/pm/premium-vw-ctx.js +3 -3
- package/workspace/public/pm/premium-vw-jira.js +1 -1
- package/workspace/public/pm/premium-welcome.js +1 -1
- package/workspace/public/pm/prog-order.js +2 -2
- package/workspace/public/pm/program-charter.js +3 -3
- package/workspace/public/pm/program-model.js +1 -1
- package/workspace/public/pm/ready-lib.js +4 -4
- package/workspace/public/pm/report-flow.js +7 -7
- package/workspace/public/pm/report-orders-ui.js +2 -2
- package/workspace/public/pm/split-merge.js +5 -5
- package/workspace/public/pm/story.js +1 -1
- package/workspace/public/pm/task-card.js +1 -1
- package/workspace/public/pm/tk-draft.js +1 -1
- package/workspace/public/pm/tk-send.js +2 -2
- package/workspace/public/pm/wf-page.js +2 -2
- package/workspace/ready-dash-ui-test.js +1 -1
- package/workspace/rec-present-test.js +2 -2
- package/workspace/server.js +12 -8
- package/workspace/session-names-test.js +3 -3
- package/workspace/skills/doc-check.skill +2 -0
- package/workspace/skills/idle-lab-prototype.skill +2 -0
- package/workspace/skills/measure.skill +2 -0
- package/workspace/skills/metric-read.skill +2 -0
- package/workspace/skills/milestone-review.skill +2 -0
- package/workspace/skills/report-biweekly.skill +2 -0
- package/workspace/skills/report-daily.skill +2 -0
- package/workspace/skills/report-design.skill +2 -0
- package/workspace/skills/report-monthly.skill +2 -0
- package/workspace/skills/report-weekly.skill +2 -0
- package/workspace/split-merge-ui-test.js +3 -3
- package/workspace/stage-card-test.js +4 -4
- package/workspace/task-links-test.js +1 -1
- package/workspace/task-views-test.js +7 -7
- package/workspace/tk-tasks-test.js +2 -2
|
@@ -53,18 +53,18 @@ async function pure() {
|
|
|
53
53
|
const HD = await mod('premium-initiative-head.js');
|
|
54
54
|
const CS = await mod('cozy-steps.js');
|
|
55
55
|
const h = { done: [{ kind: 'done', label: 'PRD' }], rest: [
|
|
56
|
-
{ kind: 'agent', label: '
|
|
56
|
+
{ kind: 'agent', label: 'PMOS drafts the note' }, { kind: 'risk', label: 'Rudi’s estimate is blocked', note: 'Late by 2 days' },
|
|
57
57
|
{ kind: 'jira', label: '8 of 12 tickets Done in Jira', jd: 8, jt: 12 }, { kind: 'you', label: 'Weigh the findings', note: '3 findings' },
|
|
58
58
|
{ kind: 'agent', label: 'Work breakdown' }, { kind: 'you', label: 'Your sign-off' }] };
|
|
59
59
|
const R = SC.stepRows(h, { run: { title: 'x', created: new Date(Date.now() - 6 * 6e4).toISOString() } });
|
|
60
60
|
ok('P1 the order: the PM\'s steps first, then the running agent, then late, then waiting', R.open.map((x) => x.state).join() === 'you,you,run,risk,wait,wait', JSON.stringify(R.open.map((x) => x.state)));
|
|
61
61
|
ok('P1 only the first of the PM\'s steps carries the go button (the one primary)', R.open.filter((x) => x.go).length === 1 && R.open[0].go, JSON.stringify(R.open[0]));
|
|
62
|
-
ok('P1 the running step says "Running · N min" with
|
|
62
|
+
ok('P1 the running step says "Running · N min" with PMOS\'s avatar; another agent step waits with a C', R.open[2].note === 'Running · 6 min' && R.open[2].owner.live && R.open.find((x) => x.label === 'Work breakdown').owner.kind === 'claude' && !R.open.find((x) => x.label === 'Work breakdown').owner.live);
|
|
63
63
|
ok('P1 more than 4 open steps show 4 and "N more"', R.shown.length === 4 && R.more === 2);
|
|
64
64
|
ok('P1 "N more" opens them all', SC.stepRows(h, { moreOpen: true }).more === 0);
|
|
65
65
|
const noRun = SC.stepRows(h, {});
|
|
66
66
|
ok('P1 with no session at work there is no spinner: an agent step waits', !noRun.open.some((x) => x.state === 'run'));
|
|
67
|
-
ok('P1 a session at work that no step names gets its own running line', SC.stepRows({ done: [], rest: [] }, { run: { title: '
|
|
67
|
+
ok('P1 a session at work that no step names gets its own running line', SC.stepRows({ done: [], rest: [] }, { run: { title: 'PMOS drafts the brief' } }).open[0].label === 'PMOS drafts the brief');
|
|
68
68
|
ok('P1 a late or blocked step is amber with its reason', R.open[3].state === 'risk' && R.open[3].noteWarn && R.open[3].note === 'Late by 2 days');
|
|
69
69
|
ok('P1 a Jira step carries the ticket bar', R.open.find((x) => x.jira) && R.open.find((x) => x.jira).jira.total === 12);
|
|
70
70
|
ok('P2 the clock: "4 of ~6 days"; just the days with no usual time; nothing with no record', SC.clockText({ n: 4, usual: 6 }) === '4 of ~6 days' && SC.clockText({ n: 9, usual: null }) === '9 days' && SC.clockText(null) === '');
|
|
@@ -223,7 +223,7 @@ async function pure() {
|
|
|
223
223
|
/* D3 the phone, dark: Discover, Plan next (moves on by itself), an agent at work, over its usual time */
|
|
224
224
|
{
|
|
225
225
|
const DB = boardAt('Discover'), since = new Date(Date.parse(DB.today + 'T12:00:00Z') - 9 * 864e5).toISOString().slice(0, 10); // 9 days before the board's own day
|
|
226
|
-
const sessions = [{ id: 's1', name: 'chat:
|
|
226
|
+
const sessions = [{ id: 's1', name: 'chat: PMOS drafts the stakeholder note', agent: 'claude', state: 'running', shown: 'working', origin: 'chat:init:self-serve-v2', created: new Date(Date.now() - 6 * 6e4).toISOString(), hx: { title: 'PMOS drafts the stakeholder note' } }];
|
|
227
227
|
const trail = { ok: true, items: { 'self-serve-v2': { since } }, usual: { discover: { n: 5, days: 7 } }, usualBy: {} };
|
|
228
228
|
const A = await open({ w: 390, h: 844, theme: 'dark', model: SCEN.discover(), board: DB, sessions, trail }), p = A.page;
|
|
229
229
|
ok('D3 the phone draws the same card', A.up);
|
|
@@ -155,7 +155,7 @@ function model() {
|
|
|
155
155
|
await page.locator('#czViewer [data-bp-full]').click();
|
|
156
156
|
await page.waitForSelector('#czViewer .pp [data-pp^="lk:"]', { timeout: 4000 });
|
|
157
157
|
const S1 = await page.evaluate(() => { const m = document.querySelector('#czViewer .pp [data-pp^="lk:"]'); return { title: document.querySelector('#czVwTitle').textContent, text: m.textContent, yes: m.querySelectorAll('[data-pp-keep]').length, no: m.querySelectorAll('[data-pp-droplk]').length }; });
|
|
158
|
-
ok('S1 the ✦ opens "
|
|
158
|
+
ok('S1 the ✦ opens "PMOS proposes 2": the link proposal sits under Links with ✓ and ✕', /PMOS proposes 2/.test(S1.title) && S1.yes === 1 && S1.no === 1 && /Pilot with 3 partners waits on Load test at 3x peak/.test(S1.text), JSON.stringify(S1));
|
|
159
159
|
await shot(page, 'DepBuild4Proposals');
|
|
160
160
|
await page.locator('#czViewer .pp [data-pp^="lk:"] [data-pp-keep]').click();
|
|
161
161
|
await page.waitForTimeout(400);
|
|
@@ -40,9 +40,9 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
40
40
|
|
|
41
41
|
/* the fixture's day is 2026-10-17; Usage-based billing is in Discover */
|
|
42
42
|
const TASKS = [
|
|
43
|
-
{ uid: 'task-a', title: 'Parity check for the 23 documented rows', status: 'In progress', owner: '
|
|
44
|
-
{ uid: 'task-b', title: 'Establish current behaviour for the 8 unverified rows', status: 'To do', owner: '
|
|
45
|
-
{ uid: 'task-c', title: 'Map SDK public methods to v6', status: 'In progress', owner: '
|
|
43
|
+
{ uid: 'task-a', title: 'Parity check for the 23 documented rows', status: 'In progress', owner: 'PMOS', start: '2026-10-14', end: '2026-10-21', section: 'discover' },
|
|
44
|
+
{ uid: 'task-b', title: 'Establish current behaviour for the 8 unverified rows', status: 'To do', owner: 'PMOS', end: '2026-10-21', section: 'discover' },
|
|
45
|
+
{ uid: 'task-c', title: 'Map SDK public methods to v6', status: 'In progress', owner: 'PMOS', start: '2026-10-08', end: '2026-10-10', section: 'discover' },
|
|
46
46
|
{ uid: 'task-d', title: 'Stakeholder review with Security', status: 'To do', owner: 'Wawan', section: 'discover' },
|
|
47
47
|
{ uid: 'task-e', title: 'Kick-off notes with the team', status: 'Done', owner: 'Wawan', end: '2026-10-12', section: 'discover' },
|
|
48
48
|
{ uid: 'task-f', title: 'Drop the legacy export', status: "Won't do", owner: 'Wawan', section: 'discover' },
|
|
@@ -53,8 +53,8 @@ const model = () => { const M = BP.build(F.facts()); const r = M.rows.find((x) =
|
|
|
53
53
|
/* the hotfix's tasks (H*): long titles that start past the first screen, a milestone with a due day only, owners with initials */
|
|
54
54
|
const HTASKS = [
|
|
55
55
|
{ uid: 'h1', title: '11.0 Contract Negotiation with selected vendor and their legal team', status: 'In progress', owner: 'Rina Chen', start: '2026-10-08', end: '2026-10-21' },
|
|
56
|
-
{ uid: 'h2', title: '11.2 Conclude nego, update TC meeting minutes', status: 'To do', owner: '
|
|
57
|
-
{ uid: 'h3', title: '11.3 TC endorse meeting minutes and confirm the candidate', status: 'To do', owner: '
|
|
56
|
+
{ uid: 'h2', title: '11.2 Conclude nego, update TC meeting minutes', status: 'To do', owner: 'PMOS', start: '2026-10-18', end: '2026-10-31' },
|
|
57
|
+
{ uid: 'h3', title: '11.3 TC endorse meeting minutes and confirm the candidate', status: 'To do', owner: 'PMOS', start: '2026-10-29', end: '2026-11-11' },
|
|
58
58
|
{ uid: 'h4', title: 'Award contract', milestone: true, status: 'To do', owner: 'Wawan', end: '2026-10-22' },
|
|
59
59
|
{ uid: 'h5', title: 'Kick-off notes', status: 'Done', owner: 'Wawan', end: '2026-10-12' },
|
|
60
60
|
];
|
|
@@ -394,7 +394,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
394
394
|
await g.click('.tkc.ivq .ivs [data-ivs-by="owner"]');
|
|
395
395
|
const saved = await until(() => G.posts.find((x) => x.path === '/api/initiative-layout'));
|
|
396
396
|
await g.keyboard.press('Escape');
|
|
397
|
-
const heads0 = await until(() => g.evaluate(() => { const h = [...document.querySelectorAll('#czViewer .iv-wbs .iv-ws b')].map((b) => b.textContent); return h.some((x) => /Wawan|
|
|
397
|
+
const heads0 = await until(() => g.evaluate(() => { const h = [...document.querySelectorAll('#czViewer .iv-wbs .iv-ws b')].map((b) => b.textContent); return h.some((x) => /Wawan|PMOS|Rina/.test(x)) ? h : null; }));
|
|
398
398
|
ok('H6 Owner is picked and saved', !!saved && !!heads0, JSON.stringify({ saved: saved && saved.body, heads0 }));
|
|
399
399
|
await g.click('#czViewer [data-iv-check="h2"]');
|
|
400
400
|
await until(() => G.posts.find((x) => x.path === '/api/boards/tasks/state'));
|
|
@@ -402,7 +402,7 @@ const IF = require('./fixtures/initiative-premium-facts.js');
|
|
|
402
402
|
const st = await g.evaluate(() => { const vb = document.querySelector('#czViewer [data-iv-vbtn]'); vb.click(); return null; });
|
|
403
403
|
const by = await until(() => g.evaluate(() => { const b = document.querySelector('.tkc.ivq .ivs [data-ivs-by][aria-pressed="true"], .tkc.ivq .ivs [data-ivs-more][aria-pressed="true"]'); return b ? (b.dataset.ivsBy || b.textContent.trim()) : null; }));
|
|
404
404
|
const heads1 = await g.evaluate(() => [...document.querySelectorAll('#czViewer .iv-wbs .iv-ws b')].map((b) => b.textContent));
|
|
405
|
-
ok('H6 after a task edit the redraw keeps Owner: no fall back to Epic or Stage', by === 'owner' && heads1.some((x) => /Wawan|
|
|
405
|
+
ok('H6 after a task edit the redraw keeps Owner: no fall back to Epic or Stage', by === 'owner' && heads1.some((x) => /Wawan|PMOS|Rina/.test(x)), JSON.stringify({ st, by, heads1 }));
|
|
406
406
|
await G.ctx.close();
|
|
407
407
|
}
|
|
408
408
|
|
|
@@ -60,7 +60,7 @@ SENT.checkedAt = new Date(new Date().setHours(9, 2, 0, 0)).toISOString();
|
|
|
60
60
|
const mk = () => IP.build(F.facts());
|
|
61
61
|
/* the initiative's own tasks, on the Board's row both pages read (the fixture's day is 2026-10-17) */
|
|
62
62
|
const TASKS = [
|
|
63
|
-
{ uid: 'task-a', title: 'Parity check for the 23 documented rows', status: 'In progress', owner: '
|
|
63
|
+
{ uid: 'task-a', title: 'Parity check for the 23 documented rows', status: 'In progress', owner: 'PMOS', start: '2026-10-14', end: '2026-10-21', section: 'discover' },
|
|
64
64
|
{ uid: 'task-b', title: 'Stakeholder review with Security', status: 'To do', owner: 'Wawan', section: 'discover' },
|
|
65
65
|
{ uid: 'task-c', title: 'Plan the rollout', status: 'To do', owner: 'Wawan', start: '2026-11-02', end: '2026-11-06', section: 'plan' },
|
|
66
66
|
{ uid: 'task-d', title: 'Kick-off notes with the team', status: 'Done', owner: 'Wawan', end: '2026-10-12', section: 'discover' },
|
|
@@ -301,7 +301,7 @@ const LAYOUT = { ok: true, auto: true, held: [], by: 'stage', names: [], of: {},
|
|
|
301
301
|
await sheetOpen(e);
|
|
302
302
|
await e.click('.tkc.ivq .ivs [data-ivs-by="owner"]');
|
|
303
303
|
await e.keyboard.press('Escape');
|
|
304
|
-
ok('G5 By owner on the Board: one group per owner', await until(() => e.evaluate((v) => [...document.querySelectorAll(v + ' .iv-wbs .iv-ws b')].map((b) => b.textContent).join('|') === '
|
|
304
|
+
ok('G5 By owner on the Board: one group per owner', await until(() => e.evaluate((v) => [...document.querySelectorAll(v + ' .iv-wbs .iv-ws b')].map((b) => b.textContent).join('|') === 'PMOS|Wawan', V)), JSON.stringify(await heads(e)));
|
|
305
305
|
await shot(e, 'board-owner-1440.png');
|
|
306
306
|
ok('0 Board: no page error', !E.errors.length, E.errors.join(' | '));
|
|
307
307
|
await E.ctx.close();
|