create-pmos 0.702.0 → 0.703.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 +9 -3
- 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 +8 -2
- package/workspace/guide/breakdown.md +2 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-backlog.js +16 -1
- package/workspace/public/pm/cozy-pop-work.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.703.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": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
36
|
{
|
|
37
|
-
"v": "0.
|
|
38
|
-
"at": "2026-11-22T10:
|
|
37
|
+
"v": "0.703.0",
|
|
38
|
+
"at": "2026-11-22T10:51:01.624Z",
|
|
39
39
|
"f": 4,
|
|
40
40
|
"prs": [
|
|
41
41
|
{
|
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
"t": "Lists stay short, 50 rows a step from one shared block (A455)",
|
|
44
44
|
"s": "Lists stay short, 50 rows a step from one shared block (A455)",
|
|
45
45
|
"k": "new"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"n": 1530,
|
|
49
|
+
"t": "Esc and Stage in Backlog and This sprint; tests for the Gantt parent bar and the bulk stage move",
|
|
50
|
+
"s": "Esc and Stage in Backlog and This sprint; tests for the Gantt parent bar and the bulk stage move",
|
|
51
|
+
"k": "fix"
|
|
46
52
|
}
|
|
47
53
|
]
|
|
48
54
|
},
|
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-22T10:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-22T10:50:57Z"}
|
|
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-22T10:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-22T10:50:57Z"}
|
|
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-22T10:
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-22T10:50:57Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
package/workspace/changelog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"v": "0.
|
|
4
|
-
"at": "2026-11-22T10:
|
|
3
|
+
"v": "0.703.0",
|
|
4
|
+
"at": "2026-11-22T10:51:01.624Z",
|
|
5
5
|
"f": 4,
|
|
6
6
|
"prs": [
|
|
7
7
|
{
|
|
@@ -9,6 +9,12 @@
|
|
|
9
9
|
"t": "Lists stay short, 50 rows a step from one shared block (A455)",
|
|
10
10
|
"s": "Lists stay short, 50 rows a step from one shared block (A455)",
|
|
11
11
|
"k": "new"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"n": 1530,
|
|
15
|
+
"t": "Esc and Stage in Backlog and This sprint; tests for the Gantt parent bar and the bulk stage move",
|
|
16
|
+
"s": "Esc and Stage in Backlog and This sprint; tests for the Gantt parent bar and the bulk stage move",
|
|
17
|
+
"k": "fix"
|
|
12
18
|
}
|
|
13
19
|
]
|
|
14
20
|
},
|
|
@@ -21,6 +21,8 @@ In the terminal, `pmos task set <task> --parent <task>` sets the parent, and `--
|
|
|
21
21
|
|
|
22
22
|
To select tasks, Cmd-click or Ctrl-click each one, or Shift-click to select a range. This works in the Work breakdown's List and Gantt, in Work › Backlog and in This sprint. A bar shows the number of selected tasks. Use it to put the tasks under a parent, move them to a stage, give them to a person, move their dates by a number of days, or mark them done. One **Undo** puts all of them back. Press Esc to clear the selection.
|
|
23
23
|
|
|
24
|
+
To move tasks to a stage, select tasks of one initiative. The stages are the stages of that initiative.
|
|
25
|
+
|
|
24
26
|
PMOS does not change the stage, owner or status of a Jira ticket. It skips these tickets and tells you why.
|
|
25
27
|
|
|
26
28
|
## Jira tickets in the breakdown
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmos-workspace",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.703.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.703.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@anthropic-ai/sdk": "^1.3.0",
|
package/workspace/package.json
CHANGED
|
@@ -344,7 +344,7 @@ function drawBar() {
|
|
|
344
344
|
if (!n || !on()) { if (bar) { bar.remove(); bar = null; } return; }
|
|
345
345
|
if (!bar) { bar = document.createElement('div'); bar.className = 'bk-bar'; bar.setAttribute('role', 'toolbar'); bar.setAttribute('aria-label', 'Ticked tasks'); document.body.appendChild(bar); bar.addEventListener('click', barPress); }
|
|
346
346
|
bar.innerHTML = `<span class="c">${n} selected</span><button type="button" class="pm" data-bkb="give">${SPARK} Give to PMOS</button><button type="button" data-bkb="person">Give to a person</button>`
|
|
347
|
-
+ `<button type="button" data-bkb="ini">Move to initiative</button><button type="button" data-bkb="parent">Under a parent</button><button type="button" data-bkb="date">Set date</button><button type="button" data-bkb="shift">Move dates</button>`
|
|
347
|
+
+ `<button type="button" data-bkb="ini">Move to initiative</button><button type="button" data-bkb="parent">Under a parent</button><button type="button" data-bkb="section">Stage</button><button type="button" data-bkb="date">Set date</button><button type="button" data-bkb="shift">Move dates</button>`
|
|
348
348
|
+ `<button type="button" data-bkb="done">Done</button><button type="button" data-bkb="archive">Archive</button>`
|
|
349
349
|
+ `<button type="button" class="x" data-bkb="clear" aria-label="Clear the ticks" title="Clear">${SV(I.x)}</button>`;
|
|
350
350
|
}
|
|
@@ -366,6 +366,16 @@ async function barPress(e) {
|
|
|
366
366
|
pickPop(b, 'Under a parent', [['', 'Top level (no parent)']].concat(L), async (v) => { const p = v ? DATA.tasks.find((t) => uidOf(t) === v) : null; await bulkMany(T, 'parent', p ? p.id : '', p ? p.title : 'the top level'); });
|
|
367
367
|
return;
|
|
368
368
|
}
|
|
369
|
+
if (k === 'section') {
|
|
370
|
+
// the bulk move to a stage (WorkBulkDS): the stages of the one initiative the picked tasks share; Jira tickets keep the stage Jira gives them
|
|
371
|
+
const inis = new Set(T.map((t) => t.ini || '')), ini = [...inis][0], t0 = T[0];
|
|
372
|
+
if (inis.size !== 1 || !ini) { AP().say('Pick tasks of one initiative to move them to a stage.'); return; }
|
|
373
|
+
let st = [];
|
|
374
|
+
try { const r = await (await fetch('/api/boards/items?ws=' + encodeURIComponent(t0.ws) + '&board=' + encodeURIComponent(t0.board), { credentials: 'same-origin' })).json(); st = (((r && r.initiatives) || []).find((x) => x.id === ini) || {}).stages || []; } catch { st = []; }
|
|
375
|
+
if (!st.length) { AP().say('This initiative has no stages to move tasks to.'); return; }
|
|
376
|
+
pickPop(b, 'Stage', [['', 'Not in a stage']].concat(st.map((x) => [x.key, x.name])), async (v) => { const x = st.find((y) => y.key === v); await bulkMany(T, 'section', v, x ? x.name : 'no stage'); });
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
369
379
|
if (k === 'shift') { pickPop(b, 'Move dates', [['-7', '1 week earlier'], ['-1', '1 day earlier'], ['1', '1 day later'], ['7', '1 week later']], async (v) => { const n = WS.shiftOf(v); if (n != null) await bulkMany(T, 'shift', n); }, { free: 'Days: +3, -2, 1w' }); return; }
|
|
370
380
|
if (k === 'done') { await bulkMany(T, 'done', null); }
|
|
371
381
|
}
|
|
@@ -712,6 +722,11 @@ export function sync(api) {
|
|
|
712
722
|
const fb = document.getElementById('bdFilter');
|
|
713
723
|
if (fb) fb.addEventListener('click', (e) => { if (!on() || !DATA) return; e.stopImmediatePropagation(); e.preventDefault(); if (pop && pop.classList.contains('bk-tune')) closePop(); else tune(fb); }, true);
|
|
714
724
|
document.addEventListener('click', (e) => { if (pop && !pop.contains(e.target) && !e.target.closest('[data-bkb],#bdFilter,[data-bkmenu],[data-bkmode]')) closePop(); });
|
|
725
|
+
// Esc clears the picked rows in Backlog and This sprint (WorkBulkDS), as the bar's × does; an open pop list or a text field keeps its own Esc
|
|
726
|
+
document.addEventListener('keydown', (e) => {
|
|
727
|
+
if (e.key !== 'Escape' || e.defaultPrevented || !SEL.size || !on() || pop || (e.target && e.target.closest && e.target.closest('input, textarea, select, [role="dialog"]'))) return;
|
|
728
|
+
SEL.clear(); ANCHOR = ''; draw();
|
|
729
|
+
});
|
|
715
730
|
}
|
|
716
731
|
apply();
|
|
717
732
|
if (on() && DATA && Date.now() - loadedAt > 3000) load();
|
|
@@ -212,10 +212,11 @@ const xOf = (W) => { const a = Date.parse(W.span.a), b = Date.parse(W.span.b); r
|
|
|
212
212
|
function barHtml(x, W) {
|
|
213
213
|
const X = xOf(W);
|
|
214
214
|
if (x.kind === 'stage') return x.start || x.end ? CB.stageBar({ start: x.start, end: x.end, tone: x.tone, late: x.late, ms: x.ms, name: x.name, gaps: x.gaps, marks: x.open ? [] : x.marks }, X, { today: W.today }) : '';
|
|
215
|
-
// a parent (WorkSubtasksDS): one outlined bar from its earliest subtask start to its latest
|
|
215
|
+
// a parent (WorkSubtasksDS): one outlined bar from its earliest subtask start to the end of its latest subtask's last day (as a task bar
|
|
216
|
+
// ends), filled as its subtasks finish
|
|
216
217
|
if (x.kids) {
|
|
217
218
|
if (!x.start && !x.end) return '';
|
|
218
|
-
const l = Math.max(0, X(x.start || x.end)), r = Math.min(100, X(x.end || x.start) +
|
|
219
|
+
const l = Math.max(0, X(x.start || x.end)), r = Math.min(100, X(new Date(Date.parse(String(x.end || x.start).slice(0, 10)) + 864e5).toISOString())), f = x.nLeaf ? Math.round((x.nDone / x.nLeaf) * 100) : 0;
|
|
219
220
|
return `<i class="pw-pbar${x.done ? ' dn' : ''}" style="left:${l.toFixed(2)}%;width:${Math.max(0.8, r - l).toFixed(2)}%" title="${esc(x.title + ': ' + x.count)}"><b style="width:${f}%"></b></i>`;
|
|
220
221
|
}
|
|
221
222
|
return CB.taskBar(x, X, W.today);
|