create-pmos 0.585.0 → 0.586.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 +14 -20
- package/payload/KIT-VERSION +1 -1
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/changelog.json +13 -0
- package/workspace/lib/headless.js +6 -4
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.586.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": {
|
|
@@ -33,6 +33,19 @@
|
|
|
33
33
|
"audit"
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
|
+
{
|
|
37
|
+
"v": "0.586.0",
|
|
38
|
+
"at": "2026-11-17T09:31:31.443Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 1321,
|
|
43
|
+
"t": "A headless prototype run may write in a folder whose path has a space",
|
|
44
|
+
"s": "A headless prototype run may write in a folder whose path has a space",
|
|
45
|
+
"k": "fix"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
36
49
|
{
|
|
37
50
|
"v": "0.585.0",
|
|
38
51
|
"at": "2026-11-17T08:31:27.900Z",
|
|
@@ -285,25 +298,6 @@
|
|
|
285
298
|
"k": "new"
|
|
286
299
|
}
|
|
287
300
|
]
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"v": "0.566.0",
|
|
291
|
-
"at": "2026-11-12T04:39:13.320Z",
|
|
292
|
-
"f": 4,
|
|
293
|
-
"prs": [
|
|
294
|
-
{
|
|
295
|
-
"n": 1299,
|
|
296
|
-
"t": "Let experiments and analytics feed PMOS",
|
|
297
|
-
"s": "Let experiments and analytics feed PMOS",
|
|
298
|
-
"k": "new"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"n": 1297,
|
|
302
|
-
"t": "Full SDLC says PMOS builds only where a factory runs",
|
|
303
|
-
"s": "Full SDLC says PMOS builds only where a factory runs",
|
|
304
|
-
"k": "fix"
|
|
305
|
-
}
|
|
306
|
-
]
|
|
307
301
|
}
|
|
308
302
|
]
|
|
309
303
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-17T09:31:28Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-17T09:31:28Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-17T09:31:28Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.586.0",
|
|
4
|
+
"at": "2026-11-17T09:31:31.443Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1321,
|
|
9
|
+
"t": "A headless prototype run may write in a folder whose path has a space",
|
|
10
|
+
"s": "A headless prototype run may write in a folder whose path has a space",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"v": "0.585.0",
|
|
4
17
|
"at": "2026-11-17T08:31:27.900Z",
|
|
@@ -467,10 +467,10 @@ function argsFor(kind, { modelArgs = [], addDirs = [], writePaths = [], budgetUs
|
|
|
467
467
|
const mode = team.mode === 'auto' ? 'auto' : 'propose';
|
|
468
468
|
tools = AT.toolsOf(team.role, { mode }).tools;
|
|
469
469
|
// the Builder (W7): Write and Edit in its worktree folder only, whatever the caller passes
|
|
470
|
-
if (team.role === 'build') for (const p of AT.toolsOf('build', { mode }).writePaths) { const b = p.replace(/\/+$/, ''); if (b.startsWith('/') && !/[\
|
|
470
|
+
if (team.role === 'build') for (const p of AT.toolsOf('build', { mode }).writePaths) { const b = p.replace(/\/+$/, ''); if (b.startsWith('/') && !/[\n\r\t\v\f,*?()\[\]{}]/.test(b) && !b.includes('..')) tools.push(`Write(/${b}/**)`, `Edit(/${b}/**)`); }
|
|
471
471
|
else if (mode === 'auto') for (const p of Array.isArray(writePaths) ? writePaths : []) {
|
|
472
472
|
const s = String(p || ''), dir = s.endsWith('/'), b = s.replace(/\/+$/, '');
|
|
473
|
-
if (!b.startsWith('/') || /[\
|
|
473
|
+
if (!b.startsWith('/') || /[\n\r\t\v\f,*?()\[\]{}]/.test(b) || b.includes('..')) continue;
|
|
474
474
|
// only a path that IS one of the role's own artifacts, whatever the caller passes
|
|
475
475
|
if (!AT.roleOf(team.role).owns.paths.some((o) => (o.endsWith('/') === dir) && (b + (dir ? '/' : '')).endsWith('/' + o))) continue;
|
|
476
476
|
tools.push(dir ? `Write(/${b}/**)` : `Write(/${b})`, dir ? `Edit(/${b}/**)` : `Edit(/${b})`);
|
|
@@ -483,15 +483,17 @@ function argsFor(kind, { modelArgs = [], addDirs = [], writePaths = [], budgetUs
|
|
|
483
483
|
if (WRITE_PATH_KINDS.includes(kind)) {
|
|
484
484
|
for (const p of Array.isArray(writePaths) ? writePaths : []) {
|
|
485
485
|
const s = String(p || '');
|
|
486
|
-
if (!s.startsWith('/') || /[\
|
|
486
|
+
if (!s.startsWith('/') || /[\n\r\t\v\f,*?()\[\]{}]/.test(s) || s.includes('..')) continue;
|
|
487
487
|
tools.push(`Write(/${s})`, `Edit(/${s})`);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
// A background skill run may write in the folders the server names (its scratch folder, its skill's state folders) and nowhere else: absolute paths, no wildcard of their own.
|
|
491
|
+
// A plain space is allowed (the Mac state folder is under ~/Library/Application Support; argv goes to spawn, not a shell): 2026-11-17 every live-round and idle-lab
|
|
492
|
+
// prototype on a Mac ran without Write and ended with nothing made. A comma would split the --allowedTools list; a glob or bracket would widen the rule.
|
|
491
493
|
if (WRITE_DIR_KINDS.includes(kind)) {
|
|
492
494
|
for (const p of Array.isArray(writePaths) ? writePaths : []) {
|
|
493
495
|
const s = String(p || '').replace(/\/+$/, '');
|
|
494
|
-
if (!s.startsWith('/') || /[\
|
|
496
|
+
if (!s.startsWith('/') || /[\n\r\t\v\f,*?()\[\]{}]/.test(s) || s.includes('..')) continue;
|
|
495
497
|
tools.push(`Write(/${s}/**)`, `Edit(/${s}/**)`);
|
|
496
498
|
}
|
|
497
499
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.586.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pmos-workspace",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.586.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED