create-pmos 0.493.0 → 0.494.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 (56) hide show
  1. package/package.json +62 -14
  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/briefing-premium-initiative-test.js +2 -1
  7. package/workspace/changelog.json +61 -0
  8. package/workspace/guide/briefing-premium.md +2 -0
  9. package/workspace/guide/claude-proposes.md +2 -2
  10. package/workspace/guide/data-freshness.md +3 -1
  11. package/workspace/guide/initiatives-screen.md +2 -0
  12. package/workspace/guide/report-slides.md +14 -1
  13. package/workspace/guide/reports.md +2 -0
  14. package/workspace/guide/your-impact.md +6 -7
  15. package/workspace/lib/board-trail.js +30 -3
  16. package/workspace/lib/git-shape.js +21 -0
  17. package/workspace/lib/grill-runs.js +21 -6
  18. package/workspace/lib/grill.js +1 -1
  19. package/workspace/lib/impact.js +29 -16
  20. package/workspace/lib/page-warm.js +68 -0
  21. package/workspace/lib/report-design.js +6 -1
  22. package/workspace/lib/report-export.js +148 -9
  23. package/workspace/lib/report-pyramid.js +434 -0
  24. package/workspace/lib/report-structure.js +5 -1
  25. package/workspace/lib/report-templates.js +81 -20
  26. package/workspace/lib/routes-boards.js +1 -1
  27. package/workspace/lib/routes-brief-page.js +20 -3
  28. package/workspace/lib/routes-grill.js +10 -4
  29. package/workspace/lib/routes-impact.js +12 -4
  30. package/workspace/lib/routes-programs.js +6 -4
  31. package/workspace/lib/routes-report-design.js +15 -0
  32. package/workspace/lib/routes-report-flow.js +106 -17
  33. package/workspace/lib/routes-report-setups.js +2 -1
  34. package/workspace/lib/routes-report-structure.js +3 -0
  35. package/workspace/lib/wf-bridge.js +5 -3
  36. package/workspace/package-lock.json +2 -2
  37. package/workspace/package.json +1 -1
  38. package/workspace/premium-chat-report-tab-test.js +5 -1
  39. package/workspace/public/pm/cozy-vw-rp.css +12 -0
  40. package/workspace/public/pm/fetch-share.js +38 -0
  41. package/workspace/public/pm/home-app.js +21 -3
  42. package/workspace/public/pm/home-chat.js +5 -4
  43. package/workspace/public/pm/home-impact.css +23 -13
  44. package/workspace/public/pm/home-impact.js +49 -32
  45. package/workspace/public/pm/home-ini.css +2 -0
  46. package/workspace/public/pm/ini-view.css +55 -0
  47. package/workspace/public/pm/ini-view.js +5 -2
  48. package/workspace/public/pm/premium-board.js +1 -0
  49. package/workspace/public/pm/premium-insights.js +1 -0
  50. package/workspace/public/pm/premium-report-read.js +25 -6
  51. package/workspace/public/pm/premium-report-tab.js +69 -14
  52. package/workspace/public/pm/report-flow.js +93 -10
  53. package/workspace/server.js +24 -3
  54. package/workspace/skills/report-template.skill +8 -0
  55. package/workspace/test-lists/page-open-speed.json +5 -0
  56. package/workspace/test-lists/report-pyramid.json +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.493.0",
3
+ "version": "0.494.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,67 @@
32
32
  "audit"
33
33
  ],
34
34
  "pmosChanges": [
35
+ {
36
+ "v": "0.494.0",
37
+ "at": "2026-11-02T15:32:51.920Z",
38
+ "f": 3,
39
+ "prs": [
40
+ {
41
+ "n": 1156,
42
+ "t": "A report change from the chat edits the existing draft in place",
43
+ "s": "A report change from the chat edits the existing draft in place",
44
+ "k": "fix"
45
+ },
46
+ {
47
+ "n": 1150,
48
+ "t": "A report's chat icon opens its own conversation beside it",
49
+ "s": "A report's chat icon opens its own conversation beside it",
50
+ "k": "new"
51
+ },
52
+ {
53
+ "n": 1149,
54
+ "t": "Product groups use the product name, not the folder name",
55
+ "s": "Product groups use the product name, not the folder name",
56
+ "k": "fix"
57
+ },
58
+ {
59
+ "n": 1157,
60
+ "t": "Weekly impact check as thank-you bubbles, counted by default (batch 23 item 4)",
61
+ "s": "Weekly impact check as thank-you bubbles, counted by default (batch 23 item 4)",
62
+ "k": "new"
63
+ },
64
+ {
65
+ "n": 1158,
66
+ "t": "Grill every initiative with open work, not only late work; Home says how many",
67
+ "s": "Grill every initiative with open work, not only late work; Home says how many",
68
+ "k": "fix"
69
+ },
70
+ {
71
+ "n": 1159,
72
+ "t": "Pages open faster after a break and after a start",
73
+ "s": "Pages open faster after a break and after a start",
74
+ "k": "imp"
75
+ },
76
+ {
77
+ "n": 1161,
78
+ "t": "A report template keeps its look and sections (canvas TplA)",
79
+ "s": "A report template keeps its look and sections (canvas TplA)",
80
+ "k": "new"
81
+ },
82
+ {
83
+ "n": 1162,
84
+ "t": "Finished report slides, the Pyramid deck (canvas RsA)",
85
+ "s": "Finished report slides, the Pyramid deck (canvas RsA)",
86
+ "k": "new"
87
+ },
88
+ {
89
+ "n": 1160,
90
+ "t": "Tighter phone initiative page, one 16 px inset (batch 23 item 5)",
91
+ "s": "Tighter phone initiative page, one 16 px inset (batch 23 item 5)",
92
+ "k": "new"
93
+ }
94
+ ]
95
+ },
35
96
  {
36
97
  "v": "0.493.0",
37
98
  "at": "2026-11-02T14:33:09.369Z",
@@ -282,19 +343,6 @@
282
343
  "k": "new"
283
344
  }
284
345
  ]
285
- },
286
- {
287
- "v": "0.474.0",
288
- "at": "2026-11-01T01:28:22.776Z",
289
- "f": 3,
290
- "prs": [
291
- {
292
- "n": 1129,
293
- "t": "A published copy keeps the Tasks section when a stage holds a note",
294
- "s": "A published copy keeps the Tasks section when a stage holds a note",
295
- "k": "fix"
296
- }
297
- ]
298
346
  }
299
347
  ]
300
348
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@af2b38f6
1
+ kernel-source: pmos@a6bb2008
2
2
  assembled: 2026-11-02
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-02T14:33:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-02T15:32:48Z"}
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-02T14:33:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-02T15:32:48Z"}
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-02T14:33:05Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-02T15:32:48Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -260,12 +260,13 @@ const WRITES = /^\/api\/(?:boards\/(?:move|tasks\/(?:add|state))|lifecycle|core-
260
260
  const cs = (s) => { const e = document.querySelector(s); return e ? getComputedStyle(e) : null; };
261
261
  const fab = document.querySelector('#czFab'), fr = fab && fab.getBoundingClientRect();
262
262
  const c = document.querySelector('#czViewer .iv-tel').getBoundingClientRect();
263
- return { font: cs('body').fontFamily, cta: (cs('#czViewer .iv-go') || {}).backgroundColor, ctaAlt: !document.querySelector('#czViewer .iv-go'), solid: tok('--cz-solid'), blue: tok('--cz-blue'), well: tok('--cz-well'), card: tok('--cz-card'), box: cs('#czViewer .iv-mc').backgroundColor, rad: parseFloat(cs('#czViewer .iv-mc').borderTopLeftRadius), fab: fr ? [Math.round(fr.width), Math.round(fr.height)] : null, over: document.documentElement.scrollWidth - innerWidth, cardW: Math.round(c.width) };
263
+ return { font: cs('body').fontFamily, cta: (cs('#czViewer .iv-go') || {}).backgroundColor, ctaAlt: !document.querySelector('#czViewer .iv-go'), solid: tok('--cz-solid'), blue: tok('--cz-blue'), well: tok('--cz-well'), card: tok('--cz-card'), box: cs('#czViewer .iv-mc').backgroundColor, rad: parseFloat(cs(innerWidth <= 760 ? '#czViewer .iv-tel' : '#czViewer .iv-mc').borderTopLeftRadius), fab: fr ? [Math.round(fr.width), Math.round(fr.height)] : null, over: document.documentElement.scrollWidth - innerWidth, cardW: Math.round(c.width) };
264
264
  });
265
265
  const d = [];
266
266
  if (!/^Nunito/.test(g.font)) d.push('font ' + g.font);
267
267
  if (!g.ctaAlt && ![g.solid, g.blue].includes(g.cta)) d.push('cta ' + g.cta + ' want ' + g.solid + ' or ' + g.blue);
268
268
  if (![g.well, g.card].includes(g.box) && !/rgba/.test(g.box)) d.push('card box ' + g.box);
269
+ // a phone has no wrapper card (batch 23 item 5, canvas PmA): the mission is the first card there
269
270
  if (g.rad < 12) d.push('card radius ' + g.rad);
270
271
  // on a phone the initiative's page is the Viewer, full screen over the list: the floating menu waits under it (HbCPhone)
271
272
  if (w > 760 && (!g.fab || g.fab[0] !== 56 || g.fab[1] !== 56)) d.push('fab ' + JSON.stringify(g.fab));
@@ -1,4 +1,65 @@
1
1
  [
2
+ {
3
+ "v": "0.494.0",
4
+ "at": "2026-11-02T15:32:51.920Z",
5
+ "f": 3,
6
+ "prs": [
7
+ {
8
+ "n": 1156,
9
+ "t": "A report change from the chat edits the existing draft in place",
10
+ "s": "A report change from the chat edits the existing draft in place",
11
+ "k": "fix"
12
+ },
13
+ {
14
+ "n": 1150,
15
+ "t": "A report's chat icon opens its own conversation beside it",
16
+ "s": "A report's chat icon opens its own conversation beside it",
17
+ "k": "new"
18
+ },
19
+ {
20
+ "n": 1149,
21
+ "t": "Product groups use the product name, not the folder name",
22
+ "s": "Product groups use the product name, not the folder name",
23
+ "k": "fix"
24
+ },
25
+ {
26
+ "n": 1157,
27
+ "t": "Weekly impact check as thank-you bubbles, counted by default (batch 23 item 4)",
28
+ "s": "Weekly impact check as thank-you bubbles, counted by default (batch 23 item 4)",
29
+ "k": "new"
30
+ },
31
+ {
32
+ "n": 1158,
33
+ "t": "Grill every initiative with open work, not only late work; Home says how many",
34
+ "s": "Grill every initiative with open work, not only late work; Home says how many",
35
+ "k": "fix"
36
+ },
37
+ {
38
+ "n": 1159,
39
+ "t": "Pages open faster after a break and after a start",
40
+ "s": "Pages open faster after a break and after a start",
41
+ "k": "imp"
42
+ },
43
+ {
44
+ "n": 1161,
45
+ "t": "A report template keeps its look and sections (canvas TplA)",
46
+ "s": "A report template keeps its look and sections (canvas TplA)",
47
+ "k": "new"
48
+ },
49
+ {
50
+ "n": 1162,
51
+ "t": "Finished report slides, the Pyramid deck (canvas RsA)",
52
+ "s": "Finished report slides, the Pyramid deck (canvas RsA)",
53
+ "k": "new"
54
+ },
55
+ {
56
+ "n": 1160,
57
+ "t": "Tighter phone initiative page, one 16 px inset (batch 23 item 5)",
58
+ "s": "Tighter phone initiative page, one 16 px inset (batch 23 item 5)",
59
+ "k": "new"
60
+ }
61
+ ]
62
+ },
2
63
  {
3
64
  "v": "0.493.0",
4
65
  "at": "2026-11-02T14:33:09.369Z",
@@ -460,7 +460,9 @@ Any chat can become a report. There is no button for it: say it in the chat, for
460
460
  - **A new report** asks a few questions first, and Claude's picks are filled in: **Format**, **Readers**, **Goes out** (**Once** or **Repeats**, with how often, the day and the time), **Look** (the standard PMOS look, 16:9 slides) and **Sources**. The chip under Claude's answer says **Answer a few questions, then Draft it**. Change any answer, then press **Draft it**. Nothing goes out. That press records the report and its first template (T1), and the report drafts in its own session, not in your chat. While it drafts, the tab says so. If the session ends with no draft, **Draft it again** starts it again.
461
461
  - **The report's current state.** When a report is set up, the chip under Claude's answer says **Open the report**, and the tab opens its latest draft in the reader. Under a draft that is not issued, Claude's review reads it as your readers would and lists what to fix, in the ✦ pattern: **Do it** passes one fix to the report's own session, **Do all** passes them all, and **Not now** hides one. The checks that found nothing are named under it. There is no score.
462
462
  - **A change from the chat.** Ask for a change to the draft in the chat, for example "use 30 Jun on both slides". The chip says **Change to the draft** and passes it to the report's own session. Your chat does not draft the report.
463
+ - **Talk to Claude about the report.** The chat icon in the reader's header, beside the template icon, opens the report's own conversation in Home's chat, with the report beside it (on a phone the chat takes the page). Claude knows which report and draft it is. Say what to change, then press the chip to pass it to the report's session; the draft beside the chat changes. From another page the icon takes you to Home.
463
464
  - **Template versions.** The template icon in the reader's header opens the questions with the current answers. A changed answer is marked and said in words, for example "Format: Slides → Document". **Make a different template** saves it as the next version (T2, T3, …), and **Keep the current template** leaves it. **Template history** lists each version with the cycles issued under it, and **Go back** makes an earlier one current. Nothing is deleted. **Sections, look and cycles** opens the structure, the design and the cycles below.
465
+ - **A template keeps its sections and look.** Each version also holds the report's **Sections** (shown as chips, in order) and its **Look** (a small title slide, its name and the sample it follows). To change them, ask in the chat. Sections you name, or a look Claude made from your words, wait in the template as one ✦ **Make T4**, with the change in words (for example "Sections: + Customers" and "Look: D1 → D2") and a **changed** tag on each row. Press ✕ to drop it or ✓ to make it. Nothing is saved before ✓, and the open draft stays as it is. Each earlier version says what **Go back** restores: format, readers, schedule, sections and look. Cycles already made keep the look they were made with. Saving sections or a look in **Sections, look and cycles** also makes a new version.
464
466
  - **A goal with a report in it.** When a goal names a report, that point counts only when you issue the report. If only report points are open, the goal waits for you to issue it.
465
467
  - **Your own sections.** Name them in the chat, for example "use these sections: Decision question; Current position; Options and recommendation; Open items; Sources". The tab shows them as the slides. ✓ saves them as the report's structure (S1), and the first draft follows them. Your first section is the report's lead, the one before Sources holds the asks to the readers, and Sources is always last. If you describe a change without a list, **Structure and look** shows the change: the first draft uses the seven standard sections, Claude starts the change right after ✓, and **Use this** keeps it. When you press **Use this**, Claude writes the draft again with the new sections.
466
468
  - **A look to follow.** Say how the report should look, or name a file for it to follow, such as your draft deck (a PDF, PowerPoint, Word file or picture). **Structure and look** shows **Look** with the file's name. After ✓, Claude adds the file as the look's sample and makes the look from it.
@@ -60,13 +60,13 @@ Claude also tests an initiative without being asked. There is no Grill button an
60
60
  - before it leaves a stage (the stage has one open task or none left),
61
61
  - when its forecast turns at risk or will miss,
62
62
  - when its scope or dates move a lot (30% more or fewer tasks, or the end moves 14 days or more),
63
- - once a month, when it is running and has late work.
63
+ - once a month, every running initiative that has open tasks: the ones with late work first, then the ones it grilled longest ago. Each one at most once in 30 days, and only while the monthly credit lasts.
64
64
 
65
65
  You can also start one any time: in the initiative's chat, write "grill this" (or "grill it"). The run starts at once in the background, and the chat says so in one line. If it cannot start, for example because another grill is running or this month's credit is spent, the chat says why. The findings arrive under the ✦ as for the other runs.
66
66
 
67
67
  Each finding is a proposal in the group "Claude grilled it", under the same ✦. Each row shows the mark and the name of the angle that found it: Premortem, Red team, Voices, Reframe, Scope or What-if. Voices are simulated from your stored research and meeting notes, only with 3 sources or more, and carry the tag "Simulated, not evidence". A What-if carries "Simulated, not the plan". Each finding ends with one next step. ✓ adds that step as a task. ✎ lets you write the step in your own words first; ✓ then adds your words. ✕ drops the finding. A finding never rides on the header's ✓. Above the findings, one quiet line names the angles Claude chose, when and why it ran, and what the run cost. Three findings show at a time; "+N smaller findings" and its ⋯ show the rest. On a phone the findings are cards side by side: swipe for the next. With no findings, nothing shows.
68
68
 
69
- When Claude grilled an initiative this week and left findings, Home says so in one line under "Good morning", and its ✦ opens the findings. When a key result will miss its goal, or drifted to at risk, Intelligence's ✦ line names it and the initiative Claude grilled for it; its ✦ opens those findings.
69
+ When Claude grilled an initiative this week and left findings, Home says so in one line under "Good morning", and its ✦ opens the findings. When it grilled more than one, the line names the newest and says how many more, for example "I grilled Inline login and 5 more this week: 21 findings." The others' findings are under each initiative's own ✦. When a key result will miss its goal, or drifted to at risk, Intelligence's ✦ line names it and the initiative Claude grilled for it; its ✦ opens those findings.
70
70
 
71
71
  Every run counts against a monthly credit cap. A run starts only when the cap holds its whole budget, and it stops at that budget, so the month never goes past the cap. At the cap Claude pauses until the next month.
72
72
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  type: Guide
3
3
  title: "Data freshness: how the workspace keeps up to date, and how old each source is"
4
- timestamp: 2026-10-28
4
+ timestamp: 2026-11-02
5
5
  ---
6
6
 
7
7
  # Data freshness
@@ -109,6 +109,8 @@ A refresh waits for the sources it uses. The briefing waits for work assigned to
109
109
  - A schedule you never changed moves to the new default once (quick reads every 30 or 60 minutes in working hours). A schedule you picked stays as it is.
110
110
  - **One server runs the schedules.** When several PMOS servers run on one computer (for example an npm install and a checkout), only one of them runs the schedules and starts background runs; the others serve pages only. If that server stops, another one takes over within 3 minutes. A refresh you press runs on the server where you press it.
111
111
  - **Quiet start**: a server starts no background run in its first 5 minutes, so the first pages load quickly. A missed refresh catches up after that.
112
+ - **Warm start**: 5 seconds after PMOS starts, it reads what Home and the Board show once, so your first page opens as fast as later ones. This read writes nothing you would see as read or seen. `PMOS_WARM=off` turns it off.
113
+ - **Fresh answers, asked once**: when two parts of a page ask for the same thing at the same moment, the server is asked once and both get the same answer. Nothing is kept after it arrives, so the next look always reads again.
112
114
 
113
115
  ### The refresh log
114
116
 
@@ -21,6 +21,8 @@ An open initiative uses one column. At its top is the **mission**: one panel wit
21
21
 
22
22
  Press the arrow on the telemetry card to hide all three parts. A banner stays: the stage, the dates, the days left, the count of tasks done, the success measure and the move to the next stage. Press the arrow again to show the telemetry card first. **To finish this stage** and **About** each have their own arrow, and they stay as you left them when you hide and show the mission. The workspace keeps these choices for each initiative in this browser. On a phone, the first screen shows **To finish this stage** and **About** closed.
23
23
 
24
+ On a phone, the page uses one 16 px margin and has no grey panel around the mission. The telemetry card is shorter: the stage name is on the first line, and the dates, **Time left** and **Elapsed** are on the next line, so the picture does not repeat the Today label. **To finish this stage** and **About** are one white card. The first row shows the next stage and the count of tasks done. Its round arrow opens the move sheet. The second row shows the owner, the stakeholders, the workflow and the program. The third row is **About**. In Tasks, the rows start near the card's edge, and the late and open counts of a stage are on the same line as its dates.
25
+
24
26
  Tasks has no **Full width** icon: use the split panel to make the Viewer wider. On a phone, Tasks is a list only. The workspace keeps a Timeline or Kanban view that you chose on a larger screen, and shows it again there.
25
27
 
26
28
  Open a task to edit its Notes. Leave the box or press Ctrl/Cmd+Enter to save. Closing the viewer also saves the pending edit. After the save succeeds, reopening the task reads the saved notes, even if you opened it while the save was pending. The save toast offers Undo.
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Report slides: present and print a report"
4
4
  description: "How the Reports page shows a report as the PM-OS biweekly slides, how to present and print them, and how your notes become the words on the slides."
5
- timestamp: 2026-10-13
5
+ timestamp: 2026-11-02
6
6
  ---
7
7
 
8
8
  # Report slides
@@ -27,4 +27,17 @@ The type is Launch, Improvement, Fix, Security, Deprecation or Beta. To give an
27
27
 
28
28
  A draft from before the slides has no slides block. Press **Redraft** to add it. Your notes stay as you wrote them.
29
29
 
30
+ ## The finished slides in the report viewer
31
+
32
+ When you open a drafted report in the viewer, the **Slides** view shows the finished deck. The answer comes first, and the title of each slide is a finding. Read only the titles and you have the story:
33
+
34
+ 1. **Title**: the answer. This is your `report.headline` note when you wrote one. If not, PMOS writes a sentence that says which initiatives are off plan.
35
+ 2. **The answer**: one sentence with up to three supports, off-plan initiatives first. Your ask is beside them.
36
+ 3. **Scorecard**: each initiative's stage, its status (a shape and a colour), done of total with the change since the last report, and the KR value against its target. The gap is the value minus the target. Only a row that is off plan (at risk or off track) has a comment. A row that is on track has none.
37
+ 4. **Timeline**: the dated work, the due dates and any overdue item. The title compares two due dates.
38
+ 5. **Needs your call**: only when the report has an audience and the `report.asks` note has words. Write each option on its own line that starts with "- ". Write "by" and a date in the note to show a deadline. PMOS adds nothing that you did not write.
39
+ 6. **Sources**: the sources that PMOS read, and "What we don't know yet" for each source that it could not read, with the reason.
40
+
41
+ Each slide names its source and shows its page number. **Download › PDF** prints the same slides, one on each page. **Download › PPTX** gives the same slides as a PowerPoint file. The slides use the report's saved look (its font and main colour). If the report has no saved look, they use the standard PMOS look. PMOS does not draw KR trend lines, last-quarter bars or forecast ranges, because the draft does not have that data yet.
42
+
30
43
  A report that you set up can have its own design, as a deck or an interactive document, with a presenter view, speaker notes and notes on the slide. See [Design how a report looks](report-design.md).
@@ -47,6 +47,8 @@ The Reports page shows a report as slides. [Report slides](report-slides.md) tel
47
47
 
48
48
  When you draft a slot again, every note stays as you wrote it, next to its initiative. The order of the blocks can change. A note for an initiative that is no longer in the window moves to "Notes kept from an earlier draft".
49
49
 
50
+ When you ask Claude in a chat to change a report, the change goes to the latest draft of that report, in its own file. The report's session rewrites the notes that the change is about, even when they have text, and then drafts the same slot again. It does not draft a new slot for today. A change to a number, a date, a section or a slide is not made in the draft: the session tells you which setting to change in the template or the studio. If the latest cycle is issued, it is frozen, and the change is not passed on.
51
+
50
52
  ## The commands
51
53
 
52
54
  `pmos report draft <cadence> [<slot>]` writes the draft to `planning/reports/<cadence>/<slot>.md`. The slot is a date, YYYY-MM-DD. If you do not give a slot, the slot is today. If a draft for the slot exists, the command stops and writes nothing. To draft the slot again and keep every note, add `--redraft`. To fix the clock, add `--now <time>`: two drafts with the same inputs and the same `--now` are the same, byte for byte.
@@ -2,7 +2,7 @@
2
2
  type: Guide
3
3
  title: "Your impact"
4
4
  description: "What Your impact is, what counts and what never counts, the weekly check in Home's chat, the switch in Settings, and the pmos impact commands."
5
- timestamp: 2026-10-28
5
+ timestamp: 2026-11-02
6
6
  ---
7
7
 
8
8
  # Your impact
@@ -19,15 +19,14 @@ There are no numbers. You see no points, scores, counts, streaks, levels or rank
19
19
 
20
20
  ## The weekly check
21
21
 
22
- Once a day, Claude reads your sources and files what it found. After the week ends, Claude lists that week's items in Home's chat and asks whether each one is real:
22
+ Once a day, Claude reads your sources and files what it found. After the week ends, Claude shows that week's items in Home's chat as thank-you notes: the words in bold, who and what under them, and the source link. They already count. You do not have to do anything.
23
23
 
24
- - ✓ keeps one item. Only a kept item counts.
25
- - ✕ drops it. Claude does not file anything like it again.
26
- - ✓✓ keeps every item that is not checked yet.
24
+ - If an item is not right, press ⋯ on its row, then **Not right, drop it**. A dropped item does not count, and Claude does not file it again.
25
+ - **Undo** brings a dropped item back.
27
26
 
28
- Each row has its source, so you can open the message or the ticket before you choose.
27
+ You can drop items until the next week ends. After that, every item you did not drop counts as real.
29
28
 
30
- Adler's sprout and your impact log stay hidden until two weekly checks show that at least 9 of 10 items are real. Then Adler's sprout grows a leaf for each week's kept items, and the log in the Viewer shows your weeks, newest first. A quiet week says "A quiet week". Nothing wilts and nothing resets.
29
+ Adler's sprout and your impact log stay hidden until two weekly checks show that at least 9 of 10 items are real. A week counts toward this only if Claude showed you its check. Then Adler's sprout grows a leaf for each week's items, and the log in the Viewer shows your weeks, newest first. A quiet week says "A quiet week". Nothing wilts and nothing resets.
31
30
 
32
31
  ## Where you see it
33
32
 
@@ -74,6 +74,28 @@ const pathOf = (v) => (typeof v === 'string' && /^[\w./-]+\.md$/.test(v.trim())
74
74
 
75
75
  /** The default io: the files of `root`, its git history (one `git log` per HEAD), the Jira draft and reading, the OKR anchors. */
76
76
  const gitCache = new Map();
77
+ /** The size and time of HEAD and its reflog in the git directory that holds `root` (a linked worktree's own one too), or null when they
78
+ * cannot be read: then the caller asks git, as before. */
79
+ function headStamp(root) {
80
+ let dir = path.resolve(root);
81
+ for (let i = 0; i < 40; i++) {
82
+ const dot = path.join(dir, '.git');
83
+ let gitDir = null;
84
+ try {
85
+ const st = fs.statSync(dot);
86
+ if (st.isDirectory()) gitDir = dot;
87
+ else { const m = /^gitdir:\s*(.+)$/m.exec(fs.readFileSync(dot, 'utf8')); if (m) gitDir = path.resolve(dir, m[1].trim()); }
88
+ } catch { /* not here: look one level up */ }
89
+ if (gitDir) {
90
+ try {
91
+ const a = fs.statSync(path.join(gitDir, 'HEAD')), b = fs.statSync(path.join(gitDir, 'logs', 'HEAD'));
92
+ return gitDir + '|' + a.size + ':' + a.mtimeMs + '|' + b.size + ':' + b.mtimeMs;
93
+ } catch { return null; }
94
+ }
95
+ const up = path.dirname(dir); if (up === dir) return null; dir = up;
96
+ }
97
+ return null;
98
+ }
77
99
  function defaultIo(root) {
78
100
  const read = (rel) => { try { return fs.readFileSync(path.join(root, rel), 'utf8'); } catch { return null; } };
79
101
  return {
@@ -81,16 +103,21 @@ function defaultIo(root) {
81
103
  list: (dir) => { try { return fs.readdirSync(path.join(root, dir)); } catch { return []; } },
82
104
  records: () => { try { return fs.readdirSync(path.join(root, 'planning', 'initiatives')).filter((f) => f.endsWith('.md') && f !== 'README.md' && f !== 'index.md').map((f) => 'planning/initiatives/' + f); } catch { return []; } },
83
105
  firstSeen: () => {
106
+ // page-open-speed: HEAD's reflog moves on every commit, checkout and reset, so while it is unchanged the cached map stands and
107
+ // no `git` runs at all (the trail asked `git rev-parse` on every Board open, ~30 ms on the thread every answer waits for).
108
+ const hit = gitCache.get(root);
109
+ const stamp = headStamp(root);
110
+ if (hit && stamp && hit.stamp === stamp) return hit.map;
84
111
  let head = '';
85
112
  try { head = execFileSync('git', ['-C', root, 'rev-parse', 'HEAD'], { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] }).trim(); } catch { return new Map(); }
86
- const hit = gitCache.get(root); if (hit && hit.head === head) return hit.map;
113
+ if (hit && hit.head === head) { hit.stamp = stamp; return hit.map; }
87
114
  const map = new Map();
88
115
  try {
89
116
  const out = execFileSync('git', ['-C', root, 'log', '--diff-filter=A', '--name-only', '--format=@@%at', '--', 'planning'], { encoding: 'utf8', maxBuffer: 64 * 1024 * 1024, stdio: ['ignore', 'pipe', 'ignore'] });
90
117
  let at = 0;
91
118
  for (const line of out.split('\n')) { if (line.startsWith('@@')) at = Number(line.slice(2)) * 1000; else if (line.trim()) map.set(line.trim(), at); } // newest first: the last write is the first appearance
92
119
  } catch { /* not a git checkout: no dates */ }
93
- gitCache.set(root, { head, map });
120
+ gitCache.set(root, { head, map, stamp });
94
121
  return map;
95
122
  },
96
123
  jira: (id) => {
@@ -258,4 +285,4 @@ function trail({ root, ids, rows = [], moves = [], now = Date.now(), io } = {})
258
285
  return { ok: true, at: new Date(now).toISOString(), usual, usualBy, themes: out, items };
259
286
  }
260
287
 
261
- module.exports = { trail, frontmatter, partsOf, ladderDates, median, STAGES, MIN_SAMPLES, TONES };
288
+ module.exports = { trail, defaultIo, frontmatter, partsOf, ladderDates, median, STAGES, MIN_SAMPLES, TONES };
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+ /* git-shape.js — where a folder sits in git, read from the disk with no `git` run (page-open-speed). */
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+
6
+ /** A cheap stamp of where `root` sits in git, read from the disk with no `git` run: the nearest `.git` entry above it, whether it is a
7
+ * directory (a main tree) or a file (a linked worktree, with the file's time: it names the tree's git directory).
8
+ * A directory's time is left out: git touches it on every commit, and a main tree stays the main tree. It changes when the folder becomes, or stops being, a repository
9
+ * or a worktree, so an answer about the repository's SHAPE (which tree is the main one) can be kept until it changes instead of asking
10
+ * `git` again on a clock (page-open-speed). 'none' when no `.git` is found up to the file-system root. */
11
+ function shapeStamp(root) {
12
+ if (!root) return 'none';
13
+ let dir = path.resolve(root);
14
+ for (let i = 0; i < 64; i++) {
15
+ try { const st = fs.statSync(path.join(dir, '.git')); return dir + '|' + (st.isDirectory() ? 'd' : 'f|' + st.mtimeMs); } catch { /* look one level up */ }
16
+ const up = path.dirname(dir); if (up === dir) break; dir = up;
17
+ }
18
+ return 'none';
19
+ }
20
+
21
+ module.exports = { shapeStamp };
@@ -11,6 +11,7 @@
11
11
  *
12
12
  * deps: { workspaces() → [w], isLead(w), stateDirFor(w), runtimeDir(), rowOf(w, id) → { title, intent, stage, stages } | null,
13
13
  * exits(w) → [{ ini, board, stage }] (stages about to end), shapes(w) → [{ ini, board, n, end }] (open tasks, latest due),
14
+ * looks(w) → [{ ini, board, n, end }] (running initiatives with open tasks, for the monthly look),
14
15
  * goalInis(w, goalId) → [{ id, endAt, status }] (the initiatives anchored to that goal), checks(w, day) → [{ ini, board, tasks }] (late or at-risk work), turned(dir, sinceIso) → [forecast `turned` line] (lib/forecast.js),
15
16
  * api { available(env), run({ prompt, root, env, budget, signal }) → Promise<{ ok, code, costUsd, note?, stopped? }> } (lib/grill-api.js; optional),
16
17
  * setting(key) (lib/settings-store.js get), open(now) → bool, headlessOff() → bool, env, promptFor(skillId), spawn(spec), stop(session), warn }
@@ -27,7 +28,7 @@ const WHY = {
27
28
  exit: 'The initiative is about to leave its stage. Grill it before it does: what would make the next stage fail?',
28
29
  forecast: 'Its forecast just turned. Grill it: why, and what would bring it back?',
29
30
  move: 'Its scope or dates moved a lot. Grill it: is the plan still the right plan?',
30
- monthly: 'The monthly look at running work that feels off (it has late work). Grill it.',
31
+ monthly: 'The monthly look at running work (late work first, then the initiatives grilled longest ago). Grill it.',
31
32
  ask: 'The PM asked for it in the initiative\'s chat. Grill it now: what would make it fail, and what is the next step?',
32
33
  };
33
34
 
@@ -50,6 +51,16 @@ function pickFor(inis) {
50
51
  return run.length ? run[0].id : null;
51
52
  }
52
53
 
54
+ /** PURE. The monthly look's order. late: [{ ini, board, tasks }] (late or at-risk work), open: [{ ini, board, n }] (running initiatives with
55
+ * open tasks), lastOf(ini) → ms of its last grill (0: never). → [{ ini, board, last, detail }]: late work first, then never grilled, then the
56
+ * one grilled longest ago; within each, the most open work first. */
57
+ function monthlyOrder(late, open, lastOf) {
58
+ const out = new Map();
59
+ for (const c of late || []) if (c && c.ini && !out.has(c.ini)) out.set(c.ini, { ini: c.ini, board: c.board, last: lastOf(c.ini), late: true, n: (c.tasks || []).length, detail: (c.tasks || []).length + ' late or at-risk tasks' });
60
+ for (const c of open || []) if (c && c.ini && !out.has(c.ini) && Number(c.n) > 0) out.set(c.ini, { ini: c.ini, board: c.board, last: lastOf(c.ini), late: false, n: Number(c.n), detail: c.n + ' open tasks' + (c.end ? ', the latest due ' + c.end : '') });
61
+ return [...out.values()].sort((a, b) => (b.late - a.late) || (a.last - b.last) || (b.n - a.n));
62
+ }
63
+
53
64
  function create(deps) {
54
65
  const active = new Map(); // run → { session }
55
66
  const warn = deps.warn || (() => {});
@@ -147,10 +158,14 @@ function create(deps) {
147
158
  const what = G.moved(prev, cur);
148
159
  if (what) out.push({ ws: w.id, board: s.board, ini: s.ini, why: 'move', key: `move:${w.id}:${s.ini}:${cur.n}:${cur.end}`, detail: what });
149
160
  }
150
- for (const c of tryList(() => deps.checks && deps.checks(w, localDay(now)))) {
151
- const last = Date.parse(F.lastAt.get(w.id + '|' + c.ini) || '') || 0;
152
- if (now - last < G.MONTHLY_DAYS * 864e5) continue;
153
- out.push({ ws: w.id, board: c.board, ini: c.ini, why: 'monthly', key: `monthly:${w.id}:${c.ini}:${G.monthOf(now)}`, detail: (c.tasks || []).length + ' late or at-risk tasks' });
161
+ // the monthly look: every running initiative with open work, at most once in 30 days each (Wawan 2026-11-02: "why only one?").
162
+ // Late work first, then the ones never grilled, then the ones grilled longest ago; the cap decides how far down the list a month goes.
163
+ const late = tryList(() => deps.checks && deps.checks(w, localDay(now))), seen = new Set();
164
+ const looks = monthlyOrder(late, tryList(() => deps.looks && deps.looks(w)), (ini) => Date.parse(F.lastAt.get(w.id + '|' + ini) || '') || 0);
165
+ for (const c of looks) {
166
+ if (seen.has(c.ini)) continue; seen.add(c.ini);
167
+ if (now - c.last < G.MONTHLY_DAYS * 864e5) continue;
168
+ out.push({ ws: w.id, board: c.board, ini: c.ini, why: 'monthly', key: `monthly:${w.id}:${c.ini}:${G.monthOf(now)}`, detail: c.detail });
154
169
  }
155
170
  return out;
156
171
  }
@@ -182,4 +197,4 @@ function create(deps) {
182
197
  return { tick, start, stop, dueOf, active: () => [...active.keys()] };
183
198
  }
184
199
 
185
- module.exports = { create, promptOf, pickFor, WHY, MAX };
200
+ module.exports = { create, promptOf, pickFor, monthlyOrder, WHY, MAX };
@@ -15,7 +15,7 @@
15
15
  * exit the initiative is about to leave its stage (most of the stage's tasks are closed), once per stage
16
16
  * forecast its forecast, or the forecast of a goal it moves, turned at-risk or will-miss (lib/forecast.js `turned` lines), once per turn
17
17
  * move its scope or dates moved a lot since the last look (tasks ±30% and 3 or more, or the end ±14 days)
18
- * monthly a running initiative with late work, at most once in 30 days
18
+ * monthly every running initiative with open work, at most once in 30 days each: late work first, then the ones grilled longest ago
19
19
  * `exits` runs only the first. Every run counts against the monthly credit cap (grill.cap, US dollars): before a run the cap must hold
20
20
  * the run's whole budget, which goes to the run as --max-budget-usd, so the month never goes beyond the cap. At the cap Claude pauses and
21
21
  * says so once per month (a `paused` line).
@@ -9,6 +9,10 @@
9
9
  * ticket that moved after your decision, a spec used, a KR that moved after your initiative delivered), with the source to open it. Never
10
10
  * logins, ticks, time, messages sent, or Claude's own work.
11
11
  *
12
+ * COUNTED BY DEFAULT (batch 23 item 4, canvas IcA). An item counts unless the PM drops it (✕, "Not right, drop it"). The check of week W is open
13
+ * during the week after W; when that week ends, every row of W nobody dropped is real. A closed week is judged for the gate only when the
14
+ * check card was shown to the PM (a `looked` line), so the gate never opens on weeks nobody saw. An explicit ✓ (older ledgers) still counts.
15
+ *
12
16
  * NO NUMBERS LEAVE THIS FILE. The views carry words: grow is rest · bud · leaf · full; the gate is measuring · open · short. The gate's rate
13
17
  * is written to the ledger (the brief's "record the rate") and never shown.
14
18
  *
@@ -18,6 +22,7 @@
18
22
  * end { run, ok, error? } the run ended
19
23
  * verdict { id, real: true | false } the PM's ✓ or ✕ in the weekly check
20
24
  * undo { id } a row back to unchecked
25
+ * looked { week } the weekly check card was shown to the PM for that week
21
26
  * seen { ids } read on a Phase 2 surface; ends its celebration
22
27
  * gate { state, real, judged, weeks } the gate changed: measuring → open (and stays), or → short
23
28
  *
@@ -34,7 +39,7 @@ const path = require('path');
34
39
  const crypto = require('crypto');
35
40
 
36
41
  const LEDGER = 'impact.jsonl';
37
- const LINES = new Set(['run', 'item', 'end', 'verdict', 'undo', 'seen', 'gate']);
42
+ const LINES = new Set(['run', 'item', 'end', 'verdict', 'undo', 'seen', 'gate', 'looked']);
38
43
  const KINDS = ['thanks', 'unblock', 'used', 'kr'];
39
44
  const SOURCE_TYPES = ['slack', 'mail', 'jira', 'doc', 'meeting', 'kr', 'board', 'initiative'];
40
45
  const GROW = ['rest', 'bud', 'leaf', 'full'];
@@ -115,7 +120,7 @@ function clean(input) {
115
120
 
116
121
  /* ── the fold ── */
117
122
  function fold(lines) {
118
- const items = new Map(), runs = [];
123
+ const items = new Map(), runs = [], looked = new Set();
119
124
  let gate = { state: 'measuring' };
120
125
  const runOf = (id) => runs.find((r) => r.run === id);
121
126
  for (const l of lines || []) {
@@ -129,10 +134,11 @@ function fold(lines) {
129
134
  items.set(c.item.id, { ...c.item, real: null, read: false, filed: str(l.at), run: str(l.run) });
130
135
  } else if (l.kind === 'verdict' && str(l.id)) { const it = items.get(l.id); if (it && typeof l.real === 'boolean') { it.real = l.real; it.checkedAt = str(l.at); } }
131
136
  else if (l.kind === 'undo' && str(l.id)) { const it = items.get(l.id); if (it) { it.real = null; it.read = false; } }
132
- else if (l.kind === 'seen' && Array.isArray(l.ids)) { for (const id of l.ids) { const it = items.get(String(id)); if (it && it.real === true) it.read = true; } }
137
+ else if (l.kind === 'seen' && Array.isArray(l.ids)) { for (const id of l.ids) { const it = items.get(String(id)); if (it && it.real !== false) it.read = true; } }
133
138
  else if (l.kind === 'gate' && ['measuring', 'open', 'short'].includes(l.state)) { if (gate.state !== 'open') gate = { state: l.state, at: str(l.at) }; }
139
+ else if (l.kind === 'looked' && DAY_RE.test(str(l.week))) looked.add(l.week);
134
140
  }
135
- return { items, runs, gate };
141
+ return { items, runs, gate, looked };
136
142
  }
137
143
 
138
144
  const weekIs = (it, start) => weekOf(dayOf(Date.parse(it.at)), start);
@@ -144,14 +150,21 @@ function itemsByWeek(F, start) {
144
150
  return m;
145
151
  }
146
152
 
147
- /** PURE. The gate before Phase 2: a checked week is a finished week whose every item has ✓ or ✕. Across the checked weeks, at least 9 of 10
148
- * judged items real, over at least two weeks and ten items: open (and it stays open once written). Ten or more judged and under 9 of 10: short. */
153
+ /** The check of week `w` is closed once the week after it has ended: rows nobody dropped are real from then on. */
154
+ const closed = (w, thisWeek) => w < addDays(thisWeek, -7);
155
+ /** Counts in your impact: not dropped. A row still in its open check counts too (the card says so: "counted them in your impact"). */
156
+ const counts = (x) => x.real !== false;
157
+
158
+ /** PURE. The gate before Phase 2: a judged week is a finished week whose every item has ✓ or ✕, or a closed week whose check card the PM saw
159
+ * (rows nobody dropped are real). Across the judged weeks, at least 9 of 10 items real, over at least two weeks and ten items: open (and it
160
+ * stays open once written). Ten or more judged and under 9 of 10: short. */
149
161
  function gateOf(F, thisWeek, start = 'mon') {
150
- const W = itemsByWeek(F, start);
162
+ const W = itemsByWeek(F, start), saw = F.looked || new Set();
151
163
  let real = 0, judged = 0, weeks = 0;
152
164
  for (const [w, list] of W) {
153
- if (w >= thisWeek || !list.length || list.some((x) => x.real === null)) continue;
154
- weeks++; judged += list.length; real += list.filter((x) => x.real === true).length;
165
+ if (w >= thisWeek || !list.length) continue;
166
+ if (list.some((x) => x.real === null) && !(closed(w, thisWeek) && saw.has(w))) continue;
167
+ weeks++; judged += list.length; real += list.filter(counts).length;
155
168
  }
156
169
  if (F.gate && F.gate.state === 'open') return { state: 'open', real, judged, weeks };
157
170
  const state = weeks < GATE_WEEKS || judged < GATE_ITEMS ? 'measuring' : real * 10 >= judged * 9 ? 'open' : 'short';
@@ -163,7 +176,7 @@ const growOf = (n) => GROW[n <= 0 ? 0 : n === 1 ? 1 : n <= 3 ? 2 : 3];
163
176
  function weekView(F, o) {
164
177
  const thisWeek = weekOf(o.today, o.start), week = o.week && DAY_RE.test(o.week) ? weekOf(o.week, o.start) : thisWeek;
165
178
  const live = gateOf(F, thisWeek, o.start).state === 'open';
166
- const real = live ? (itemsByWeek(F, o.start).get(week) || []).filter((x) => x.real === true).sort(byNewest) : [];
179
+ const real = live ? (itemsByWeek(F, o.start).get(week) || []).filter(counts).sort(byNewest) : [];
167
180
  const cel = real.find((x) => !x.read);
168
181
  return { live, first: F.items.size === 0, week, from: week, to: addDays(week, 6), label: labelOf(week, thisWeek), grow: growOf(real.length),
169
182
  celebrate: cel ? cel.id : null, quiet: real.length === 0, items: real.map(shown) };
@@ -176,19 +189,19 @@ function weeksView(F, o) {
176
189
  const W = itemsByWeek(F, o.start), all = [...W.keys()].filter((w) => w <= thisWeek).sort();
177
190
  const weeks = [];
178
191
  if (all.length) for (let w = thisWeek; w >= all[0]; w = addDays(w, -7)) {
179
- const real = (W.get(w) || []).filter((x) => x.real === true).sort(byNewest);
192
+ const real = (W.get(w) || []).filter(counts).sort(byNewest);
180
193
  weeks.push({ week: w, from: w, to: addDays(w, 6), label: labelOf(w, thisWeek), quiet: real.length === 0, items: real.map(shown) });
181
194
  }
182
195
  return { live, weeks };
183
196
  }
184
- /** PURE. GET /api/impact/check: the oldest finished week with a row not checked yet, all its rows (checked ones keep their mark). */
197
+ /** PURE. GET /api/impact/check: last week's rows while its check is open (the whole of this week); dropped rows keep their mark for Undo.
198
+ * looked: the card was shown already this week, so the row under Mentions goes; the card stays Home's chat intro until the week ends. */
185
199
  function checkView(F, o) {
186
200
  const thisWeek = weekOf(o.today, o.start), W = itemsByWeek(F, o.start);
187
201
  const gate = gateOf(F, thisWeek, o.start).state;
188
- const open = [...W.keys()].filter((w) => w < thisWeek && W.get(w).some((x) => x.real === null)).sort();
189
- if (!open.length) return { due: false, week: null, label: '', items: [], gate };
190
- const week = open[0];
191
- return { due: true, week, label: labelOf(week, thisWeek), items: W.get(week).sort(byNewest).map(shown), gate };
202
+ const week = addDays(thisWeek, -7), list = W.get(week) || [];
203
+ if (!list.length) return { due: false, week: null, label: '', items: [], gate, looked: false };
204
+ return { due: true, week, label: labelOf(week, thisWeek), items: list.sort(byNewest).map(shown), gate, looked: (F.looked || new Set()).has(week) };
192
205
  }
193
206
 
194
207
  module.exports = { LEDGER, KINDS, SOURCE_TYPES, GROW, GATE_ITEMS, GATE_WEEKS, COUNT_RE, dirOf, ledgerFile, readLines, read, append, clean, fold,