create-pmos 0.407.0 → 0.408.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.407.0",
3
+ "version": "0.408.0",
4
4
  "description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -32,6 +32,18 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.408.0",
37
+ "at": "2026-10-25T02:55:03.294Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1039,
42
+ "t": "Read another product's initiative from its own board; its heading no longer moves Home",
43
+ "s": "Read another product's initiative from its own board; its heading no longer moves Home"
44
+ }
45
+ ]
46
+ },
35
47
  {
36
48
  "v": "0.407.0",
37
49
  "at": "2026-10-24T11:09:31.378Z",
@@ -269,18 +281,6 @@
269
281
  "s": "Reports, charts and dashboards from any chat; the Insight Studio is removed"
270
282
  }
271
283
  ]
272
- },
273
- {
274
- "v": "0.388.0",
275
- "at": "2026-10-21T22:35:51.404Z",
276
- "f": 2,
277
- "prs": [
278
- {
279
- "n": 1000,
280
- "t": "Report templates reschedule and delete, drafts discard, issued reports stay",
281
- "s": "Report templates reschedule and delete, drafts discard, issued reports stay"
282
- }
283
- ]
284
284
  }
285
285
  ]
286
286
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@de9109d9
2
- assembled: 2026-10-24
1
+ kernel-source: pmos@4610a840
2
+ assembled: 2026-10-25
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-10-24T11:09:28Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-25T02:54:59Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Health budgets"
4
4
  description: "Closed registry of health-budget anchors (D59), edited only by the PM."
5
- generated: {by: process:create-pmos, at: "2026-10-24T11:09:28Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-25T02:54:59Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,7 +2,7 @@
2
2
  type: Reference
3
3
  title: "Discoveries and friction log"
4
4
  description: "Append-only record of what runs discovered and where the process rubbed."
5
- generated: {by: process:create-pmos, at: "2026-10-24T11:09:28Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-25T02:54:59Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  Newest first, ISO dates.
4
4
 
5
- ## 2026-10-24
5
+ ## 2026-10-25
6
6
 
7
7
  - Adopted OKF v0.2 (D73).
@@ -1,4 +1,16 @@
1
1
  [
2
+ {
3
+ "v": "0.408.0",
4
+ "at": "2026-10-25T02:55:03.294Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1039,
9
+ "t": "Read another product's initiative from its own board; its heading no longer moves Home",
10
+ "s": "Read another product's initiative from its own board; its heading no longer moves Home"
11
+ }
12
+ ]
13
+ },
2
14
  {
3
15
  "v": "0.407.0",
4
16
  "at": "2026-10-24T11:09:31.378Z",
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Home (/premium.html) and the designed features"
4
4
  description: "Home in the Agreed design: the list grouped by product, the Viewer, the place menu, New for you, Search, and the initiative, meeting, report, Board and Insights features designed after it."
5
- timestamp: 2026-10-24
5
+ timestamp: 2026-10-25
6
6
  ---
7
7
 
8
8
  # Home
@@ -14,7 +14,7 @@ Home is the page at `/premium.html`. It follows the Agreed design and the "Uncov
14
14
  - The top line has **Good morning**, the product picker, the filter icon (on a desktop) and **New**. The line under it says how many items are yours, for example "4 are yours".
15
15
  - Press **Good morning** to open **Your day**. Your day shows the date, the meetings of the day, **Your move** (the items that wait on you, with their count) and **This week** (the Weekly review). Your move shows only in Your day, not in the list.
16
16
  - A **program** comes first, above the products. Its header shows the program icon, its name, the next milestone (◆ and the date) and how many of its initiatives are ready for that milestone. Inside it, the program's own tasks come first, then its initiatives under a small heading for each product. Each initiative shows once. Press the program's name to open the program in the Viewer. The chat then talks about the program. Press the chevron to close or open the group.
17
- - Then the list is grouped by **product**. A product header shows a tile with the product's short name, the product name, one dot for each goal (green on track, amber off track) and a chevron. You set the short name in Settings. Press the product's name to open the product in the Viewer, with its goals and this week's update and metrics review. The chat then talks about the product.
17
+ - Then the list is grouped by **product**. A product header shows a tile with the product's short name, the product name, one dot for each goal (green on track, amber off track) and a chevron. You set the short name in Settings. Press the product's name to open the product in the Viewer, with its goals and this week's update and metrics review. The chat then talks about the product. This is the same for every product in the list: Home stays on the workspace you opened it on. For another product, the weekly update and the metrics review open that product's own Home in a new tab. An initiative of another product opens from that product's own board, and its chat works in that product's workspace.
18
18
  - Each row is one line. A dot is a session: blue when it waits on you, a ring while it runs. A check box is a task: amber when it is late. The stage track on the right shows where the initiative is. A session that runs under an initiative shows indented under it. An initiative shows its 3 most urgent tasks, and **N more** shows the rest.
19
19
  - **Not in an initiative** is one line at the end, with a blue dot, an amber square and a count. Press it to open the items that have no initiative.
20
20
  - **Kept** and **Done** are in the filter icon's menu, on a desktop only.
@@ -0,0 +1,94 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';
3
+ /* home-other-product-test.js — an initiative and a product of ANOTHER product Home reads (testing fix, 2026-10-25). Home on IDPF also lists
4
+ * Microsites as its own group (D.others). Pressing a Microsites initiative read it from IDPF's board, so the Viewer said "The initiative could
5
+ * not be read", and pressing the Microsites heading moved the whole page to the Microsites workspace, so the IDPF chat was gone.
6
+ * O1 a Microsites initiative is read from the Microsites board (ws=microsites), and its page opens in the Viewer under its own title
7
+ * O2 the chat is the initiative's own, named by its title (its target carries ws=microsites)
8
+ * O3 the Microsites heading opens its page in the Viewer and Home stays on IDPF: no navigation, the list keeps the IDPF group
9
+ * Serves the real page from the real server; the reads are fixtures (fixtures/program-ascent.js through the Board and Home fixtures). */
10
+ const path = require('path');
11
+ const { spawn } = require('child_process');
12
+ const { findBrowser } = require('./lib/find-browser');
13
+ const T = require('./test-run').configure({ name: 'home-other-product' });
14
+ const IP = require('./lib/initiative-premium.js');
15
+ const F = require('./fixtures/initiative-premium-facts.js');
16
+ const BP = require('./lib/board-premium.js');
17
+ const BF = require('./fixtures/board-premium-facts.js');
18
+ const BRP = require('./lib/briefing-premium.js');
19
+ const BRF = require('./fixtures/briefing-premium-facts.js');
20
+
21
+ const BASE = T.BASE;
22
+ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
23
+ const until = async (fn, ms = 20000, step = 100) => { const t0 = Date.now(); for (;;) { let v = null; try { v = await fn(); } catch { v = null; } if (v) return v; if (Date.now() - t0 > ms) return v; await sleep(step); } };
24
+ const results = [];
25
+ const ok = (name, cond, extra = '') => { results.push({ name, cond: !!cond }); console.log(`${cond ? '✓' : '✗'} ${name}${!cond && extra !== '' ? ' — ' + String(extra).slice(0, 400) : ''}`); };
26
+ let srv = null; let browser = null;
27
+ const finish = async (code) => {
28
+ if (browser) await browser.close().catch(() => {});
29
+ if (srv) { try { srv.kill('SIGKILL'); } catch { /* gone */ } }
30
+ T.killTmux();
31
+ const bad = results.filter((x) => !x.cond).length;
32
+ console.log(`\n${results.length - bad}/${results.length} home-other-product assertions passed`);
33
+ process.exit(code !== undefined ? code : (bad ? 1 : 0));
34
+ };
35
+ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
36
+
37
+ const ID = 'psle-refresh', TITLE = 'PSLE microsite refresh'; // a Microsites initiative (fixtures/program-ascent.js)
38
+ // the Microsites initiative's model: the Initiatives fixture, as this initiative on the Microsites board
39
+ const model = () => { const m = IP.build(F.facts()); return { ...m, id: ID, key: 'init:' + ID, title: TITLE, board: { ...m.board, ws: 'microsites', id: 'microsites', name: 'Microsites' } }; };
40
+
41
+ (async () => {
42
+ const exe = findBrowser();
43
+ if (!exe) { console.log('✗ no Chrome/Chromium on this machine — the suite cannot run'); return finish(1); }
44
+ let chromium;
45
+ try { ({ chromium } = require('playwright-core')); } catch { console.log('✗ playwright-core is not installed'); return finish(1); }
46
+ srv = spawn(process.execPath, [path.join(__dirname, 'server.js')], { cwd: __dirname, stdio: 'ignore', env: T.env({ PMOS_WS_PORT: String(T.PORT) }) });
47
+ await T.waitForServer(BASE);
48
+ browser = await chromium.launch({ executablePath: exe });
49
+
50
+ const ctx = await browser.newContext({ viewport: { width: 1440, height: 900 } });
51
+ const page = await ctx.newPage();
52
+ const errors = [], reads = [], opens = [];
53
+ page.on('pageerror', (e) => errors.push(String((e && e.message) || e)));
54
+ page.on('load', () => opens.push(page.url())); // a full load; pushState and replaceState are not one
55
+ const json = (r, b, status = 200) => r.fulfill({ status, contentType: 'application/json', body: JSON.stringify(b) });
56
+ // the real route reads the board the query names: the Microsites initiative is not on IDPF's board, so a read there is a 404
57
+ await page.route('**/api/initiative-premium*', (r) => {
58
+ const q = new URL(r.request().url()).searchParams; reads.push({ id: q.get('id'), ws: q.get('ws'), board: q.get('board') });
59
+ if (q.get('id') === ID && q.get('ws') === 'microsites') return json(r, { ok: true, state: 'ready', model: model(), as_of: Date.now() });
60
+ return json(r, { ok: false, state: 'error', error: 'no work-lane initiative ' + q.get('id') + ' in this workspace' }, 404);
61
+ });
62
+ await page.route(/\/api\/board-premium(\?.*)?$/, (r) => { const ws = new URL(r.request().url()).searchParams.get('ws') || 'idpf'; return json(r, { ok: true, state: 'ready', model: BP.build(BF.programFacts(ws)), as_of: Date.now() }); });
63
+ await page.route(/\/api\/briefing-premium(\?.*)?$/, (r) => json(r, { ok: true, state: 'ready', model: BRP.buildMany(BRF.programFacts()), as_of: Date.now() }));
64
+ await page.route('**/api/programs', (r) => json(r, { ok: true, programs: [] })); // no program: each initiative sits in its product's group
65
+ await page.route('**/api/briefing-premium/**', (r) => json(r, { ok: true, turns: [], working: false }));
66
+ await page.goto(BASE + '/premium.html?ws=idpf');
67
+ const row = `#hmList [data-hm-sel="i:${ID}"]`;
68
+ const listed = await until(async () => {
69
+ await page.evaluate(() => document.querySelectorAll('#hmList [data-hm-pg][aria-expanded="false"]').forEach((b) => b.click())).catch(() => {});
70
+ return page.evaluate((s) => { const b = document.querySelector(s); return !!b && !!b.offsetParent; }, row);
71
+ }, 40000);
72
+ ok('O0 Home on IDPF lists the Microsites initiative in the Microsites group', listed);
73
+
74
+ await page.click(row);
75
+ const V = '#czViewer:not([hidden])';
76
+ const st = await until(() => page.evaluate((v) => { const o = document.querySelector(v); if (!o) return null; if (o.querySelector('[data-hi-v="page"]')) return 'ok'; return /could not be read/.test(o.textContent) ? 'err' : null; }, V), 30000);
77
+ ok('O1 the initiative\'s page opens in the Viewer, not "The initiative could not be read"', st === 'ok', st);
78
+ const last = reads.filter((x) => x.id === ID).pop();
79
+ ok('O1 it is read from the Microsites board', !!last && last.ws === 'microsites' && last.board === 'microsites', JSON.stringify(reads));
80
+ ok('O1 the Viewer names it by its title, not its id', await until(() => page.evaluate((a) => ((document.querySelector(a[0] + ' .cz-vw-title, ' + a[0] + ' h1, ' + a[0] + ' [data-cz-vw-title]') || {}).textContent || '').includes(a[1]), [V, TITLE]), 5000));
81
+ ok('O2 the chat is the initiative\'s own, named by its title', await page.evaluate((t) => (document.querySelector('#hmChat textarea, textarea') || {}).placeholder === 'Message Claude about ' + t, TITLE));
82
+
83
+ // O3 the Microsites heading: its page in the Viewer, Home stays on IDPF
84
+ const navs = opens.length;
85
+ const head = await page.evaluate(() => { const b = [...document.querySelectorAll('#hmList [data-hm-prodopen]')].find((x) => /Microsites/.test(x.getAttribute('aria-label') || '')); if (!b) return false; b.click(); return true; });
86
+ ok('O3 the Microsites heading is pressable', head);
87
+ ok('O3 its page opens in the Viewer with its goals', await until(() => page.evaluate((v) => { const o = document.querySelector(v); return !!o && !!o.querySelector('[aria-label="Goals"]') && /Microsites/.test(o.textContent); }, V), 10000));
88
+ await sleep(500);
89
+ ok('O3 Home stays on IDPF: no navigation, and the IDPF group is still in the list', opens.length === navs && new URL(page.url()).searchParams.get('ws') === 'idpf' && await page.evaluate(() => [...document.querySelectorAll('#hmList [data-hm-prodopen]')].some((b) => /IDPF/.test(b.getAttribute('aria-label') || ''))), JSON.stringify(opens.slice(navs)) + ' ' + page.url());
90
+ ok('O3 the chat is the Microsites product\'s own', await page.evaluate(() => (document.querySelector('#hmChat textarea, textarea') || {}).placeholder === 'Message Claude about Microsites'));
91
+ ok('no page error', errors.length === 0, errors.join(' | '));
92
+ await ctx.close();
93
+ return finish();
94
+ })().catch((e) => { console.error(e); finish(1); });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.407.0",
3
+ "version": "0.408.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.407.0",
9
+ "version": "0.408.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@xterm/addon-fit": "^0.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.407.0",
3
+ "version": "0.408.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",
@@ -166,6 +166,8 @@ async function load() {
166
166
  const others = await Promise.all(otherProducts(D).map((a) => getRetry('/api/board-premium?ws=' + encodeURIComponent(a.ws), 4).then((r) => (r && r.ok && r.model ? { ws: a.ws, name: a.name, model: r.model } : null))));
167
167
  const got = others.filter(Boolean);
168
168
  if (got.length || D.others.length) { D.others = got; drawList(); }
169
+ // an initiative of another product opened before its board was read (a link, a quick press): read it again from its own board
170
+ if (S.ini && !S.IM && otherIni(S.ini)) goIni(S.ini, { page: VW.isOpen() });
169
171
  }
170
172
  /** The products Home reads (Products, on) other than the board's own: each is a group of the list, read from its own board. At most four. */
171
173
  function otherProducts(D) {
@@ -176,7 +178,8 @@ function otherProducts(D) {
176
178
  async function loadIni() {
177
179
  const id = S.ini;
178
180
  if (!id || id === 'product') { S.IM = null; S.IMid = id; S.D.files = []; return; }
179
- const b = (S.D.board && S.D.board.board) || {};
181
+ // an initiative of another product is read from its own board, not this one (it is not on this board, so the read said it could not be read)
182
+ const oi = otherIni(id), b = oi ? { ws: oi.ws, id: oi.board } : (S.D.board && S.D.board.board) || {};
180
183
  const r = await getRetry('/api/initiative-premium?id=' + encodeURIComponent(id) + (b.ws ? '&ws=' + encodeURIComponent(b.ws) : wsQ('&')) + (b.id ? '&board=' + encodeURIComponent(b.id) : boardQ('&')), 16);
181
184
  S.IM = r && r.ok && r.model ? r.model : null; S.IMid = id;
182
185
  if (S.IM) { import('./premium-vw-jira.js').catch(() => {}); import('./premium-vw-item.js').catch(() => {}); } // the Overview's ticket, sprint and record views, ready before a press
@@ -277,7 +280,17 @@ function filterMenu(b) {
277
280
  }
278
281
 
279
282
  /* ── the initiative card ── */
280
- function iniRowOf(id) { return H.boardRows(S.D).find((r) => r.id === id) || null; }
283
+ function iniRowOf(id) { return H.boardRows(S.D).find((r) => r.id === id) || (otherIni(id) || {}).row || null; }
284
+ /** An initiative of another product Home reads (D.others): its row, and the workspace and board it is read from. Null for the board's own. */
285
+ function otherIni(id) {
286
+ if (!id || id === 'product' || H.boardRows(S.D).some((r) => r.id === id)) return null;
287
+ for (const o of S.D.others || []) {
288
+ const rows = (o && o.model && o.model.initiatives && o.model.initiatives.list && o.model.initiatives.list.rows) || [];
289
+ const row = rows.find((r) => r.id === id);
290
+ if (row) return { ws: o.ws, board: (o.model.board || {}).id || null, row };
291
+ }
292
+ return null;
293
+ }
281
294
  function headOf(id) {
282
295
  const M = S.IM && S.IMid === id ? { ...S.IM } : { head: { stage: (iniRowOf(id) || {}).stage }, acts: (iniRowOf(id) || {}).acts || {} };
283
296
  const t = S.D.trail && S.D.trail.items && S.D.trail.items[id];
@@ -484,7 +497,7 @@ const scopeOf = (ini) => (ini ? { text: iniTitle(ini), icon: I.flag } : { text:
484
497
  const rich = () => !!S.ini;
485
498
  function iniTarget(id) {
486
499
  const h = S.H || {};
487
- return { key: 'init:' + id, ini: id, ws: WS || undefined, title: iniTitle(id), sub: (S.IMid === id && h.stage) || '', scope: scopeOf(id), rich: true, placeholder: 'Message Claude about ' + iniTitle(id),
500
+ return { key: 'init:' + id, ini: id, ws: (otherIni(id) || {}).ws || WS || undefined, title: iniTitle(id), sub: (S.IMid === id && h.stage) || '', scope: scopeOf(id), rich: true, placeholder: 'Message Claude about ' + iniTitle(id),
488
501
  empty: 'Ask about ' + iniTitle(id) + '. Claude reads its records and works in a real Claude Code session.', also: alsoOf(id),
489
502
  // the initiative's conversation opens on where it stands (AgInitYou), until it has messages of its own
490
503
  intro: S.IMid === id && h.cur ? { role: CLAUDE, onlyEmpty: true, text: h.cur + '. ' + h.doneOf + '.' + (h.rest.length ? ' Waiting: ' + h.rest.map((x) => x.label).join(', ') + '.' : ''), pills: [{ label: h.cta, primary: true, go: () => cta() }, { label: 'Discuss', go: () => chat.focus() }] } : undefined, context: h.payoff ? 'Initiative ' + id + ': ' + (h.stage || '') + '. ' + (h.time || '') : undefined };
@@ -668,6 +681,25 @@ async function goIni(id, o = {}) {
668
681
  if (S.ini !== id) return;
669
682
  drawList(); openTarget(iniTarget(id));
670
683
  }
684
+ /** Another product's heading name: its page in the Viewer and its own chat, as the board's own product opens. Home stays on this workspace,
685
+ * so the chat and the list do not change to that product's workspace. Its weekly update and metrics review open its own Home in a new tab. */
686
+ function goOtherProduct(g) {
687
+ const ws = g.product.ws, name = g.name, C = H.productCard({ board: g.product.model }, S.D.now);
688
+ S.ini = null; S.sel = null; S.IM = null; S.head = g.key;
689
+ if (isPhone()) sheet(false);
690
+ syncUrl(); drawList();
691
+ openTarget({ key: 'chat:product:' + ws, ws, title: name, sub: 'Product', scope: { text: name + ' · product', icon: I.flag }, rich: false, role: CLAUDE, to: null,
692
+ placeholder: 'Message Claude about ' + name, empty: 'Ask about ' + name + '. Claude reads its goals, its initiatives and this week\'s update.',
693
+ context: 'Product ' + name + '. ' + C.of + (C.items.length ? ': ' + C.items.map((x) => x.label).join('; ') : '') + '.', also: null });
694
+ pushPage();
695
+ const own = '/premium.html?ws=' + encodeURIComponent(ws) + '&ini=product';
696
+ VW.open({ id: 'product:' + ws, kind: 'Product', title: name, icon: 'chart',
697
+ render: (b) => {
698
+ const goals = C.items.map((x) => itemHtml({ kind: x.kind === 'ok' ? 'done' : 'risk', label: x.label })).join('') || '<p class="hm-none">No KR or budget is anchored on this board.</p>';
699
+ b.innerHTML = `<div class="hi-v hi-page"><section class="hi-pg" aria-label="Goals"><div class="hi-pgh"><b>Goals</b><span class="hi-n">${esc(C.of)}</span></div>${goals}</section>`
700
+ + `<section class="hi-pg" aria-label="This week"><div class="hi-pgh"><b>This week</b></div><div class="hm-r hi-r"><a class="hm-rm" href="${esc(own)}" target="_blank" rel="noopener"><span class="hm-tile">${SVG(I.doc, 14)}</span><span class="hm-rt"><b>Weekly update and metrics review</b><em class="q">In ${esc(name)}'s own Home, in a new tab</em></span></a></div></section></div>`;
701
+ } });
702
+ }
671
703
  /** A program heading's name: the program panel in the Viewer, the program's own chat (HbCProg). */
672
704
  function goProgram(id) {
673
705
  if (!(S.D.programs || []).some((p) => p && p.id === id)) { toast('That program is not on this machine.'); return; }
@@ -1252,7 +1284,7 @@ $('#hmList').onclick = (e) => { // delegated: every press on the list is a <bu
1252
1284
  if ('hmDayx' in d) { day(false); return; }
1253
1285
  if ('hmFlt' in d) { filterMenu(b); return; }
1254
1286
  if (d.hmProg) { goProgram(d.hmProg); return; } // the program panel, in Home's Viewer (HbCProg)
1255
- if (d.hmProdopen) { const g = ((S.M && S.M.groups) || []).find((x) => x.key === d.hmProdopen); if (g && !g.primary && g.product && g.product.ws) { location.href = '/premium.html?ws=' + encodeURIComponent(g.product.ws) + '&ini=product'; return; } goIni('product'); return; }
1287
+ if (d.hmProdopen) { const g = ((S.M && S.M.groups) || []).find((x) => x.key === d.hmProdopen); if (g && !g.primary && g.product && g.product.ws) { goOtherProduct(g); return; } goIni('product'); return; }
1256
1288
  if (d.hmKids) { // the chevron of an initiative: what sits under it shows or hides
1257
1289
  if (b.getAttribute('aria-expanded') === 'true') { S.kids.delete(d.hmKids); S.kidsOff.add(d.hmKids); } else { S.kids.add(d.hmKids); S.kidsOff.delete(d.hmKids); }
1258
1290
  keepKids(); drawList(); const f = $(`#hmList [data-hm-kids="${CSS.escape(d.hmKids)}"]`); if (f) f.focus(); return;
@@ -12,6 +12,7 @@
12
12
  "briefing-premium-calendar-2-test.js",
13
13
  "briefing-premium-calendar-3-test.js",
14
14
  "briefing-premium-products-test.js",
15
+ "home-other-product-test.js",
15
16
  "briefing-premium-sources-test.js",
16
17
  "briefing-premium-metrics-test.js",
17
18
  "premium-welcome-test.js",
@@ -32,6 +33,7 @@
32
33
  "briefing-premium-sources-test.js": 90,
33
34
  "briefing-premium-metrics-test.js": 120,
34
35
  "premium-welcome-test.js": 120,
35
- "briefing-premium-agent-server.test.js": 40
36
+ "briefing-premium-agent-server.test.js": 40,
37
+ "home-other-product-test.js": 60
36
38
  }
37
39
  }