create-pmos 0.507.0 → 0.508.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.507.0",
3
+ "version": "0.508.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,19 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.508.0",
37
+ "at": "2026-11-03T12:33:41.832Z",
38
+ "f": 3,
39
+ "prs": [
40
+ {
41
+ "n": 1196,
42
+ "t": "Decision memory keeps the guard's audit in the per-user folder",
43
+ "s": "Decision memory keeps the guard's audit in the per-user folder",
44
+ "k": "fix"
45
+ }
46
+ ]
47
+ },
35
48
  {
36
49
  "v": "0.507.0",
37
50
  "at": "2026-11-03T12:15:29.445Z",
@@ -440,19 +453,6 @@
440
453
  "k": "fix"
441
454
  }
442
455
  ]
443
- },
444
- {
445
- "v": "0.488.0",
446
- "at": "2026-11-02T06:16:07.264Z",
447
- "f": 3,
448
- "prs": [
449
- {
450
- "n": 1148,
451
- "t": "Report Viewer follows the agreed design RfH2 (batch 23 item 3)",
452
- "s": "Report Viewer follows the agreed design RfH2 (batch 23 item 3)",
453
- "k": "new"
454
- }
455
- ]
456
456
  }
457
457
  ]
458
458
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@c1ce1cf1
1
+ kernel-source: pmos@c4e0e4ba
2
2
  assembled: 2026-11-03
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-03T12:15:25Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-03T12:33:39Z"}
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-03T12:15:25Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-03T12:33:39Z"}
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-03T12:15:25Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-03T12:33:39Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,4 +1,17 @@
1
1
  [
2
+ {
3
+ "v": "0.508.0",
4
+ "at": "2026-11-03T12:33:41.832Z",
5
+ "f": 3,
6
+ "prs": [
7
+ {
8
+ "n": 1196,
9
+ "t": "Decision memory keeps the guard's audit in the per-user folder",
10
+ "s": "Decision memory keeps the guard's audit in the per-user folder",
11
+ "k": "fix"
12
+ }
13
+ ]
14
+ },
2
15
  {
3
16
  "v": "0.507.0",
4
17
  "at": "2026-11-03T12:15:29.445Z",
@@ -199,14 +199,15 @@ const versionOf = (L) => VERSION + '-' + hash(JSON.stringify(pairsOf(L)));
199
199
  * `pmos grill find decision`: check each finding, then hand the good ones to lib/ai-guard.js, which holds them until the replay of this
200
200
  * version passed (the replay runs here when it has not), checks the evidence again, audits, and calls deliver. deliver appends the grill
201
201
  * proposal to the initiative's ✦ ledger, as `pmos grill find` does for the other angles. → exit code: 0 filed or nothing to file, 1 refused.
202
- * o: { root, file (proposals.jsonl), run, ini, board, env, now, say, P (the proposals fold), settingsDir (Settings, for the kill switch) }
202
+ * o: { root, file (proposals.jsonl), run, ini, board, env, now, say, P (the proposals fold), settingsDir (the per-user state folder: Settings for the kill switch, and the guard's audit and replay record) }
203
203
  */
204
204
  async function fileRun(o, bodies) {
205
205
  const say = o.say || (() => {}), env = o.env || process.env;
206
206
  const PR = require('./proposals.js'), AG = require('./ai-guard.js');
207
207
  const off = offWhy(env); if (off) { say('✗ ' + off); return 1; }
208
208
  const L = DL.load(o.root);
209
- const stateDir = path.dirname(o.file), version = versionOf(L);
209
+ // the guard's audit and replay record live in the per-user state folder, never in the repository's state (Sync would commit them)
210
+ const stateDir = o.settingsDir || require('./state-root.js').defaultRoot({ env }), version = versionOf(L);
210
211
  const props = []; let bad = 0;
211
212
  for (const b of bodies) {
212
213
  const c = checkFinding(L, b, { root: o.root, ini: o.ini });
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pmos-workspace",
3
- "version": "0.507.0",
3
+ "version": "0.508.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pmos-workspace",
9
- "version": "0.507.0",
9
+ "version": "0.508.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.507.0",
3
+ "version": "0.508.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",