create-pmos 0.709.0 → 0.710.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 -26
- 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/guide/home.md +1 -1
- package/workspace/lib/routes-drift.js +3 -2
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/moves-view.js +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.710.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.710.0",
|
|
38
|
+
"at": "2026-11-22T13:35:34.451Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 1542,
|
|
43
|
+
"t": "What-moved route answers label and rows; put-back task tested (Checker M2, M6)",
|
|
44
|
+
"s": "What-moved route answers label and rows; put-back task tested (Checker M2, M6)",
|
|
45
|
+
"k": "fix"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
36
49
|
{
|
|
37
50
|
"v": "0.709.0",
|
|
38
51
|
"at": "2026-11-22T12:36:24.052Z",
|
|
@@ -411,31 +424,6 @@
|
|
|
411
424
|
"k": "new"
|
|
412
425
|
}
|
|
413
426
|
]
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
"v": "0.668.0",
|
|
417
|
-
"at": "2026-11-22T04:47:26.459Z",
|
|
418
|
-
"f": 4,
|
|
419
|
-
"prs": [
|
|
420
|
-
{
|
|
421
|
-
"n": 1456,
|
|
422
|
-
"t": "Library draws 40 rows a group and hides every Final badge",
|
|
423
|
-
"s": "Library draws 40 rows a group and hides every Final badge",
|
|
424
|
-
"k": "fix"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"n": 1447,
|
|
428
|
-
"t": "Dry-run each ticket before it is built, and outside sign-offs on the same question card",
|
|
429
|
-
"s": "Dry-run each ticket before it is built, and outside sign-offs on the same question card",
|
|
430
|
-
"k": "new"
|
|
431
|
-
},
|
|
432
|
-
{
|
|
433
|
-
"n": 1459,
|
|
434
|
-
"t": "The task popup loads komorebi.css from its own folder only (main red since #1452)",
|
|
435
|
-
"s": "The task popup loads komorebi.css from its own folder only (main red since #1452)",
|
|
436
|
-
"k": "fix"
|
|
437
|
-
}
|
|
438
|
-
]
|
|
439
427
|
}
|
|
440
428
|
]
|
|
441
429
|
}
|
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-22T13:35:31Z"}
|
|
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-22T13:35:31Z"}
|
|
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-22T13:35:31Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.710.0",
|
|
4
|
+
"at": "2026-11-22T13:35:34.451Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1542,
|
|
9
|
+
"t": "What-moved route answers label and rows; put-back task tested (Checker M2, M6)",
|
|
10
|
+
"s": "What-moved route answers label and rows; put-back task tested (Checker M2, M6)",
|
|
11
|
+
"k": "fix"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
},
|
|
2
15
|
{
|
|
3
16
|
"v": "0.709.0",
|
|
4
17
|
"at": "2026-11-22T12:36:24.052Z",
|
package/workspace/guide/home.md
CHANGED
|
@@ -49,7 +49,7 @@ Home, the Board, Insights and the Viewer use one typeface, Plus Jakarta Sans, wi
|
|
|
49
49
|
- **One press per initiative.** An initiative's proposals are one row, for example "Checkout: 6 changes to keep" with "3 dates, 2 names, 1 link" under it. Press it to see them grouped as Dates, Names, Done and Links. ✓ keeps all of them, with one Undo for the batch. ✕ drops them, then offers three reasons and **Say why**. A proposal that needs your own check keeps its own ✓ and ✕. **See every change** opens the full list on the initiative.
|
|
50
50
|
- **An ask expires after 14 days with no answer.** PMOS leaves it as it was and writes why in the initiative's History. Your move says it once: "2 asks expired after 14 days with no answer." Dates computed from your tasks never expire: PMOS reads them again each time.
|
|
51
51
|
- **Done** lists what PMOS finished by itself in the last 14 days, one line each with Undo.
|
|
52
|
-
- **What moved last week.** Once a week, one row says how many dates and scope changes (tasks added, removed or put back) happened last week on all your products, and how many have no source, for example "Last week: 14 moves in dates and scope" with "3 with no source. See who to ask." under it. Press it to see one list, grouped by product, with the moves that have no source first. Each move shows its source (your own change, the tracker, or the Jira ticket, meeting note or document it names), or **No source** and the owner to ask. A move PMOS made with no reason is always **No source**. After you open the list, the row goes away until next week. In a week with no moves, there is no row. From a terminal: `node workspace/lib/week-moves.js list` in a product's repository.
|
|
52
|
+
- **What moved last week.** Once a week, one row says how many dates and scope changes (tasks added, removed or put back) happened last week on all your products, and how many have no source, for example "Last week: 14 moves in dates and scope" with "3 with no source. See who to ask." under it. Press it to see one list, grouped by product, with the moves that have no source first. Each move shows its source (your own change, the tracker, or the Jira ticket, meeting note or document it names), or **No source** and the owner to ask. A move PMOS made with no reason is always **No source**. After you open the list, the row goes away until next week. In a week with no moves, there is no row. From a terminal: `node workspace/lib/week-moves.js list` in a product's repository, or `--week <Monday>` for an earlier week.
|
|
53
53
|
- An outbox draft opens with who it is for and the words. **Copy** puts the words on the clipboard, so you send them from your own tool. ✕ discards it, with Undo. Nothing leaves PMOS by itself.
|
|
54
54
|
|
|
55
55
|
## Mentions
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* POST /api/drift/drop { id } → { ok } ⋯ "Not right, drop it": it never comes back (PRD R5)
|
|
9
9
|
* POST /api/drift/undo { id } → { ok } the drop taken back
|
|
10
10
|
* POST /api/drift/looked { week } → { ok } the card was shown for that week
|
|
11
|
-
* GET /api/drift/moves?ws=<id>[&week=YYYY-MM-DD] → { ok, ws, name, week, notRead,
|
|
11
|
+
* GET /api/drift/moves?ws=<id>[&week=YYYY-MM-DD] → { ok, ws, name, week, label, notRead, rows, total, unsourced } the weekly what-moved list of
|
|
12
12
|
* one product (initiative weekly-what-moved, lib/week-moves.js): last week by default; read-only
|
|
13
13
|
*
|
|
14
14
|
* THE SWITCH. PMOS_DRIFT=off, or the shared guard's switch (lib/ai-guard.js off: PMOS_AI, the ai settings): every GET answers { ok, on: false }
|
|
@@ -53,7 +53,8 @@ async function handle(req, res, url, ctx) {
|
|
|
53
53
|
try { const IR = require('./initiative-rows.js').rowsFor(w.root); rows = IR && IR.ok ? IR.rows : []; } catch { rows = []; }
|
|
54
54
|
const f = require('./drift-facts.js').factsOf({ id: w.id, name: w.name || w.id, root: w.root }, { stateDir, rows });
|
|
55
55
|
const r = WM.movesOf(f, W);
|
|
56
|
-
|
|
56
|
+
const label = day && W.week !== WM.lastWeek(nowMs(ctx)).week ? 'The week of ' + W.week : 'Last week';
|
|
57
|
+
return send({ status: 200, body: { ok: true, ws: w.id, name: w.name || w.id, week: W.week, label, notRead: f.notRead, rows: r.moves, total: r.total, unsourced: r.unsourced } });
|
|
57
58
|
} catch (e) {
|
|
58
59
|
console.warn(WM.TAG + ' could not read the moves of ' + w.id + ': ' + ((e && e.message) || e));
|
|
59
60
|
return send(bad(500, 'The moves could not be read.'));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.710.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.710.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -13,7 +13,8 @@ const KEY = 'pmos.moves.looked';
|
|
|
13
13
|
const escDefault = (s) => String(s == null ? '' : s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));
|
|
14
14
|
const ICON = 'M3 12h4l3-8 4 16 3-8h4';
|
|
15
15
|
const plural = (n, one, many) => n + ' ' + (n === 1 ? one : many);
|
|
16
|
-
const
|
|
16
|
+
const rowsOf = (l) => (Array.isArray(l.rows) ? l.rows : Array.isArray(l.moves) ? l.moves : null); // GET /api/drift/moves answers rows
|
|
17
|
+
const ok = (l) => l && l.ok && !!rowsOf(l);
|
|
17
18
|
|
|
18
19
|
export function lookedWeek() { try { return localStorage.getItem(KEY) || ''; } catch { return ''; } }
|
|
19
20
|
export function markLooked(week) { try { if (week) localStorage.setItem(KEY, week); } catch { /* this browser keeps no store */ } }
|
|
@@ -40,11 +41,11 @@ function moveHtml(m, esc) {
|
|
|
40
41
|
|
|
41
42
|
/** The list, one section per product. */
|
|
42
43
|
export function listHtml(lists, { esc = escDefault } = {}) {
|
|
43
|
-
const L = (lists || []).filter(ok).filter((l) => l.
|
|
44
|
+
const L = (lists || []).filter(ok).filter((l) => rowsOf(l).length);
|
|
44
45
|
if (!L.length) return '<p class="yd-exp">Nothing moved in dates or scope last week.</p>';
|
|
45
46
|
const many = L.length > 1;
|
|
46
47
|
return L.map((l) => {
|
|
47
|
-
const rows = l.
|
|
48
|
+
const rows = rowsOf(l).slice().sort((a, b) => (a.sourced === b.sourced ? 0 : a.sourced ? 1 : -1));
|
|
48
49
|
const head = many ? `<h3>${esc(l.name || l.ws)}</h3>` : '';
|
|
49
50
|
const sum = `<p class="yd-exp">${esc(plural(l.total, 'move', 'moves'))}${l.unsourced ? ', ' + esc(String(l.unsourced)) + ' with no source' : ''}.</p>`;
|
|
50
51
|
return `<section class="mv-prod">${head}${sum}<ul class="mv-list">${rows.map((m) => moveHtml(m, esc)).join('')}</ul></section>`;
|