create-pmos 0.694.0 → 0.695.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.694.0",
3
+ "version": "0.695.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,8 @@
34
34
  ],
35
35
  "pmosChanges": [
36
36
  {
37
- "v": "0.694.0",
38
- "at": "2026-11-22T09:46:19.118Z",
37
+ "v": "0.695.0",
38
+ "at": "2026-11-22T09:50:12.777Z",
39
39
  "f": 4,
40
40
  "prs": [
41
41
  {
@@ -43,6 +43,12 @@
43
43
  "t": "Discovery in three questions on a new initiative (A459)",
44
44
  "s": "Discovery in three questions on a new initiative (A459)",
45
45
  "k": "new"
46
+ },
47
+ {
48
+ "n": 1516,
49
+ "t": "Your move's question list derives the rows once, not once per initiative",
50
+ "s": "Your move's question list derives the rows once, not once per initiative",
51
+ "k": "fix"
46
52
  }
47
53
  ]
48
54
  },
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@d4fea2c6
1
+ kernel-source: pmos@c17d1d1f
2
2
  assembled: 2026-11-22
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-22T09:46:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
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-22T09:46:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
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-22T09:46:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-22T09:50:09Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,7 +1,7 @@
1
1
  [
2
2
  {
3
- "v": "0.694.0",
4
- "at": "2026-11-22T09:46:19.118Z",
3
+ "v": "0.695.0",
4
+ "at": "2026-11-22T09:50:12.777Z",
5
5
  "f": 4,
6
6
  "prs": [
7
7
  {
@@ -9,6 +9,12 @@
9
9
  "t": "Discovery in three questions on a new initiative (A459)",
10
10
  "s": "Discovery in three questions on a new initiative (A459)",
11
11
  "k": "new"
12
+ },
13
+ {
14
+ "n": 1516,
15
+ "t": "Your move's question list derives the rows once, not once per initiative",
16
+ "s": "Your move's question list derives the rows once, not once per initiative",
17
+ "k": "fix"
12
18
  }
13
19
  ]
14
20
  },
@@ -2159,7 +2159,7 @@ function taskRestore(ctx, body, g) { return writeAs(ctx, '/api/boards/tasks/rest
2159
2159
  * initiative's workflow moved task stages instead). → { ok, board, row } | { ok: false, pending?, status, error } */
2160
2160
  function initiativeWorkflow(ctx, w, id) {
2161
2161
  const fr = frameFor(ctx, w);
2162
- const b = baseRows(w);
2162
+ const b = baseRows(w, ctx); // in the caller's read pass, if it has one: a caller that asks for many initiatives derives the rows once
2163
2163
  if (b.pending) return { ok: false, pending: true, status: 202, error: PENDING };
2164
2164
  if (!b.ok) return { ok: false, status: 500, error: b.error };
2165
2165
  const b0 = b.rows.find((r) => r.id === id);
@@ -193,6 +193,9 @@ function heldOf(ctx, w) {
193
193
  const SG = require('./source-guard.js');
194
194
  const out = [];
195
195
  if (!dirOf(ctx, w)) return out;
196
+ // one read pass for the whole walk: view() asks for each row's workflow, and without a pass every row derived the base rows of the
197
+ // whole workspace again (one stat per record, per row), which held the server for seconds on a large repository
198
+ if (!(ctx.boardsPass instanceof Map)) ctx = Object.assign({}, ctx, { boardsPass: new Map() });
196
199
  const fr = RB.frameFor(ctx, w);
197
200
  for (const board of fr.boards || []) {
198
201
  // no derive: a read that finds the rows still being derived skips the board this time (the list is fixed later in the day, and the
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.694.0",
3
+ "version": "0.695.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.694.0",
9
+ "version": "0.695.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.694.0",
3
+ "version": "0.695.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",