create-pmos 0.837.0 → 0.839.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 (45) hide show
  1. package/package.json +83 -58
  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 +82 -4
  7. package/workspace/guide/cli.md +11 -0
  8. package/workspace/guide/home.md +2 -0
  9. package/workspace/guide/initiatives-and-next-steps.md +8 -0
  10. package/workspace/guide/reports.md +9 -1
  11. package/workspace/lib/features.json +1 -0
  12. package/workspace/lib/hire-draft.js +4 -3
  13. package/workspace/lib/initiative-rows.js +3 -0
  14. package/workspace/lib/meeting-stance.js +199 -0
  15. package/workspace/lib/people-cli.js +44 -1
  16. package/workspace/lib/pmos-verbs.js +4 -1
  17. package/workspace/lib/report-translate.js +26 -1
  18. package/workspace/lib/report-variants.js +14 -1
  19. package/workspace/lib/route-modules.js +3 -0
  20. package/workspace/lib/routes-meeting-stance.js +43 -0
  21. package/workspace/lib/routes-reports.js +20 -3
  22. package/workspace/lib/routes-segments.js +47 -0
  23. package/workspace/lib/routes-surface-moments.js +36 -0
  24. package/workspace/lib/routes-today.js +15 -1
  25. package/workspace/lib/segments-cli.js +102 -0
  26. package/workspace/lib/segments.js +214 -0
  27. package/workspace/lib/surface-moments.js +185 -0
  28. package/workspace/lib/tracker-digest.js +12 -1
  29. package/workspace/package-lock.json +2 -2
  30. package/workspace/package.json +1 -1
  31. package/workspace/public/pm/cozy-board.css +11 -0
  32. package/workspace/public/pm/cozy-pop-work.js +5 -2
  33. package/workspace/public/pm/cozy-today-app.js +61 -2
  34. package/workspace/public/pm/cozy-today-model.js +70 -3
  35. package/workspace/public/pm/cozy-today-view.js +6 -0
  36. package/workspace/public/pm/meeting-stance.js +113 -0
  37. package/workspace/public/pm/premium-board.js +2 -0
  38. package/workspace/public/pm/premium-report-read.js +61 -3
  39. package/workspace/public/pm/segments.js +113 -0
  40. package/workspace/public/pm/standup-line.js +37 -0
  41. package/workspace/public/premium-board.html +2 -0
  42. package/workspace/test-lists/meeting-stance.json +9 -0
  43. package/workspace/test-lists/segments.json +9 -0
  44. package/workspace/test-lists/surface-moments.json +9 -0
  45. package/workspace/test-lists/surface-reports.json +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pmos",
3
- "version": "0.837.0",
3
+ "version": "0.839.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,84 @@
33
33
  "audit"
34
34
  ],
35
35
  "pmosChanges": [
36
+ {
37
+ "v": "0.839.0",
38
+ "at": "2026-11-25T16:42:20.583Z",
39
+ "f": 4,
40
+ "prs": [
41
+ {
42
+ "n": 1982,
43
+ "t": "Report versions, languages and the standup show by themselves (job #1987)",
44
+ "s": "Report versions, languages and the standup show by themselves (job #1987)",
45
+ "k": "new",
46
+ "i": "surface-reports",
47
+ "try": {
48
+ "steps": [
49
+ "Open Work and open the weekly report that has versions: the tabs Draft, For executives, For engineers, For customers sit above the pages;…",
50
+ "On the same report, when its readers name another language, press ✓ on the ✦ line",
51
+ "Open Today before noon: the Overview says how many Jira tickets moved since yesterday; press it"
52
+ ],
53
+ "see": "Each version and translated copy opens in place from its tab. The ✓ adds the language and says the next draft gets a copy, with Undo. The standup opens in the reading view. With no versions, no…",
54
+ "open": "/premium-board.html"
55
+ }
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "v": "0.838.0",
61
+ "at": "2026-11-25T16:26:34.847Z",
62
+ "f": 4,
63
+ "prs": [
64
+ {
65
+ "n": 2042,
66
+ "t": "Five features show by themselves in Your move (job #1985, LINE.md Rule 12)",
67
+ "s": "Five features show by themselves in Your move (job #1985, LINE.md Rule 12)",
68
+ "k": "new",
69
+ "i": "surface-moments"
70
+ },
71
+ {
72
+ "n": 2006,
73
+ "t": "Before the meeting, who agrees (job #1897, A333)",
74
+ "s": "Before the meeting, who agrees (job #1897, A333)",
75
+ "k": "new",
76
+ "i": "meeting-stance",
77
+ "h": "Before the meeting, who agrees (job #1897, A333)",
78
+ "try": {
79
+ "steps": [
80
+ "Open Work and open an initiative with a decision someone argued against",
81
+ "Under People, read the two questions PMOS drafted, press Copy and send them yourself, then press I sent them",
82
+ "Press each cell to record the answer you got, and read the ✦ line"
83
+ ],
84
+ "see": "Two short questions for the contested decision, sent by you, never by PMOS. Then a grid of yes and no per person with the odd answers marked, and one ✦ line naming the point the meeting must settle",
85
+ "open": "/premium-board.html"
86
+ }
87
+ },
88
+ {
89
+ "n": 1960,
90
+ "t": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
91
+ "s": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
92
+ "k": "new",
93
+ "i": "segments",
94
+ "h": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
95
+ "try": {
96
+ "steps": [
97
+ "Open Work and pick one product with 3 or more live initiatives",
98
+ "Read the ✦ line in Segments under the strategy and press its draft button",
99
+ "Send the ask it puts in the chat"
100
+ ],
101
+ "see": "Before any group, one ✦ line in Segments offers to draft groups, and its button fills the chat (LINE.md rule 12: it shows by itself). After the draft, under the strategy, a Segments table: each…",
102
+ "open": "/premium-board.html"
103
+ }
104
+ },
105
+ {
106
+ "n": 2045,
107
+ "t": "Declared domain anchors resolve, so pmos initiative anchors lists them",
108
+ "s": "Declared domain anchors resolve, so pmos initiative anchors lists them",
109
+ "k": "fix",
110
+ "i": "anchor-ids"
111
+ }
112
+ ]
113
+ },
36
114
  {
37
115
  "v": "0.837.0",
38
116
  "at": "2026-11-25T16:11:10.474Z",
@@ -43,6 +121,7 @@
43
121
  "t": "Other teams' slips before they hit you (job #1912, A15)",
44
122
  "s": "Other teams' slips before they hit you (job #1912, A15)",
45
123
  "k": "new",
124
+ "i": "team-slips",
46
125
  "h": "Other teams' slips before they hit you (job #1912, A15)",
47
126
  "try": {
48
127
  "steps": [
@@ -52,8 +131,7 @@
52
131
  ],
53
132
  "see": "Upstream appears above Waiting on other teams only when a team your work waits on will likely slip: one row per slip with their likely new date and what of yours it hits, and 'Watching n boards your…",
54
133
  "open": "/premium-board.html?work=deps"
55
- },
56
- "i": "team-slips"
134
+ }
57
135
  },
58
136
  {
59
137
  "n": 2004,
@@ -67,6 +145,7 @@
67
145
  "t": "The built screen beside its design, each difference circled (job #1903, A380)",
68
146
  "s": "The built screen beside its design, each difference circled (job #1903, A380)",
69
147
  "k": "new",
148
+ "i": "built-vs-design",
70
149
  "h": "The built screen beside its design, each difference circled (job #1903, A380)",
71
150
  "try": {
72
151
  "steps": [
@@ -76,8 +155,7 @@
76
155
  ],
77
156
  "see": "The built screen sits beside its design. Only the parts that differ are circled and numbered, with a short line for each under it. ✓ closes the review with Undo; sending a circle back adds a task…",
78
157
  "open": "/premium-board.html"
79
- },
80
- "i": "built-vs-design"
158
+ }
81
159
  }
82
160
  ]
83
161
  },
@@ -991,59 +1069,6 @@
991
1069
  "i": "ask-anywhere"
992
1070
  }
993
1071
  ]
994
- },
995
- {
996
- "v": "0.813.0",
997
- "at": "2026-11-25T06:39:24.149Z",
998
- "f": 4,
999
- "prs": [
1000
- {
1001
- "n": 1866,
1002
- "t": "Where the week went, one quiet Friday card on Today",
1003
- "s": "Where the week went, one quiet Friday card on Today",
1004
- "k": "new",
1005
- "i": "week-went-summary",
1006
- "h": "Where the week went, one quiet Friday card on Today",
1007
- "try": {
1008
- "steps": [
1009
- "On a Friday, open Today",
1010
- "Find the row Where your week went in Your move and open it"
1011
- ],
1012
- "see": "One card splits your week: hours in meetings, decisions, reviews, notes written and tasks done, with one line on what moved. Nothing is sent, and the row is gone until next Friday",
1013
- "open": "/today.html"
1014
- }
1015
- }
1016
- ]
1017
- },
1018
- {
1019
- "v": "0.812.0",
1020
- "at": "2026-11-25T06:24:25.632Z",
1021
- "f": 4,
1022
- "prs": [
1023
- {
1024
- "n": 1857,
1025
- "t": "Undo on a read line gives back every typed word (job #1845 fix round)",
1026
- "s": "Undo on a read line gives back every typed word (job #1845 fix round)",
1027
- "k": "fix",
1028
- "i": "capture-words-to-fields"
1029
- },
1030
- {
1031
- "n": 1864,
1032
- "t": "Pmos balance shows the mix of a list in one line",
1033
- "s": "Pmos balance shows the mix of a list in one line",
1034
- "k": "new",
1035
- "i": "balance-meter",
1036
- "h": "Pmos balance shows the mix of a list in one line",
1037
- "try": {
1038
- "steps": [
1039
- "In the chat on Today, ask: what is the mix of my roadmap?",
1040
- "Then ask: how many of them name an expected outcome?"
1041
- ],
1042
- "see": "The chat names the counts by kind (Feature, Fix, Debt, Discovery) with one bar of the mix. A note shows only when one kind is over 60% of the list.",
1043
- "open": "/today.html"
1044
- }
1045
- }
1046
- ]
1047
1072
  }
1048
1073
  ]
1049
1074
  }
@@ -1,3 +1,3 @@
1
- kernel-source: pmos@44679ab4d
1
+ kernel-source: pmos@a3fbd74c5
2
2
  assembled: 2026-11-25
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-25T16:11:06Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-25T16:42:16Z"}
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-25T16:11:06Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-25T16:42:16Z"}
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-25T16:11:06Z"}
5
+ generated: {by: process:create-pmos, at: "2026-11-25T16:42:16Z"}
6
6
  status: stable
7
7
  ---
8
8
 
@@ -1,4 +1,82 @@
1
1
  [
2
+ {
3
+ "v": "0.839.0",
4
+ "at": "2026-11-25T16:42:20.583Z",
5
+ "f": 4,
6
+ "prs": [
7
+ {
8
+ "n": 1982,
9
+ "t": "Report versions, languages and the standup show by themselves (job #1987)",
10
+ "s": "Report versions, languages and the standup show by themselves (job #1987)",
11
+ "k": "new",
12
+ "i": "surface-reports",
13
+ "try": {
14
+ "steps": [
15
+ "Open Work and open the weekly report that has versions: the tabs Draft, For executives, For engineers, For customers sit above the pages;…",
16
+ "On the same report, when its readers name another language, press ✓ on the ✦ line",
17
+ "Open Today before noon: the Overview says how many Jira tickets moved since yesterday; press it"
18
+ ],
19
+ "see": "Each version and translated copy opens in place from its tab. The ✓ adds the language and says the next draft gets a copy, with Undo. The standup opens in the reading view. With no versions, no…",
20
+ "open": "/premium-board.html"
21
+ }
22
+ }
23
+ ]
24
+ },
25
+ {
26
+ "v": "0.838.0",
27
+ "at": "2026-11-25T16:26:34.847Z",
28
+ "f": 4,
29
+ "prs": [
30
+ {
31
+ "n": 2042,
32
+ "t": "Five features show by themselves in Your move (job #1985, LINE.md Rule 12)",
33
+ "s": "Five features show by themselves in Your move (job #1985, LINE.md Rule 12)",
34
+ "k": "new",
35
+ "i": "surface-moments"
36
+ },
37
+ {
38
+ "n": 2006,
39
+ "t": "Before the meeting, who agrees (job #1897, A333)",
40
+ "s": "Before the meeting, who agrees (job #1897, A333)",
41
+ "k": "new",
42
+ "i": "meeting-stance",
43
+ "h": "Before the meeting, who agrees (job #1897, A333)",
44
+ "try": {
45
+ "steps": [
46
+ "Open Work and open an initiative with a decision someone argued against",
47
+ "Under People, read the two questions PMOS drafted, press Copy and send them yourself, then press I sent them",
48
+ "Press each cell to record the answer you got, and read the ✦ line"
49
+ ],
50
+ "see": "Two short questions for the contested decision, sent by you, never by PMOS. Then a grid of yes and no per person with the odd answers marked, and one ✦ line naming the point the meeting must settle",
51
+ "open": "/premium-board.html"
52
+ }
53
+ },
54
+ {
55
+ "n": 1960,
56
+ "t": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
57
+ "s": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
58
+ "k": "new",
59
+ "i": "segments",
60
+ "h": "Segments on Work, each user group with the roadmap items that serve it (job #1893)",
61
+ "try": {
62
+ "steps": [
63
+ "Open Work and pick one product with 3 or more live initiatives",
64
+ "Read the ✦ line in Segments under the strategy and press its draft button",
65
+ "Send the ask it puts in the chat"
66
+ ],
67
+ "see": "Before any group, one ✦ line in Segments offers to draft groups, and its button fills the chat (LINE.md rule 12: it shows by itself). After the draft, under the strategy, a Segments table: each…",
68
+ "open": "/premium-board.html"
69
+ }
70
+ },
71
+ {
72
+ "n": 2045,
73
+ "t": "Declared domain anchors resolve, so pmos initiative anchors lists them",
74
+ "s": "Declared domain anchors resolve, so pmos initiative anchors lists them",
75
+ "k": "fix",
76
+ "i": "anchor-ids"
77
+ }
78
+ ]
79
+ },
2
80
  {
3
81
  "v": "0.837.0",
4
82
  "at": "2026-11-25T16:11:10.474Z",
@@ -9,6 +87,7 @@
9
87
  "t": "Other teams' slips before they hit you (job #1912, A15)",
10
88
  "s": "Other teams' slips before they hit you (job #1912, A15)",
11
89
  "k": "new",
90
+ "i": "team-slips",
12
91
  "h": "Other teams' slips before they hit you (job #1912, A15)",
13
92
  "try": {
14
93
  "steps": [
@@ -18,8 +97,7 @@
18
97
  ],
19
98
  "see": "Upstream appears above Waiting on other teams only when a team your work waits on will likely slip: one row per slip with their likely new date and what of yours it hits, and 'Watching n boards your…",
20
99
  "open": "/premium-board.html?work=deps"
21
- },
22
- "i": "team-slips"
100
+ }
23
101
  },
24
102
  {
25
103
  "n": 2004,
@@ -33,6 +111,7 @@
33
111
  "t": "The built screen beside its design, each difference circled (job #1903, A380)",
34
112
  "s": "The built screen beside its design, each difference circled (job #1903, A380)",
35
113
  "k": "new",
114
+ "i": "built-vs-design",
36
115
  "h": "The built screen beside its design, each difference circled (job #1903, A380)",
37
116
  "try": {
38
117
  "steps": [
@@ -42,8 +121,7 @@
42
121
  ],
43
122
  "see": "The built screen sits beside its design. Only the parts that differ are circled and numbered, with a short line for each under it. ✓ closes the review with Undo; sending a circle back adds a task…",
44
123
  "open": "/premium-board.html"
45
- },
46
- "i": "built-vs-design"
124
+ }
47
125
  }
48
126
  ]
49
127
  },
@@ -139,6 +139,7 @@ None of these briefs an agent or takes an item. Do that from the item's card on
139
139
  - `pmos people help` prints the commands.
140
140
  - `pmos people map <initiative>` lists who decides, who must agree and who needs to know on one initiative, and when each last heard from you. The names come from the record's `decider`, `owner` or `sponsor`, the initiative's sign-offs and objections, and the people whose Jira, meeting notes or mail name it. Each is a draft until you keep it. A name not updated in 3 weeks shows a ✦ draft update for you to send. Add `--json` for the rows. The People block of the initiative on Work shows the same map.
141
141
  - `pmos people keep <initiative> <person> [--group decides|agree|know]` keeps a name on the map, in that group. `pmos people drop <initiative> <person>` takes it off for good. `pmos people told <initiative> <person>` records that you sent them an update today. `pmos people undo <initiative> <person>` takes back the last of these. PMOS never sends an update itself.
142
+ - `pmos people stance <initiative>` shows, before the meeting, the two questions PMOS drafted for the initiative's contested decision: the newest live journal decision someone argued against. They go to the people who decide or must agree. After you send them, it shows each person's answers, with the odd ones marked and a ✦ line naming the point the meeting must settle. Add `--json` for the same view. `pmos people stance <initiative> sent` records that you sent the questions. `pmos people stance <initiative> answer <person> <1|2> <yes|no|clear>` records one answer. `pmos people stance <initiative> undo` takes back the last of these. The block under People on the initiative on Work shows the same. PMOS never sends the questions itself.
142
143
 
143
144
  The sightings file holds `{ "sightings": [...], "merges": [...] }`. A sighting is `{ "source": "gather" | "calendar" | "live" | "jira" | "plan" | "notes", "handle": { "kind": "mail" | "slack" | "jira" | "confluence" | "speaker" | "name", "value": "…" }, "name": "…", "role"?, "org"?, "external"?: true, "interaction"?: { "date": "YYYY-MM-DD", "kind": "Mail", "text": "one line, at most 200 characters", "pointer": "where it came from, at most 200 characters", "tone"?: "warm", "initiative"?: "<id>" } }`. A merge is `{ "a": <handle>, "b": <handle>, "why": "one line" }`.
144
145
 
@@ -578,6 +579,16 @@ The same five lines as the Strategy card on Work ([The strategy in five lines](i
578
579
  - `pmos strategy set --line <key> --text "<line>"` writes your own line. `--text ""` blanks it.
579
580
  - `pmos strategy undo` takes back every line PMOS drafted. `--line <key>` takes back one.
580
581
 
582
+ ### pmos segments: the product's user groups and the roadmap that serves them
583
+
584
+ The same groups as the Segments part on Work, under the strategy. A product has at most 6 groups. Each group has its users, a health from 0 to 100, what it uses and what it asks for. Roadmap items (the live initiatives) carry a group tag. Run the commands in the product's repository, or pass `--root <dir>`. The groups are in `segments.jsonl` in the product's records folder, and the page shows what these commands write. `<group>` is the group's name or its id (`sg_…`).
585
+
586
+ - `pmos segments list` shows the groups, most users first, with how many roadmap items serve each. ✦ marks a draft. When a group has 30% or more of the users and gets a third or less of its share of the tagged roadmap (3 or more tagged items), one ✦ line says so.
587
+ - `pmos segments draft --name "<group>" --users <n> --source "<connector · what>"` is PMOS's draft from a usage or revenue read. `--source` is necessary: a draft without it is refused. `--health`, `--uses` and `--asks` are optional. A draft for a group that exists updates its numbers.
588
+ - `pmos segments add --name "<group>" --users <n>` adds your own group, kept at once.
589
+ - `pmos segments keep <group>` keeps a draft. `pmos segments rename <group> --to "<name>"` renames a group and keeps it. `pmos segments drop <group>` hides it.
590
+ - `pmos segments tag <group> <initiative>` tags a live initiative with the group. `pmos segments untag <group> <initiative>` removes the tag.
591
+ - `pmos segments undo <group>` takes back the last change to that group.
581
592
  ### pmos code: the product's code map
582
593
 
583
594
  The same map as the Code panel on Work: one line per main part of the product's code, with what it is, how it is tested and who changed it last. PMOS draws it from the default branch (origin/HEAD, then main, master, HEAD) when you first open the product on Work, and again after the branch moves. It reads git only and never writes to the repository. A part is risky when it has no test files, or when 5 or more of its commits in the last 30 days are fixes and they are at least half of its commits. Run the commands in the product's repository, or pass `--root <dir>`. The map is in `code-map.json` in the product's records folder, and your own words are in `code-map-notes.jsonl`.
@@ -53,7 +53,9 @@ Today, Work, Insights and the Viewer use one typeface, Plus Jakarta Sans, with t
53
53
  - **The dashed line.** Your move ends with one dashed line, for example "9 more move in the line by themselves · none stuck" (or "· 1 stuck"). It counts the live initiatives of your products that do not wait on you. Press it to open the Line on Work. With nothing on the line there is no dashed line.
54
54
  - **The weekly digest.** On a Monday the Overview sentence ends with "Last week's digest is ready to read." Press it to read last week in the Viewer: one sentence on the line, What moved (each initiative that reached a new station, and what put it there), What PMOS did by itself (with what you undid and what the Checker sampled), Not sent (drafts that lapsed after 7 days) and Next week (initiatives that reach their station's limit). A section with nothing is left out. The digest is only to read: anything that needs you is already in Your move. The switch in its header, or **Weekly digest** in Settings › General, turns it off; off means PMOS does not make it.
55
55
  - **Where your week went.** From Friday to Sunday, Your move shows one quiet row, for example "Where your week went: 9 h in 12 meetings, 3 decisions". Open it to see your week by kind, most first: meetings and their hours (from your calendar), decisions, reviews of what PMOS proposed, notes you typed and tasks you moved to Done. One line says what moved: the tasks done, the initiative with the most of them, and the dates or scope changes. It reads only what PMOS already holds. It calls no model, sends nothing and writes nothing. A week with nothing in it gives no row, and the row is gone once you open it that week.
56
+ - **Moments that show by themselves.** Your move shows a ✦ row only when your own data says it is time: a free gap of 15 to 90 minutes that starts within 10 minutes (✓ opens what fits it); leave on your calendar or a line like "off Friday" within 7 days (✓ sets your away days and drafts the handover note); an AI run kind that takes the most of this month's AI cost while you keep few of its ✦ (✓ pauses that kind); a role whose waiting work per person is highest, with no role brief in 14 days (✓ drafts the brief in the Library); a program steering meeting within 2 working days (✓ drafts the one-page pack in the Library). Each row has ✓ and Put off a day, and ✓ shows Undo. With nothing true, there is no row. PMOS sends nothing. The chat and the `pmos` commands still work as before.
56
57
  - **A line filed to its initiative.** When a line you type on Today clearly names one open initiative (it shares at least 2 words with its title, and no other initiative shares as many), PMOS files it there. The line shows a chip with the initiative and its stage, for example "↳ Checkout redesign · Discovery", and a toast says where it went, with Undo. A task line also becomes a task on that initiative in Work, in the stage in progress. A note or an event keeps only the chip. Press the arrow beside the chip to file it to another initiative or to Not filed; the task follows. A line that is not clear is not filed. It calls no model and sends nothing.
58
+ - **What moved in Jira since yesterday.** Before noon, when PMOS's daily Jira read saw tickets change state since yesterday (since Friday on a Monday), the Overview sentence ends with one line, for example "Since yesterday, 5 Jira tickets moved: 2 done, 1 not in PMOS yet." Press it to read the standup in the Viewer: what moved, grouped by initiative, who moved it, and what is worth a question. After noon, before the first Jira read, or when nothing moved, there is no line. You do not need to ask the chat for it.
57
59
  - **When a product drifts from Jira.** When fewer than 95% of a product's tasks that name a Jira ticket match the last Jira read, the Overview says so in one ✦ row: "idpf differs from Jira on 7 of 128 tasks (94%). Take Jira's value on all 7". What differs is a value someone set by hand in PMOS: an owner, a done day or a state. Press ✓ to make PMOS say what Jira says for all of them, or press the arrow to see each difference and ✓ only the ones you want. The message that shows has Undo, which puts back what PMOS said. Press ✕ to keep what PMOS says; the row comes back only when the number changes. A product at 95% or more shows no row. PMOS changes nothing in Jira.
58
60
  - **One press per initiative.** An initiative's proposals are one row, for example "Checkout: 6 changes to keep" with "3 dates, 2 names, 1 link" under it. Press it to see them grouped as Dates, Names, Done and Links. ✓ keeps all of them, with one Undo for the batch. ✕ drops them, then offers three reasons and **Say why**. A proposal that needs your own check keeps its own ✓ and ✕. **See every change** opens the full list on the initiative.
59
61
  - **An ask expires after 14 days with no answer.** PMOS leaves it as it was and writes why in the initiative's History. Your move says it once: "2 asks expired after 14 days with no answer." Dates computed from your tasks never expire: PMOS reads them again each time.
@@ -134,6 +134,14 @@ Below the strategy, a Work that shows one product has a **Principles** block. Wh
134
134
 
135
135
  You can also ask the chat to keep, drop or add a principle (`pmos principles`). Work shows the change. When there are no principles and no drafts, the block is not shown.
136
136
 
137
+ ### Segments: who the roadmap serves
138
+
139
+ Below the principles, a Work that shows one product has a **Segments** table when the product has user groups. Each row is one group: its users, a health bar, and how many roadmap items serve it. What the group uses and asks for shows under its name. A product has at most 6 groups.
140
+
141
+ When the product has no groups and 3 or more live roadmap items, Segments shows one ✦ line by itself: "None of your 3 roadmap items says which users it serves." Press its ✦ button to put the drafting ask in the chat, then send it. You can also ask the chat yourself to split your users into a few groups from usage and revenue. It drafts each group from a source it names, such as a connector or an export (`pmos segments draft`). A draft shows ✦ and stays a draft until you press ✓ to keep it or the pencil to rename it. A renamed draft is kept. Each press offers Undo. Ask the chat to tag each roadmap item with the group it serves (`pmos segments tag`).
142
+
143
+ When a group has 30% or more of the users and gets a third or less of its share of the tagged roadmap, one ✦ line under the table says so, for example "Small teams are 74% of users and get none of the 8 roadmap items." Only that row shows the alert colour. With fewer than 3 tagged items there is no line. When the product has no groups, the table is not shown. The ✦ offer does not show with fewer than 3 live roadmap items, or after any group was made, even if you dropped it.
144
+
137
145
  ### Issue a document PMOS drafted
138
146
 
139
147
  When PMOS drafts a document for an initiative, for example a stage's plan that you asked the chat to update, the draft waits for you. You issue it in one of two places:
@@ -358,7 +358,15 @@ A definition can name readers who read the report in another language: `language
358
358
 
359
359
  After each draft, PMOS writes one translated copy per language beside the draft, for example `2026-11-20.id.md`. The copy opens with one line that says it is a translation, for whom, and that PMOS checked the numbers and names. PMOS writes a copy only when every number, initiative id, note, link and acronym of the original is in it. If one is missing, PMOS writes no copy and the server log says why. A draft whose text did not change is not translated again.
360
360
 
361
- To read a copy, open the report and press **⋯ › Also in Indonesian**. The copy is not a cycle, so it has no Issue. Nothing is sent: share the copy yourself. `pmos ai off report-translate` stops the translations.
361
+ You do not have to set a language by hand. When the report's readers (the **audience** of its definition) name a language that has no copy yet, for example "Leadership; Dita reads Indonesian", the draft shows one ✦ line: "Your readers include Indonesian. Add a copy in Indonesian to each draft?" Press ✓ and each new draft gets a copy in that language; the line then has Undo. The line does not show when the readers name only English, or when the language is already set.
362
+
363
+ To read a copy, open the report and press its tab, **In Indonesian**, or **⋯ › Also in Indonesian**. The copy is not a cycle, so it has no Issue. Nothing is sent: share the copy yourself. `pmos ai off report-translate` stops the translations.
364
+
365
+ ### For executives, engineers and customers
366
+
367
+ Ask the chat to make the report for executives, engineers and customers, or run `pmos report variants <cadence>`. PMOS writes one version per audience beside the draft, and only when every number and name in it is in the draft.
368
+
369
+ When a draft has versions or translated copies, the report shows tabs above its pages: **Draft**, then **For executives**, **For engineers** and **For customers**, and **In Indonesian** for a copy in another language, one for each file that exists. Press a tab to read that version in the same place. Press **Draft** to go back. You edit only the draft, so Edit shows only on the Draft tab. A draft with no versions and no copies shows no tabs. Nothing is sent: share a version yourself.
362
370
 
363
371
  ### Notes
364
372
 
@@ -16,6 +16,7 @@
16
16
  {"id": "parked", "audience": "user", "status": "ga", "group": "Catch up", "name": "Parked work", "say": "Each initiative on hold, why it is parked and what brings it back.", "cmd": "/parked", "verb": "parked", "sub": "list", "phrases": ["parked work", "what is on hold", "what is parked", "paused initiatives"], "since": "0.700.0"},
17
17
  {"id": "people", "audience": "user", "status": "ga", "group": "Catch up", "name": "People you work with", "say": "Each person with their role, how often you talk and their tone.", "cmd": "/people", "verb": "people", "sub": "list", "phrases": ["who do I work with", "stakeholders list", "people on this", "who is involved"], "since": "0.610.0"},
18
18
  {"id": "strategy", "audience": "user", "status": "ga", "group": "Your product", "name": "Five-line strategy", "say": "Who it is for, the problem, the bet, how you win and what you will not do.", "cmd": "/strategy", "verb": "strategy", "sub": "show", "place": "board", "phrases": ["our strategy", "product strategy", "draft the strategy", "how we win"], "since": "0.776.0", "ask": ["product"]},
19
+ {"id": "segments", "audience": "user", "status": "ga", "group": "Your product", "name": "Segments", "say": "A few user groups with their size and health, and the roadmap items that serve each.", "cmd": "/segments", "verb": "segments", "sub": "list", "place": "board", "since": "0.822.0"},
19
20
  {"id": "code", "audience": "user", "status": "ga", "group": "Your product", "name": "Code map", "say": "One line per main part of the code: what it is, how it is tested, who changed it last.", "cmd": "/code", "verb": "code", "sub": "show", "place": "board", "since": "0.826.0", "ask": ["product"]},
20
21
  {"id": "connectors", "audience": "user", "status": "ga", "group": "Your product", "name": "What connectors read and write", "say": "What PMOS reads and writes through each connector, and what leaves this computer.", "cmd": "/connectors", "verb": "connectors", "sub": "data", "since": "0.825.0"},
21
22
  {"id": "positioning", "audience": "user", "status": "ga", "group": "Your product", "name": "Positioning and key messages", "say": "A positioning statement and key messages, each citing a strategy line.", "cmd": "/positioning", "verb": "positioning", "sub": "list", "phrases": ["positioning statement", "key messages", "messaging for"], "since": "0.740.0"},
@@ -93,10 +93,11 @@ function dirOf(root) {
93
93
  const kit = fs.existsSync(path.join(root, 'pmos', 'state'));
94
94
  return path.join(root, ...(kit ? ['pmos', 'planning'] : ['planning']), 'hires');
95
95
  }
96
- function sourcesOf(root, { now }) {
96
+ /** records: the open records to count as asks; leave it out to read them from the repository (slow on a big one: contradictions.forRepo). */
97
+ function sourcesOf(root, { now, records = null } = {}) {
97
98
  let tasks = []; try { tasks = require('./away-handover.js').tasksNow(root); } catch { tasks = []; }
98
99
  let people = []; try { const v = require('./people-store.js').view(root, { now }); people = v.ok ? v.people || [] : []; } catch { people = []; }
99
- let asks = []; try { asks = require('./open-questions.js').read(root, { now }).lines || []; } catch { asks = []; }
100
+ let asks = []; try { asks = require('./open-questions.js').read(root, { now, records }).lines || []; } catch { asks = []; }
100
101
  let titles = {}; try { for (const i of require('./live-notes.js').loadInitiatives(root).open) titles[i.id] = i.title; } catch { titles = {}; }
101
102
  return { tasks, people, asks, titles };
102
103
  }
@@ -169,4 +170,4 @@ function run(argv, o = {}) {
169
170
  return 0;
170
171
  }
171
172
 
172
- module.exports = { TAG, LOAD_MIN, NO_ROLE, NO_OWNER, gapOf, briefOf, draft, count, run, COMMANDS, USAGE };
173
+ module.exports = { TAG, LOAD_MIN, NO_ROLE, NO_OWNER, gapOf, sourcesOf, briefOf, draft, count, run, COMMANDS, USAGE };
@@ -234,6 +234,9 @@ function anchorsOf(root) {
234
234
  try {
235
235
  const file = engine.layout(root).budgets;
236
236
  budgets = { ok: true, text: fs.readFileSync(file, 'utf8'), path: path.relative(root, file) };
237
+ // D67: the domain registry (domains.md) sits beside the budgets. Without it, every declared domain:<id> resolved as unknown here,
238
+ // so list() left domains out and the writer refused them (anchor-ids, Checker A3).
239
+ if (typeof A.withDomains === 'function') A.withDomains(budgets, path.dirname(file), root);
237
240
  } catch {
238
241
  // Not at the engine's path. A kit vendors the registry to pmos/planning/okrs/ (build-kit.sh; server.js budgetsFor), so
239
242
  // look there too: without it every health:<id> in a kit repository was refused as undeclared.