create-pmos 0.743.0 → 0.745.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.743.0",
3
+ "version": "0.745.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -34,8 +34,27 @@
34
34
  ],
35
35
  "pmosChanges": [
36
36
  {
37
- "v": "0.743.0",
38
- "at": "2026-11-23T09:58:34.443Z",
37
+ "v": "0.745.0",
38
+ "at": "2026-11-23T10:30:13.712Z",
39
+ "f": 4,
40
+ "prs": [
41
+ {
42
+ "n": 1659,
43
+ "t": "Start a chat about a product from Work, and a program's chat answers its first message",
44
+ "s": "Start a chat about a product from Work, and a program's chat answers its first message",
45
+ "k": "fix"
46
+ },
47
+ {
48
+ "n": 1669,
49
+ "t": "A date suggestion names the days it moves work to",
50
+ "s": "A date suggestion names the days it moves work to",
51
+ "k": "fix"
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "v": "0.744.0",
57
+ "at": "2026-11-23T10:01:07.752Z",
39
58
  "f": 4,
40
59
  "prs": [
41
60
  {
@@ -49,6 +68,12 @@
49
68
  "t": "Every merged job keeps a PR and a cost; the verifier reaches every run; Library keys tested by pressing them (A484, A9, A437)",
50
69
  "s": "Every merged job keeps a PR and a cost; the verifier reaches every run; Library keys tested by pressing them (A484, A9, A437)",
51
70
  "k": "fix"
71
+ },
72
+ {
73
+ "n": 1659,
74
+ "t": "Start a chat about a product from Work, and a program's chat answers its first message",
75
+ "s": "Start a chat about a product from Work, and a program's chat answers its first message",
76
+ "k": "fix"
52
77
  }
53
78
  ]
54
79
  },
@@ -599,37 +624,6 @@
599
624
  "k": "fix"
600
625
  }
601
626
  ]
602
- },
603
- {
604
- "v": "0.720.0",
605
- "at": "2026-11-23T00:13:50.800Z",
606
- "f": 4,
607
- "prs": [
608
- {
609
- "n": 1594,
610
- "t": "Meeting test stand-in answers the week the page asks for",
611
- "s": "Meeting test stand-in answers the week the page asks for",
612
- "k": "fix"
613
- },
614
- {
615
- "n": 1596,
616
- "t": "Pin a filter as a view beside the product switcher (job #1558)",
617
- "s": "Pin a filter as a view beside the product switcher (job #1558)",
618
- "k": "new"
619
- },
620
- {
621
- "n": 1595,
622
- "t": "Ctrl+K reaches every page, item and action (job #1562)",
623
- "s": "Ctrl+K reaches every page, item and action (job #1562)",
624
- "k": "new"
625
- },
626
- {
627
- "n": 1591,
628
- "t": "Sized opportunities with sources and confidence in the Roadmap rank (A363)",
629
- "s": "Sized opportunities with sources and confidence in the Roadmap rank (A363)",
630
- "k": "new"
631
- }
632
- ]
633
627
  }
634
628
  ]
635
629
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@0aefe912
1
+ kernel-source: pmos@75b5a732
2
2
  assembled: 2026-11-23
3
3
  mode: vendor
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Eval calibration log"
4
4
  description: "Append-only record of every PM override of an evaluator verdict."
5
- generated: {by: process:create-pmos, at: "2026-11-23T09:58:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-23T10:30:10Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-11-23T09:58:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-23T10:30:10Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-11-23T09:58:30Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-23T10:30:10Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -148,9 +148,10 @@ const IVREAD = () => {
148
148
  ok('B1 the page is served at /premium-board and /premium-board.html', (await fetch(BASE + '/premium-board')).status === 200 && (await fetch(BASE + '/premium-board.html')).status === 200);
149
149
 
150
150
  /* the Agreed toolbar: the view toggle, Find, Filter, New initiative and ⋯; nothing of the older Board is attached (premium-agreed-design, audit section 2) */
151
- const tools = await p.evaluate(() => ({ views: [...document.querySelectorAll('#bdViewMenu [data-pv]')].map((b) => b.dataset.pv).join(), order: [...document.querySelectorAll('.bd-hd #bdView, .bd-hd #bdFind, .bd-hd #bdFilter, .bd-hd #newIni, .bd-hd #moreBtn')].map((e) => e.id).join(),
151
+ const tools = await p.evaluate(() => ({ views: [...document.querySelectorAll('#bdViewMenu [data-pv]')].map((b) => b.dataset.pv).join(), order: [...document.querySelectorAll('.bd-hd #bdView, .bd-hd #bdAsk, .bd-hd #bdFind, .bd-hd #bdFilter, .bd-hd #newIni, .bd-hd #moreBtn')].map((e) => e.id).join(),
152
152
  n: [...document.querySelectorAll('.bd-hd button, .bd-hd .crumb')].filter((b) => b.offsetParent !== null && !b.closest('[hidden], .bd-grpm, #bdChipset') && !b.matches('.crumb *')).length, old: ['#modeSeg', '#iniCap', '#iniBar', '#iniNote', '#popAsks', '#popSpr', '#popMet', '#popFilter', '#stHelp', '#more', '.bam2', '.bd-foot', '#dmQ', '#docBody .dmr'].filter((q) => !!document.querySelector(q)), console: document.querySelectorAll('a[href*="console"]').length }));
153
- ok('B1 the toolbar is one row of seven (UI grill U2): the picker, the View chip (List, By stage, Track and Timeline), the pill, Find, the tune button, New and ⋯, in that order', tools.views === 'list,stages,track,time' && tools.order === 'bdView,bdFind,bdFilter,newIni,moreBtn' && tools.n === 6, JSON.stringify(tools));
153
+ // work-ask-chat (bug 2026-11-23): Ask PMOS about the product sits before Find on a computer
154
+ ok('B1 the toolbar is one row of eight (UI grill U2, plus Ask PMOS): the picker, the View chip (List, By stage, Track and Timeline), the pill, Ask PMOS, Find, the tune button, New and ⋯, in that order', tools.views === 'list,stages,track,time' && tools.order === 'bdView,bdAsk,bdFind,bdFilter,newIni,moreBtn' && tools.n === 7, JSON.stringify(tools));
154
155
  ok('B1 none of the older Board is on the page: no Page/Popup switch, header bar, note, asks, sprint, metrics or filter popover, Show more, row menu, footer or documents manager, and no console link', tools.old.length === 0 && tools.console === 0, JSON.stringify(tools));
155
156
 
156
157
  /* B1 the stage track (premium-agreed-design): eight columns, two of them milestones, the board's counts, rows by stage.
@@ -1,7 +1,26 @@
1
1
  [
2
2
  {
3
- "v": "0.743.0",
4
- "at": "2026-11-23T09:58:34.443Z",
3
+ "v": "0.745.0",
4
+ "at": "2026-11-23T10:30:13.712Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 1659,
9
+ "t": "Start a chat about a product from Work, and a program's chat answers its first message",
10
+ "s": "Start a chat about a product from Work, and a program's chat answers its first message",
11
+ "k": "fix"
12
+ },
13
+ {
14
+ "n": 1669,
15
+ "t": "A date suggestion names the days it moves work to",
16
+ "s": "A date suggestion names the days it moves work to",
17
+ "k": "fix"
18
+ }
19
+ ]
20
+ },
21
+ {
22
+ "v": "0.744.0",
23
+ "at": "2026-11-23T10:01:07.752Z",
5
24
  "f": 4,
6
25
  "prs": [
7
26
  {
@@ -15,6 +34,12 @@
15
34
  "t": "Every merged job keeps a PR and a cost; the verifier reaches every run; Library keys tested by pressing them (A484, A9, A437)",
16
35
  "s": "Every merged job keeps a PR and a cost; the verifier reaches every run; Library keys tested by pressing them (A484, A9, A437)",
17
36
  "k": "fix"
37
+ },
38
+ {
39
+ "n": 1659,
40
+ "t": "Start a chat about a product from Work, and a program's chat answers its first message",
41
+ "s": "Start a chat about a product from Work, and a program's chat answers its first message",
42
+ "k": "fix"
18
43
  }
19
44
  ]
20
45
  },
@@ -18,7 +18,7 @@ Press the ✦ to open "PMOS proposes N" in the Viewer. On a desk the chat stays
18
18
  - **Found elsewhere.** When you add an initiative, PMOS looks for it by itself in every source you connected: Drive, Docs, Sheets, Slides, Jira, the calendar and meeting notes, Gmail, Slack and Confluence. The Viewer shows one live line per source while it reads. A source that finds nothing drops off. ■ Stop is the only control. PMOS then proposes the stage the work is really in, with the dates past stages really ended, the documents, and the tasks by stage with their own dates and owners. A Jira epic is linked, never copied.
19
19
  - **Check these.** A maybe match, with its reason, and an item that is already in another initiative. A duplicate is linked, never copied. These need their own ✓.
20
20
  - **Not placed.** What PMOS could not fit. It is kept under Linked.
21
- - **Dates.** Each morning, and whenever a date passes, PMOS proposes new dates for tasks that are late or at risk (due within 3 days and not started), one proposal per stage. The reason is one line with its source. When PMOS finds no reason, it says "No reason found" and offers to ask the owner. When a new date reaches a task that waits on it, the proposal shows the link: keep it (the waiting task moves too) or ignore it (it stays and the two overlap). PMOS marks the one it recommends with a small ✦.
21
+ - **Dates.** Each morning, and whenever a date passes, PMOS proposes new dates for tasks that are late or at risk (due within 3 days and not started), one proposal per stage. Each line names the task and its two days: "Move <task> from 24 Nov to 27 Nov". The reason is one line with its source. When PMOS finds no reason, it says "No reason found" and offers to ask the owner. When a new date reaches a task that waits on it, the proposal shows the link: keep it (the waiting task moves too) or ignore it (it stays and the two overlap). PMOS marks the one it recommends with a small ✦.
22
22
  - **Status.** "Looks done" when the evidence says the work happened, such as an email that was sent.
23
23
  - **Names.** Tidy names: the WBS number kept, verb first, about 7 words, no "+" and no brackets. The detail that is cut goes to the task's notes.
24
24
  - **Links.** The links between tasks that PMOS proposes.
@@ -96,7 +96,7 @@ On a phone, PMOS opens on Today. It is one page with no boxes: **Where it stands
96
96
 
97
97
  ## Work
98
98
 
99
- On a computer, Work is built from the parts of the PMOS design system. The top line shows the path (**Work ›** and the product; press the product to switch it), the tabs **Initiatives**, **Backlog** and **This sprint**, then Search, New initiative and More.
99
+ On a computer, Work is built from the parts of the PMOS design system. The top line shows the path (**Work ›** and the product; press the product to switch it), the tabs **Initiatives**, **Backlog** and **This sprint**, then Ask PMOS, Search, New initiative and More. Ask PMOS (the chat bubble, on a computer) opens a chat about the product shown, in the one popup; with several products it opens Ask PMOS about the page. A program's own chat is the chat bubble in its popup.
100
100
 
101
101
  **Initiatives** has three blocks:
102
102
 
@@ -105,6 +105,12 @@ function popRow(c) {
105
105
  /** The opening's row of an initiative's chat when the page model holds no row for it (bug 2026-10-24: Home's New session on an
106
106
  * initiative other than the one the initiative model last read). The chat is the PM's own Claude Code session, so it starts with
107
107
  * the initiative's id and what the page sent instead of refusing. A row of another kind that is not on the page is still refused. */
108
+ /** A chat that may start from what the page says it is about, when the server's model has no row for it: an initiative (init:), and a
109
+ * program or a whole product (board:, bug 2026-11-23: the Board model holds initiatives only, so a program's or a product's chat answered
110
+ * 404 and the first message went nowhere). A board: chat needs the page's words; with none it still needs a row. */
111
+ function scopedByContext(key, context) {
112
+ return /^init:/.test(String(key)) || (/^board:/.test(String(key)) && typeof context === 'string' && !!context.trim());
113
+ }
108
114
  function contextRow(key, context) {
109
115
  const say = typeof context === 'string' ? clip(context, 600) : '';
110
116
  const id = String(key).replace(/^[a-z]+:/, '').replace(/:\d+$/, '');
@@ -149,7 +155,7 @@ function ask({ runtimeDir, key, text, model, context, spawnSession, wsId, now =
149
155
  const q = String(text == null ? '' : text).trim();
150
156
  if (!q) return fail(400, 'Write a question for the agent.');
151
157
  if (q.length > MAX_Q) return fail(400, 'The question is too long (' + MAX_Q + ' characters at most).');
152
- const row = rowFor(model, key, context);
158
+ const row = rowFor(model, key, context) || (scopedByContext(key, context) ? contextRow(key, context) : null);
153
159
  if (!row) return fail(404, /^pop:/.test(key) ? 'the popup did not say what it shows' : model ? 'that row is not on the page' : 'the page has not read the repository yet');
154
160
  if (typeof spawnSession !== 'function') return fail(409, 'this workspace cannot start sessions');
155
161
  const origin = 'briefing-ask:' + key;
@@ -219,7 +225,7 @@ function chat({ runtimeDir, key, text, model, context, sessions, wsId, iniInfo,
219
225
  // slice 4 (PRD L2): an ended chat resumes its own Claude Code conversation when the file for it is still there
220
226
  const prev = alive ? null : chatRecordOf(runtimeDir, key);
221
227
  const resume = !!(prev && prev.claude && typeof sessions.hasConversation === 'function' && sessions.hasConversation(prev.claude));
222
- const row = alive ? null : rowFor(model, key, context) || (/^init:/.test(key) ? contextRow(key, context) : null);
228
+ const row = alive ? null : rowFor(model, key, context) || (scopedByContext(key, context) ? contextRow(key, context) : null);
223
229
  if (!alive && !row && !resume) return fail(404, /^pop:/.test(key) ? 'the popup did not say what it shows' : model ? 'that row is not on the page' : 'the page has not read the repository yet');
224
230
  // slice 2 (PRD G2): `/goal <text>` becomes the PMOS grilling prompt, on record before it reaches the session
225
231
  let msg = q, goal = null;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.743.0",
3
+ "version": "0.745.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.743.0",
9
+ "version": "0.745.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@anthropic-ai/sdk": "^1.3.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.743.0",
3
+ "version": "0.745.0",
4
4
  "private": true,
5
5
  "description": "PMOS Terminal Workspace — local companion hosting real PTYs beside the library and gates (D62)",
6
6
  "license": "MIT",
@@ -64,7 +64,7 @@ export function nextOf(r, W, n = 3) {
64
64
  const sugWill = (s) => {
65
65
  if (s.choices) return [];
66
66
  const it = (s.items || []).filter((x) => x && (x.title || x.task));
67
- if (s.group === 'dates' && it.length) return it.slice(0, 4).map((x) => 'Move ' + (x.title || x.task) + (x.to ? ' to ' + dayText(x.to) : ''));
67
+ if (s.group === 'dates' && it.length) return it.slice(0, 4).map((x) => 'Move ' + (x.title || x.task) + (x.to && (x.to.due || x.to.start || typeof x.to === 'string') ? ' to ' + dayText(typeof x.to === 'object' ? x.to.due || x.to.start : x.to) : ''));
68
68
  if (it.length) return it.slice(0, 4).map((x) => String(x.title || x.task));
69
69
  return s.ask || s.move || s.moveAll ? [s.say] : [];
70
70
  };
@@ -82,7 +82,8 @@ export function pickProp(rows, now = new Date()) {
82
82
  for (const r of C) for (const g of r.props.groups) for (const p of g.props || []) if (p && p.id && p.group !== 'links' && (p.title || (p.items || []).length)) return { r, p };
83
83
  return null;
84
84
  }
85
- const dt = (v, now) => { const d = day(v); return d ? dm(d, now) : String(v || ''); };
85
+ /* a dates proposal's from/to is { start, due } (lib/proposals.js datesOf); a plan's is a day. Either reads as its day. */
86
+ const dt = (v, now) => { const w = v && typeof v === 'object' ? v.due || v.start || '' : v; const d = day(w); return d ? dm(d, now) : String(w || ''); };
86
87
  /** A proposal in the Suggestion's words: { title, why, will: [text], changes, basis }. Every line comes from the proposal; one it lacks is left out. */
87
88
  export function sugOf(r, p, now = new Date()) {
88
89
  const items = (p.items || []).filter(Boolean);
@@ -1615,3 +1615,5 @@ html.ro body.wk-on .bd-hd { display: none; } /* find and tune moved to the top
1615
1615
  .bd-sigs li { padding: 6px 0; border-top: 1px solid var(--cz-hair); font-size: var(--fs-label); line-height: var(--lh-label); }
1616
1616
  .bd-sigs li:first-child { border-top: 0; }
1617
1617
  .bd-sigs .bd-sign { display: block; color: var(--cz-ink2); }
1618
+ /* Work's Ask PMOS icon (bug 2026-11-23, initiative work-ask-chat) is a computer's: a phone's top bar is one row, and its Ask PMOS is in the menu */
1619
+ @media (max-width: 760px) { .bd-hd .bd-ask { display: none; } }
@@ -43,9 +43,29 @@ export function keyOf(it) {
43
43
  /** The chat's target (home-chat.js mountChat open): the item's name is its scope; Claude answers. */
44
44
  export function targetOf(it, ws) {
45
45
  const title = String((it && it.title) || 'this').slice(0, 80);
46
- return { key: keyOf(it), ws: ws || undefined, title, about: title, scope: { text: title, icon: FLAG }, role: CLAUDE, rich: false,
46
+ return { key: keyOf(it), ws: ws || undefined, title, about: title, scope: { text: title, icon: FLAG }, role: CLAUDE, rich: false, context: contextOf(it, ws),
47
47
  placeholder: 'Message PMOS about ' + title, empty: 'Ask about ' + title + '. PMOS reads its records and works on it in a real session.' };
48
48
  }
49
+ /** What the chat is about, in the page's words, for a chat whose key the server's model has no row for (a program, a whole product):
50
+ * lib/briefing-premium-agent.js starts it from these words (bug 2026-11-23). An initiative's chat reads its own record and needs none. */
51
+ export function contextOf(it, ws) {
52
+ const kind = String((it && (it.scopeKind || it.kind)) || '').toLowerCase(), title = String((it && it.title) || '').replace(/\s+/g, ' ').trim().slice(0, 80);
53
+ if (!title || !/^(program|product)$/.test(kind)) return undefined;
54
+ const where = ws ? ' (workspace ' + String(ws).slice(0, 60) + ')' : '';
55
+ return kind === 'product'
56
+ ? 'The product ' + title + where + ': its programs and initiatives on the Work page. Read them with pmos before you answer.'
57
+ : 'The program ' + title + where + ': its initiatives and milestones. Read it with pmos before you answer.';
58
+ }
59
+ /** The chat about one whole product (Work's Ask PMOS icon, bug 2026-11-23): its own conversation (board:product-<ws>), "In: <name>". */
60
+ export function productTarget(ws, name) {
61
+ return popTarget({ id: 'product-' + String(ws || ''), kind: 'board', scopeKind: 'product', title: name || ws }, ws);
62
+ }
63
+ /** Open a chat target as the page's chat: the one popup on a desk (its chat changes when it shows already), the sheet on a phone. */
64
+ export async function openAbout(t) {
65
+ if (!t) return false;
66
+ if (!isPhone()) { const P = await import('./cozy-popup.js'); return P.openCos(t); }
67
+ return openTarget(t, { title: t.title });
68
+ }
49
69
  /** Home's own address for the same conversation (⋯ › Open in a new tab). */
50
70
  const homeHref = (it, key) => '/premium.html?' + new URLSearchParams({ about: key, label: String(it.title || '').slice(0, 80) }).toString();
51
71
 
@@ -319,6 +319,27 @@ function pinSettled() {
319
319
  }
320
320
  $('#ibBody').addEventListener('click', (e) => { if (e.target.closest('[data-pvwpin],[data-pvwsug]')) pinPress(e); }, true);
321
321
 
322
+ /* ── Ask PMOS about the product shown (bug 2026-11-23): a product, or the products picked, get their own chat in the one popup. Not on a
323
+ * published read-only copy, which has no chat. ── */
324
+ function askAbout() {
325
+ if (!M || !M.board) return null;
326
+ if (ALL) {
327
+ const names = (M.board.products || []).map((p) => productName(p.ws, p.name)).filter(Boolean), some = PICK.length > 1 && names.length;
328
+ const here = some ? names.join(', ') : 'all products';
329
+ return { label: 'Ask PMOS about ' + here, open: (C) => C.openCos({ here: 'Work · ' + here }) };
330
+ }
331
+ const name = productName(M.board.ws, M.board.product || M.board.name || M.board.ws || '');
332
+ if (!M.board.ws || !name) return null;
333
+ return { label: 'Ask PMOS about ' + name, open: (C) => C.openAbout(C.productTarget(M.board.ws, name)) };
334
+ }
335
+ function drawAsk() {
336
+ const b = $('#bdAsk'); if (!b) return;
337
+ const a = window.PMOS_READONLY ? null : askAbout();
338
+ b.hidden = !a;
339
+ if (a) { b.setAttribute('aria-label', a.label); b.title = a.label; }
340
+ }
341
+ { const b = $('#bdAsk'); if (b) b.addEventListener('click', () => { const a = askAbout(); if (a) import('./page-chat.js').then((C) => a.open(C)); }); }
342
+
322
343
  /* ── the toolbar: picker, chips ───────────────────────────────────────────────────────────────────────────────────── */
323
344
  let crumbed = false;
324
345
  function drawHead() {
@@ -326,10 +347,11 @@ function drawHead() {
326
347
  crumbed = true;
327
348
  drawPick();
328
349
  // the display names come in once (GET /api/workspaces): then the chip and Work's Product cells draw again with them
329
- whenNames().then(() => { if (!M) return; drawPick(); if (workOn()) drawInit(); });
350
+ whenNames().then(() => { if (!M) return; drawPick(); drawAsk(); if (workOn()) drawInit(); });
330
351
  const names = (M.board.products || []).map((p) => p.name), some = ALL && PICK.length > 1;
331
352
  chatAbout('board:this-board', some ? 'the ' + names.join(', ') + ' boards' : ALL ? 'all products' : M.board.name ? 'the ' + M.board.name + ' board' : 'this board');
332
353
  }
354
+ drawAsk();
333
355
  $('#snap').textContent = M.header.text;
334
356
  // PMOS-self: new work starts at the pmos-router skill. All products: New asks which product the initiative is for
335
357
  $('#newIni').hidden = ALL ? (M.board.products || []).every((p) => p.self) : !!M.board.self;
@@ -50,6 +50,8 @@
50
50
  <!-- what needs a look: one pill of dots and numbers, and its (i): the timeline's legend, the sprints and releases, the Jira read -->
51
51
  <div class="bd-chipset" id="bdChipset"></div>
52
52
  <div class="bd-tools">
53
+ <!-- Ask PMOS about the product shown (bug 2026-11-23): its own chat, in the one popup; pm/premium-board.js names it -->
54
+ <button type="button" class="bd-ib pm-btn bd-ask" id="bdAsk" aria-label="Ask PMOS about this product" title="Ask PMOS about this product" aria-haspopup="dialog" hidden><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v11H9l-5 4z"/></svg></button>
53
55
  <button type="button" class="bd-ib pm-btn" id="bdFind" aria-label="Find an initiative or work-item" title="Find an initiative or work-item" aria-haspopup="dialog"><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>
54
56
  <!-- the tune button: Group, Sort and the filters (owner, category, sprint), with a dot while one is on -->
55
57
  <button type="button" class="bd-ib pm-btn" id="bdFilter" aria-label="Group, sort and filter" title="Group, sort and filter" aria-haspopup="dialog"><svg class="bd-icf" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16l-6 8v6l-4-2v-4z"/></svg><svg class="bd-ict" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h9M17 7h3M4 17h3M11 17h9M15 5v4M9 15v4"/></svg><i class="bd-pip bd-tune-pip" hidden></i></button>
@@ -0,0 +1,9 @@
1
+ {
2
+ "_comment": "Start a chat at product and program level (bug 2026-11-23, initiative work-ask-chat, done test planning/done-tests/work-ask-chat.md W1-W4): Work's Ask PMOS icon, the program and product chat targets, and the chat route starting them from the page's words. No server, network or browser.",
3
+ "modules": [
4
+ "work-ask-chat.test.js"
5
+ ],
6
+ "seconds": {
7
+ "work-ask-chat.test.js": 1
8
+ }
9
+ }