create-pmos 0.860.0 → 0.861.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 +16 -50
- 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 +15 -10
- package/workspace/guide/breakdown.md +5 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/ini-view-model.js +7 -3
- package/workspace/public/pm/pop-work-model.js +6 -5
- package/workspace/rename-test.js +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.861.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,20 @@
|
|
|
33
33
|
"audit"
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
|
+
{
|
|
37
|
+
"v": "0.861.0",
|
|
38
|
+
"at": "2026-11-26T00:54:33.021Z",
|
|
39
|
+
"f": 4,
|
|
40
|
+
"prs": [
|
|
41
|
+
{
|
|
42
|
+
"n": 2072,
|
|
43
|
+
"t": "A stage's dates follow its tasks' earliest start and latest end, the stage in progress too",
|
|
44
|
+
"s": "A stage's dates follow its tasks' earliest start and latest end, the stage in progress too",
|
|
45
|
+
"k": "fix",
|
|
46
|
+
"i": "stage-dates-from-tasks"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
36
50
|
{
|
|
37
51
|
"v": "0.860.0",
|
|
38
52
|
"at": "2026-11-26T00:07:19.305Z",
|
|
@@ -50,16 +64,7 @@
|
|
|
50
64
|
"t": "Huddle slices 2 and 3: Huddle icon, say an idea, missing angles, Doc/Slides/Report/Design outputs",
|
|
51
65
|
"s": "Huddle slices 2 and 3: Huddle icon, say an idea, missing angles, Doc/Slides/Report/Design outputs",
|
|
52
66
|
"k": "new",
|
|
53
|
-
"i": "huddle-brainstorm"
|
|
54
|
-
"try": {
|
|
55
|
-
"steps": [
|
|
56
|
-
"Open Work and open an initiative",
|
|
57
|
-
"Press the Huddle icon (three people) beside the chat",
|
|
58
|
-
"Type two ideas, then press the mic and say a long third idea, press the mic again: the card is short and keeps As said"
|
|
59
|
-
],
|
|
60
|
-
"see": "The Huddle opens beside the item with the question and the facts PMOS found. Each typed idea is a card. Dots count on each card. Decision writes one line to the decision journal; Tasks adds a task…",
|
|
61
|
-
"open": "/premium-board.html"
|
|
62
|
-
}
|
|
67
|
+
"i": "huddle-brainstorm"
|
|
63
68
|
}
|
|
64
69
|
]
|
|
65
70
|
},
|
|
@@ -698,45 +703,6 @@
|
|
|
698
703
|
}
|
|
699
704
|
}
|
|
700
705
|
]
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
"v": "0.835.0",
|
|
704
|
-
"at": "2026-11-25T15:25:47.605Z",
|
|
705
|
-
"f": 4,
|
|
706
|
-
"prs": [
|
|
707
|
-
{
|
|
708
|
-
"n": 2043,
|
|
709
|
-
"t": "Drag the split between the work and the chat, remembered (job #2019)",
|
|
710
|
-
"s": "Drag the split between the work and the chat, remembered (job #2019)",
|
|
711
|
-
"k": "new",
|
|
712
|
-
"i": "tb-chat-split-handle",
|
|
713
|
-
"h": "Drag the split between the work and the chat, remembered (job #2019)",
|
|
714
|
-
"try": {
|
|
715
|
-
"steps": [
|
|
716
|
-
"From Work, open an initiative",
|
|
717
|
-
"Show the chat with the round chat button at the top right of the popup, then drag the handle between the work and the chat",
|
|
718
|
-
"Close and open the initiative again: the split stays; double-click the handle to put it back"
|
|
719
|
-
],
|
|
720
|
-
"see": "The handle moves the split, the work never gets narrower than 640 px and the chat never narrower than 320 px, the split comes back the same next time, and a double-click returns it to the default",
|
|
721
|
-
"open": "/premium-board.html"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"n": 2040,
|
|
726
|
-
"t": "Work's Print or PDF is a view control on the read-only copy",
|
|
727
|
-
"s": "Work's Print or PDF is a view control on the read-only copy",
|
|
728
|
-
"k": "fix",
|
|
729
|
-
"i": "print-pdf",
|
|
730
|
-
"h": "Work's Print or PDF is a view control on the read-only copy",
|
|
731
|
-
"try": {
|
|
732
|
-
"steps": [
|
|
733
|
-
"Open a shared read-only copy of Work and press the print icon beside Choose columns"
|
|
734
|
-
],
|
|
735
|
-
"see": "The roadmap prints as a clean page, and the read-only copy still shows no write control",
|
|
736
|
-
"open": "/premium-board.html"
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
]
|
|
740
706
|
}
|
|
741
707
|
]
|
|
742
708
|
}
|
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-26T00:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-26T00:54:30Z"}
|
|
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-26T00:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-26T00:54:30Z"}
|
|
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-26T00:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-26T00:54:30Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.861.0",
|
|
4
|
+
"at": "2026-11-26T00:54:33.021Z",
|
|
5
|
+
"f": 4,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 2072,
|
|
9
|
+
"t": "A stage's dates follow its tasks' earliest start and latest end, the stage in progress too",
|
|
10
|
+
"s": "A stage's dates follow its tasks' earliest start and latest end, the stage in progress too",
|
|
11
|
+
"k": "fix",
|
|
12
|
+
"i": "stage-dates-from-tasks"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
"v": "0.860.0",
|
|
4
18
|
"at": "2026-11-26T00:07:19.305Z",
|
|
@@ -16,16 +30,7 @@
|
|
|
16
30
|
"t": "Huddle slices 2 and 3: Huddle icon, say an idea, missing angles, Doc/Slides/Report/Design outputs",
|
|
17
31
|
"s": "Huddle slices 2 and 3: Huddle icon, say an idea, missing angles, Doc/Slides/Report/Design outputs",
|
|
18
32
|
"k": "new",
|
|
19
|
-
"i": "huddle-brainstorm"
|
|
20
|
-
"try": {
|
|
21
|
-
"steps": [
|
|
22
|
-
"Open Work and open an initiative",
|
|
23
|
-
"Press the Huddle icon (three people) beside the chat",
|
|
24
|
-
"Type two ideas, then press the mic and say a long third idea, press the mic again: the card is short and keeps As said"
|
|
25
|
-
],
|
|
26
|
-
"see": "The Huddle opens beside the item with the question and the facts PMOS found. Each typed idea is a card. Dots count on each card. Decision writes one line to the decision journal; Tasks adds a task…",
|
|
27
|
-
"open": "/premium-board.html"
|
|
28
|
-
}
|
|
33
|
+
"i": "huddle-brainstorm"
|
|
29
34
|
}
|
|
30
35
|
]
|
|
31
36
|
},
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "An initiative's tasks"
|
|
4
4
|
description: "Where an initiative's tasks show in the workspace, how an agent adds tasks, and who made a change."
|
|
5
|
-
timestamp: 2026-11-
|
|
5
|
+
timestamp: 2026-11-26
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# An initiative's tasks
|
|
9
9
|
|
|
10
10
|
An initiative owns its task breakdown. In the workspace, its tasks show under the initiative in Today's list (the 3 most urgent, then **Show N more tasks**) and on the initiative's page in the Viewer. Press **+** at the top of Today's list, then **Task**, to add one. A check box is a task: amber when it is late. [Today](home.md) explains the list.
|
|
11
11
|
|
|
12
|
+
## A stage's dates
|
|
13
|
+
|
|
14
|
+
A stage's dates come from its tasks: it starts on the earliest task start and ends on the latest task end. A task with no start counts from its due date. A Won't do task does not count. This is true for every stage, also the stage in progress, in the Work breakdown and on the initiative's page. A stage with no dated task uses the dates it moved through the workflow, and the stage in progress then ends on the initiative's end date. To move a stage's dates, change its tasks' dates.
|
|
15
|
+
|
|
12
16
|
## Changes show at once
|
|
13
17
|
|
|
14
18
|
A change you make shows right away, on every page that shows the task: its status, dates, owner, priority, sprint, name, stage or parent, a new task, a deleted task, and a move of several tasks. The case lines and the summary of an initiative show right away too. You do not have to wait for the save, and you do not have to open the popup again.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.861.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.861.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
* 11 the stage whose output is Jira tickets (Build; a workflow's own Jira stage): the open tickets are its section, by epic, with "N of M done
|
|
33
33
|
* in Jira" and how fresh (batch 20 item 3: by the output, never by the name build or deliver).
|
|
34
34
|
* 12 over the plan: the dates line turns amber with the days over; a skipped stage keeps its place, with its reason.
|
|
35
|
-
* 18 each section carries its dates:
|
|
35
|
+
* 18 each section carries its dates: its tasks' earliest start to their latest end (Wawan, 2026-11-26); a stage with no dated task falls back
|
|
36
|
+
* to when it ran (done) or from when to the plan end (now); later ones "Plan <date>", amber when missed.
|
|
36
37
|
* 19 a big section shows the 3 most urgent first, then folds the rest by the next WBS level, each with its count; done folds last. */
|
|
37
38
|
import { ticketGroups } from './tk-model.js';
|
|
38
39
|
import { isTime, withTime } from './day-time.js'; // a task's optional time on its start and due (task-time-optional) // the drafted Jira tickets by epic (kit 2, T1): By epic's groups
|
|
@@ -298,12 +299,15 @@ export function iniView(r, ctx = {}) {
|
|
|
298
299
|
const sections = [];
|
|
299
300
|
const secOf = (s, i) => rows.filter((x) => x.sec === s.key);
|
|
300
301
|
const planOf = (rs) => { const ds = rs.map((x) => x.end).filter(Boolean).sort(); return ds.length ? ds[ds.length - 1] : ''; };
|
|
302
|
+
// a stage's dates are its tasks' days: the earliest start (or due) to the latest due (or start); Won't do counts for nothing
|
|
303
|
+
const daysOf = (rs) => { const d = rs.filter((x) => !x.wont), a = d.map((x) => x.start || x.end).filter(Boolean).sort(), b = d.map((x) => x.end || x.start).filter(Boolean).sort(); return [a[0] ? String(a[0]).slice(0, 10) : '', b.length ? String(b[b.length - 1]).slice(0, 10) : '']; };
|
|
301
304
|
const headOf = (rs) => { const tops = [...new Set(rs.map((x) => x.wbs && x.wbs.top).filter(Boolean))]; if (tops.length !== 1) return ''; const h = rs.find((x) => x.wbs && x.wbs.head && x.wbs.top === tops[0]); return h ? h.title : ''; };
|
|
302
305
|
const one = (s, i, why) => {
|
|
303
306
|
const rs = secOf(s, i), op = rs.filter((x) => !x.closed), lt = op.filter((x) => x.late), dn = rs.length - op.length;
|
|
304
307
|
let sub = '', subWarn = false;
|
|
305
|
-
|
|
306
|
-
|
|
308
|
+
const [ta, tb] = daysOf(rs), from = ta || ran[i].from, to = tb || (r.end ? String(r.end).slice(0, 10) : '');
|
|
309
|
+
if (s.status === 'now') sub = 'Now' + (from || to ? ' · ' + (from && to ? span(from, to, today) : from ? 'since ' + dateY(from, today) : 'to ' + dateY(to, today)) : '');
|
|
310
|
+
else if (s.status === 'done' || s.status === 'skip') sub = s.status === 'skip' ? 'Skipped' + (s.why ? ': ' + s.why : '') : span(ta || ran[i].from, tb || ran[i].to, today);
|
|
307
311
|
else { const p = planOf(rs); if (p) { sub = 'Plan ' + dateY(p, today); if (dayOf(p) < today && op.length) { sub += ', missed'; subWarn = true; } } }
|
|
308
312
|
const h = headOf(rs); if (h) sub = [sub, h].filter(Boolean).join(' · ');
|
|
309
313
|
return { kind: 'stage', key: s.key, n: i + 1, name: s.name, ms: s.ms, status: s.status, sub, subWarn, count: countOf(op.length, lt.length, dn), warn: lt.length > 0, openN: op.length,
|
|
@@ -393,14 +393,15 @@ export function breakdownOf(r, v, o = {}) {
|
|
|
393
393
|
const leaves = (x) => { const nd = TR.node(x); return nd && nd.kids.length ? WT.rollup(nd) : { n: 1, nDone: x.closed ? 1 : 0 }; };
|
|
394
394
|
const nDone = all.reduce((k, x) => k + leaves(x).nDone, 0), n = all.reduce((k, x) => k + leaves(x).n, 0);
|
|
395
395
|
const deep = all.concat(...all.map((x) => WT.under(TR.node(x))));
|
|
396
|
-
const [ta, tb] = taskSpan(all);
|
|
396
|
+
const [ta, tb] = taskSpan(all.filter((x) => !x.wont));
|
|
397
397
|
const rn = ran[i] || {};
|
|
398
398
|
let a = '', b = '';
|
|
399
|
-
// a stage's
|
|
400
|
-
// 2026-11-20: "just apply the start and end date"
|
|
401
|
-
//
|
|
399
|
+
// a stage's dates run from its tasks' earliest start to their latest end (a task with no start counts from its due date; Won't do
|
|
400
|
+
// counts for nothing). Wawan, 2026-11-20: "just apply the start and end date", and 2026-11-26: the stage in progress too, not the
|
|
401
|
+
// plan end. The recorded stage moves and the plan end are when someone pressed through the workflow, not when the work ran, so they
|
|
402
|
+
// are used only for a stage with no dated task
|
|
402
403
|
if (s.status === 'done') { a = ta || isoOf(rn.from); b = tb || isoOf(rn.to); }
|
|
403
|
-
else if (s.status === 'now') { const pv = ran.slice(0, i).reverse().find((q) => q.to || q.from) || {}; a = ta || isoOf(rn.from) || isoOf(pv.to) || isoOf(pv.from); b = isoOf(r.end)
|
|
404
|
+
else if (s.status === 'now') { const pv = ran.slice(0, i).reverse().find((q) => q.to || q.from) || {}; a = ta || isoOf(rn.from) || isoOf(pv.to) || isoOf(pv.from); b = tb || isoOf(r.end); } // no dated task: since the last date the record holds before it, to the plan end
|
|
404
405
|
else if (s.status !== 'skip') { a = ta; b = tb; }
|
|
405
406
|
if (a && b && b < a) b = a;
|
|
406
407
|
const live = s.status === 'now' && r.status !== 'done' && !r.ended;
|
package/workspace/rename-test.js
CHANGED
|
@@ -122,6 +122,8 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
122
122
|
await Promise.all([p.waitForURL(/\/today\.html\?/, { timeout: 15000 }).catch(() => null), p.click('#czViewer .cz-vw-sv')]);
|
|
123
123
|
p.off('framenavigated', onNav);
|
|
124
124
|
const u = new URL(navs.find((x) => /\/today\.html\?/.test(x)) || p.url());
|
|
125
|
+
// leave Today: its live reads (unmocked) keep the test server busy, and on a loaded runner the next page's load then waits past 30 s
|
|
126
|
+
await p.goto('about:blank');
|
|
125
127
|
ok('I with the Jira box ticked, Today opens the initiative\'s chat with the request typed, not sent', u.pathname === '/today.html' && u.searchParams.get('about') === 'init:descope-parity'
|
|
126
128
|
&& u.searchParams.get('say') === 'Rename the Jira epic IDPF-12 to "Descope parity".', u.href);
|
|
127
129
|
ok('I a row with no Jira epic has no Jira box', await (async () => {
|