create-pmos 0.434.0 → 0.436.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.
Files changed (51) hide show
  1. package/package.json +25 -25
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/changelog.json +24 -0
  7. package/workspace/fixtures/ready-reports.js +145 -0
  8. package/workspace/guide/home.md +1 -1
  9. package/workspace/guide/index.md +1 -0
  10. package/workspace/guide/initiative-boards.md +1 -1
  11. package/workspace/guide/ready-made-dashboards.md +62 -0
  12. package/workspace/lib/board-premium.js +1 -1
  13. package/workspace/lib/engine/boards.js +1 -1
  14. package/workspace/lib/intel-report.js +36 -5
  15. package/workspace/lib/ready-reports.js +616 -0
  16. package/workspace/lib/report-dashboards.js +5 -0
  17. package/workspace/lib/report-setups.js +16 -7
  18. package/workspace/lib/route-modules.js +1 -0
  19. package/workspace/lib/routes-board-premium.js +5 -0
  20. package/workspace/lib/routes-boards.js +3 -2
  21. package/workspace/lib/routes-ready-reports.js +455 -0
  22. package/workspace/lib/routes-report-setups.js +4 -3
  23. package/workspace/package-lock.json +2 -2
  24. package/workspace/package.json +1 -1
  25. package/workspace/program-charter-test.js +11 -7
  26. package/workspace/program-panel-test.js +1 -1
  27. package/workspace/public/pm/bd-ini-panel.js +23 -6
  28. package/workspace/public/pm/bd-prog-panel.js +58 -10
  29. package/workspace/public/pm/cozy-viewer.js +2 -2
  30. package/workspace/public/pm/cozy-vw-rp.css +13 -0
  31. package/workspace/public/pm/dash-view.css +111 -0
  32. package/workspace/public/pm/dash-view.js +261 -0
  33. package/workspace/public/pm/home-app.js +26 -0
  34. package/workspace/public/pm/home-data.js +3 -2
  35. package/workspace/public/pm/home-ini.js +19 -1
  36. package/workspace/public/pm/home-task.js +4 -2
  37. package/workspace/public/pm/ini-tasks.js +34 -6
  38. package/workspace/public/pm/ini-view.css +4 -0
  39. package/workspace/public/pm/premium-insights.js +10 -2
  40. package/workspace/public/pm/premium-report-read.js +36 -5
  41. package/workspace/public/pm/premium-vw-item.js +2 -0
  42. package/workspace/public/pm/ready-lib.css +29 -0
  43. package/workspace/public/pm/ready-lib.js +62 -0
  44. package/workspace/public/pm/task-card.css +1 -0
  45. package/workspace/public/pm/task-card.js +8 -3
  46. package/workspace/ready-dash-ui-test.js +227 -0
  47. package/workspace/server.js +2 -0
  48. package/workspace/task-delete-test.js +31 -0
  49. package/workspace/task-views-test.js +16 -0
  50. package/workspace/test-lists/batch17-ready-reports.json +9 -0
  51. package/workspace/test-lists/ready-reports-ui.json +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.434.0",
3
+ "version": "0.436.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": {
@@ -32,6 +32,30 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.436.0",
37
+ "at": "2026-10-28T04:57:50.844Z",
38
+ "f": 2,
39
+ "prs": [
40
+ {
41
+ "n": 1079,
42
+ "t": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)",
43
+ "s": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)"
44
+ }
45
+ ]
46
+ },
47
+ {
48
+ "v": "0.435.0",
49
+ "at": "2026-10-28T03:43:15.566Z",
50
+ "f": 2,
51
+ "prs": [
52
+ {
53
+ "n": 1078,
54
+ "t": "Ready-made dashboard and reports for every program, product and initiative (feedback batch 17 item 1)",
55
+ "s": "Ready-made dashboard and reports for every program, product and initiative (feedback batch 17 item 1)"
56
+ }
57
+ ]
58
+ },
35
59
  {
36
60
  "v": "0.434.0",
37
61
  "at": "2026-10-28T03:07:58.471Z",
@@ -247,30 +271,6 @@
247
271
  "s": "Pmos workflow move and Board drops land on the Product feature stage you ask for, by key, by name, or by number, even when the board merges two stages into one column."
248
272
  }
249
273
  ]
250
- },
251
- {
252
- "v": "0.416.0",
253
- "at": "2026-10-26T00:23:58.708Z",
254
- "f": 2,
255
- "prs": [
256
- {
257
- "n": 1050,
258
- "t": "Sixth testing feedback batch (items 1–5)",
259
- "s": "Sixth testing feedback batch (items 1–5)"
260
- }
261
- ]
262
- },
263
- {
264
- "v": "0.415.0",
265
- "at": "2026-10-25T15:54:44.873Z",
266
- "f": 2,
267
- "prs": [
268
- {
269
- "n": 1048,
270
- "t": "Fifth testing feedback batch",
271
- "s": "Fifth testing feedback batch"
272
- }
273
- ]
274
274
  }
275
275
  ]
276
276
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@2b1000dd
1
+ kernel-source: pmos@3c511e85
2
2
  assembled: 2026-10-28
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-10-28T03:07:55Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T04:57:47Z"}
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-10-28T03:07:55Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T04:57:47Z"}
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-10-28T03:07:55Z"}
5
+ generated: {by: process:create-pmos, at: "2026-10-28T04:57:47Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,4 +1,28 @@
1
1
  [
2
+ {
3
+ "v": "0.436.0",
4
+ "at": "2026-10-28T04:57:50.844Z",
5
+ "f": 2,
6
+ "prs": [
7
+ {
8
+ "n": 1079,
9
+ "t": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)",
10
+ "s": "Task Delete sticks and the Task Viewer has Delete; Tasks timeline zooms to 5 years and opens full width (feedback batch 17 items 2, 3)"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "v": "0.435.0",
16
+ "at": "2026-10-28T03:43:15.566Z",
17
+ "f": 2,
18
+ "prs": [
19
+ {
20
+ "n": 1078,
21
+ "t": "Ready-made dashboard and reports for every program, product and initiative (feedback batch 17 item 1)",
22
+ "s": "Ready-made dashboard and reports for every program, product and initiative (feedback batch 17 item 1)"
23
+ }
24
+ ]
25
+ },
2
26
  {
3
27
  "v": "0.434.0",
4
28
  "at": "2026-10-28T03:07:58.471Z",
@@ -0,0 +1,145 @@
1
+ 'use strict';
2
+ /* fixtures/ready-reports.js — the ready-made dashboards and the library, in the shape GET /api/ready-reports/dashboard and /library answer
3
+ * (batch 17 item 1; agreed between the backend and UI threads). The words are the canvas frames' (PbA1, PbA2, PbA3, PbS1, PbS2, PbG2, PbG6,
4
+ * PbG7, PbG8, PbG10, PbA6), so a screenshot can be held beside its frame. dash-view.test.mjs and ready-dash-ui-test.js read them. */
5
+
6
+ const OWN = (n) => ({ name: n });
7
+ /** PbA2: the program at Build, one decision, the sponsor update drafted. */
8
+ const program = (id = 'project-ascent') => ({
9
+ ok: true, scope: 'program:' + id, level: 'program', name: 'One login', sub: 'Program · 2 products · 5 initiatives', opens: 'work',
10
+ handled: { lead: '3 of 4 milestones hold their dates. I drafted the sponsor update for Thursday.', rest: 'Descope is three weeks ahead of its line. Thanks, Dewi.', tone: 'calm' },
11
+ goals: [
12
+ { id: 'g-checkout', title: 'More shoppers finish signing in at checkout', owner: OWN('Raka'), dot: 'behind', sub: '+1.2 of +5 points · behind its line' },
13
+ { id: 'g-descope', title: 'Half of all logins run on Descope', owner: OWN('Dewi'), dot: 'ahead', sub: '41% of 50% · ahead of its line' },
14
+ ],
15
+ drafts: null,
16
+ stage: { kind: 'milestones', items: [
17
+ { id: 'm1', name: 'Staff sign in with Descope', dot: 'ok', done: true, when: 'done 12 Oct' },
18
+ { id: 'm2', name: 'Inline login at checkout', dot: 'risk', when: '18 Nov → 28 Nov–5 Dec' },
19
+ { id: 'm3', name: 'MAGW off Java', dot: 'q', when: 'on line · 15 Jan' },
20
+ { id: 'm4', name: 'All logins on Descope', dot: 'q', when: 'on line · 31 Mar' },
21
+ ], note: 'From each initiative\'s Jira and stage dates · read 07:02' },
22
+ guardrails: [],
23
+ needs: { id: 'n1', q: 'Ship checkout 2 Dec, or 18 Nov without passkeys?', sub: 'From Inline login. The milestone holds with my pick.', pick: '18 Nov without passkeys', from: 'inline-login', ini: 'descope-parity', keep: { ids: ['p-dates-1'] }, drop: { sig: 'sig-dates-1' } },
24
+ reports: [
25
+ { id: 'r-sponsor', kind: 'weekly', name: 'Sponsor update', state: 'drafted', sub: 'Drafted · Thu 10:00 to Lee and 3 sponsors', path: 'reports/one-login-sponsor/2026-10-29.md', cadence: 'one-login-sponsor', slot: '2026-10-29', sha: 'abc123' },
26
+ { id: 'r-ms', kind: 'checkpoint', name: 'Milestone review', state: 'scheduled', sub: 'Drafts on 18 Nov' },
27
+ { id: 'r-did', kind: 'did-it-work', name: 'Did it work?', state: 'scheduled', sub: 'Drafts when the program closes' },
28
+ ],
29
+ heldBy: null, trust: null, products: [],
30
+ done: { title: 'Done this week', text: 'Staff login fully on Descope · 11 tickets closed · thanks to Dewi, Sari and Raka' },
31
+ });
32
+ /** PbA1: the initiative at Build, ships late of its promise. */
33
+ const initiative = (id = 'descope-parity') => ({
34
+ ok: true, scope: 'initiative:' + id, level: 'initiative', name: 'Inline login for eShop checkout', sub: 'pmos-idpf · Build', opens: 'work',
35
+ handled: { lead: 'I read Jira and Amplitude at 07:02 and drafted your Monday update.', rest: 'Six tickets closed since Friday; thanks, Raka and Dewi.', tone: 'calm' },
36
+ goals: [{ id: 'g-checkout', title: 'More shoppers finish signing in at checkout', owner: OWN('Raka'), dot: 'behind', sub: '+1.2 of +5 points · its line says +2.0' }],
37
+ drafts: null,
38
+ stage: { kind: 'ships', lo: '28 Nov', hi: '5 Dec', promised: '18 Nov', dot: 'risk', today: 'day 19',
39
+ steps: [{ name: 'Spec', state: 'done' }, { name: 'Design', state: 'done' }, { name: 'Build', state: 'now' }, { name: 'Deliver', state: 'next' }],
40
+ jira: { done: 14, total: 23, at: '07:02' } },
41
+ guardrails: [],
42
+ needs: { id: 'n1', q: 'Ship 2 Dec, or 18 Nov without passkeys?', sub: 'Passkeys are 6 of the 9 open tickets. The goal needs sign-in, not passkeys.', pick: '18 Nov without passkeys, passkeys in v1.1', ini: id, keep: { ids: ['p-dates-1'] }, drop: { sig: 'sig-dates-1' } },
43
+ reports: [
44
+ { id: 'r-weekly', kind: 'weekly', name: 'Weekly update', state: 'drafted', sub: 'Drafted · goes Mon 09:00 to 6 people', path: 'reports/inline-login-weekly/2026-11-02.md', cadence: 'inline-login-weekly', slot: '2026-11-02', sha: 'def456' },
45
+ { id: 'r-stage', kind: 'checkpoint', name: 'Stage review', state: 'scheduled', sub: 'when Build ends' },
46
+ { id: 'r-did', kind: 'did-it-work', name: 'Did it work?', state: 'scheduled', sub: '4 weeks after launch' },
47
+ ],
48
+ heldBy: null, trust: null, done: null,
49
+ });
50
+ /** PbG2: the same initiative while Jira cannot be read: the weekly update is held. */
51
+ const held = (id = 'descope-parity') => ({
52
+ ...initiative(id),
53
+ handled: { lead: 'I can\'t read Jira since Sat 09:12, so I\'m holding Monday\'s update.', rest: 'Its ship date and tickets would be 2 days old. The rest of the dashboard is fresh.', tone: 'warn' },
54
+ goals: [], needs: null, heldBy: { source: 'jira', since: 'Sat 09:12', why: 'Jira says the sign-in token expired.' },
55
+ reports: [{ id: 'r-weekly', kind: 'weekly', name: 'Weekly update', state: 'held', sub: 'Send it now with "Jira as of Saturday" written on it, or wait until Jira reads again. It goes out by itself once Jira reads, if nothing changed.' }],
56
+ });
57
+ /** PbS1: the initiative at Spec, ready for build 5 of 7. */
58
+ const discover = (id = 'passkey') => ({
59
+ ok: true, scope: 'initiative:' + id, level: 'initiative', name: 'Passkey sign-in', sub: 'pmos-idpf · Spec · week 3', opens: 'work',
60
+ handled: { lead: 'I chased the two sign-offs and drafted the stage review.', rest: 'Spec is 5 of 7 done. Security replied this morning; thanks, Sari.', tone: 'calm' },
61
+ goals: [{ id: 'g-pass', title: 'Half of returning shoppers sign in with a passkey', owner: OWN('Raka'), dot: 'none', sub: 'Kept 27 Oct · first reading after launch' }],
62
+ stage: { kind: 'ready', done: 5, total: 7, day: 16, usual: 18, stage: 'Spec', items: [
63
+ { text: 'Problem statement', done: true }, { text: 'Success measure', done: true }, { text: 'Scope agreed', done: true },
64
+ { text: 'PRD written', done: true }, { text: 'Security review', done: true, who: 'Sari', when: 'today' },
65
+ { text: 'Design sign-off', done: false, who: 'Lee', when: 'asked Mon' }, { text: 'Rough size from engineering', done: false, who: 'Raka' },
66
+ ] },
67
+ guardrails: [], needs: null,
68
+ reports: [{ id: 'r-stage', kind: 'checkpoint', name: 'Stage review', state: 'drafted', sub: 'Drafted · opens when the last 2 are done', path: 'reports/passkey-stage/2026-11-04.md' },
69
+ { id: 'r-weekly', kind: 'weekly', name: 'Weekly update', state: 'off', sub: 'Off for now · nothing for stakeholders to decide yet' }],
70
+ heldBy: null, trust: null, done: null,
71
+ });
72
+ /** PbS2: after launch, Did it work? and a guardrail. */
73
+ const monitor = (id = 'descope-parity') => ({
74
+ ...initiative(id), sub: 'pmos-idpf · Monitor · launched 18 Nov',
75
+ handled: { lead: 'It shipped on 18 Nov, and the goal is already moving.', rest: 'Sign-in at checkout is +3.4 points in 12 days. Thanks to Raka and the whole team.', tone: 'calm' },
76
+ goals: [], needs: null,
77
+ stage: { kind: 'did-it-work', head: '+3.4 of +5 points', day: 12, window: 28, dot: 'on', promise: 'Promise in the PRD: +5 points within 4 weeks · Amplitude · read 07:02', note: 'On this line it lands near +5 on 16 Dec. I draft the verdict then: Keep, Iterate or Stop.' },
78
+ guardrails: [{ id: 'gr', title: 'Login errors under 0.5%', owner: OWN('Sari'), dot: 'on', sub: '0.24% · held since launch' }],
79
+ reports: [{ id: 'r-did', kind: 'did-it-work', name: 'Did it work?', state: 'scheduled', sub: 'Drafts 16 Dec · to the team and 4 stakeholders' }, { id: 'r-weekly', kind: 'weekly', name: 'Weekly update', state: 'scheduled', sub: 'Monthly now · nothing ships until v1.1' }],
80
+ done: { title: 'Shipped', text: '18 Nov, on its promised date · 23 of 23 tickets' },
81
+ });
82
+ /** PbA3 + PbG8: the product page, the weekly update late. */
83
+ const product = () => ({
84
+ ok: true, scope: 'product', level: 'product', name: 'pmos-idpf', sub: 'Product', opens: 'dashboard',
85
+ handled: { lead: 'Your weekly update was due at 09:00 and still waits for your ✓.', rest: 'Nothing went out: I never send without you. It is still true as of 07:02; if you send by 14:00 I won\'t change a word.', tone: 'calm' },
86
+ goals: [
87
+ { id: 'a', title: 'Half of all logins run on Descope', dot: 'ahead', owner: OWN('Dewi') }, { id: 'b', title: 'Staff on Descope', dot: 'on' },
88
+ { id: 'c', title: 'Merchant logins', dot: 'on' }, { id: 'd', title: 'More shoppers finish signing in at checkout', short: 'checkout sign-in', dot: 'behind', owner: OWN('Raka') },
89
+ ],
90
+ stage: { kind: 'ships-next', items: [
91
+ { id: 'i1', name: 'Inline login for eShop checkout', dot: 'risk', lo: '28 Nov', hi: '5 Dec', promised: '18 Nov', owner: OWN('Raka') },
92
+ { id: 'i2', name: 'Concurrency management', dot: 'on', when: '9 Dec', promised: '9 Dec', owner: OWN('Wawan') },
93
+ ], more: { count: 3, text: '3 more, all on their dates', items: [{ id: 'i3', name: 'Passkey sign-in', dot: 'on', when: '15 Jan' }] } },
94
+ guardrails: [], needs: null,
95
+ reports: [
96
+ { id: 'r-weekly', kind: 'weekly', name: 'Weekly update', state: 'late', sub: 'Waits for you since 09:00 · 9 readers', path: 'reports/weekly/2026-11-02.md', cadence: 'weekly', slot: '2026-11-02', sha: 'aaa111' },
97
+ { id: 'r-metrics', kind: 'metrics', name: 'Metrics review', state: 'scheduled', sub: 'With Strategist' },
98
+ { id: 'r-q', kind: 'checkpoint', name: 'Quarter review', state: 'scheduled', sub: 'on 17 Dec' },
99
+ ],
100
+ heldBy: null, trust: null, done: null,
101
+ });
102
+ /** PbG6: the product after 4 unchanged sends: Send by itself is offered. */
103
+ const trusted = () => ({ ...product(), handled: { lead: 'You sent the last 4 weekly updates exactly as I drafted them.', rest: 'Shall I send it by itself on Mondays? I will still hold any week with a miss or a decision, and show you what went.', tone: 'calm' }, trust: { reportId: 'r-weekly' } });
104
+ /** PbG10: three products, one not read. */
105
+ const multi = (id = 'project-ascent') => ({
106
+ ...program(id), sub: 'Program · 3 products · 8 initiatives', needs: null, done: null,
107
+ handled: { lead: '2 of 3 products read fine. eShop\'s checkout numbers can\'t be read yet.', rest: 'I asked eShop\'s PM for Amplitude on 27 Oct; reports say so in What we don\'t know yet.', tone: 'calm' },
108
+ goals: [
109
+ { id: 'a', title: 'Half of all logins run on Descope', owner: OWN('Dewi'), dot: 'ahead', sub: '41% of 50% · ahead', product: { tag: 'PI', name: 'pmos-idpf', ws: 'idpf' } },
110
+ { id: 'b', title: 'More shoppers finish signing in at checkout', owner: OWN('Raka'), dot: 'none', sub: 'Can\'t read yet · Amplitude not connected for eShop', product: { tag: 'ES', name: 'eShop', ws: 'microsites' } },
111
+ ],
112
+ stage: { kind: 'milestones', items: [
113
+ { id: 'm1', name: 'Staff sign in with Descope', product: { tag: 'PI', name: 'pmos-idpf' }, when: 'done 12 Oct' },
114
+ { id: 'm2', name: 'Inline login at checkout', product: { tag: 'ES', name: 'eShop' }, when: '28 Nov–5 Dec' },
115
+ ], note: 'Each product read from its own board and Jira · 07:02' },
116
+ reports: [{ id: 'r-sponsor', kind: 'weekly', name: 'Sponsor update', state: 'drafted', sub: 'Drafted · Thu 10:00 · one update across all 3 products', path: 'reports/one-login-sponsor/2026-10-29.md' }],
117
+ products: [{ ws: 'idpf', name: 'pmos-idpf', read: true }, { ws: 'microsites', name: 'eShop', read: false, why: 'Amplitude not connected', asked: '27 Oct' }],
118
+ });
119
+ /** An empty scope: nothing on record. Zero is silence. */
120
+ const empty = (scope = 'initiative:x') => ({ ok: true, scope, level: 'initiative', name: 'x', opens: 'work', handled: null, goals: [], drafts: null, stage: null, guardrails: [], needs: null, reports: [], heldBy: null, trust: null, done: null });
121
+ /** PbA5: thin data, a drafted goal and promise date. */
122
+ const thin = (id = 'passkey') => ({ ...empty('initiative:' + id), name: 'Passkey sign-in', handled: { lead: 'This one is new, so there is little to read yet. I drafted what it needs to start.', rest: 'Keep both and its weekly update starts by itself once something moves.', tone: 'calm' },
123
+ drafts: { goal: { title: 'Half of returning shoppers sign in with a passkey by 31 Mar', sub: 'Read from Amplitude, like checkout sign-in. Anchors to KR-A1.' }, promise: { date: '15 Jan', sub: 'Your Spec to Deliver usually takes 11 weeks. No Jira tickets yet, so this is a guess, and I say so in reports' } },
124
+ note: 'Reports start when there is something to say: the weekly update after the first change, the stage review when Spec ends.' });
125
+ /** PbA6: the library. */
126
+ const library = () => ({
127
+ ok: true,
128
+ lead: { text: 'Your program, product and 5 initiatives each have a dashboard and 3 ready reports.', rest: 'That is 21 reports. To keep your week light I\'d schedule only 3; the rest draft when their moment comes, never on a timer.' },
129
+ groups: [
130
+ { scope: 'program:project-ascent', level: 'program', name: 'One login', rows: [
131
+ { kind: 'weekly', name: 'Sponsor update', sub: 'Thursdays · Lee and 3 sponsors · you sent this by hand 4 times', pick: true, on: true },
132
+ { kind: 'checkpoint', name: 'Milestone review', sub: 'Drafts at each milestone', on: true }, { kind: 'did-it-work', name: 'Did it work?', sub: 'Drafts when the program closes', on: true }] },
133
+ { scope: 'product', level: 'product', name: 'pmos-idpf', rows: [
134
+ { kind: 'weekly', name: 'Weekly update', sub: 'Mondays · 9 people', pick: true, on: true }, { kind: 'checkpoint', name: 'Quarter review', sub: 'Drafts 17 Dec from the Q4 score', on: true },
135
+ { kind: 'did-it-work', name: 'Did it work?', sub: 'Drafts after each launch', on: true }] },
136
+ { scope: 'initiatives', level: 'initiative', name: '5 initiatives', rows: [
137
+ { kind: 'weekly', name: 'Weekly update', sub: 'Only Inline login: it has a decision and a slip', pick: true, on: true },
138
+ { kind: 'checkpoint', name: 'Stage review', sub: 'Drafts when a stage\'s checklist is done', on: true }, { kind: 'did-it-work', name: 'Did it work?', sub: 'Drafts 4 weeks after each launch', on: true }],
139
+ more: { count: 4, text: '4 more weekly updates', sub: 'Off · they draft only in a week with news', rows: [{ kind: 'weekly:passkey', name: 'Passkey sign-in · weekly update', on: false }] } },
140
+ ],
141
+ yours: [{ id: 'mon', name: 'Monday metrics for Lee', sub: 'Made from Intelligence · Mondays' }],
142
+ overlap: null,
143
+ });
144
+
145
+ module.exports = { program, initiative, held, discover, monitor, product, trusted, multi, empty, thin, library };
@@ -82,7 +82,7 @@ Press an initiative's name in the list, or open `?ini=<id>`. The list stays as i
82
82
  - In the Build stage, the open Jira tickets show with the tasks. A task whose name starts with a Jira key (for example "MSD-4376 Navigation tabs") is that ticket, so the ticket shows once, as the task, and counts once. It looks like the ticket rows: a blue square in place of the box and the key in blue. Its status follows Jira; press its name to open it.
83
83
  - **Set a Jira ticket's dates.** Press the dates of a Jira ticket in the List, or drag its bar on the Timeline, as you do for a task. PMOS keeps the start and due days and shows them in place of the sprint end. Jira does not change. The status and the name stay Jira's.
84
84
  - **Tasks** show one row (one group) for each stage of the workflow, in order. Finished stages and later stages are never merged into one row; they start folded, and the current stage and any stage with a late task start open.
85
- - **Delete a task.** Press the caret under a task's box (on a phone, press and hold the box) and press the trash at the end of the status picker. The task goes at once and the message shows **Undo**. The ⋯ menu of a task also has **Delete**. You can delete every PMOS task, also a task that Claude planned in the breakdown. A Jira ticket has no Delete: change it in Jira. A task deleted in a draft leaves only the draft.
85
+ - **Delete a task.** Press the caret under a task's box (on a phone, press and hold the box) and press the trash at the end of the status picker. The task goes at once and the message shows **Undo**. In the Task Viewer, the trash is the last icon of the Status row, and **Delete** is the last entry of its ⋯ menu. You can delete every PMOS task, also a task that Claude planned in the breakdown and a task that a stage's To finish list made. A deleted To finish task does not come back when the stage is read again or when the initiative moves back to that stage. A Jira ticket has no Delete: change it in Jira. A task deleted in a draft leaves only the draft.
86
86
 
87
87
  ## Back and forward
88
88
 
@@ -70,6 +70,7 @@ On a desktop the workspace is one frame. [Layout](layout.md) explains each part.
70
70
  - [Claude drafts metrics without being asked](metric-drafts.md): when Claude drafts the metrics of a product, a program or an initiative, keep, drop, Undo, and `pmos metrics draft`.
71
71
  - [Your impact](your-impact.md): what counts as your impact, the weekly check in Home's chat, the switch, and `pmos impact`. Private to you.
72
72
  - [Adler, Claude's face](adler.md): who Adler is, where he shows, what his six moods mean, and Settings › Adler.
73
+ - [Ready-made dashboards and reports](ready-made-dashboards.md): the dashboard and reports every program, product and initiative has, the Work | Dashboard icon, the Sponsors and Team cuts, late and held reports.
73
74
  - [Core documents: what each level keeps](core-documents.md): the core documents of the portfolio, a board and an initiative, their states, how PMOS drafts them, Issue it, and `pmos coredoc write`.
74
75
  - [The Horizon scan: the agent looks outside your initiatives](horizon-scan.md): how often it runs, the watch list you keep, what a scan does, where findings land, what it cannot do, and `pmos scan`.
75
76
  - [PM-only acts: what you and your agents can do](pm-only-acts.md): the acts that were yours alone, how the workspace checks that a press comes from your page, your terminal or an agent session, how an agent's act is logged under its name (D98), and what to do when a press is refused.
@@ -36,7 +36,7 @@ On a screen wider than 600 pixels, the breadcrumb, the board status, the tabs an
36
36
  - A filter that is on shows next to the icon. Press its x to remove it, or press **Clear** to remove all.
37
37
  - In Backlog, add a PMOS task to an initiative.
38
38
  - In Board, drag a PMOS task to a column, or use its menu. A Jira item has a lock: change it in Jira.
39
- - In Timeline, use **Week**, **Month** and **Quarter** to zoom, and drag the empty chart to pan. Drag a PMOS bar to reschedule the task, or focus the bar and press the Left or Right arrow key. The toast has **Undo**. A Jira bar is locked.
39
+ - In Timeline, use **Weeks**, **Months**, **Quarter**, **Year**, **2 years** and **5 years** to zoom. The four-corners icon beside the zoom spreads the Timeline over the whole window, as on the Board; press it again or press Escape to go back. Drag the empty chart to pan. Drag a PMOS bar to reschedule the task, or focus the bar and press the Left or Right arrow key. The toast has **Undo**. A Jira bar is locked.
40
40
  - **Releases** shows the next release, the later ones and the past ones, with their scope initiatives. Release dates live on the Calendar. Press **On the Calendar** in the Unreleased heading to open it.
41
41
  - **Docs** lists the documents of the board by initiative.
42
42
  - **Sprints** shows the Jira sprints and the sprint burndown. They are read-only. The heading of the active sprint shows when PMOS last read them from Jira.
@@ -0,0 +1,62 @@
1
+ ---
2
+ type: Guide
3
+ title: "Ready-made dashboards and reports"
4
+ description: "The dashboard and the reports that every program, product and initiative has without a set-up: where they show, what each one reads, the Sponsors and Team cuts, late and held reports, and what Claude never does by itself."
5
+ timestamp: 2026-10-28
6
+ ---
7
+
8
+ # Ready-made dashboards and reports
9
+
10
+ You do not build a dashboard or a report from blank. Every program, product and initiative has the same small set, ready when you open it. The set reads only what all of them have: goals and health budgets with their readings, stage and milestone dates, tasks, Jira tickets, decisions and outcomes.
11
+
12
+ ## The set
13
+
14
+ Each level has the same four things:
15
+
16
+ - **Dashboard.** The live view of the program, product or initiative.
17
+ - **Weekly update.** A short written update, drafted each week.
18
+ - **Checkpoint review.** Drafted at a program milestone, at a product quarter end, or when an initiative finishes a stage.
19
+ - **Did it work?** Drafted when shipped work reaches the end of its outcome window.
20
+
21
+ Claude puts only a few of these on a schedule by itself. The others draft when their moment comes.
22
+
23
+ ## Where the dashboard shows
24
+
25
+ - **Program and initiative.** One icon in the header switches between **Work** and **Dashboard**. The page remembers your last choice for each program and initiative. Until you choose, a Board row opens on Work. The charter is still under the **Milestones** pencil and in **Documents**.
26
+ - **Product.** The product page is the dashboard. Its reports are in **This week**.
27
+
28
+ The dashboard shows these blocks, in this order:
29
+
30
+ 1. The **✦** line: what Claude already did.
31
+ 2. **Goals**: the goal rows. Press a row to open the goal in Intelligence.
32
+ 3. **Ships** (initiative and product) or **Milestones** (program): the promised date against the forecast range.
33
+ 4. **Needs you**: one decision, with Claude's pick.
34
+ 5. **Reports**: the drafts of the set.
35
+
36
+ The blocks follow the lifecycle. An initiative in Discover shows what it must learn. An initiative in Monitor shows its outcome window.
37
+
38
+ A goal with no readings yet shows a hollow dot and the date of its first reading. An initiative with no goal shows a drafted goal and a promise date for you to keep or change. A program that spans several products shows which product each row belongs to. A product that is not connected is said so, never guessed.
39
+
40
+ ## Reports
41
+
42
+ A ready report opens in the same report Viewer as a report from Intelligence. One draft gives two cuts over the same numbers: **Sponsors · 1 minute** (the answer first) and **Team · full** (the whole document). You edit the Team cut; the Sponsors cut is read from it.
43
+
44
+ - A bad week is said plainly. The mood of the words is never better than the numbers.
45
+ - When a source is stale, the report is held, and Reports and dashboards says why.
46
+ - One person gets at most one update a week. When two reports would reach the same person, Claude proposes to fold them.
47
+ - A late report shows one quiet line in Reports and dashboards. Claude does not send it late without your ✓.
48
+ - After four sends that changed nothing, Claude offers to get calm weeks ready by itself. You still press **Issue**.
49
+
50
+ On Intelligence, **⋯** › **Reports and dashboards** lists the ready-made reports in a Ready-made group for each program, product and initiative, with their late and held lines.
51
+
52
+ ## What Claude never does by itself
53
+
54
+ - Claude never sends or issues a report. Issuing is your press.
55
+ - Thanks in a report are plain words. A report never reads your private **Your impact** log.
56
+
57
+ ## Known limits
58
+
59
+ - Reports and dashboards can take some time to load on a repository with many initiatives. The page shows the last content until the new one is ready.
60
+ - A late report that is refreshed after 14:00 keeps the numbers of its first draft.
61
+ - The wider report does not yet carry the narrower ones as sections.
62
+ - Test readings are not marked apart from real readings.
@@ -453,4 +453,4 @@ function build(f) {
453
453
  return model;
454
454
  }
455
455
 
456
- module.exports = { build, peekModel, STEPS, stepIndex, themeOf };
456
+ module.exports = { build, peekModel, STEPS, stepIndex, themeOf, krShort };
@@ -366,7 +366,7 @@ function fold(events) {
366
366
  suggestNo.set(e.id, { kind: e.of === 'merge' ? 'merge' : 'split', fp: e.fp, at: e.at || null });
367
367
  }
368
368
  }
369
- return { boards, moves, assigns, asks, stages, iniWorkflows, tasks, sections, milestones, pins, ticketNotes, ticketDates, epics, archives, deleted, notDup, iniWf, ends, judged, autoOver, ticketMoves, smOps, smUndone, suggestNo, events: list };
369
+ return { boards, moves, assigns, asks, stages, iniWorkflows, tasks, removed, sections, milestones, pins, ticketNotes, ticketDates, epics, archives, deleted, notDup, iniWf, ends, judged, autoOver, ticketMoves, smOps, smUndone, suggestNo, events: list };
370
370
  }
371
371
 
372
372
  /** The stages an initiative runs on a board: its own workflow when one is recorded, else the board's. */
@@ -4,6 +4,9 @@
4
4
  *
5
5
  * SCOPE_RE · scopeOf(source) · sourceOf(scope) a report covers the whole view, one dashboard, or one key result or outcome:
6
6
  * source "intelligence:view" | "intelligence:dashboard:<id>" | "intelligence:goal:<id>" | "intelligence:outcome:<id>"
7
+ * and, for a ready-made report (batch 17 item 1, lib/ready-reports.js), "intelligence:product",
8
+ * "intelligence:program:<id>" or "intelligence:initiative:<id>". A program's goals are its own and the ones
9
+ * its initiatives move (model.members[<id>] lists them); an initiative's are its own and the ones it moves
7
10
  * goalsIn(model, scope) → the goals the scope covers
8
11
  * storylineOf(model, { scope, ask, items }) → { answer, points, items: [{ id, kind, title, sub, on, bind }], scope, name } the draft (RfA2)
9
12
  * checkStoryline(input) → { ok, storyline } | { ok: false, error } the shape the setup line keeps
@@ -23,8 +26,8 @@
23
26
  * Every number is a reading, a target or a line through readings. No data, no line: a goal with no reading is never given a number.
24
27
  * Plan today is the straight line from the first reading to the target on its date, as the design's footnote says. */
25
28
 
26
- const SCOPE_RE = /^(view|(dashboard|goal|outcome):[A-Za-z0-9._:-]{1,100})$/;
27
- const SOURCE_RE = /^intelligence:(view|(dashboard|goal|outcome):[A-Za-z0-9._:-]{1,100})$/;
29
+ const SCOPE_RE = /^(view|product|(dashboard|goal|outcome|program|initiative):[A-Za-z0-9._:-]{1,100})$/;
30
+ const SOURCE_RE = /^intelligence:(view|product|(dashboard|goal|outcome|program|initiative):[A-Za-z0-9._:-]{1,100})$/;
28
31
  const MON = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
29
32
  const DAY = 864e5;
30
33
  const ITEM_KINDS = ['ask', 'scorecard', 'exhibit', 'verdict', 'unknown', 'appendix'];
@@ -57,6 +60,11 @@ function goalsIn(model, scope) {
57
60
  const s = String(scope || 'view');
58
61
  if (s.startsWith('goal:')) return G.filter((g) => g.id === s.slice(5));
59
62
  if (s.startsWith('outcome:')) { const o = ((model && model.outcomes) || []).find((x) => x.id === s.slice(8)); return o && o.goal ? G.filter((g) => g.id === o.goal.id) : []; }
63
+ if (s.startsWith('program:')) {
64
+ const id = s.slice(8), mem = new Set(((model && model.members) || {})[id] || []);
65
+ return G.filter((g) => g.program === id || (!g.initiative && !g.program && (g.moves || []).some((m) => mem.has(m.id))) || (g.initiative && mem.has(g.initiative)));
66
+ }
67
+ if (s.startsWith('initiative:')) { const id = s.slice(11); return G.filter((g) => g.initiative === id || (!g.initiative && !g.program && (g.moves || []).some((m) => m.id === id))); }
60
68
  if (s.startsWith('dashboard:')) {
61
69
  const D = ((model && model.dashboards) || []).find((d) => d.id === s.slice(10));
62
70
  if (!D) return [];
@@ -72,6 +80,7 @@ function scopeName(model, scope) {
72
80
  if (s.startsWith('goal:')) { const g = goalsIn(model, s)[0]; return g ? clip(g.title, 60) : board; }
73
81
  if (s.startsWith('outcome:')) { const o = ((model && model.outcomes) || []).find((x) => x.id === s.slice(8)); return o ? clip(o.title, 60) : board; }
74
82
  if (s.startsWith('dashboard:')) { const D = ((model && model.dashboards) || []).find((d) => d.id === s.slice(10)); return D ? clip(D.name, 60) : board; }
83
+ if (s.startsWith('program:') || s.startsWith('initiative:')) { const n = ((model && model.names) || {})[s]; return n ? clip(n, 60) : s.slice(s.indexOf(':') + 1); }
75
84
  return board;
76
85
  }
77
86
 
@@ -151,7 +160,7 @@ const GROUPS = ['North Star', 'Inputs', 'Key results', 'Health budget'];
151
160
  function scoreRows(model, scope) {
152
161
  const todayMs = dayMs(model && model.today) || Date.now();
153
162
  const rows = goalsIn(model, scope).map((g) => rowOf(g, todayMs));
154
- if (String(scope || 'view') === 'view') for (const b of (model && model.budgets) || []) { const r = budgetRowOf(b); if (r) rows.push(r); }
163
+ if (['view', 'product'].includes(String(scope || 'view'))) for (const b of (model && model.budgets) || []) { const r = budgetRowOf(b); if (r) rows.push(r); }
155
164
  return GROUPS.map((name) => ({ name, rows: rows.filter((r) => r.group === name) })).filter((x) => x.rows.length);
156
165
  }
157
166
 
@@ -175,7 +184,7 @@ function pointOf(r) {
175
184
  }
176
185
  function verdictsIn(model, scope) {
177
186
  const ids = new Set(goalsIn(model, scope).map((g) => g.id));
178
- return ((model && model.outcomes) || []).filter((o) => o.verdict && o.verdict.verdict && (!o.goal || ids.has(o.goal.id)) && (!String(scope).startsWith('outcome:') || o.id === String(scope).slice(8)));
187
+ return ((model && model.outcomes) || []).filter((o) => o.verdict && o.verdict.verdict && (!o.goal || ids.has(o.goal.id)) && (!String(scope).startsWith('outcome:') || o.id === String(scope).slice(8)) && (!String(scope).startsWith('initiative:') || o.id === String(scope).slice(11)));
179
188
  }
180
189
  const VERDICT_SAY = { kept: 'is kept', keep: 'is kept', iterate: 'is iterated on', revert: 'is reverted', rolled_back: 'is rolled back', retire: 'is retired' };
181
190
  const verdictTitle = (o) => clip(o.title, 60) + ' ' + (VERDICT_SAY[String(o.verdict.verdict).toLowerCase()] || 'has a verdict: ' + clip(o.verdict.verdict, 30)) + (o.verdict.learned ? ': ' + clip(o.verdict.learned, 80) : '');
@@ -385,10 +394,32 @@ function documentOf(model, setup, opts = {}) {
385
394
  out.push(sourceLine(model), '');
386
395
  }
387
396
  }
397
+ if (isObj(opts.ready)) out.push(...readyMd(opts.ready, issue, S.items.some((x) => x.kind === 'unknown' && x.on)));
388
398
  out.push('Every number is frozen when this issue goes out. Changes go into the next issue.', '');
389
399
  return out.join('\n');
390
400
  }
391
401
 
402
+ /** The sections a ready-made report adds (batch 17 item 1, canvas PbA8): the milestones with promised and forecast, what was done since the issue
403
+ * before, what we don't know yet beyond the goals (a product that could not be read), and a note on a held source. Each line comes from a record the
404
+ * caller read (lib/ready-reports.js); nothing is drawn for an empty list. */
405
+ function readyMd(R, issue, hadUnknown) {
406
+ const out = [];
407
+ if (R.note) out.push(`> ${one(R.note)}`, '');
408
+ const ms = Array.isArray(R.milestones) ? R.milestones : [];
409
+ if (ms.length) {
410
+ const late = ms.filter((m) => m.status === 'Behind').length;
411
+ out.push(`## ${late ? late + ' of ' + ms.length + (ms.length === 1 ? ' milestone' : ' milestones') + (late === 1 ? ' is behind its promise' : ' are behind their promise') : ms.length === 1 ? 'The milestone is on its promise' : 'All ' + ms.length + ' milestones are on their promise'}`, '',
412
+ '| Milestone | Promised | Forecast | Status |', '|---|---|---|---|');
413
+ for (const m of ms) out.push(`| ${one(m.name)} | ${m.promised ? full(m.promised) : MISSING} | ${one(m.forecast || MISSING)} | ${one(m.status || MISSING)} |`);
414
+ out.push('', `Source: ${one(R.msSource || 'the stage and milestone dates, and Jira')}.`, '');
415
+ }
416
+ const done = Array.isArray(R.done) ? R.done : [];
417
+ if (done.length) { out.push(`## ${done.length} ${done.length === 1 ? 'thing was' : 'things were'} done since ${issue > 1 ? 'issue ' + (issue - 1) : 'last week'}`, ''); for (const d of done) out.push(`- ${one(d)}`); out.push('', `Source: ${one(R.doneSource || 'Jira and the tasks')}.`, ''); }
418
+ const unk = Array.isArray(R.unknown) ? R.unknown : [];
419
+ if (unk.length) { out.push(hadUnknown ? "## What we don't know yet about the products" : "## What we don't know yet", ''); for (const u of unk) out.push(`- ${one(u)}`); out.push('', 'Source: the connections PMOS reads for each product.', ''); }
420
+ return out;
421
+ }
422
+
392
423
  // ── the five checks before it goes out ───────────────────────────────────────────────────────────────────────────────────────
393
424
  const body = (t) => String(t || '').replace(/\r/g, '').replace(/^---\n[\s\S]*?\n---\n?/, '');
394
425
  function sections(text) {
@@ -429,4 +460,4 @@ function storyChecks(markdown) {
429
460
  return out;
430
461
  }
431
462
 
432
- module.exports = { SCOPE_RE, SOURCE_RE, ITEM_KINDS, scopeOf, sourceOf, isIntelligence, goalsIn, scopeName, scoreRows, storylineOf, checkStoryline, defaultsOf, proposalsOf, documentOf, storyChecks, actionsOf, rangeOf, planToday };
463
+ module.exports = { SCOPE_RE, SOURCE_RE, ITEM_KINDS, scopeOf, sourceOf, isIntelligence, goalsIn, scopeName, scoreRows, rowOf, storylineOf, checkStoryline, defaultsOf, proposalsOf, documentOf, storyChecks, actionsOf, rangeOf, planToday };