create-pmos 0.792.0 → 0.794.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.792.0",
3
+ "version": "0.794.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,48 @@
33
33
  "audit"
34
34
  ],
35
35
  "pmosChanges": [
36
+ {
37
+ "v": "0.794.0",
38
+ "at": "2026-11-24T19:46:34.647Z",
39
+ "f": 4,
40
+ "prs": [
41
+ {
42
+ "n": 1809,
43
+ "t": "The work popup shows five actions at most (job #1774, A498)",
44
+ "s": "The work popup shows five actions at most (job #1774, A498)",
45
+ "k": "new"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "v": "0.793.0",
51
+ "at": "2026-11-24T19:07:01.516Z",
52
+ "f": 4,
53
+ "prs": [
54
+ {
55
+ "n": 1805,
56
+ "t": "Decisions come back at their threshold or review date",
57
+ "s": "Decisions come back at their threshold or review date",
58
+ "k": "new",
59
+ "h": "Decisions come back at their threshold or review date",
60
+ "try": {
61
+ "steps": [
62
+ "On Work, drop a ✦ proposal with ✕ and say why",
63
+ "In the chat, ask: when does that decision come back?",
64
+ "On Today, when a decision comes back, press Keep, then Undo"
65
+ ],
66
+ "see": "The chat names the date or goal number PMOS drafted from your reason. When the decision comes back, Today shows one quiet row with why you decided it; Keep moves it to its next date and Undo puts it…",
67
+ "open": "/premium-board.html"
68
+ }
69
+ },
70
+ {
71
+ "n": 1804,
72
+ "t": "Close-open counts Jira tickets left to Jira; an unreachable direct route sends the words to Ask PMOS (job #1792)",
73
+ "s": "Close-open counts Jira tickets left to Jira; an unreachable direct route sends the words to Ask PMOS (job #1792)",
74
+ "k": "fix"
75
+ }
76
+ ]
77
+ },
36
78
  {
37
79
  "v": "0.792.0",
38
80
  "at": "2026-11-24T18:56:18.725Z",
@@ -436,33 +478,6 @@
436
478
  "k": "fix"
437
479
  }
438
480
  ]
439
- },
440
- {
441
- "v": "0.774.0",
442
- "at": "2026-11-24T10:37:50.703Z",
443
- "f": 4,
444
- "prs": [
445
- {
446
- "n": 1735,
447
- "t": "Every page, chat rule, guide page and release note says Today and Work, not Home and Board",
448
- "s": "Every page, chat rule, guide page and release note says Today and Work, not Home and Board",
449
- "k": "fix",
450
- "h": "Every page, chat rule, guide page and release note says Today and Work, not Today and Work"
451
- }
452
- ]
453
- },
454
- {
455
- "v": "0.773.0",
456
- "at": "2026-11-24T10:11:16.212Z",
457
- "f": 4,
458
- "prs": [
459
- {
460
- "n": 1738,
461
- "t": "The chat box has a quiet focus and a round Send inside it",
462
- "s": "The chat box has a quiet focus and a round Send inside it",
463
- "k": "fix"
464
- }
465
- ]
466
481
  }
467
482
  ]
468
483
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@e9c1e809e
1
+ kernel-source: pmos@abb5f22ff
2
2
  assembled: 2026-11-24
3
3
  mode: vendor
@@ -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-24T18:56:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-24T19:46: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-24T18:56:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-24T19:46: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-24T18:56:15Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-24T19:46:30Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,4 +1,46 @@
1
1
  [
2
+ {
3
+ "v": "0.794.0",
4
+ "at": "2026-11-24T19:46:34.647Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 1809,
9
+ "t": "The work popup shows five actions at most (job #1774, A498)",
10
+ "s": "The work popup shows five actions at most (job #1774, A498)",
11
+ "k": "new"
12
+ }
13
+ ]
14
+ },
15
+ {
16
+ "v": "0.793.0",
17
+ "at": "2026-11-24T19:07:01.516Z",
18
+ "f": 4,
19
+ "prs": [
20
+ {
21
+ "n": 1805,
22
+ "t": "Decisions come back at their threshold or review date",
23
+ "s": "Decisions come back at their threshold or review date",
24
+ "k": "new",
25
+ "h": "Decisions come back at their threshold or review date",
26
+ "try": {
27
+ "steps": [
28
+ "On Work, drop a ✦ proposal with ✕ and say why",
29
+ "In the chat, ask: when does that decision come back?",
30
+ "On Today, when a decision comes back, press Keep, then Undo"
31
+ ],
32
+ "see": "The chat names the date or goal number PMOS drafted from your reason. When the decision comes back, Today shows one quiet row with why you decided it; Keep moves it to its next date and Undo puts it…",
33
+ "open": "/premium-board.html"
34
+ }
35
+ },
36
+ {
37
+ "n": 1804,
38
+ "t": "Close-open counts Jira tickets left to Jira; an unreachable direct route sends the words to Ask PMOS (job #1792)",
39
+ "s": "Close-open counts Jira tickets left to Jira; an unreachable direct route sends the words to Ask PMOS (job #1792)",
40
+ "k": "fix"
41
+ }
42
+ ]
43
+ },
2
44
  {
3
45
  "v": "0.792.0",
4
46
  "at": "2026-11-24T18:56:18.725Z",
@@ -2,7 +2,7 @@
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-23
5
+ timestamp: 2026-11-24
6
6
  ---
7
7
 
8
8
  # An initiative's tasks
@@ -36,7 +36,7 @@ In the terminal or the initiative chat, `pmos task set <task> [<task> …] --par
36
36
 
37
37
  ## Sprint and priority
38
38
 
39
- When you point at an open PMOS task in the List, the row shows its buttons. **Sprint** and **Priority** are next to **Who** and the date. Work › Backlog shows the same two buttons at the end of each row.
39
+ When you point at an open PMOS task in the List, the row shows three buttons: **Who**, the date and **More**. **Sprint**, **Priority** and **Stage** are in the row's **More** menu. Work › Backlog shows Sprint and Priority at the end of each row.
40
40
 
41
41
  - **Sprint** lists the sprints that are active now or start next, with their dates, as Jira has them. The task's current sprint is ticked. When you select a sprint, the task gets that sprint's start and end dates. A milestone gets only the end date.
42
42
  - **Priority** lists P1, P2, P3 and **No priority**. A priority that is set shows in the row, before the date.
@@ -45,9 +45,13 @@ Each change is saved at once and has one **Undo**. With the keyboard, press Ente
45
45
 
46
46
  A Jira ticket keeps the sprint and priority that Jira gives it. PMOS shows no Sprint or Priority button on a Jira ticket and does not change Jira.
47
47
 
48
+ ## The popup's actions
49
+
50
+ The initiative popup shows five actions at most. The others are in its **⋯** menu. See [Layout: the popup's actions](layout.md#the-popups-actions).
51
+
48
52
  ## Move several tasks at once
49
53
 
50
- 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.
54
+ 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. The head of the Work breakdown shows the number of selected tasks and the four buttons. Use them, or the first group of **⋯**, 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.
51
55
 
52
56
  On a phone or tablet, press and hold a task to select it. Then tap more tasks to add them or tap a selected task to remove it.
53
57
 
@@ -74,11 +78,11 @@ A red dot on a ticket shows that it has no epic, or that its epic is not one of
74
78
  - PMOS sets the epic directly only on the tickets that are assigned to you. It uses your own Atlassian connection.
75
79
  - PMOS adds each other ticket to the day's draft for that ticket's owner. PMOS does not send the draft. To read it, run `pmos jira epic-asks --draft`.
76
80
 
77
- To set the epic of several tickets, select them. When all the selected tasks are Jira tickets, the bar shows **Set epic…**. Select the initiative's epic, or type the key of another epic. PMOS uses the same rules: it changes the tickets that are assigned to you, and adds the other tickets to the day's draft.
81
+ To set the epic of several tickets, select them. When all the selected tasks are Jira tickets, **⋯** shows **Set the epic**. Select the initiative's epic, or type the key of another epic. PMOS uses the same rules: it changes the tickets that are assigned to you, and adds the other tickets to the day's draft.
78
82
 
79
- The Gantt has a **Jira** column with the key and the red dot. To hide it, use the columns menu. The column shows only when the initiative has Jira tickets.
83
+ The Gantt has a **Jira** column with the key and the red dot. To hide it, use **⋯** › View › **Columns**. The column shows only when the initiative has Jira tickets.
80
84
 
81
- To see only some of the tasks, use **Source** above the list: **All**, **In Jira**, **Only in PMOS** or **Epic to fix**. Each choice shows its number of tasks. A parent stays in the list when one of its tasks matches. **Source** shows only when the tasks come from Jira and from PMOS, or when a ticket needs an epic fix.
85
+ To see only some of the tasks, use **⋯** › View › **Source**: **All**, **In Jira**, **Only in PMOS** or **Epic to fix**. Each choice shows its number of tasks. A parent stays in the list when one of its tasks matches. **Source** shows only when the tasks come from Jira and from PMOS, or when a ticket needs an epic fix.
82
86
 
83
87
  ## Items an agent adds
84
88
 
@@ -388,6 +388,15 @@ Write one line for each product decision, also one that is smaller than an initi
388
388
  - `pmos decisions undo <id>` takes a decision out of the journal. PMOS also writes a line by itself when you press ✓ on a ✦ proposal, pick an answer on a card, drop a proposal with a reason, keep an agent's proposal, or park an initiative with a reason. `pmos decisions list` shows those lines under "Logged from your presses". The Undo of the press takes its line out too.
389
389
  - On the check date, the decision shows on Today as a gate that waits for you, with the command to record the verdict. PMOS never records a verdict for you.
390
390
 
391
+ **Decisions come back.** A decision can carry a threshold (the line it must hold) and a review trigger: a date, a goal number crossing a line, or both. When the trigger is reached, the decision shows again on Today, at most 3 a day, with why you made it. You keep it or change it.
392
+
393
+ - `pmos decisions add … --threshold "<the line it must hold>" --review <date|+30d> --metric "<goal id> < <number>"` sets the trigger when you add a decision. All three are optional.
394
+ - `pmos decisions trigger <id> [--threshold "<text>"] [--review <date|+30d>] [--metric "<goal id> < <number>"]` sets the trigger later. `--off` stops the decision from coming back.
395
+ - If you set no trigger, PMOS drafts one from the decision's own words. An expected outcome with a number gives the threshold and the check date. A decision dropped with a reason comes back 90 days later. `pmos decisions show <id>` says when the trigger was drafted and from what.
396
+ - `pmos decisions keep <id>` keeps a decision that came back. It comes back again after the same gap, or on `--next <date>`. `pmos decisions undo <id> --step` undoes the Keep.
397
+ - `pmos decisions change <id> "<new decision>" --changed-mind "<what changed>"` replaces a decision that came back.
398
+ - `pmos decisions back-days [0|30|60|90|180]` sets the days after which a dropped decision comes back. 0 means never.
399
+
391
400
  ### pmos principles: the product's principles, from its decisions
392
401
 
393
402
  PMOS drafts 4 to 6 principles for a product from its past decisions. Each draft cites the decisions it came from. You keep or drop each one, on the product's Work page or here. Run the commands in the product's repository, or pass `--root <dir>`. The principles are kept in `principles.jsonl` in the product's records folder.
@@ -53,10 +53,10 @@ Each step says what you can do with it. The control sits under the step.
53
53
  Three suggestions on the initiative popup change the record directly, with Undo. They send nothing to Ask PMOS and start no agent run:
54
54
 
55
55
  - **Move the plan end.** ✓ moves the due day of the open task that sets the plan end today.
56
- - **Close them** (a closed initiative with open tasks). All its open PMOS tasks go to Done. Jira tickets stay with Jira.
56
+ - **Close them** (a closed initiative with open tasks). All its open PMOS tasks go to Done. Jira tickets stay with Jira: the message tells you how many open Jira tickets PMOS left to Jira.
57
57
  - **Reopen.** An initiative in Won't do comes out of Won't do. An initiative in its last stage goes back to the stage it came from.
58
58
 
59
- When PMOS cannot do the change by itself (for example, a Done task sets the plan end), it sends the words to Ask PMOS as before.
59
+ When PMOS cannot do the change by itself (for example, a Done task sets the plan end), or the workspace server cannot be reached, it sends the words to Ask PMOS as before.
60
60
 
61
61
  ### Prepare, then go
62
62
 
@@ -218,6 +218,21 @@ Press a suggestion's words to open it as its own page: ✓ and ✕, why PMOS sug
218
218
 
219
219
  The **Product** and **Program** facts go one level up. A program or a product opens in the same popup with the same three parts: its overview, its initiatives (and programs) on the timeline, and its documents. Press a row to go one level down. ⋯ › **Every part** shows every part of the earlier page, so nothing is lost.
220
220
 
221
+ ## The popup's actions
222
+
223
+ The initiative popup shows five actions at most: **Ask PMOS** in the header and four buttons at the right of **Work breakdown**. Back and Close are not actions. The four are **Add a task or milestone**, **Who**, **Set the date** and **Stage** until PMOS has 30 days of your use. After that, they are the four you use most, and PMOS works them out again once a week, so they do not move while you work. The four follow you to your phone and other browsers.
224
+
225
+ - **Add** goes to the List and puts the cursor in the add box.
226
+ - **Who**, **Set the date** and **Stage** change the selected tasks. If no task is selected, the line "Pick the tasks to change · Esc to stop" shows. Click the tasks, then press the line's button, for example **Who for 2 tasks**. Press Esc to stop.
227
+
228
+ Every other action is in the header's **⋯** menu, in three groups:
229
+
230
+ - **Plan**: **Move the dates** (with no task selected, it moves every open task), **Set the epic**, **Sprint**, **Priority**, **Under a parent** and **Mark them done**. Most of these show only while tasks are selected.
231
+ - **View**: **List** or **Gantt**, and in the Gantt **Columns**, **Span of the timeline** and **The whole popup**. **Source** and **Every part** are here too.
232
+ - **Jira**: **Status in Jira**, when one Jira ticket is selected.
233
+
234
+ An action that does not apply is not in the menu. The action keys and Ctrl K still reach every action.
235
+
221
236
  ## Events
222
237
 
223
238
  Events is built from the PMOS design system's blocks. The top line is the path, the product chip, then **Search**, **+** and **More** (the month, the week, Show every date, Connectors). The dates are on the left: Late, Today and Coming up, each one card. The month and Show are on the right. A suggestion sits in a blue box with ✓ and ✕. Today's date in the month has a green ring. Undo is the arrow in the toast at the bottom.
@@ -2,22 +2,28 @@
2
2
  /* decision-journal-needs.js — the needs provider of the decision journal (initiative decision-journal-outcome-checks, done test C4).
3
3
  * lib/needs-providers.js folds these rows into server.js deriveNeeds, and from there into /api/needs and Today.
4
4
  *
5
- * kinds: decision-check
5
+ * kinds: decision-check, decision-back
6
6
  * rowsFor(w, { lead }) → rows · sig(w) → string
7
7
  *
8
8
  * decision-check one row per journal decision whose check date is today or past, with no verdict (lib/decision-journal.js fold, state
9
9
  * `due`). Kind 1 (a gate is owed). The act is the command that records the verdict. The row goes when a verdict is
10
10
  * recorded, when cant-tell moves the date, or when a later decision replaces it.
11
11
  *
12
+ * decision-back (decisions-come-back) one row per open or logged decision whose review trigger was reached (lib/decision-journal.js
13
+ * comeBack: its review date came, or its goal number crossed the line). Kind 7, quiet: at most DAILY_MAX rows, the oldest
14
+ * first. It carries what was decided, why and what was expected. Acts: Keep (moves it to its next date; Undo is
15
+ * `pmos decisions undo <id> --step`) and Change (a new decision that replaces it). A due decision has its decision-check row
16
+ * instead, never both.
17
+ *
12
18
  * The journal is repository-wide, so a tree that is not the lead returns []. Nothing here writes or sends. */
13
19
  const J = require('./decision-journal.js');
14
20
 
15
21
  const NAME = 'decision-journal-needs';
16
22
  const clip = (s, n) => { const t = String(s || '').replace(/\s+/g, ' ').trim(); return t.length > n ? t.slice(0, n - 1).replace(/\s+\S*$/, '') + '…' : t; };
17
23
 
18
- function rowsFor(w, { lead } = {}) {
24
+ function rowsFor(w, { lead, today = J.todayOf(), dropBackDays } = {}) {
19
25
  if (!lead || !w || !w.root) return [];
20
- const { entries, file } = J.entriesOf(w.root, { today: J.todayOf() });
26
+ const { entries, file } = J.entriesOf(w.root, { today, dropBackDays: dropBackDays == null ? dropBack() : dropBackDays });
21
27
  return entries.filter((e) => e.state === 'due').map((e) => {
22
28
  const cause = `Did it work? You decided: ${clip(e.decided, 140)}. You expected: ${clip(e.expected, 140)}.`;
23
29
  return {
@@ -25,9 +31,26 @@ function rowsFor(w, { lead } = {}) {
25
31
  today: { kind: 1, source: NAME, cause, evidence: `${file} · check date ${e.check}`,
26
32
  act: { label: 'Check', cli: `pmos decisions check ${e.id} worked|didnt-work|cant-tell --evidence "<what shows it>"` } },
27
33
  };
34
+ }).concat(backRows(w, entries, file));
35
+ }
36
+
37
+ const dropBack = () => J.dropBackSetting();
38
+
39
+ function backRows(w, entries, file) {
40
+ return entries.filter((e) => e.back).sort((a, b) => String(a.back.on).localeCompare(String(b.back.on)) || a.id.localeCompare(b.id)).slice(0, J.DAILY_MAX).map((e) => {
41
+ const t = e.trigger || {};
42
+ const cause = `Still the right call? You decided: ${clip(e.decided, 140)}.` + (e.why ? ` Why: ${clip(e.why, 140)}.` : '') + (e.expected ? ` You expected: ${clip(e.expected, 140)}.` : '')
43
+ + ` It came back because ${e.back.why}.`;
44
+ const line = [t.threshold ? `holds while it never ${t.threshold}` : '', t.metric ? `watches ${J.metricWords(t.metric)}` : '', t.drafted ? `drafted by PMOS from ${t.source}` : ''].filter(Boolean).join(' · ');
45
+ return {
46
+ run_id: `${NAME}:back:${w.id}:${e.id}`, kind: 'decision-back', initiative_id: e.initiative || null, question: cause, doc: file, ws: w.id,
47
+ today: { kind: 7, source: NAME, cause, evidence: `${file} · decided ${e.date}${line ? ' · ' + line : ''}`,
48
+ act: { label: 'Keep', cli: `pmos decisions keep ${e.id}`, undo: `pmos decisions undo ${e.id} --step` },
49
+ alt: { label: 'Change', cli: `pmos decisions change ${e.id} "<the new decision>" --changed-mind "<what changed>"` } },
50
+ };
28
51
  });
29
52
  }
30
53
  // the date is in the signature: a decision becomes due at midnight with no change to the file
31
54
  function sig(w) { return w && w.root ? J.stamp(w.root) + '@' + J.todayOf() : ''; }
32
55
 
33
- module.exports = { kinds: ['decision-check'], rowsFor, sig };
56
+ module.exports = { kinds: ['decision-check', 'decision-back'], rowsFor, sig };