create-pmos 0.537.0 → 0.538.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 +68 -14
- package/payload/KIT-VERSION +2 -2
- 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/payload/state/log.md +1 -1
- package/workspace/board-columns-test.js +11 -10
- package/workspace/board-programs-test.js +21 -23
- package/workspace/board-publish-ui-test.js +19 -15
- package/workspace/board-shared-ui-test.js +15 -12
- package/workspace/briefing-premium-board-test.js +46 -31
- package/workspace/briefing-premium-insights-test.js +24 -31
- package/workspace/briefing-premium-metrics-test.js +2 -2
- package/workspace/calm-timeline-test.js +1 -1
- package/workspace/changelog.json +67 -0
- package/workspace/ev-everywhere-test.js +4 -5
- package/workspace/fixtures/board-premium-facts.js +1 -1
- package/workspace/fixtures/initiative-premium-facts.js +1 -1
- package/workspace/fixtures/insights-premium-facts.js +6 -6
- package/workspace/fixtures/program-ascent.js +1 -1
- package/workspace/guide/adler.md +2 -2
- package/workspace/guide/agent-capabilities.md +38 -6
- package/workspace/guide/board.md +13 -6
- package/workspace/guide/claude-proposes.md +1 -1
- package/workspace/guide/home.md +2 -2
- package/workspace/guide/index.md +3 -3
- package/workspace/guide/intelligence-okr-goals.md +18 -7
- package/workspace/guide/lifecycle.md +2 -2
- package/workspace/guide/programs.md +2 -2
- package/workspace/guide/reports-needs-you.md +5 -5
- package/workspace/guide/settings.md +14 -11
- package/workspace/guide/workflows.md +3 -3
- package/workspace/guide/your-impact.md +1 -1
- package/workspace/lib/agent-team.js +262 -0
- package/workspace/lib/ai-cli.js +36 -4
- package/workspace/lib/bg-queue.js +9 -4
- package/workspace/lib/board-premium.js +6 -3
- package/workspace/lib/goal-source.js +77 -0
- package/workspace/lib/grill-runs.js +6 -3
- package/workspace/lib/headless.js +36 -4
- package/workspace/lib/idle-lab-engine.js +7 -6
- package/workspace/lib/initiative-premium.js +6 -3
- package/workspace/lib/insights-premium.js +1 -1
- package/workspace/lib/job-graph.js +191 -0
- package/workspace/lib/okr-goals.js +3 -0
- package/workspace/lib/orchestrator-keeprate.js +108 -7
- package/workspace/lib/pmos-verbs.js +3 -0
- package/workspace/lib/proposal-runs.js +8 -5
- package/workspace/lib/proposals.js +32 -2
- package/workspace/lib/report-slots.js +14 -10
- package/workspace/lib/routes-boards.js +2 -2
- package/workspace/lib/routes-insights-premium.js +11 -4
- package/workspace/lib/routes-premium-dashboards.js +20 -6
- package/workspace/lib/routes-proposals.js +10 -5
- package/workspace/lib/routes-your-move.js +6 -7
- package/workspace/lib/status-proof.js +45 -0
- package/workspace/lib/status-signal.js +4 -2
- package/workspace/lib/task-links.js +3 -1
- package/workspace/lib/team-cli.js +164 -0
- package/workspace/lib/team-runs.js +244 -0
- package/workspace/lib/verify-runs.js +112 -0
- package/workspace/okr-goals-ui-test.js +10 -13
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/premium-vw-backlog-test.js +2 -2
- package/workspace/premium-vw-jira-test.js +1 -1
- package/workspace/public/pm/bd-acts.js +14 -34
- package/workspace/public/pm/bd-ini-panel.js +38 -27
- package/workspace/public/pm/bd-publish.js +1 -1
- package/workspace/public/pm/bd-span.js +2 -1
- package/workspace/public/pm/bd-views.js +7 -5
- package/workspace/public/pm/c3-ini-ui.js +9 -7
- package/workspace/public/pm/cozy-board.css +17 -6
- package/workspace/public/pm/cozy-insights.css +18 -0
- package/workspace/public/pm/cozy-nav.js +2 -2
- package/workspace/public/pm/cozy-search.js +29 -7
- package/workspace/public/pm/cozy-settings.js +39 -20
- package/workspace/public/pm/home-data.js +3 -1
- package/workspace/public/pm/home-ini-model.js +15 -1
- package/workspace/public/pm/home-ini.js +9 -3
- package/workspace/public/pm/ini-tail.js +61 -0
- package/workspace/public/pm/ini-view-model.js +10 -7
- package/workspace/public/pm/premium-board.js +66 -99
- package/workspace/public/pm/premium-insights.js +95 -112
- package/workspace/public/pm/premium-report-intel.js +3 -2
- package/workspace/public/pm/readonly.js +4 -3
- package/workspace/public/pm/stage-chip.js +2 -1
- package/workspace/public/pm/status-proof.js +43 -0
- package/workspace/public/premium-board.html +10 -28
- package/workspace/public/premium-intelligence.html +7 -9
- package/workspace/server.js +35 -1
- package/workspace/sort-order-test.js +10 -8
- package/workspace/test-files.json +4 -2
- package/workspace/test-lists/agent-team.json +9 -0
- package/workspace/test-lists/job-graph.json +11 -0
- package/workspace/test-lists/status-proof.json +5 -0
- package/workspace/workflows-setup-test.js +3 -2
- package/workspace/public/premium-chat.html +0 -14
- package/workspace/public/premium-initiative.html +0 -15
- package/workspace/public/premium-work.html +0 -14
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<title>PMOS · Intelligence</title>
|
|
8
8
|
<!-- Intelligence (batch 15 item 1; it was Insights, and /premium-insights.html still serves it): ONE page, no tabs, drawn to the frames Iq8Overview,
|
|
9
9
|
Iq8Suggest and Iq8Phone. The ✦ strip, the North Star with its inputs, Claude's drafted metrics, the key results by objective with the health budgets,
|
|
10
|
-
then "Did it work?".
|
|
10
|
+
then "Did it work?". A key result with no reading is not a table row: it waits in "Waiting on a source" (U3). ⋯ holds Reports and dashboards and Export only. Old ?tab=goals|outcomes|library links land on the matching
|
|
11
11
|
section or panel. Before it: the premium Insights in the Agreed design (initiative premium-agreed-design, G1 and G2; before it briefing-premium-insights and insights-one-list),
|
|
12
12
|
with the Uncovered features frames IsGoal, IsTarget, IsLibrary, IsMenus and IsPhone (initiative premium-uncovered-features).
|
|
13
13
|
One bar: the product picker, the tabs Goals, Outcomes and Library, the view, the period and the icon tools. No page header; the floating place menu
|
|
@@ -34,17 +34,13 @@
|
|
|
34
34
|
<div class="cz-tools ins-tools">
|
|
35
35
|
<span class="ins-mw ins-perw"><button type="button" class="cz-chip" id="perChip" aria-haspopup="menu" aria-expanded="false" aria-controls="perMenu"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v14H4zM4 10h16M9 3v4M15 3v4"/></svg><b id="perName">Q4</b><span class="ins-perd" id="perSub"></span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 10l5 5 5-5"/></svg></button><div class="ins-menu ins-permenu" id="perMenu" role="menu" aria-label="Period" hidden></div></span>
|
|
36
36
|
<span class="cz-vr ins-dk"></span>
|
|
37
|
-
<span class="ins-mw"><button type="button" class="cz-ib" id="findB" aria-haspopup="dialog" aria-
|
|
37
|
+
<span class="ins-mw"><button type="button" class="cz-ib" id="findB" aria-haspopup="dialog" aria-label="Find a goal or report. Opens Search" title="Find a goal or report"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M11 4a7 7 0 1 0 0 14a7 7 0 1 0 0-14M20 20l-4-4"/></svg></button></span>
|
|
38
38
|
<span class="ins-mw ins-dk"><button type="button" class="cz-ib" id="filtB" aria-haspopup="dialog" aria-expanded="false" aria-controls="filtMenu" aria-label="Filter by status, owner or kind" title="Filter by status, owner or kind"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><i class="ins-fdot" id="filtDot" hidden></i></button><div class="ins-menu ins-right ins-filtp" id="filtMenu" role="dialog" aria-label="Filter" hidden></div></span>
|
|
39
39
|
<span class="ins-mw"><button type="button" class="cz-ib" id="repB" aria-haspopup="menu" aria-expanded="false" aria-controls="repMenu" aria-label="Make a report from this" title="Make a report from this"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h9l4 4v14H6zM14 3v5h5M9 18v-3M12 18v-6M15 18v-4"/></svg></button><div class="ins-menu ins-right ins-rpmenu" id="repMenu" role="menu" aria-label="Make a report from" hidden></div></span>
|
|
40
40
|
<span class="ins-mw"><button type="button" class="cz-ib solid" id="newB" aria-label="New metric or key result" title="New metric or key result"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg></button></span>
|
|
41
|
-
<span class="ins-mw"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: reports and dashboards,
|
|
41
|
+
<span class="ins-mw"><button type="button" class="cz-ib" id="moreB" aria-haspopup="menu" aria-expanded="false" aria-controls="moreMenu" aria-label="More: reports and dashboards, export" title="More: reports and dashboards, export"><svg viewBox="0 0 24 24" aria-hidden="true" stroke-width="3"><path d="M5 12h.01M12 12h.01M19 12h.01"/></svg></button><div class="ins-menu ins-right" id="moreMenu" role="menu" aria-label="More" hidden>
|
|
42
42
|
<button type="button" role="menuitem" data-more="library"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h9l4 4v14H6zM14 3v5h5M9 13h6M9 17h4"/></svg><span>Reports and dashboards<small id="libSub"></small></span><span class="k" id="libNew"></span></button>
|
|
43
|
-
<button type="button" role="menuitem" data-more="
|
|
44
|
-
<button type="button" role="menuitem" data-more="trends"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 20V10M10 20V4M16 20v-8M22 20H2"/></svg><span>Delivery trends<small>blocked, late, idle, scope, merged</small></span></button>
|
|
45
|
-
<button type="button" role="menuitem" data-more="sources"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4c4.4 0 8 1.3 8 3s-3.6 3-8 3-8-1.3-8-3 3.6-3 8-3zM4 7v10c0 1.7 3.6 3 8 3s8-1.3 8-3V7"/></svg><span>Sources<small>opens Settings › Connectors</small></span><span class="k" id="srcAge"></span></button>
|
|
46
|
-
<button type="button" role="menuitem" data-more="export"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M5 20h14"/></svg>Export<span class="k">CSV</span></button>
|
|
47
|
-
<button type="button" role="menuitem" data-more="about"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 8h.01M11 12h1v5h1M12 3a9 9 0 1 0 0 18a9 9 0 1 0 0-18"/></svg>About these numbers</button>
|
|
43
|
+
<button type="button" role="menuitem" data-more="export"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11M7 10l5 5 5-5M5 20h14"/></svg>Export CSV</button>
|
|
48
44
|
</div></span>
|
|
49
45
|
</div>
|
|
50
46
|
</div>
|
|
@@ -60,6 +56,8 @@
|
|
|
60
56
|
<div class="ins-tbl" id="goalTbl" role="table" aria-label="Key results"></div>
|
|
61
57
|
<div class="ins-cards" id="goalCards" role="list" aria-label="Key results"></div>
|
|
62
58
|
</section>
|
|
59
|
+
<!-- Waiting on a source (U3): one row per source with the key results it unblocks and its one connect ✓. Hidden when nothing waits. -->
|
|
60
|
+
<section class="ins-pane ins-wait" id="waitList" aria-labelledby="hWait" hidden></section>
|
|
63
61
|
<!-- Did it work? (Iq8Overview): shipped work to judge and in its window, a drafted verdict with ✓ Keep; decided ones fold. Hidden when empty. -->
|
|
64
62
|
<section class="ins-pane" id="pOutcomes" aria-label="Did it work?" hidden>
|
|
65
63
|
<div class="ins-tbl" id="outTbl" role="table" aria-label="Did it work?"></div>
|
|
@@ -71,7 +69,7 @@
|
|
|
71
69
|
|
|
72
70
|
<!-- Reports and dashboards (⋯; the old Library): Found in your work, requests from Home, the reports, then the dashboards -->
|
|
73
71
|
<aside class="ins-side ins-lib" id="libSide" role="dialog" aria-modal="false" aria-labelledby="libTitle" tabindex="-1" hidden>
|
|
74
|
-
<div class="ins-sh"><div><h2 id="libTitle">Reports and dashboards</h2></div><
|
|
72
|
+
<div class="ins-sh"><div><h2 id="libTitle">Reports and dashboards</h2></div><button type="button" class="cz-ib" id="libX" aria-label="Close" title="Close"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
|
|
75
73
|
<div class="ins-sb" id="repBody"></div>
|
|
76
74
|
<span class="vh" id="repCap"></span>
|
|
77
75
|
</aside>
|
package/workspace/server.js
CHANGED
|
@@ -3017,6 +3017,23 @@ const grillRuns = require('./lib/grill-runs.js').create({
|
|
|
3017
3017
|
warn: (what, e) => warnWriteFail(what, e),
|
|
3018
3018
|
});
|
|
3019
3019
|
const grillTick = () => { try { grillRuns.tick({}); } catch (e) { warnWriteFail('grill tick', e); } };
|
|
3020
|
+
// the role agents (brief agent-team, GO): each role a record with the artifacts it owns (lib/agent-team.js), its triggers and its runs
|
|
3021
|
+
// (lib/team-runs.js), started as headless kind `team` through the orchestrator gate, one background run per initiative. `pmos team dispatch`
|
|
3022
|
+
// writes the chief of staff's plan; this tick runs it. Class A/B auto-applies only where lib/autonomy.js says so; until then every role proposes.
|
|
3023
|
+
const teamRuns = require('./lib/team-runs.js').create({
|
|
3024
|
+
workspaces: () => [...workspaces.values()],
|
|
3025
|
+
stateDirFor: (w) => (isPlanNeedsTree(w) ? stateDirFor(w) : null),
|
|
3026
|
+
inis: (w) => { const TR = require('./lib/team-runs.js'); return grillShape(w).filter((x) => !x.resting && x.stage).map((x) => {
|
|
3027
|
+
const st = x.stages.find((y) => y.key === x.stage || y.name === x.stage); const f = TR.factsOf(w.root, x.ini);
|
|
3028
|
+
return { ini: x.ini, board: x.board, stage: st ? st.name : x.stage, has: { ...f, tasks: f.tasks || x.tasks.length > 0 } }; }); },
|
|
3029
|
+
promptFor: (skillId) => { const h = homeWorkspace(); const t = taskById(skillId, h ? h.root : SELF_ROOT); return t && t.prompt ? t.prompt : null; },
|
|
3030
|
+
autoFor: (cls, o) => { try { const A = require('./lib/autonomy.js'); return typeof A.autoFor === 'function' ? !!A.autoFor(cls, o) : false; } catch { return false; } },
|
|
3031
|
+
spawn: (spec) => orchSpawn.spawn({ name: spec.name, agent: 'claude', ws: spec.ws, origin: spec.origin, initialInput: spec.initialInput, initiative: spec.initiative, extraEnv: spec.env,
|
|
3032
|
+
writePaths: spec.writePaths, autoDelete: undefined, onDone: spec.onDone }),
|
|
3033
|
+
stop: (s) => { if (s && s.child) stopHeadless(s); },
|
|
3034
|
+
warn: (what, e) => warnWriteFail(what, e),
|
|
3035
|
+
});
|
|
3036
|
+
const teamTick = () => { try { teamRuns.tick({}); } catch (e) { warnWriteFail('team tick', e); } };
|
|
3020
3037
|
// batch 15 item 1 (canvas Iq8Suggest and Iq9Draft): Claude drafts metrics without being asked (lib/metric-draft-runs.js): a product with no North
|
|
3021
3038
|
// Star, a program charter with no goal, an initiative that gets a PRD with no success metric, and next quarter's key results. The run's only
|
|
3022
3039
|
// write is `pmos metrics draft`; the PM's ✓ keep writes the kr-metrics record. At most 2 at once, once per scope. PMOS_METRIC_DRAFT=off.
|
|
@@ -3078,6 +3095,20 @@ const impactRuns = require('./lib/impact-runs.js').create({
|
|
|
3078
3095
|
warn: (what, e) => warnWriteFail(what, e),
|
|
3079
3096
|
});
|
|
3080
3097
|
const impactTick = () => { try { impactRuns.tick({}); } catch (e) { warnWriteFail('impact tick', e); } };
|
|
3098
|
+
// loop-telemetry: the verifier after merge (Wawan, 2026-11-08: "Run the verifier on merged PRs"). One fresh headless evaluator at a time grades
|
|
3099
|
+
// the newest merged run that owes a verdict in an open PMOS checkout (lib/verify-runs.js); its only write is `node scripts/verifier.js record`,
|
|
3100
|
+
// pinned to that run. It also marks merged work items integrated (scripts/verify-work.js, no model). Nothing gates a merge.
|
|
3101
|
+
// Off with PMOS_VERIFY=off or `pmos ai off verify`.
|
|
3102
|
+
const verifyRuns = require('./lib/verify-runs.js').create({
|
|
3103
|
+
roots: () => [...workspaces.values()].map((w) => ({ id: w.id, root: w.root })),
|
|
3104
|
+
open: deepOpenNow,
|
|
3105
|
+
headlessOff: () => headlessLib.switchedOff(process.env),
|
|
3106
|
+
env: process.env,
|
|
3107
|
+
spawn: (spec) => orchSpawn.spawn({ name: spec.name, agent: 'claude', ws: spec.ws, origin: spec.origin, initialInput: spec.initialInput, extraEnv: spec.env, autoDelete: undefined, onDone: spec.onDone }),
|
|
3108
|
+
stop: (s) => { if (s && s.child) stopHeadless(s); },
|
|
3109
|
+
warn: (what, e) => warnWriteFail(what, e),
|
|
3110
|
+
});
|
|
3111
|
+
const verifyTick = () => { try { verifyRuns.tick({}); } catch (e) { warnWriteFail('verify tick', e); } };
|
|
3081
3112
|
// weekly-drift-check (What would I have missed): each Monday the server reads every open product's records for quiet drift (lib/drift-runs.js).
|
|
3082
3113
|
// Structured signals only, no session and no model. Its only write is the person's own ledger <runtime>/drift/drift.jsonl, through the shared
|
|
3083
3114
|
// guard (lib/ai-guard.js). Off with PMOS_DRIFT=off or `pmos ai off drift`. Nothing is sent.
|
|
@@ -3290,10 +3321,12 @@ bgQueue.register('propose', gated('propose', proposalTick));
|
|
|
3290
3321
|
bgQueue.register('grill', () => grillTick());
|
|
3291
3322
|
bgQueue.register('metric-drafts', () => metricDraftTick());
|
|
3292
3323
|
bgQueue.register('impact', () => impactTick());
|
|
3324
|
+
bgQueue.register('verify', () => verifyTick());
|
|
3293
3325
|
bgQueue.register('metric-reads', () => metricReadTick());
|
|
3294
3326
|
bgQueue.register('forecast', () => forecastTick());
|
|
3295
3327
|
bgQueue.register('report-design', () => reportDesignTick());
|
|
3296
3328
|
bgQueue.register('report-structure', () => reportStructureTick());
|
|
3329
|
+
bgQueue.register('team', () => teamTick());
|
|
3297
3330
|
bgQueue.register('scan', (turn) => gated('scan', () => scanTick(turn))());
|
|
3298
3331
|
// idle lab build E (lib/idle-lab-engine.js): while the PM is away Claude prototypes and scans for the initiatives, proves each result (a
|
|
3299
3332
|
// specimen renders in a headless browser; every claim quotes what was read, through lib/ai-guard.js) and files it under the ✦. Step 5 of the
|
|
@@ -4557,7 +4590,8 @@ function startHeadless(base, workdir, kind, launchArgs, env, initialInput, addDi
|
|
|
4557
4590
|
// A kind that reads the PM's sources gets the read-shaped connector tools of this login (lib/headless.js CONNECTOR_READ_KINDS).
|
|
4558
4591
|
const args = headlessLib.argsFor(kind, { modelArgs: launchArgs, addDirs: Array.isArray(addDirs) ? addDirs : [], writePaths: Array.isArray(writePaths) ? writePaths : [],
|
|
4559
4592
|
budgetUsd: !env ? null : kind === 'grill' ? env.PMOS_GRILL_BUDGET : kind === 'lab-proto' || kind === 'lab-scan' ? env.PMOS_LAB_BUDGET : null,
|
|
4560
|
-
connectorTools: headlessLib.CONNECTOR_READ_KINDS.includes(kind) ? knownConnectorTools(env) : []
|
|
4593
|
+
connectorTools: headlessLib.CONNECTOR_READ_KINDS.includes(kind) ? knownConnectorTools(env) : [],
|
|
4594
|
+
team: kind === 'team' && env ? { role: env.PMOS_TEAM_ROLE, mode: env.PMOS_TEAM_MODE } : null });
|
|
4561
4595
|
const s = { ...base, cwd: workdir, state: 'working', pty: null, tmux: null, headless: kind, child: null,
|
|
4562
4596
|
note: '', buf: '', cols: 80, rows: 24, clients: new Set(), created: nowISO(), lastOutputAt: Date.now() };
|
|
4563
4597
|
const say = (text) => {
|
|
@@ -81,8 +81,10 @@ const route = async (page) => {
|
|
|
81
81
|
{
|
|
82
82
|
LAY = { sort: 'mine', top: [], inis: {} };
|
|
83
83
|
const { ctx, page: p, errors } = await board();
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
// UI grill U2: Sort is a part of the tune button (Group, sort and filter); it has no button of its own
|
|
85
|
+
const tuneSort = async () => { await p.click('#bdFilter'); return until(() => p.evaluate(() => { const g = document.querySelector('#bdPop [role="radiogroup"][aria-label="Sort"]'); return g ? [...g.querySelectorAll('[data-so-pick]')].map((b) => b.textContent.trim() + (b.getAttribute('aria-checked') === 'true' ? '*' : '')) : null; })); };
|
|
86
|
+
const btn = await tuneSort(); await p.keyboard.press('Escape');
|
|
87
|
+
ok('B Sort sits in the tune button, no button of its own, and says the sort now', !(await p.$('#bdSort')) && !!btn && btn[0] === 'My order*', JSON.stringify(btn));
|
|
86
88
|
const k0 = await top(p, '#ibBody');
|
|
87
89
|
ok('B nothing arranged yet: the program first, then the product', k0[0] === 'g:project-ascent' && k0.length >= 2 && k0.slice(1).every((k) => k.startsWith('p:')), JSON.stringify(k0));
|
|
88
90
|
const pk = k0[k0.length - 1];
|
|
@@ -105,16 +107,16 @@ const route = async (page) => {
|
|
|
105
107
|
await until(async () => (await top(p, '#ibBody'))[0] === 'g:project-ascent');
|
|
106
108
|
ok('B Undo saves the layout before back', posts.length === 2 && posts[1].top.length === 0 && (await top(p, '#ibBody'))[0] === 'g:project-ascent', JSON.stringify(posts));
|
|
107
109
|
// the menu
|
|
108
|
-
await
|
|
109
|
-
|
|
110
|
-
ok('B the menu: My order (ticked), Your turn first, Next date first, By stage, Name A to Z', !!menu && menu.join('|') === 'My order*|Your turn first|Next date first|By stage|Name, A to Z', JSON.stringify(menu));
|
|
110
|
+
const menu = await tuneSort();
|
|
111
|
+
ok('B the Sort choices: My order (ticked), Your turn first, Next date first, By stage, Name A to Z', !!menu && menu.join('|') === 'My order*|Your turn first|Next date first|By stage|Name, A to Z', JSON.stringify(menu));
|
|
111
112
|
if (process.env.SHOTS) await p.screenshot({ path: process.env.SHOTS + '/board-menu.png' });
|
|
112
|
-
await p.click('
|
|
113
|
+
await p.click('#bdPop [data-so-pick="name"]');
|
|
113
114
|
await until(() => posts.length === 3);
|
|
114
|
-
const label = await until(() => p.evaluate(() => { const
|
|
115
|
+
const label = await until(() => p.evaluate(() => { const b = document.querySelector('#bdPop [data-so-pick="name"]'); return b && b.getAttribute('aria-checked') === 'true' ? b.textContent.trim() : null; }));
|
|
116
|
+
await p.keyboard.press('Escape');
|
|
115
117
|
const kn = await top(p, '#ibBody');
|
|
116
118
|
const names = await p.evaluate(() => [...document.querySelectorAll('#ibBody [data-po-list="@top"] > [data-po-id]')].map((r) => (r.querySelector('.bd-prdb span, .bt-pg b, b') || r).textContent.trim().toLowerCase()));
|
|
117
|
-
ok('B Name, A to Z: one save, the
|
|
119
|
+
ok('B Name, A to Z: one save, the tune sheet says it, and the groups go A to Z', posts[2].sort === 'name' && !!label && names.join('|') === names.slice().sort((a, b) => a.localeCompare(b)).join('|'), JSON.stringify({ label, kn, names }));
|
|
118
120
|
// a move out of another sort keeps what is on screen and goes back to My order
|
|
119
121
|
const rows = await p.evaluate(() => { const l = [...document.querySelectorAll('#ibBody [data-po-list^="@p:"]')][0]; return l ? { key: l.dataset.poList.slice(1), ids: [...l.querySelectorAll(':scope > [data-po-id]')].map((r) => r.dataset.poId) } : null; });
|
|
120
122
|
if (rows && rows.ids.length > 1) {
|
|
@@ -123,11 +123,13 @@
|
|
|
123
123
|
"glossary.test.js",
|
|
124
124
|
"needs-overdue.test.js",
|
|
125
125
|
"briefing-scope.test.js",
|
|
126
|
-
"settings-store.test.js",
|
|
126
|
+
"settings-store.test.js",
|
|
127
|
+
"ai-guard.test.js",
|
|
127
128
|
"priority.test.js",
|
|
128
129
|
"claude-readiness.test.js",
|
|
129
130
|
"setup-routes.test.js",
|
|
130
|
-
"project-onboard.test.js"
|
|
131
|
+
"project-onboard.test.js",
|
|
132
|
+
"loop-telemetry.test.js"
|
|
131
133
|
],
|
|
132
134
|
"panels": [
|
|
133
135
|
"pm-r7-test.js",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "The role agents under the chief of staff (brief agent-team, GO): lib/agent-team.js (role registry, write allowlist, triggers, Evaluator independence), lib/team-runs.js (dispatch runner, one inbox entry), lib/team-cli.js (pmos team), the headless kind `team` and the bg-queue job `team`. Pure, node, temp folders.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"agent-team.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"agent-team.test.js": 1
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "OS evaluation T1: the declared background job graph (lib/job-graph.js) with its no-reader and two-producers rules, the keep rate of every ✦ job (lib/orchestrator-keeprate.js fromProposals/byJob, `pmos ai status`) and the learning edge (lib/proposals.js lessonsOf, grill and task-check prompts). Pure, node.",
|
|
3
|
+
"modules": [
|
|
4
|
+
"job-graph.test.js",
|
|
5
|
+
"star-keeprate.test.js"
|
|
6
|
+
],
|
|
7
|
+
"seconds": {
|
|
8
|
+
"job-graph.test.js": 1,
|
|
9
|
+
"star-keeprate.test.js": 1
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "OS evaluation T3 (status provenance rule): lib/status-proof.js and its browser twin public/pm/status-proof.js gate every status word, number or tile on { source, readAt }; lib/status-signal.js stamps both on every status but No signal; the invariant fails on a status chip word in lib/ or public/pm/ that neither routes through the helper nor is listed in KNOWN with its reason. Pure.",
|
|
3
|
+
"modules": ["status-proof.test.js"],
|
|
4
|
+
"seconds": { "status-proof.test.js": 1 }
|
|
5
|
+
}
|
|
@@ -357,8 +357,9 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
357
357
|
const G = await open();
|
|
358
358
|
await G.page.click('#czFab');
|
|
359
359
|
await G.page.click('[data-cz-settings]');
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
await G.page.click('#evSettings [data-ev-sec="workspaces"]'); // U4: Workflows is a row in Settings › Workspaces, not a section
|
|
361
|
+
const link = await until(() => G.page.evaluate(() => { const a = document.querySelector('#evSettings .ev-st-main [data-ev-wf]'); return a ? a.getAttribute('href') : null; }));
|
|
362
|
+
ok('G Settings › Workspaces has a Workflows row that opens this page', link === '/premium-workflows.html', link);
|
|
362
363
|
await G.ctx.close();
|
|
363
364
|
finish();
|
|
364
365
|
})();
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>PMOS · Home</title>
|
|
7
|
-
<!-- premium-agreed-design H3: Home replaced this page. The server answers this address with a redirect to /premium.html and the same query;
|
|
8
|
-
this file only covers a copy served without that server. -->
|
|
9
|
-
<meta http-equiv="refresh" content="0; url=/premium.html" />
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<p>This page moved to <a href="/premium.html">Home</a>.</p>
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="pmos-nonce" content="" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<title>PMOS · Home</title>
|
|
8
|
-
<!-- The initiative is a layout of Home now (initiative premium-agreed-design, Home): the server answers /premium-initiative.html?id=<id> with a
|
|
9
|
-
redirect to /premium.html?ini=<id>. This page is only reached without the server's redirect, and it goes to the same place. -->
|
|
10
|
-
<script>
|
|
11
|
-
(function () { var q = new URLSearchParams(location.search); if (q.has('id')) { q.set('ini', q.get('id')); q.delete('id'); } var s = q.toString(); location.replace('/premium.html' + (s ? '?' + s : '')); })();
|
|
12
|
-
</script>
|
|
13
|
-
</head>
|
|
14
|
-
<body></body>
|
|
15
|
-
</html>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<title>PMOS · Home</title>
|
|
7
|
-
<!-- premium-agreed-design H3: Home replaced this page. The server answers this address with a redirect to /premium.html and the same query;
|
|
8
|
-
this file only covers a copy served without that server. -->
|
|
9
|
-
<meta http-equiv="refresh" content="0; url=/premium.html" />
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<p>This page moved to <a href="/premium.html">Home</a>.</p>
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|