create-pmos 0.619.0 → 0.621.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 +27 -33
- 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/bin/pack-review.js +47 -0
- package/workspace/changelog.json +26 -0
- package/workspace/guide/backlog.md +1 -1
- package/workspace/guide/programs.md +12 -1
- package/workspace/guide/settings-and-switches.md +1 -0
- package/workspace/lib/board-pack-keys.js +39 -0
- package/workspace/lib/board-pack-keys.json +858 -0
- package/workspace/lib/board-pack-route.js +13 -3
- package/workspace/lib/board-pack.js +119 -13
- package/workspace/lib/classic-board.js +2 -1
- package/workspace/lib/routes-board-publish.js +14 -6
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-backlog.css +1 -0
- package/workspace/public/pm/bd-ini-panel.js +5 -2
- package/workspace/public/pm/bd-work.css +4 -0
- package/workspace/public/pm/bd-work.js +34 -13
- package/workspace/public/pm/cozy-bar.js +2 -0
- package/workspace/public/pm/cozy-board.css +15 -0
- package/workspace/public/pm/cozy-pop-work.js +27 -8
- package/workspace/public/pm/cozy-popup.js +21 -1
- package/workspace/public/pm/cozy-viewer.js +1 -1
- package/workspace/public/pm/pop-work-model.js +4 -2
- package/workspace/public/pm/premium-board.js +33 -11
- package/workspace/public/pm/readonly-boot.js +14 -1
- package/workspace/public/pm/readonly.js +53 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.621.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,32 @@
|
|
|
33
33
|
"audit"
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
|
+
{
|
|
37
|
+
"v": "0.621.0",
|
|
38
|
+
"at": "2026-11-19T04:46:30.709Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 1402,
|
|
43
|
+
"t": "Backlog rows open the small task popup",
|
|
44
|
+
"s": "Backlog rows open the small task popup",
|
|
45
|
+
"k": "new"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"v": "0.620.0",
|
|
51
|
+
"at": "2026-11-19T04:33:41.427Z",
|
|
52
|
+
"f": 4,
|
|
53
|
+
"prs": [
|
|
54
|
+
{
|
|
55
|
+
"n": 1399,
|
|
56
|
+
"t": "Shared copy draws Work, one view, and nothing private leaks",
|
|
57
|
+
"s": "Shared copy draws Work, one view, and nothing private leaks",
|
|
58
|
+
"k": "new"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
36
62
|
{
|
|
37
63
|
"v": "0.619.0",
|
|
38
64
|
"at": "2026-11-19T04:21:53.302Z",
|
|
@@ -428,38 +454,6 @@
|
|
|
428
454
|
"k": "new"
|
|
429
455
|
}
|
|
430
456
|
]
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"v": "0.601.0",
|
|
434
|
-
"at": "2026-11-18T07:40:16.914Z",
|
|
435
|
-
"f": 4,
|
|
436
|
-
"prs": [
|
|
437
|
-
{
|
|
438
|
-
"n": 1338,
|
|
439
|
-
"t": "Signed event relay for GitHub and Jira; an event only starts a read",
|
|
440
|
-
"s": "Signed event relay for GitHub and Jira; an event only starts a read",
|
|
441
|
-
"k": "new"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"n": 1342,
|
|
445
|
-
"t": "Your tools as one row per service, and a stuck read says why",
|
|
446
|
-
"s": "Your tools as one row per service, and a stuck read says why",
|
|
447
|
-
"k": "new"
|
|
448
|
-
}
|
|
449
|
-
]
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"v": "0.600.0",
|
|
453
|
-
"at": "2026-11-18T06:57:02.804Z",
|
|
454
|
-
"f": 4,
|
|
455
|
-
"prs": [
|
|
456
|
-
{
|
|
457
|
-
"n": 1343,
|
|
458
|
-
"t": "A roomier phone chat: one context line, ⋯ menu, full-width stream, one-row box",
|
|
459
|
-
"s": "A roomier phone chat: one context line, ⋯ menu, full-width stream, one-row box",
|
|
460
|
-
"k": "new"
|
|
461
|
-
}
|
|
462
|
-
]
|
|
463
457
|
}
|
|
464
458
|
]
|
|
465
459
|
}
|
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-19T04:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-19T04:46:27Z"}
|
|
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-19T04:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-19T04:46:27Z"}
|
|
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-19T04:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-19T04:46:27Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
/* pack-review — a human-readable leak review of a published board's data pack (shared-copy build brief, "Checks before hand-off").
|
|
4
|
+
*
|
|
5
|
+
* node bin/pack-review.js <pack.json> every key path in the pack, then every string longer than three words
|
|
6
|
+
* node bin/pack-review.js <pack.json> --keys the key paths only (names, no values), as lib/board-pack-keys.js writes them
|
|
7
|
+
*
|
|
8
|
+
* The file may be a pack, or GET /api/board-pack's answer { ok, pack }. A key path collapses array places to [] and the answers' query
|
|
9
|
+
* strings to the route, so a pack of 20 initiatives prints each key once: "responses./api/board-premium.model.rows[].title".
|
|
10
|
+
* It reads one file and writes to the terminal only. Nothing is sent anywhere. */
|
|
11
|
+
const fs = require('fs');
|
|
12
|
+
|
|
13
|
+
function walk(v, path, keys, strings) {
|
|
14
|
+
if (Array.isArray(v)) { for (const x of v) walk(x, path + '[]', keys, strings); return; }
|
|
15
|
+
if (v && typeof v === 'object') {
|
|
16
|
+
for (const k of Object.keys(v)) {
|
|
17
|
+
const name = path === 'responses' ? k.split('?')[0] : k;
|
|
18
|
+
const p = path ? path + '.' + name : name;
|
|
19
|
+
keys.add(p); walk(v[k], p, keys, strings);
|
|
20
|
+
}
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (typeof v === 'string' && v.trim().split(/\s+/).length > 3) strings.push([path, v]);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/** → { keys: [path], strings: [[path, text]] } for a pack object. */
|
|
27
|
+
function review(pack) {
|
|
28
|
+
const keys = new Set(), strings = [];
|
|
29
|
+
walk(pack && pack.ok && pack.pack ? pack.pack : pack, '', keys, strings);
|
|
30
|
+
return { keys: [...keys].sort(), strings };
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (require.main === module) {
|
|
34
|
+
const [file, flag] = process.argv.slice(2);
|
|
35
|
+
if (!file) { console.error('Usage: node bin/pack-review.js <pack.json> [--keys]'); process.exit(2); }
|
|
36
|
+
const pk = JSON.parse(fs.readFileSync(file, 'utf8')), R = review(pk);
|
|
37
|
+
// the key paths as lib/board-pack-keys.js writes them ("*" for an id of a map): the same count the key list and its test use
|
|
38
|
+
const paths = [...require('../lib/board-pack-keys.js').pathsOf(((pk && pk.ok && pk.pack) || pk).responses || {})].sort();
|
|
39
|
+
console.log('# Key paths (' + paths.length + ')'); for (const k of paths) console.log(k);
|
|
40
|
+
if (flag !== '--keys') {
|
|
41
|
+
const seen = new Set();
|
|
42
|
+
console.log('\n# Strings longer than three words');
|
|
43
|
+
for (const [p, t] of R.strings) { const line = p + ' = ' + t.replace(/\s+/g, ' ').slice(0, 300); if (!seen.has(line)) { seen.add(line); console.log(line); } }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
module.exports = { review };
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,30 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.621.0",
|
|
4
|
+
"at": "2026-11-19T04:46:30.709Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1402,
|
|
9
|
+
"t": "Backlog rows open the small task popup",
|
|
10
|
+
"s": "Backlog rows open the small task popup",
|
|
11
|
+
"k": "new"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"v": "0.620.0",
|
|
17
|
+
"at": "2026-11-19T04:33:41.427Z",
|
|
18
|
+
"f": 4,
|
|
19
|
+
"prs": [
|
|
20
|
+
{
|
|
21
|
+
"n": 1399,
|
|
22
|
+
"t": "Shared copy draws Work, one view, and nothing private leaks",
|
|
23
|
+
"s": "Shared copy draws Work, one view, and nothing private leaks",
|
|
24
|
+
"k": "new"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
2
28
|
{
|
|
3
29
|
"v": "0.619.0",
|
|
4
30
|
"at": "2026-11-19T04:21:53.302Z",
|
|
@@ -20,7 +20,7 @@ On a phone the switch has its own line above the list. PMOS remembers your choic
|
|
|
20
20
|
|
|
21
21
|
| Column | What it shows |
|
|
22
22
|
|---|---|
|
|
23
|
-
| Task | The name. □ is a task and ◇ is a milestone. Press the name to open the task. |
|
|
23
|
+
| Task | The name. □ is a task and ◇ is a milestone. Press the name to open the task in a small popup on top. ↑ and ↓ step through the list. |
|
|
24
24
|
| Jira ticket | The key, when the task is a Jira ticket. |
|
|
25
25
|
| Epic | The epic of the Jira ticket, or **No epic**. |
|
|
26
26
|
| Initiative | The initiative that holds the task. In No home it is empty, or it shows ✦ the initiative PMOS proposes. |
|
|
@@ -27,7 +27,7 @@ On a computer the Board place is **Work**: one list of initiatives with the time
|
|
|
27
27
|
- **Edit in place.** Press the Stage of a row to move the initiative to another stage. The toast has **Undo**.
|
|
28
28
|
- **Open.** Press a row to open the initiative in the popup, with the chat beside it.
|
|
29
29
|
|
|
30
|
-
A phone
|
|
30
|
+
A phone and a narrow Board beside another panel keep the views below. A published read-only copy draws Work on a computer too (see [What a reader sees](#what-a-reader-sees)).
|
|
31
31
|
|
|
32
32
|
## The top row
|
|
33
33
|
|
|
@@ -198,6 +198,17 @@ The tab is not in the read-only Board. A reader sees no Shared tab.
|
|
|
198
198
|
|
|
199
199
|
### What a reader sees
|
|
200
200
|
|
|
201
|
+
**On a computer, a copy published from this version draws Work, one view:** Initiative, Stage, Next milestone, Date and the bar. The top line shows the board's name, a **Read-only copy** pill, "Shared by" with the first name of the person who shared it, the date of the copy and when the link ends. Then come find, tune, **Get PMOS** and **Open in my PMOS**.
|
|
202
|
+
|
|
203
|
+
- A reader can sort, change the span, hide the timeline, fold a group, open the closed rows, search, and use the tune panel (Filter and Sort only, for this visit only). Press a bar to see its stage card.
|
|
204
|
+
- Press a row to open the popup, read-only: Overview (Details shows only the facts the copy holds), Work breakdown, and Artefacts by name, kind and version. There is no chat, no ✦ proposal, no ✓ ✕, no menu and no Undo.
|
|
205
|
+
- People show by first name only. An agent shows as PMOS.
|
|
206
|
+
- A copy holds only the keys on a written list (`lib/board-pack-keys.json`). It never holds emails, paths, web addresses, other products' names, PMOS's working state (asks, proposals, who set a stage, tickets, averages) or the computer's account name. In a task's name, another project's ticket key reads "a ticket".
|
|
207
|
+
- A link made before this version keeps its old pack and its old view until you **Republish** it.
|
|
208
|
+
|
|
209
|
+
On a phone, and in a copy made before this version, a reader sees:
|
|
210
|
+
|
|
211
|
+
|
|
201
212
|
- The view that you were in when you published: the stage track or the Timeline. A reader can switch between the two with the buttons on the toolbar. A copy made before this change opens on the stage track. Republish a link to give it your view. By stage and List are not offered.
|
|
202
213
|
- On the Timeline, the view opens on today.
|
|
203
214
|
- On the Timeline, a milestone ◇ sits on its date, the same as on your own Board. A reader cannot press it.
|
|
@@ -259,6 +259,7 @@ Do not set these on your own computer. The suites set them to make a run short o
|
|
|
259
259
|
| `PMOS_DRIFT_NOW` | A fixed clock for what you might have missed. | the real clock | — |
|
|
260
260
|
| `PMOS_IMPACT_NOW` | A fixed clock for your impact. | the real clock | — |
|
|
261
261
|
| `PMOS_MOMENTS_NOW` | A fixed clock for moments. | the real clock | — |
|
|
262
|
+
| `PMOS_PACK_KEYS_RECORD` | A file path. A shared board's pack then keeps every key and writes each key path to that file, to grow the key list. For development only: never set it where you publish. | not set | — |
|
|
262
263
|
|
|
263
264
|
### Set by PMOS for its own sessions and runs
|
|
264
265
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* The key paths a published board's pack may hold (shared-copy design check 2, 2026-11-19: "whitelist, never subtract"). A key the copy does
|
|
3
|
+
* not draw is not in the pack, so a new field upstream cannot ride along: lib/board-pack.js buildPack passes its answers through keepListed()
|
|
4
|
+
* last, and board-pack.test.js fails when a pack holds a path that is not on this list.
|
|
5
|
+
*
|
|
6
|
+
* A path is the answer's route, then its keys: "/api/board-premium.model.rows[].title". "[]" is any place in an array; "*" is any key of a
|
|
7
|
+
* map keyed by id (MAPS). A new key a copy must draw is added here by hand, with the view that draws it in mind. */
|
|
8
|
+
const MAPS = [/^\/api\/board-trail\.items$/, /^\/api\/board-grill\.items$/, /^\/api\/artefacts\/goals\.of$/];
|
|
9
|
+
let LIST = []; try { LIST = require('./board-pack-keys.json'); } catch { LIST = []; }
|
|
10
|
+
const ALLOW = new Set(LIST);
|
|
11
|
+
const isMap = (path) => MAPS.some((re) => re.test(path));
|
|
12
|
+
function keep(v, path) {
|
|
13
|
+
if (Array.isArray(v)) return v.map((x) => keep(x, path + '[]'));
|
|
14
|
+
if (!v || typeof v !== 'object') return v;
|
|
15
|
+
const o = {}, map = isMap(path);
|
|
16
|
+
for (const k of Object.keys(v)) { const p = path + '.' + (map ? '*' : k); if (ALLOW.has(p)) o[k] = keep(v[k], p); }
|
|
17
|
+
return o;
|
|
18
|
+
}
|
|
19
|
+
/** responses → the same, with only the listed key paths. An answer whose route is not listed goes whole. */
|
|
20
|
+
function keepListed(responses) {
|
|
21
|
+
// PMOS_PACK_KEYS_RECORD=<file>: record the paths a pack would hold, unfiltered (how the list was first written; review every path by hand)
|
|
22
|
+
if (process.env.PMOS_PACK_KEYS_RECORD) { require('fs').appendFileSync(process.env.PMOS_PACK_KEYS_RECORD, [...pathsOf(responses)].join('\n') + '\n'); return responses; }
|
|
23
|
+
const out = {};
|
|
24
|
+
for (const k of Object.keys(responses || {})) { const route = k.split('?')[0]; if (ALLOW.has(route)) out[k] = keep(responses[k], route); }
|
|
25
|
+
return out;
|
|
26
|
+
}
|
|
27
|
+
/** Every key path a pack holds, as the list writes them. */
|
|
28
|
+
function pathsOf(responses) {
|
|
29
|
+
const out = new Set();
|
|
30
|
+
const walk = (v, path) => {
|
|
31
|
+
if (Array.isArray(v)) { for (const x of v) walk(x, path + '[]'); return; }
|
|
32
|
+
if (!v || typeof v !== 'object') return;
|
|
33
|
+
const map = isMap(path);
|
|
34
|
+
for (const k of Object.keys(v)) { const p = path + '.' + (map ? '*' : k); out.add(p); walk(v[k], p); }
|
|
35
|
+
};
|
|
36
|
+
for (const k of Object.keys(responses || {})) { const route = k.split('?')[0]; out.add(route); walk(responses[k], route); }
|
|
37
|
+
return out;
|
|
38
|
+
}
|
|
39
|
+
module.exports = { LIST, keepListed, pathsOf };
|