create-pmos 0.540.0 → 0.542.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 -39
- 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/README.md +1 -1
- package/workspace/adler-moments-test.js +4 -8
- package/workspace/briefing-premium-board-test.js +1 -1
- package/workspace/briefing-premium-initiative-test.js +1 -1
- package/workspace/briefing-premium-sources-test.js +3 -3
- package/workspace/briefing-premium-test.js +2 -4
- package/workspace/changelog.json +32 -0
- package/workspace/ev-everywhere-test.js +3 -3
- package/workspace/fixtures/doc-category-labelled.json +1 -1
- package/workspace/guide/agent-capabilities.md +236 -28
- package/workspace/guide/breakdown.md +5 -20
- package/workspace/guide/claude-proposes.md +269 -37
- package/workspace/guide/cli.md +603 -0
- package/workspace/guide/home.md +182 -21
- package/workspace/guide/index.md +23 -59
- package/workspace/guide/initiatives-and-next-steps.md +235 -5
- package/workspace/guide/intelligence-okr-goals.md +122 -5
- package/workspace/guide/jira.md +2 -15
- package/workspace/guide/knowledge-graph.md +143 -18
- package/workspace/guide/layout.md +209 -4
- package/workspace/guide/notes.md +74 -6
- package/workspace/guide/proactive-engine.md +3 -14
- package/workspace/guide/programs.md +199 -4
- package/workspace/guide/reports.md +405 -41
- package/workspace/guide/scheduled-tasks-and-cli.md +6 -28
- package/workspace/guide/settings-and-switches.md +397 -0
- package/workspace/guide/statuses.md +141 -4
- package/workspace/home-rows-test.js +19 -24
- package/workspace/lib/briefing-premium-agent.js +7 -2
- package/workspace/lib/cos-chat.js +75 -0
- package/workspace/lib/done-feed.js +33 -0
- package/workspace/lib/grill-runs.js +1 -1
- package/workspace/lib/headless.js +29 -2
- package/workspace/lib/loop-health.js +65 -0
- package/workspace/lib/pmos-verbs.js +41 -40
- package/workspace/lib/proposal-runs.js +1 -1
- package/workspace/lib/proposals.js +44 -9
- package/workspace/lib/routes-sources.js +2 -0
- package/workspace/lib/routes-your-move.js +25 -4
- package/workspace/lib/verify-runs.js +22 -1
- package/workspace/lib/verify-work-cli.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/batch-press.js +184 -0
- package/workspace/public/pm/bd-fc-card.js +2 -1
- package/workspace/public/pm/bd-next.js +2 -1
- package/workspace/public/pm/chat-src.js +18 -0
- package/workspace/public/pm/cozy-home.css +4 -0
- package/workspace/public/pm/cozy-lab-ins.js +17 -1
- package/workspace/public/pm/cozy-nav.js +22 -21
- package/workspace/public/pm/cozy-search.js +18 -9
- package/workspace/public/pm/cozy-today.css +7 -0
- package/workspace/public/pm/cozy-viewer.js +1 -1
- package/workspace/public/pm/goal-chat.js +1 -1
- package/workspace/public/pm/good-morning.js +1 -1
- package/workspace/public/pm/home-app.js +65 -14
- package/workspace/public/pm/home-chat.js +8 -4
- package/workspace/public/pm/home-day.js +46 -14
- package/workspace/public/pm/home-today.js +5 -4
- package/workspace/public/pm/ini-props.js +7 -2
- package/workspace/public/pm/ini-view.css +14 -0
- package/workspace/public/pm/move-rank.js +67 -9
- package/workspace/public/pm/outbox-view.js +35 -0
- package/workspace/public/pm/page-chat.css +2 -0
- package/workspace/public/pm/page-chat.js +33 -5
- package/workspace/replaced-tests.json +19 -1
- package/workspace/run-tests.js +23 -4
- package/workspace/server.js +2 -1
- package/workspace/task-links-test.js +6 -2
- package/workspace/test-lists/chief-of-staff-chat.json +9 -0
- package/workspace/guide/adler.md +0 -71
- package/workspace/guide/agents-act.md +0 -68
- package/workspace/guide/ask-the-past.md +0 -46
- package/workspace/guide/board.md +0 -58
- package/workspace/guide/briefing-premium.md +0 -14
- package/workspace/guide/console-calendar.md +0 -24
- package/workspace/guide/core-documents.md +0 -58
- package/workspace/guide/data-freshness.md +0 -164
- package/workspace/guide/descriptions.md +0 -43
- package/workspace/guide/docs.md +0 -39
- package/workspace/guide/forecast.md +0 -66
- package/workspace/guide/horizon-scan.md +0 -82
- package/workspace/guide/idle-lab.md +0 -46
- package/workspace/guide/initiative-driver.md +0 -102
- package/workspace/guide/initiatives-roadmap.md +0 -131
- package/workspace/guide/integrated-work.md +0 -93
- package/workspace/guide/launcher.md +0 -39
- package/workspace/guide/lifecycle.md +0 -64
- package/workspace/guide/metric-drafts.md +0 -75
- package/workspace/guide/moments.md +0 -43
- package/workspace/guide/my-work.md +0 -40
- package/workspace/guide/next-prompt.md +0 -64
- package/workspace/guide/outcomes.md +0 -39
- package/workspace/guide/people.md +0 -48
- package/workspace/guide/pm-only-acts.md +0 -88
- package/workspace/guide/pm-only-lines.md +0 -61
- package/workspace/guide/present-in-a-meeting.md +0 -57
- package/workspace/guide/published-board.md +0 -116
- package/workspace/guide/ready-made-dashboards.md +0 -62
- package/workspace/guide/rehearse.md +0 -52
- package/workspace/guide/report-design.md +0 -126
- package/workspace/guide/report-slides.md +0 -43
- package/workspace/guide/report-structure.md +0 -91
- package/workspace/guide/reports-needs-you.md +0 -34
- package/workspace/guide/reports-set-up.md +0 -68
- package/workspace/guide/settings.md +0 -67
- package/workspace/guide/today.md +0 -44
- package/workspace/guide/validate-with-typesafe.md +0 -144
- package/workspace/guide/welcome.md +0 -90
- package/workspace/guide/what-you-missed.md +0 -42
- package/workspace/guide/workflows.md +0 -107
- package/workspace/guide/your-impact.md +0 -57
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* pm/outbox-view.js — one outbox draft, opened from Your move (chief-of-staff C3 and C6, boards CsE and CsC: "Reach outside: Claude drafts it.
|
|
2
|
+
* It waits in your outbox and you send it. Nothing leaves PMOS on its own").
|
|
3
|
+
*
|
|
4
|
+
* openDraft(entry, H) the Viewer: who it is for, where it goes, the words. Copy puts the words on the clipboard so the PM sends them from
|
|
5
|
+
* their own tool (no channel is connected: POST /api/outbox/confirm sends nothing yet), ✕ discards the draft with
|
|
6
|
+
* Undo (POST /api/outbox/discard { id } and { id, undo: true }). A draft whose claim failed the trust rules says so.
|
|
7
|
+
* H: { pmPost, toast, toastUndo, reload } */
|
|
8
|
+
|
|
9
|
+
const esc = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));
|
|
10
|
+
const SVG = (d, w = 16, sw = 2) => `<svg aria-hidden="true" width="${w}" height="${w}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="${sw}" stroke-linecap="round" stroke-linejoin="round"><path d="${d}"/></svg>`;
|
|
11
|
+
const I = { mail: 'M3 5h18v14H3zM3 7l9 6 9-6', copy: 'M8 8h11v13H8zM5 16V3h11', x: 'M6 6l12 12M18 6L6 18' };
|
|
12
|
+
const cap = (s) => (s ? String(s).charAt(0).toUpperCase() + String(s).slice(1) : '');
|
|
13
|
+
|
|
14
|
+
export function draftHtml(e) {
|
|
15
|
+
const where = [cap(e.channel), e.recipient ? 'to ' + e.recipient : ''].filter(Boolean).join(' ');
|
|
16
|
+
const refused = e.claims && e.claims.ok === false && (e.claims.refused || []).length ? `<p class="yd-exp">A claim in it needs a look: ${esc((e.claims.refused || []).join('; '))}</p>` : '';
|
|
17
|
+
return `<div class="ob-d"><p class="yd-exp">${esc(where ? 'Drafted for ' + where + '. ' : '')}It waits here until you send it.</p>${refused}`
|
|
18
|
+
+ (e.subject ? `<h3>${esc(e.subject)}</h3>` : '') + `<pre class="ob-body">${esc(e.body || '')}</pre></div>`;
|
|
19
|
+
}
|
|
20
|
+
export function openDraft(e, H) {
|
|
21
|
+
const VW = window.czViewer; if (!VW || !e || !e.id) return;
|
|
22
|
+
VW.open({ id: 'ob:' + e.id, kind: 'Outbox', title: e.subject || 'A draft to send', icon: I.mail,
|
|
23
|
+
presses: [{ act: 'discard', label: 'Discard the draft', icon: I.x }, { act: 'copy', label: 'Copy to send it yourself', icon: I.copy, solid: true }],
|
|
24
|
+
onPress: async (act) => {
|
|
25
|
+
if (act === 'copy') { try { await navigator.clipboard.writeText(e.body || ''); H.toast('Copied. Paste it where you send it.'); } catch { H.toast('It could not be copied. Select the words and copy them.'); } return; }
|
|
26
|
+
if (act === 'discard') {
|
|
27
|
+
const r = await H.pmPost('/api/outbox/discard', { id: e.id }).catch(() => null);
|
|
28
|
+
if (!r || r.ok === false) { H.toast((r && r.error) || 'It could not be discarded.'); return; }
|
|
29
|
+
VW.back();
|
|
30
|
+
H.toastUndo('Discarded.', async () => { const u = await H.pmPost('/api/outbox/discard', { id: e.id, undo: true }).catch(() => null); if (H.reload) H.reload(); return u || { ok: false }; });
|
|
31
|
+
if (H.reload) H.reload();
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
render: (body) => { body.innerHTML = draftHtml(e); } });
|
|
35
|
+
}
|
|
@@ -7,3 +7,5 @@
|
|
|
7
7
|
.pc-chat form.hm-box textarea:focus-visible { outline: none; }
|
|
8
8
|
/* "In:" names the item the chat is about; on the Board it cannot change, so it is not a press */
|
|
9
9
|
.pc-chat [data-hm-scope] { pointer-events: none; }
|
|
10
|
+
/* chief-of-staff C5 (CsB): the soft "You are on …" chip is a press: × drops it */
|
|
11
|
+
.pc-chat [data-hm-scope].soft { pointer-events: auto; background: var(--cz-well); border-color: transparent; }
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
/* pm/page-chat.js — the chat
|
|
2
|
-
* able to open chat panel on board page").
|
|
1
|
+
/* pm/page-chat.js — the one chat over any page (chief-of-staff C5, board CsB on the main canvas, In development; first built as the Board's
|
|
2
|
+
* chat panel, batch 26 item 4, Wawan 2026-11-03: "User should be able to open chat panel on board page").
|
|
3
|
+
*
|
|
4
|
+
* ONE CHAT, ONE WAY (C5 and the UI grill's item 5). The chat icon in the floating menu (cozy-nav.js) opens the chief-of-staff chat (Home's own
|
|
5
|
+
* conversation, chat:main, lib/cos-chat.js) over the page you are on, with a soft "You are on …" chip: Claude answers about that page first,
|
|
6
|
+
* and × on the chip drops it (the chip then reads Everything). ⧉ (the Viewer's Open in a new tab) opens the same conversation full on Home.
|
|
7
|
+
* A phone shows the Viewer as its sheet from the bottom. "Discuss in chat" on an initiative or a program opens its scoped chat the same way
|
|
8
|
+
* (the same chat with the scope filled in), and Settings › Workflows' New workflow opens here too, so there is no second chat column.
|
|
9
|
+
*
|
|
10
|
+
* openCos({ here, ws? }) → true the chief-of-staff chat; here: the page's words for the chip ("Board · Atlas"), '' for none
|
|
11
|
+
* openTarget(t, o) → true any chat target (home-chat.js mountChat open), o: { title, url }
|
|
3
12
|
*
|
|
4
13
|
* "Discuss in chat" on the Board's initiative or program panel opens the chat about that item in a Viewer of its own, beside the panel
|
|
5
14
|
* (1600 px and wider) or sliding over it (a laptop), through the panels engine (cozy-panels.js openBeside). The page stays where it is.
|
|
@@ -49,7 +58,9 @@ function host() {
|
|
|
49
58
|
esc, toast, pmGet, pmPost, pressHeaders: () => { const h = pmHeaders(); delete h['Content-Type']; return h; },
|
|
50
59
|
roles: () => [], seen: () => null, markSeen: () => {}, session: () => null, queued: () => [],
|
|
51
60
|
touch: (sid) => { if (sid) pmPost('/api/session/touch', { id: sid }).then(() => document.dispatchEvent(new CustomEvent('cz:live'))).catch(() => {}); },
|
|
52
|
-
|
|
61
|
+
// × on the "You are on …" chip drops the page: the chat reads Everything again (C5)
|
|
62
|
+
onScope: () => { if (Q.t && Q.t.cos && Q.t.here) { Q.t = cosTarget('', Q.t.ws); Q.chat.open(Q.t); } },
|
|
63
|
+
onTo: () => {}, onLink: () => {},
|
|
53
64
|
workItem: () => toast('Make a work-item from Home, in the initiative’s own chat.'),
|
|
54
65
|
viewerClosed: () => false, reopenViewer: () => {}, desk: () => true, head: () => '',
|
|
55
66
|
// a finished turn: the page reads its records again, so what Claude changed shows with no refresh (as Home, batch 25 item 3)
|
|
@@ -62,17 +73,34 @@ async function mod() {
|
|
|
62
73
|
}
|
|
63
74
|
const shownAt = () => VW.panels.list().find((p) => p.open && p.item && p.item.id === CHAT_ID) || null;
|
|
64
75
|
|
|
76
|
+
const GLOBE = 'M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18';
|
|
77
|
+
const PIN = 'M4 5h16v14H4z';
|
|
78
|
+
/** The chief-of-staff chat's target (lib/cos-chat.js): Home's own conversation; the chip says where the PM is, and context carries it. */
|
|
79
|
+
export function cosTarget(here, ws) {
|
|
80
|
+
const h = String(here || '').replace(/\s+/g, ' ').trim().slice(0, 80);
|
|
81
|
+
return { key: 'chat:main', ws: ws || undefined, title: 'Ask PMOS', about: 'Ask PMOS', role: CLAUDE, rich: false, cos: true, here: h,
|
|
82
|
+
scope: h ? { text: 'You are on ' + h, icon: PIN, drop: true } : { text: 'Everything', icon: GLOBE }, context: h || undefined,
|
|
83
|
+
placeholder: 'Ask or tell PMOS', empty: 'Ask anything about your work. I read it with PMOS and say where each answer came from.' };
|
|
84
|
+
}
|
|
85
|
+
/** The chief-of-staff chat over this page (the menu's chat icon). here: "Board · Atlas"; × on the chip drops it. */
|
|
86
|
+
export function openCos(o = {}) {
|
|
87
|
+
return openTarget(cosTarget(o.here, o.ws), { title: 'Ask PMOS', url: '/premium.html' });
|
|
88
|
+
}
|
|
65
89
|
export async function openChat(it, o = {}) {
|
|
66
90
|
const key = keyOf(it); if (!key) return false;
|
|
91
|
+
return openTarget(targetOf(it, o.ws), { title: targetOf(it, o.ws).title, url: homeHref(it, key) });
|
|
92
|
+
}
|
|
93
|
+
export async function openTarget(t, o = {}) {
|
|
94
|
+
if (!t || !t.key) return false;
|
|
67
95
|
sheets();
|
|
68
96
|
const M = await mod();
|
|
69
97
|
if (!Q.el) {
|
|
70
98
|
Q.el = document.createElement('section'); Q.el.className = 'hm-chat pc-chat'; Q.el.setAttribute('aria-label', 'Conversation');
|
|
71
99
|
Q.chat = M.mountChat(Q.el, host());
|
|
72
100
|
}
|
|
73
|
-
Q.t =
|
|
101
|
+
Q.t = t;
|
|
74
102
|
const item = {
|
|
75
|
-
id: CHAT_ID, kind: 'Chat', title: Q.t.title, icon: CHAT_ICON, url:
|
|
103
|
+
id: CHAT_ID, kind: 'Chat', title: o.title || Q.t.title, icon: CHAT_ICON, url: o.url || '/premium.html', outward: true, fresh: true,
|
|
76
104
|
render: (body) => { body.classList.add('pc-body'); body.appendChild(Q.el); Q.chat.open(Q.t); },
|
|
77
105
|
onClose: () => { if (Q.chat) Q.chat.stop(); },
|
|
78
106
|
};
|
|
@@ -2138,7 +2138,7 @@
|
|
|
2138
2138
|
"slice": "3B",
|
|
2139
2139
|
"prefix": "G16 ",
|
|
2140
2140
|
"reason": "The morning brief is cut (R29).",
|
|
2141
|
-
"replacement": "The eight Today card kinds are named in guide/
|
|
2141
|
+
"replacement": "The eight Today card kinds are named in guide/cli.md.",
|
|
2142
2142
|
"pm_approval": {
|
|
2143
2143
|
"by": "wawan",
|
|
2144
2144
|
"at": "2026-10-05T21:26:13Z",
|
|
@@ -3656,6 +3656,24 @@
|
|
|
3656
3656
|
"E3b: an acceptance recorded ONLY in planning/runs/ settles its run",
|
|
3657
3657
|
"E3b: doc resolves from the LEGACY `rubric` key, not only `rubric_path`"
|
|
3658
3658
|
]
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"id": "E83",
|
|
3662
|
+
"group": "E",
|
|
3663
|
+
"file": "workspace/guide.test.js",
|
|
3664
|
+
"section": "G1, G6, G13, G17, G23 command pages",
|
|
3665
|
+
"change": "replaced",
|
|
3666
|
+
"slice": "guide-trim",
|
|
3667
|
+
"reason": "Guide fold (OS evaluation consolidation and UI grill item 9): every pmos command section moved from its feature page into one Command reference page, guide/cli.md.",
|
|
3668
|
+
"replacement": "G1 (rewritten) also requires cli; G6, G13, G17 and G23 assert the same command lists against cli.md.",
|
|
3669
|
+
"pm_approval": null,
|
|
3670
|
+
"names": [
|
|
3671
|
+
"G1 the guide has an index and the three feature pages",
|
|
3672
|
+
"G13 every pmos proactive command is in proactive-engine.md",
|
|
3673
|
+
"G17 every pmos kg command is in knowledge-graph.md",
|
|
3674
|
+
"G23 every pmos item command is in breakdown.md",
|
|
3675
|
+
"G6 every pmos schedule and pmos skill command is in scheduled-tasks-and-cli.md"
|
|
3676
|
+
]
|
|
3659
3677
|
}
|
|
3660
3678
|
]
|
|
3661
3679
|
}
|
package/workspace/run-tests.js
CHANGED
|
@@ -288,6 +288,7 @@ function traceChanges(changes, ctx) {
|
|
|
288
288
|
};
|
|
289
289
|
// a route: its users, or the reason it cannot tell
|
|
290
290
|
const routeMemo = new Map();
|
|
291
|
+
const synth = new Map(); // a lib file reached as a route's client: the lines that name the route stand in for its change (route1)
|
|
291
292
|
const route = (r, where) => {
|
|
292
293
|
if (routeMemo.has(r)) return routeMemo.get(r);
|
|
293
294
|
routeMemo.set(r, null);
|
|
@@ -308,7 +309,16 @@ function traceChanges(changes, ctx) {
|
|
|
308
309
|
if (inList.has(f)) picked.add(f);
|
|
309
310
|
else if (SUITE_NAME.test(f)) continue; // a suite of another group: nothing depends on it
|
|
310
311
|
else if (f.startsWith('public/')) viaPublic(f);
|
|
311
|
-
else {
|
|
312
|
+
else {
|
|
313
|
+
// a lib file that names the route is its client only in the declarations that hold the name (lib/goal-chat.js builds its hook URLs
|
|
314
|
+
// under /api/briefing-premium/ in hookSettings, and goalOf, read by the session list's heartbeat, sent every chat change to every
|
|
315
|
+
// suite): those lines count as its change, so only the users of those exports follow (changedExports)
|
|
316
|
+
if (/^lib\/[^/]+\.js$/.test(f) && !changes.some((c) => c.file === f) && !synth.has(f)) {
|
|
317
|
+
const lines = []; (get(f) || '').split('\n').forEach((line, i) => { if (keys.some((k) => line.includes(k))) lines.push(i + 1); });
|
|
318
|
+
if (lines.length) synth.set(f, { file: f, lines });
|
|
319
|
+
}
|
|
320
|
+
const w = users(f); if (w) return w;
|
|
321
|
+
}
|
|
312
322
|
}
|
|
313
323
|
if (hit) return null;
|
|
314
324
|
// a route no page and no suite names: only a suite that opens its module can reach it (PM, 2026-11-01: no full regression)
|
|
@@ -429,7 +439,7 @@ function traceChanges(changes, ctx) {
|
|
|
429
439
|
const changedExports = (f) => {
|
|
430
440
|
if (exportsMemo.has(f)) return exportsMemo.get(f);
|
|
431
441
|
exportsMemo.set(f, null);
|
|
432
|
-
const ch = changes.find((c) => c.file === f);
|
|
442
|
+
const ch = changes.find((c) => c.file === f) || synth.get(f);
|
|
433
443
|
const text = get(f);
|
|
434
444
|
if (!ch || !Array.isArray(ch.lines) || !ch.lines.length || text == null) return null;
|
|
435
445
|
const C = strip(text).split('\n');
|
|
@@ -459,7 +469,8 @@ function traceChanges(changes, ctx) {
|
|
|
459
469
|
grew = false;
|
|
460
470
|
for (const x of spans) {
|
|
461
471
|
if (touched.has(x.name)) continue;
|
|
462
|
-
|
|
472
|
+
// quoted strings out: a declaration that says 'chat:' in a string does not call chat()
|
|
473
|
+
const body = C.slice(x.a, x.b + 1).join('\n').replace(/'(?:[^'\\\n]|\\.)*'|"(?:[^"\\\n]|\\.)*"/g, "''");
|
|
463
474
|
if ([...touched].some((t) => new RegExp(`(^|[^\\w$.])${reEsc(t)}\\b`).test(body))) { touched.add(x.name); grew = true; }
|
|
464
475
|
}
|
|
465
476
|
}
|
|
@@ -474,6 +485,14 @@ function traceChanges(changes, ctx) {
|
|
|
474
485
|
exportsMemo.set(f, out);
|
|
475
486
|
return out;
|
|
476
487
|
};
|
|
488
|
+
// An inline `require('./lib/f.js').name(…)` in server.js reads one export. true when every require of f on the line reads an export the
|
|
489
|
+
// change did not touch (lib/briefing-premium-agent.js: a new rule in chat() sent every suite through .chatClaudeOfSession in the session list).
|
|
490
|
+
const onlyOther = (line, f) => {
|
|
491
|
+
const ex = changedExports(f); if (!ex) return false;
|
|
492
|
+
const reqRe = new RegExp(`require\\(\\s*['"\`][^'"\`]*/${reEsc(stemOf(f))}(?:\\.m?js)?['"\`]\\s*\\)((?:\\.[\\w$]+)?)`, 'g');
|
|
493
|
+
const used = [...line.matchAll(reqRe)];
|
|
494
|
+
return used.length > 0 && used.every((u) => u[1] && !ex.has(u[1].slice(1)));
|
|
495
|
+
};
|
|
477
496
|
// Does file g use one of the changed exports of the changed lib file f? false only when it can tell: every require of f in g is a
|
|
478
497
|
// plain binding whose every use is `binding.<export>`, or a destructuring, or `require(…).<export>`, and none names a changed export.
|
|
479
498
|
const usesChanged = (g, f, re) => {
|
|
@@ -568,7 +587,7 @@ function traceChanges(changes, ctx) {
|
|
|
568
587
|
if (m && /require\([^)]*\)\.create\(/.test(line)) factories.push(m[2]); // a service built at start-up: only a route that calls it can reach a page
|
|
569
588
|
else if (m && m[2] && changedExports(f)) whole.push(m[2]); // a whole-module binding: only the changed exports count
|
|
570
589
|
else if (m) names.push(...(m[1] ? m[1].split(',').map((x) => x.split(':').pop().trim()).filter(Boolean) : [m[2]]));
|
|
571
|
-
else inline.push(i + 1); // a require inside a function or a route: that line
|
|
590
|
+
else if (!onlyOther(line, f)) inline.push(i + 1); // a require inside a function or a route: that line, unless it only reads exports the change left alone
|
|
572
591
|
});
|
|
573
592
|
for (const name of factories.filter(Boolean)) { // only the uses inside a route block; a timer or a start-up call is the boot suite's
|
|
574
593
|
if (used.has(name)) continue; used.add(name);
|
package/workspace/server.js
CHANGED
|
@@ -4618,7 +4618,8 @@ function startHeadless(base, workdir, kind, launchArgs, env, initialInput, addDi
|
|
|
4618
4618
|
const args = headlessLib.argsFor(kind, { lean, modelArgs: launchArgs, addDirs: Array.isArray(addDirs) ? addDirs : [], writePaths: Array.isArray(writePaths) ? writePaths : [],
|
|
4619
4619
|
budgetUsd: !env ? null : kind === 'grill' ? env.PMOS_GRILL_BUDGET : kind === 'lab-proto' || kind === 'lab-scan' ? env.PMOS_LAB_BUDGET : null,
|
|
4620
4620
|
connectorTools: headlessLib.CONNECTOR_READ_KINDS.includes(kind) ? knownConnectorTools(env) : [],
|
|
4621
|
-
team: kind === 'team' && env ? { role: env.PMOS_TEAM_ROLE, mode: env.PMOS_TEAM_MODE } : null
|
|
4621
|
+
team: kind === 'team' && env ? { role: env.PMOS_TEAM_ROLE, mode: env.PMOS_TEAM_MODE } : null,
|
|
4622
|
+
memory: headlessLib.memoryNote([workdir, ...(Array.isArray(addDirs) ? addDirs : [])], env) });
|
|
4622
4623
|
const s = { ...base, cwd: workdir, state: 'working', pty: null, tmux: null, headless: kind, child: null, ...(lean ? { lean: true } : {}),
|
|
4623
4624
|
note: '', buf: '', cols: 80, rows: 24, clients: new Set(), created: nowISO(), lastOutputAt: Date.now() };
|
|
4624
4625
|
const say = (text) => {
|
|
@@ -113,10 +113,10 @@ function model() {
|
|
|
113
113
|
const h = document.querySelector('#czViewer .iv-th');
|
|
114
114
|
const chip = document.querySelector('#czViewer .cz-vw-hd [data-cz-vw="chip"]');
|
|
115
115
|
return { order: [...h.children].map((n) => (n.classList.contains('n') ? 'count' : n.dataset.lkChip || n.className.split(' ')[0])).filter((x) => /count|prop|moved|late|vs-/.test(x)),
|
|
116
|
-
prop: chip ? chip.textContent : '', moved: (h.querySelector('[data-lk-chip="moved"]') || {}).textContent || '', late: (h.querySelector('[data-lk-chip="late"]') || {}).textContent || '' };
|
|
116
|
+
prop: chip ? chip.textContent : '', chipOn: !!chip, moved: (h.querySelector('[data-lk-chip="moved"]') || {}).textContent || '', late: (h.querySelector('[data-lk-chip="late"]') || {}).textContent || '' };
|
|
117
117
|
});
|
|
118
118
|
ok('H1 the header: count, then the grey ✦ and the late count, in that order; no blue ✦ in Tasks', H.order.slice(0, 3).join(',') === 'count,moved,late', JSON.stringify(H));
|
|
119
|
-
ok('H2 the counts: the ✦ after the title
|
|
119
|
+
ok('H2 the counts: the ✦ after the title is there with no number (chief-of-staff C4: one press opens them), 1 quiet move, 2 tasks after a late one', H.chipOn && !/\d/.test(H.prop) && H.moved.trim() === '1' && H.late.trim() === '2', JSON.stringify(H));
|
|
120
120
|
|
|
121
121
|
// ── T: the Timeline
|
|
122
122
|
const T0 = await page.evaluate(() => {
|
|
@@ -151,6 +151,8 @@ function model() {
|
|
|
151
151
|
|
|
152
152
|
// ── S: the chips' lists
|
|
153
153
|
await page.locator('#czViewer .cz-vw-hd [data-cz-vw="chip"]').click();
|
|
154
|
+
await page.waitForSelector('#czViewer [data-bp-full]', { timeout: 4000 }); // chief-of-staff C4: one press opens the batch; every change is one press away
|
|
155
|
+
await page.locator('#czViewer [data-bp-full]').click();
|
|
154
156
|
await page.waitForSelector('#czViewer .pp [data-pp^="lk:"]', { timeout: 4000 });
|
|
155
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 }; });
|
|
156
158
|
ok('S1 the ✦ opens "Claude proposes 2": the link proposal sits under Links with ✓ and ✕', /Claude 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,6 +161,8 @@ function model() {
|
|
|
159
161
|
await page.waitForTimeout(400);
|
|
160
162
|
const acc = posts.filter((p) => p.route === '/api/proposals/keep');
|
|
161
163
|
ok('S2 ✓ posts /api/proposals/keep with that proposal', acc.length === 1 && acc[0].body.initiative === 'partner-rate-limits' && acc[0].body.ids.length === 1 && /^lk:/.test(acc[0].body.ids[0]), JSON.stringify(acc));
|
|
164
|
+
await page.waitForSelector('#czViewer .pp.bp, #czViewer .pp-none', { timeout: 4000 }); // back to the batch it was opened from (C4)
|
|
165
|
+
await page.locator('#czViewer .cz-vw-hd [data-cz-vw="back"]').click();
|
|
162
166
|
await page.waitForSelector('#czViewer .iv-th', { timeout: 4000 });
|
|
163
167
|
await page.locator('#czViewer [data-lk-chip="moved"]').click();
|
|
164
168
|
await page.waitForSelector('.lk-pop .lk-m', { timeout: 4000 });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "chief-of-staff chat (boards CsA–CsF): lib/cos-chat.js routing and rule, pm/chat-src.js sources, lib/proposals.js 14-day expiry, lib/done-feed.js Done (pure, node).",
|
|
3
|
+
"modules": [
|
|
4
|
+
"chief-of-staff-chat.test.js"
|
|
5
|
+
],
|
|
6
|
+
"seconds": {
|
|
7
|
+
"chief-of-staff-chat.test.js": 1
|
|
8
|
+
}
|
|
9
|
+
}
|
package/workspace/guide/adler.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "Adler, Claude's face"
|
|
4
|
-
description: "Who Adler is, where he shows in PMOS, what each of his six moods means, and how to choose how much of him you see in Settings."
|
|
5
|
-
timestamp: 2026-10-29
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Adler, Claude's face
|
|
9
|
-
|
|
10
|
-
Adler is a small blue character with a cream face and a gold ring. He is Claude's face in PMOS. When Claude says something, Adler's face shows the mood of what Claude says, so you can read the mood before you read the words.
|
|
11
|
-
|
|
12
|
-
## His six moods
|
|
13
|
-
|
|
14
|
-
Each mood comes from real state. When nothing happens, Adler is calm or he rests.
|
|
15
|
-
|
|
16
|
-
| Mood | What it means |
|
|
17
|
-
| --- | --- |
|
|
18
|
-
| Handled | Claude's part is done. This is the usual mood. |
|
|
19
|
-
| Celebrating | Something real happened, for example a full day of decisions done. He celebrates at most once a week. |
|
|
20
|
-
| Thinking (one lobe at his chin) | Claude is working for you now. |
|
|
21
|
-
| Needs you (a slightly worried face) | One call is yours. |
|
|
22
|
-
| Honest (a plain, sincere face) | Something is not right. Claude says it plainly. |
|
|
23
|
-
| Resting | There is nothing to report, or it is after hours. |
|
|
24
|
-
|
|
25
|
-
## Where he shows
|
|
26
|
-
|
|
27
|
-
- **Every toast.** A small face before the words: calm when the change worked, honest when it did not.
|
|
28
|
-
- **Chat.** Claude's avatar on the latest reply only, in that reply's mood. An empty chat shows Adler resting.
|
|
29
|
-
- **Home.** His face next to the greeting. While Home reads your work he shows his thinking face, and when Home cannot read the repository he says so with the honest face.
|
|
30
|
-
- **Your day (phone).** His face on the opening card. On the first open before noon, a small morning scene. When nothing else needs you, Adler with his tea. On a day you earned it, Adler celebrating. After 22:00, Adler asleep: press **Open anyway** to see your day. If something is wrong, PMOS does not hide it behind the night scene.
|
|
31
|
-
- **Claude's suggestions.** Adler asks with his worried face when Claude suggests a split or a merge, milestones, a goal or a success measure.
|
|
32
|
-
- **Intelligence.** His face in Claude's line at the top only. Charts, numbers and key results never show him.
|
|
33
|
-
- **Search.** Adler with a telescope when nothing matches.
|
|
34
|
-
- **Initiative mission.** The telemetry card at the top of an initiative uses the same art: the rocket on its pad (a blueprint, then built, then lift-off), the planet, the dish and the clouds. The rocket flies a path that runs from left to right in time. While Discover is open, Adler stands at the telescope; when Discover is done, he is gone. On a festival, the day's things hang in the sky in place of the clouds. When the news is bad (the initiative is late) the festival goes. With **Face only** or **Off**, neither he nor the festival shows.
|
|
35
|
-
- **Welcome.** Adler says hello once on the first step, and shows his thinking face while PMOS reads your folder.
|
|
36
|
-
- **Board.** His small face is the Jira control at the end of the top bar: calm when Jira was read in the last day and a half, honest (with an amber dot) when it was not, and his thinking face while a press reads it again. Hold the pointer on it to see when Jira was read. He heads **New asks**: needs you while asks wait. When a delivery is missed, his honest face stands once in the Deliveries lane's header; hover it to see which. When you open a milestone that was delivered, he celebrates once in the panel (at most once a week); after that his face is calm. The diamond on the timeline stays plain, and nothing is sent to anyone.
|
|
37
|
-
- **Program charter.** His face on the check line, with his thinking face while Claude checks the milestones.
|
|
38
|
-
- **Stage card.** While a session works on a step, that step shows Adler with his thinking face instead of a spinner. When every step is done, Adler stands by the **Move to** button. Your own steps keep their rings.
|
|
39
|
-
- **Sessions.** Only the session that asks you something shows his face in the list. The other sessions keep their dots. In that session's card, he asks the question.
|
|
40
|
-
- **Viewer.** Under a page that the agent wrote last, one quiet line: "I drafted this", and how many open questions are yours.
|
|
41
|
-
- **Recording a meeting.** Adler wears headphones: in the Live pill while the meeting records, and after the title in the recording tab. He wears the happy headphones while he listens, the resting headphones while you pause, and shows the honest face when PMOS cannot hear the meeting.
|
|
42
|
-
- **A source that could not be read (phone and desk).** When Jira, or another source, does not answer, Your day says so first, under a small rain cloud: when PMOS last had it, and an icon that reads it again.
|
|
43
|
-
- **Pull to refresh (phone).** Pull Your day down from the top. Adler peeks up while PMOS reads your day again.
|
|
44
|
-
- **The menu button (phone).** When a call is yours, his ears peek over the menu button. They go when no call waits, while the menu is open, and after Quiet after.
|
|
45
|
-
- **Weekly review.** When the review is done for the week, Adler is calm. It is upkeep, not a win, so he does not celebrate.
|
|
46
|
-
- **Settings.** In Updates he shows his thinking face while PMOS checks or installs, asks with his worried face when a version is ready, and is calm when PMOS is up to date. A line that says something failed shows his honest face.
|
|
47
|
-
|
|
48
|
-
Adler never sits in a list row, a bar, a chart or a report. Rows keep their own signals: a dot is a session and a box is a task.
|
|
49
|
-
|
|
50
|
-
## Adler dressed for the day
|
|
51
|
-
|
|
52
|
-
On a festival, a season or a day of your own, Adler wears a small charm: a hat, a scarf, something in his paws or at his feet, and a scene around him. Deepavali gives him a diya and a garland of marigolds. Christmas gives him a beanie, a gift and a tree. The charm changes what he wears, never his mood.
|
|
53
|
-
|
|
54
|
-
- **Where he wears it.** The scene on the first open of Your day, the night scene after 22:00, his face on the latest chat reply (a hat only), the first run, and a real milestone win on the Board.
|
|
55
|
-
- **Where he never wears it.** Toasts, the recording pill (the headphones win), Intelligence, list rows, charts, reports, and his smallest face.
|
|
56
|
-
- **The mood stays true.** When he needs you, the charm stays and the scene goes plain. When the news is bad, the charm comes off.
|
|
57
|
-
- **The greeting.** On the day itself, Your day says "Happy Deepavali, <your name>." It does not say this on a day with bad news.
|
|
58
|
-
- **Why is he dressed?** Press the scene. One line tells you why. The eye-off icon turns that day off for this year. The arrow opens **Settings › General › Adler › Dress for the day**.
|
|
59
|
-
|
|
60
|
-
## How his pictures load
|
|
61
|
-
|
|
62
|
-
PMOS sends each picture at the size it is drawn at. A small face (a toast, a chat avatar, a badge) uses a small copy of about 14 KB. A figure or a scene uses a larger file. After the first load, your browser keeps the pictures until PMOS updates, so a page does not fetch them again. A page that shows no Adler fetches no pictures.
|
|
63
|
-
|
|
64
|
-
## Choose how much of Adler you see
|
|
65
|
-
|
|
66
|
-
Open **Settings › General**, then **Adler ›** under Extras. Each choice saves on this computer when you press it.
|
|
67
|
-
|
|
68
|
-
- **How much Adler:** **Full** shows his face, his figure and his scenes. **Face only** keeps his face where Claude speaks and drops the figures and scenes. **Off** shows a plain mood dot.
|
|
69
|
-
- **Motion:** **Follow my computer** lets him breathe and blink slowly. **Still** stops all motion. When your computer asks for reduced motion, he is always still.
|
|
70
|
-
- **Celebrations:** **Real wins only** (at most once a week) or **Never**.
|
|
71
|
-
- **Quiet after:** **22:00** opens Your day on Adler asleep after 22:00. **Never** turns this off.
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "Agents act by themselves"
|
|
4
|
-
description: "D106, Full autonomy now: the three classes of change, what agents apply at once with Undo, what waits for you, how a job goes back to propose, the stop switches, long-running goals, and the pmos autonomy and pmos loop commands."
|
|
5
|
-
timestamp: 2026-11-08
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Agents act by themselves
|
|
9
|
-
|
|
10
|
-
PMOS agents finish work without waiting for you. A change that can be undone is applied at once and listed with Undo. A change that other people see, or that cannot be undone, waits for you. This is decision D106 (Full autonomy now, 2026-11-08).
|
|
11
|
-
|
|
12
|
-
## The three classes
|
|
13
|
-
|
|
14
|
-
| Class | What it is | Examples | What happens |
|
|
15
|
-
|---|---|---|---|
|
|
16
|
-
| A | Upkeep with one right answer | A tidy task name, a date moved by evidence, a note | Applied at once. Undo for 14 days. |
|
|
17
|
-
| B | A judgment that can be undone | A problem statement, evidence, an expected outcome, a description, a task, a grill fix, what was found elsewhere | Applied at once. Undo for 14 days. |
|
|
18
|
-
| C | Seen by others, or cannot be undone | A message to a person, a Jira move, a stage move, a merge into a product repository, a delete, spend | Waits for your ✓. |
|
|
19
|
-
|
|
20
|
-
A change with no Undo waits too, whatever its class. A "maybe" or a possible duplicate that Claude found elsewhere waits, because it is a question for you.
|
|
21
|
-
|
|
22
|
-
## Undo
|
|
23
|
-
|
|
24
|
-
Each change an agent applies is listed for 14 days with Undo. Undo puts the record back as it was. If someone changed the record since, Undo keeps that change.
|
|
25
|
-
|
|
26
|
-
- `pmos autonomy status` lists what agents applied in the last 14 days, each with its id.
|
|
27
|
-
- `pmos driver undo <proposal>` undoes a change of the Initiative Driver.
|
|
28
|
-
- A ✦ change is undone on its initiative's ✦, as before.
|
|
29
|
-
|
|
30
|
-
Each Undo counts as a correction, so the north star (human corrections per agent run) still sees it.
|
|
31
|
-
|
|
32
|
-
## A job goes back to propose
|
|
33
|
-
|
|
34
|
-
Undo is also the safety net. A job goes back to propose for 7 days on one product when:
|
|
35
|
-
|
|
36
|
-
- its last two changes were both undone, or
|
|
37
|
-
- one of its changes was reverted, or
|
|
38
|
-
- in the last 7 days it applied 4 or more changes and more than 30% of them were undone.
|
|
39
|
-
|
|
40
|
-
When the verifier is running, a change it fails counts like an Undo. Home says once that a job went back to propose. The job applies by itself again after the 7 days. `pmos autonomy restore <job>` ends it early.
|
|
41
|
-
|
|
42
|
-
## Stop it
|
|
43
|
-
|
|
44
|
-
- `pmos ai off` stops every agent job, and every change that would apply by itself. `pmos ai on` starts them again.
|
|
45
|
-
- `PMOS_AUTONOMY=off` in the environment stops only what applies by itself. Proposals still come.
|
|
46
|
-
- `pmos driver mode approve` makes every Driver proposal wait for you again.
|
|
47
|
-
- The spending limit in Settings › Claude's checks holds.
|
|
48
|
-
|
|
49
|
-
## Long-running goals
|
|
50
|
-
|
|
51
|
-
Set a goal once, and agents work on it round after round until it is done.
|
|
52
|
-
|
|
53
|
-
- `pmos loop start --goal "<one sentence>" --done "<criterion>"` starts a goal. Give one `--done` for each criterion that must be true, each one checkable. Add `--forbid "<action>"` for each thing it must never do. The budget is 20 rounds and 24 hours by default; `--rounds N` and `--hours H` change it.
|
|
54
|
-
- Each round is one background run: it plans the next step, does it, checks it against the criteria, and records a checkpoint. The next round starts when the queue allows.
|
|
55
|
-
- `pmos loop checkpoint <id> --note "<what and how checked>" --met "<criterion>"` is what a round runs last. You do not need to run it.
|
|
56
|
-
- The loop ends when every criterion is met, or when its rounds or hours are used. If the computer restarts, the loop goes on from its last checkpoint.
|
|
57
|
-
- A loop stops for you only with a named reason: it needs a class C act, it needs a sign-in or secret only you have, it cannot cut the goal into steps, its check failed with no retries left, its work conflicts with other work, an outcome check it depends on is overdue, or three rounds met nothing new.
|
|
58
|
-
- `pmos loop status` shows every goal, its state, its rounds and what is met.
|
|
59
|
-
- `pmos loop resume <id> --note "<your answer>"` answers a loop that waits for you.
|
|
60
|
-
- `pmos loop stop <id>` stops a goal.
|
|
61
|
-
|
|
62
|
-
A loop never sends a message, moves a Jira ticket, merges into a product repository, deletes or spends. It files those as proposals and goes on with the rest.
|
|
63
|
-
|
|
64
|
-
## What did not change
|
|
65
|
-
|
|
66
|
-
- Class C still waits for you (D65 point h: the factory proposes and never merges into a product repository).
|
|
67
|
-
- No request header is logged (D08).
|
|
68
|
-
- Every line an agent writes names the agent (D98).
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "Ask about the past: why something was decided or dropped, with the record that says so"
|
|
4
|
-
timestamp: 2026-11-03
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Ask about the past
|
|
8
|
-
|
|
9
|
-
Ask in the initiative chat. There is no search box and no button.
|
|
10
|
-
|
|
11
|
-
- "Why did we drop the hosted backend?"
|
|
12
|
-
- "Did we ever decide on a graph store?"
|
|
13
|
-
- "What did we decide about Now, Next and Later?"
|
|
14
|
-
|
|
15
|
-
Claude answers from the records PMOS keeps, never from memory. Each claim has the file and line it rests on, for example `DECISIONS.md:243`. When no record answers the question, Claude says **No record found** and names what it read. It does not guess a reason.
|
|
16
|
-
|
|
17
|
-
A decision that a later one replaced is marked as superseded, with the decision that replaced it.
|
|
18
|
-
|
|
19
|
-
## What it reads
|
|
20
|
-
|
|
21
|
-
- `DECISIONS.md`: each decision and each line of the amendment log
|
|
22
|
-
- the decision records in `okf/products/pmos/adr/`
|
|
23
|
-
- `pm-decisions.md`, the PM journal
|
|
24
|
-
- `planning/out-of-scope/`, the requests that were declined
|
|
25
|
-
- `planning/initiatives/`, each initiative record and its status
|
|
26
|
-
- `discoveries.md`, the run log (it counts less)
|
|
27
|
-
- the decisions in your meeting notes, except a point you marked not right or deleted. A private note is never read.
|
|
28
|
-
|
|
29
|
-
It does not read chat transcripts or Jira tickets, because PMOS keeps no searchable copy of them on your machine. It says so in each answer.
|
|
30
|
-
|
|
31
|
-
## You decided this before
|
|
32
|
-
|
|
33
|
-
When you add an initiative that repeats something decided or declined before, one finding waits under the initiative's ✦. It quotes the earlier record and its line. The next step is to say what is different this time. Keep it to add that step as a task, or drop it. Nothing changes until you keep it. When nothing repeats, nothing shows.
|
|
34
|
-
|
|
35
|
-
It goes through the same guardrail as every AI job: every quote is checked at its line, it is tested on known cases before anything shows, and every run is in the audit. `pmos ai off past-repeat` turns it off.
|
|
36
|
-
|
|
37
|
-
## From a terminal
|
|
38
|
-
|
|
39
|
-
| Command | What it does |
|
|
40
|
-
|---|---|
|
|
41
|
-
| `pmos past ask "<question>"` | The records that answer the question, each with its path:line and its own words, and how sure the match is. "No record found" when none does. `--json` for a script. |
|
|
42
|
-
| `pmos past check "<idea>"` | What was decided or declined before about an idea. |
|
|
43
|
-
| `pmos past verify --text "<answer>"` | Checks that every path:line in an answer is a record PMOS read, at a line that exists. |
|
|
44
|
-
| `pmos past sources` | Which records were read, and which were not on this machine. |
|
|
45
|
-
|
|
46
|
-
Nothing here writes a record, sends anything or calls a model.
|
package/workspace/guide/board.md
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "pmos board: the items of every initiative"
|
|
4
|
-
description: "How pmos board prints the items of every initiative in four columns from a terminal, and where the workspace shows initiatives and their tasks."
|
|
5
|
-
timestamp: 2026-11-08
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# pmos board: the items of every initiative
|
|
9
|
-
|
|
10
|
-
The **Board** place of the workspace shows initiatives, not items: every initiative of the products you pick, by stage, with programs, a timeline and a list. [Programs on the Board](programs.md) explains it. An initiative's tasks show under it in Home's list and in the initiative's page in the Viewer. A press on an initiative on the Board opens the same view as on Home: the stage card with its gate chips and the next stage, Tasks, Documents and Linked.
|
|
11
|
-
|
|
12
|
-
## The top row
|
|
13
|
-
|
|
14
|
-
The Board has one row of seven controls at the top, the same on a phone and on a computer. The pieces are in this order:
|
|
15
|
-
|
|
16
|
-
- **The product picker.** Pick the products that the Board shows.
|
|
17
|
-
- **The view.** Press the view button. Its menu has **List**, **By stage**, **Track** and **Timeline**. When the timeline shows, the menu also has the span (for example **Quarter**) and, on a computer, the **Columns** beside the names. **Shared with me** is the last item.
|
|
18
|
-
- **Needs a look.** One pill with a dot and a number for the new asks, the initiatives that wait on you, and the late, at risk, blocked and idle initiatives. Press it to see each one. When all of them are zero, the pill does not show. On a computer, the **(i)** after the pill holds what the timeline's bars mean, the sprints and releases, and the Jira read: press **↻** to read Jira again. An amber dot on (i) shows that the Jira read is old.
|
|
19
|
-
- **Find.** It opens Search. The initiatives and the Jira work-items of this Board come first, then the rest of your work. **Ctrl K** (**⌘K** on a Mac) or **/** opens the same Search.
|
|
20
|
-
- **The tune button.** It holds **Group** (only when a program holds an initiative here), **Sort** and **Filter** (owner, category, sprint). On a phone it also holds the Jira read, and a dot on it shows that the Jira read is old or that a filter is on.
|
|
21
|
-
- **+** for a new program or initiative.
|
|
22
|
-
- **⋯** (on a computer) holds **Publish a read-only copy** and **Cancelled and archived**. The theme and the sources are in [Settings](settings.md): open it from the place menu.
|
|
23
|
-
|
|
24
|
-
A step of the track or a column of By stage with no initiative shows no number.
|
|
25
|
-
|
|
26
|
-
**Sprint N only** is the first chip in Filter's Sprint group. It is on when the board has a sprint. The Board does not pick a workflow: with more than one workflow on a board, By stage and the track show the three categories To do, In progress and Done.
|
|
27
|
-
|
|
28
|
-
## What an initiative's status means
|
|
29
|
-
|
|
30
|
-
The status of an initiative tells only what PMOS read. If PMOS read nothing, the status is **No signal**.
|
|
31
|
-
|
|
32
|
-
- **On track**: a Jira read from the last 14 days shows no ticket past its due date or sprint end, or the plan items have dates that are still ahead.
|
|
33
|
-
- **Late**: a date passed. This is the planned finish of the plan items, or a milestone.
|
|
34
|
-
- **At risk**: a read found a problem, or you confirmed a risk. A problem is an overdue item, a blocked or late Jira ticket, or work that is idle. To confirm a risk, press ✓ on Claude's "Mark … at risk" suggestion for a program milestone.
|
|
35
|
-
- **No signal** (grey): PMOS read nothing that tells how the work goes. No signal never counts as on track.
|
|
36
|
-
|
|
37
|
-
Every status shows where it came from and when PMOS read it. Point at a status on the Board to see this, for example "From Jira · read 3 Nov". If a status has no source or no read time, it shows as No signal. This rule applies to the Board, the initiative page, Home and Intelligence.
|
|
38
|
-
|
|
39
|
-
To read Jira for the initiatives with no signal, open **Needs a look** and press **✦ Read Jira now**.
|
|
40
|
-
|
|
41
|
-
The weekly update in Home follows the same rules. Claude drafts it only when something moved this week or a risk is open. The update starts with **Before you send**: the risks that Claude found and you did not confirm. Press ✓ to confirm all of them. The mail does not include these risks. The initiatives with no signal are under **Not read**.
|
|
42
|
-
|
|
43
|
-
The command below prints the items themselves, from a terminal.
|
|
44
|
-
|
|
45
|
-
## From a terminal
|
|
46
|
-
|
|
47
|
-
`pmos board` prints the items of every initiative as columns: Todo, Doing, Review and Done. It reads the repository, so the workspace server does not need to run.
|
|
48
|
-
|
|
49
|
-
```
|
|
50
|
-
pmos board the Active filter
|
|
51
|
-
pmos board --mine your own items
|
|
52
|
-
pmos board --init <initiative> one initiative
|
|
53
|
-
pmos board --json the same answer as GET /api/board, for scripts
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
The text form prints one column per block, then one line for each card: the initiative, the stage, the title and the owner, and what needs your notice. The command only reads. It writes no line to any ledger.
|
|
57
|
-
|
|
58
|
-
`pmos board` exits with 0 when it printed the Board, 1 when the initiative is not on the Board, and 2 when the command line is wrong.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "Claude's leads: pmos lead"
|
|
4
|
-
description: "What a lead is, how an agent saves one with pmos lead, and how the workspace keeps leads up to date. The premium Briefing page that showed them is now Home."
|
|
5
|
-
timestamp: 2026-11-03
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Claude's leads: pmos lead
|
|
9
|
-
|
|
10
|
-
The premium Briefing page is now Home. [Home](home.md) describes it. This page keeps the part of it that still works from a terminal: Claude's leads.
|
|
11
|
-
|
|
12
|
-
**Claude's lead in a popup.** A popup such as a task, a document, a report or a measure opens on Claude's short lead, written ahead of time: why the thing matters now, what is asked or blocking, and what to do. Under it is when the lead was written and what Claude read for it. Opening a popup starts nothing: the lead is read from what is stored. **Refresh** asks the popup's own Claude Code session to write the lead again from the stored reads, and the new lead replaces the old one. A popup with no lead yet says so and offers **Write the lead**. An agent session saves a lead with `pmos lead put --key <popup key> --text "<lead>" --cite "<what it read, when>"`, and `pmos lead show [<key>]` prints what is stored. `pmos lead` calls no tool.
|
|
13
|
-
|
|
14
|
-
**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. 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.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
type: Guide
|
|
3
|
-
title: "Meeting focus over Google Meet: the Chrome extension"
|
|
4
|
-
description: "What the PMOS Chrome extension shows over a Google Meet call, what it reads, and how to add it with pmos extension."
|
|
5
|
-
timestamp: 2026-11-03
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Meeting focus over Google Meet: the Chrome extension
|
|
9
|
-
|
|
10
|
-
The calendar is in Home: press the calendar icon in Your day's header. A meeting opens in the Viewer, where you record it and follow its notes. [Notes](notes.md) explains recording. This page explains the Chrome extension, which shows a small PMOS panel over a Google Meet call.
|
|
11
|
-
|
|
12
|
-
## Add the extension
|
|
13
|
-
|
|
14
|
-
The PMOS Chrome extension shows a small panel over a Google Meet call, so you do not need to switch to the PMOS tab. The panel is a compact meeting focus. It has a head with the topic the room is on (or "Starts in" before the start) and the time left, the **What's being said** line, the conversation with PMOS, and **Ask PMOS quietly**. Only you see it. It is not part of the screen you share. The extension reads the address and the title of the Meet tab only. It does not read the call's audio or captions, and it talks only to the PMOS on your computer.
|
|
15
|
-
|
|
16
|
-
To add the extension:
|
|
17
|
-
|
|
18
|
-
1. Run `pmos extension`. It prints the folder of the extension and these steps.
|
|
19
|
-
2. In Chrome, open `chrome://extensions` and turn on **Developer mode**.
|
|
20
|
-
3. Press **Load unpacked** and pick the folder that `pmos extension` printed.
|
|
21
|
-
|
|
22
|
-
PMOS must run while you use the panel. The extension looks for PMOS at `http://localhost:7433`. If `pmos` started on another port, open the extension's **Options**, type that address and press **Save**, then reload the Meet tab.
|
|
23
|
-
|
|
24
|
-
To use it, open a Meet call. The panel shows at the bottom right of the call, and not on the Meet home page. PMOS finds the meeting on your calendar by the Meet link in the invite. If no invite has that link, it uses the title of the tab, and then the meeting that is under way now (from 10 minutes before the start to 10 minutes after the end). If none fits, the panel says "No meeting right now" and lists today's meetings. Press the one this call is. **Fold** shrinks the panel to a pill that shows the head only, and the same button opens it again. **Open focus in PMOS** opens the full Meeting focus page in a new tab, with the material, the topics and the captured items. If PMOS does not answer, the panel says "PMOS is not running at" and the address, with a link to the Options.
|