create-pmos 0.330.0 → 0.331.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.330.0",
3
+ "version": "0.331.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,16 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.331.0",
37
+ "at": "2026-10-20T00:11:06.936Z",
38
+ "prs": [
39
+ {
40
+ "n": null,
41
+ "s": "Merge pull request #926 from wawancsui/claude/project-thread-86repq"
42
+ }
43
+ ]
44
+ },
35
45
  {
36
46
  "v": "0.330.0",
37
47
  "at": "2026-10-19T23:58:03.460Z",
@@ -245,16 +255,6 @@
245
255
  "s": "Both pages have one Calendar card. Monday to Friday is a strip on top, with the My work bars and the done and due blocks."
246
256
  }
247
257
  ]
248
- },
249
- {
250
- "v": "0.311.0",
251
- "at": "2026-10-19T13:00:39.372Z",
252
- "prs": [
253
- {
254
- "n": 882,
255
- "s": "\"), says plainly that no measure here has a target, and ends with an inline \"open Insights\" link to the same board's Insights. A tile that needs a look carries the mockup's chip (\"Needs a look\") and orange outline."
256
- }
257
- ]
258
258
  }
259
259
  ]
260
260
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@e40100d9
2
- assembled: 2026-10-19
1
+ kernel-source: pmos@43ea2b7a
2
+ assembled: 2026-10-20
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-19T23:58:00Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T00:11:03Z"}
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-19T23:58:00Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T00:11:03Z"}
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-19T23:58:00Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-20T00:11:03Z"}
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-19
5
+ ## 2026-10-20
6
6
 
7
7
  - Adopted OKF v0.2 (D73).
@@ -94,7 +94,7 @@ const RECORDER = () => {
94
94
  const open = async ({ w = 1280, h = 900, theme = 'light', notes = [], newError = null, recordError = null, focus = FOCUS, replay = REPLAY, topics = [], audio = false, url = '/premium.html', openDialog = true, stub = true } = {}) => {
95
95
  const ctx = await browser.newContext({ viewport: { width: w, height: h } });
96
96
  const page = await ctx.newPage();
97
- const S = { errors: [], reqs: [], notes: notes.map((n) => ({ ...n })), newPosts: [], recPosts: [], pausePosts: [], stopPosts: [], topicPosts: [], matPosts: [], focusGets: 0, dialogs: [], newError, recordError };
97
+ const S = { errors: [], reqs: [], notes: notes.map((n) => ({ ...n })), newPosts: [], recPosts: [], pausePosts: [], stopPosts: [], topicPosts: [], matPosts: [], focusGets: 0, briefGets: 0, dialogs: [], newError, recordError };
98
98
  page.on('pageerror', (e) => S.errors.push(String((e && e.message) || e)));
99
99
  page.on('dialog', (d) => { S.dialogs.push(d.type()); if (S.leave) d.accept(); else d.dismiss(); });
100
100
  page.on('request', (r) => { if (r.url().startsWith(BASE)) S.reqs.push(r.method() + ' ' + new URL(r.url()).pathname); });
@@ -123,7 +123,7 @@ const RECORDER = () => {
123
123
  await page.route('**/api/notes/stop', (r) => { const b = JSON.parse(r.request().postData() || '{}'); S.stopPosts.push(b); const n = noteBy(b.id); if (n) n.state = 'ended'; return json(r, { ok: true }); });
124
124
  await page.route(/\/api\/notes$/, (r) => json(r, { ok: true, notes: S.notes }));
125
125
  await page.route('**/api/meeting-focus/topic', (r) => { S.topicPosts.push(JSON.parse(r.request().postData() || '{}')); return json(r, { ok: true }); });
126
- await page.route(/\/api\/meeting-focus(\?|$)/, (r) => { S.focusGets++; const a = typeof focus === 'function' ? focus() : focus; return json(r, a, a.ok === false ? 404 : 200); });
126
+ await page.route(/\/api\/meeting-focus(\?|$)/, (r) => { if (/[?&]brief=1(&|$)/.test(r.request().url())) S.briefGets++; else S.focusGets++; const a = typeof focus === 'function' ? focus() : focus; return json(r, a, a.ok === false ? 404 : 200); });
127
127
  await page.route('**/api/calendar-links', (r) => json(r, { ok: true }));
128
128
  if (stub) await page.addInitScript(RECORDER);
129
129
  await page.addInitScript(() => {
@@ -161,6 +161,7 @@ const RECORDER = () => {
161
161
  const t0 = await text(p);
162
162
  ok('R1 a meeting under way has Record, and says what the press does', /Record/.test(await rec(p)) && /microphone/.test(await rec(p)) && /this machine/.test(await rec(p)));
163
163
  ok('R5 the Detail view says what Focus reads before any read, and none was made', /every 3 seconds/.test(t0) && /sends nothing/.test(t0) && A.focusGets === 0);
164
+ ok('R5 the dialog read the meeting prep once, apart from Focus', !!(await until(() => A.briefGets === 1)) && A.focusGets === 0, 'brief ' + A.briefGets + ' focus ' + A.focusGets);
164
165
  ok('R1 nothing was sent to the notes routes before a press', !A.reqs.some((r) => /^POST \/api\/notes/.test(r)), A.reqs.join());
165
166
  await press(p, 'rec');
166
167
  ok('R1 the first press asks for consent in plain words and sends nothing', await until(() => p.evaluate(() => /Tell everyone first/.test(document.querySelector('#m3Rec').textContent))) && A.newPosts.length === 0 && A.recPosts.length === 0);
@@ -1,4 +1,14 @@
1
1
  [
2
+ {
3
+ "v": "0.331.0",
4
+ "at": "2026-10-20T00:11:06.936Z",
5
+ "prs": [
6
+ {
7
+ "n": null,
8
+ "s": "Merge pull request #926 from wawancsui/claude/project-thread-86repq"
9
+ }
10
+ ]
11
+ },
2
12
  {
3
13
  "v": "0.330.0",
4
14
  "at": "2026-10-19T23:58:03.460Z",
@@ -356,7 +356,7 @@ A calendar meeting's panel follows the mockup's Design review panel: the title w
356
356
 
357
357
  The panel is laid out like the console's note sheet. Under the head, a line shows the time, then what the meeting is about with **Change** (the link choice). When the meeting is part of a series, the series line names it with "N of M" and has a press for the meeting before and the one after. Each opens that meeting's notes as a tab in the viewer, and the tab pages through the series. **Not part of this series** takes the note out of the series, and **Put it back** returns it. A switch then shows one part at a time:
358
358
 
359
- - **Before**: first the meeting prep the console's Calendar card shows: In short, What matters today (To settle in planning for a planning meeting), Since the last one with its decisions and the steps From last time, To be ready, and the meeting's links. When the note already carries in the meeting before, Since the last one is left to it. Then the open steps carried in from the meeting before, the agenda with each item marked when the transcript heard it, what the meeting is for, what to have ready, what to read first and the people. Prepared for you, Material, Previous meetings and Topics follow.
359
+ - **Before**: first the meeting prep the console's Calendar card shows: In short, What matters today (To settle in planning for a planning meeting), Since the last one with its decisions and the steps From last time, To be ready, and the meeting's links. When the note already carries in the meeting before, Since the last one is left to it. The prep is read once when the detail opens; that read is not a Focus read, and Focus still reads nothing until you open it. Then the open steps carried in from the meeting before, the agenda with each item marked when the transcript heard it, what the meeting is for, what to have ready, what to read first and the people. Prepared for you, Material, Previous meetings and Topics follow.
360
360
  - **During**: the transcript the note holds, with times.
361
361
  - **After**: **Since the last one** (each step from the meeting before as Done, Raised again or Not mentioned, and the new steps), the replay, the summary, a table of decisions with their why, a table of next steps with owner, due and **Make task**, the open questions, the screenshots of the shared screen and the transcript, folded.
362
362
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.330.0",
3
+ "version": "0.331.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.330.0",
9
+ "version": "0.331.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.330.0",
3
+ "version": "0.331.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",
@@ -751,8 +751,8 @@ export function mountMeeting(d) {
751
751
  if ($('#dTitle').textContent !== row.title) return;
752
752
  pickPhase(); paint(); if (HOLD) tickClock(); mark();
753
753
  {
754
- /* the meeting prep for Before: the brief the console's Calendar card shows (GET /api/meeting-focus, lib/calendar-layers.js briefOf) */
755
- const sk = (noteOfRow(NR, row) || {}).series, [sr, tp, mf] = await Promise.all([sk && sk.key ? d.pmGet('/api/notes/series?key=' + encodeURIComponent(sk.key)) : null, d.pmGet(matPath() + '&topics=1'), d.pmGet('/api/meeting-focus?event=' + encodeURIComponent(row.id) + '&date=' + row.day)]);
754
+ /* the meeting prep for Before: the brief the console's Calendar card shows (GET /api/meeting-focus with brief=1, so it is not counted as a Focus read; lib/calendar-layers.js briefOf) */
755
+ const sk = (noteOfRow(NR, row) || {}).series, [sr, tp, mf] = await Promise.all([sk && sk.key ? d.pmGet('/api/notes/series?key=' + encodeURIComponent(sk.key)) : null, d.pmGet(matPath() + '&topics=1'), d.pmGet('/api/meeting-focus?event=' + encodeURIComponent(row.id) + '&date=' + row.day + '&brief=1')]);
756
756
  if ($('#dTitle').textContent !== row.title) return;
757
757
  extra = { ...extra, prev: prevOf(sr, row), topics: tp && tp.ok && Array.isArray(tp.topics) ? tp.topics.filter((t) => t && t.text).slice(0, 8) : [], brief: mf && mf.ok === true && mf.brief ? mf.brief : null };
758
758
  if (ui.view === 'detail') paint();