create-pmos 0.783.0 → 0.785.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +70 -78
- package/payload/AGENTS.md +160 -0
- package/payload/KIT-VERSION +1 -1
- package/payload/design-system/ui/components/Badge/README.md +2 -2
- package/payload/design-system/ui/components/Glyph/README.md +28 -0
- package/payload/design-system/ui/components/bundle.css +3 -0
- package/payload/planning/evals/eval-calibration.md +1 -1
- package/payload/planning/okrs/health-budgets.md +1 -1
- package/payload/state/discoveries.md +1 -1
- package/workspace/bin/card-catalog-gen.js +22 -0
- package/workspace/board-columns-test.js +2 -2
- package/workspace/briefing-premium-insights-test.js +5 -4
- package/workspace/calm-timeline-test.js +4 -3
- package/workspace/changelog.json +69 -10
- package/workspace/design-system/ui/components/Badge/README.md +2 -2
- package/workspace/design-system/ui/components/Glyph/README.md +28 -0
- package/workspace/design-system/ui/components/bundle.css +3 -0
- package/workspace/guide/claude-proposes.md +1 -0
- package/workspace/guide/cli.md +8 -0
- package/workspace/guide/home.md +4 -3
- package/workspace/guide/index.md +2 -2
- package/workspace/guide/layout.md +16 -2
- package/workspace/lib/briefing-premium-agent.js +3 -0
- package/workspace/lib/card-catalog-gen.js +123 -0
- package/workspace/lib/cos-chat.js +1 -0
- package/workspace/lib/declined-asks.js +177 -0
- package/workspace/lib/declined-cli.js +87 -0
- package/workspace/lib/goal-chat.js +1 -0
- package/workspace/lib/initiative-chat.js +1 -0
- package/workspace/lib/jira-status.js +11 -2
- package/workspace/lib/live-events.js +99 -0
- package/workspace/lib/pmos-verbs.js +3 -0
- package/workspace/lib/program-chat.js +1 -0
- package/workspace/lib/proposals.js +13 -2
- package/workspace/lib/report-chat.js +1 -0
- package/workspace/lib/route-modules.js +1 -0
- package/workspace/lib/routes-live-rows.js +30 -0
- package/workspace/lib/routes-proposals.js +31 -3
- package/workspace/lib/routes-slash.js +142 -2
- package/workspace/lib/routes-task-links.js +1 -1
- package/workspace/lib/scope-cuts.js +138 -0
- package/workspace/lib/task-cli.js +5 -3
- package/workspace/lib/workflow-chat.js +1 -0
- package/workspace/okr-goals-ui-test.js +3 -2
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/bd-cols.js +3 -1
- package/workspace/public/pm/bd-span.js +13 -7
- package/workspace/public/pm/bd-views.js +6 -3
- package/workspace/public/pm/bd-work-ds.css +1 -0
- package/workspace/public/pm/bd-work.js +15 -2
- package/workspace/public/pm/cozy-board.css +3 -0
- package/workspace/public/pm/cozy-insights.css +3 -4
- package/workspace/public/pm/ds-bridge.css +12 -0
- package/workspace/public/pm/goal-forecast.js +7 -4
- package/workspace/public/pm/home-app.js +5 -3
- package/workspace/public/pm/ini-props.js +4 -3
- package/workspace/public/pm/komorebi.css +1 -0
- package/workspace/public/pm/live-edit.js +34 -3
- package/workspace/public/pm/live-feed.js +42 -0
- package/workspace/public/pm/okr-list.js +5 -2
- package/workspace/public/pm/premium-board.js +2 -0
- package/workspace/public/pm/premium-insights.js +10 -4
- package/workspace/public/pm/premium-vw-doc.css +5 -0
- package/workspace/public/pm/premium-vw-doc.js +11 -31
- package/workspace/public/pm/premium-vw-file.js +13 -8
- package/workspace/public/pm/premium-vw-guide.css +9 -0
- package/workspace/public/pm/premium-vw-guide.js +20 -17
- package/workspace/public/pm/reading-view.js +44 -0
- package/workspace/public/pm/state-glyph.js +135 -0
- package/workspace/skills/jira-sync.skill +4 -3
- package/workspace/task-milestones-test.js +2 -2
- package/workspace/test-lists/a2ui-chat-rules.json +9 -0
- package/workspace/test-lists/a2ui-live-rows.json +9 -0
- package/workspace/test-lists/declined-asks.json +9 -0
- package/workspace/test-lists/scope-cuts-save-date.json +5 -0
- package/workspace/test-lists/state-glyph.json +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.785.0",
|
|
4
4
|
"description": "Scaffold the PMOS portable kit — run the PMOS product-management workflow (initiative → lane-fit spec → contract → build → three gates, with work-type lanes for features, research, maintenance, incidents, and content) entirely inside your own repo, with all state as git-versioned files. Includes `workflow-sweep`, which audits the state every board derives from and separates real defects from work you simply have not done. `create-pmos workspace` also installs + launches the local Terminal Workspace GUI. No database, no network, no telemetry.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -34,24 +34,83 @@
|
|
|
34
34
|
],
|
|
35
35
|
"pmosChanges": [
|
|
36
36
|
{
|
|
37
|
-
"v": "0.
|
|
38
|
-
"at": "2026-11-
|
|
37
|
+
"v": "0.785.0",
|
|
38
|
+
"at": "2026-11-24T17:13:04.909Z",
|
|
39
39
|
"f": 4,
|
|
40
40
|
"prs": [
|
|
41
41
|
{
|
|
42
|
-
"n":
|
|
43
|
-
"t": "
|
|
44
|
-
"s": "
|
|
45
|
-
"k": "
|
|
42
|
+
"n": 1758,
|
|
43
|
+
"t": "A chat write moves the row on every open page at once (a2ui-live-rows, job #1750)",
|
|
44
|
+
"s": "A chat write moves the row on every open page at once (a2ui-live-rows, job #1750)",
|
|
45
|
+
"k": "new"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"n": 1753,
|
|
49
|
+
"t": "Chat rules, AGENTS.md commands and the / menu generated from the card catalog",
|
|
50
|
+
"s": "Chat rules, AGENTS.md commands and the / menu generated from the card catalog",
|
|
51
|
+
"k": "new"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"n": 1782,
|
|
55
|
+
"t": "Declined asks get a kind reply draft and an out-of-scope record",
|
|
56
|
+
"s": "Declined asks get a kind reply draft and an out-of-scope record",
|
|
57
|
+
"k": "new",
|
|
58
|
+
"h": "Declined asks get a kind reply draft and an out-of-scope record",
|
|
46
59
|
"try": {
|
|
47
60
|
"steps": [
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"Press Undo on the toast"
|
|
61
|
+
"Open Today and ask PMOS in the chat: which asks did I decline lately?",
|
|
62
|
+
"Ask PMOS to record one of them with its reason"
|
|
51
63
|
],
|
|
52
|
-
"see": "The
|
|
64
|
+
"see": "The chat lists the Jira tickets closed as Won't Do, Declined, Duplicate or similar in the last 90 days, each with a short kind reply to the person who asked. Recording one adds it to the product's…"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"n": 1755,
|
|
69
|
+
"t": "States are shapes, not words (state-glyphs, job #1675)",
|
|
70
|
+
"s": "States are shapes, not words (state-glyphs, job #1675)",
|
|
71
|
+
"k": "new"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"n": 1785,
|
|
75
|
+
"t": "Guide pages and markdown files read in the Reading layout (A334)",
|
|
76
|
+
"s": "Guide pages and markdown files read in the Reading layout (A334)",
|
|
77
|
+
"k": "new"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"v": "0.784.0",
|
|
83
|
+
"at": "2026-11-24T16:59:38.052Z",
|
|
84
|
+
"f": 4,
|
|
85
|
+
"prs": [
|
|
86
|
+
{
|
|
87
|
+
"n": 1777,
|
|
88
|
+
"t": "PMOS proposes the scope cuts that save a date",
|
|
89
|
+
"s": "PMOS proposes the scope cuts that save a date",
|
|
90
|
+
"k": "new",
|
|
91
|
+
"h": "PMOS proposes the scope cuts that save a date",
|
|
92
|
+
"try": {
|
|
93
|
+
"steps": [
|
|
94
|
+
"Open Work and open an initiative whose end date is still ahead but whose tasks run past it",
|
|
95
|
+
"Press its ✦ and find Cut to keep the date",
|
|
96
|
+
"Keep it, then press Undo"
|
|
97
|
+
],
|
|
98
|
+
"see": "The ✦ lists the tasks that finish after the date, each with its forecast and the new dates after the date; Keep moves them and adds a note, and Undo puts them back",
|
|
53
99
|
"open": "/premium-board.html"
|
|
54
100
|
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"v": "0.783.0",
|
|
106
|
+
"at": "2026-11-24T16:37:58.744Z",
|
|
107
|
+
"f": 4,
|
|
108
|
+
"prs": [
|
|
109
|
+
{
|
|
110
|
+
"n": 1778,
|
|
111
|
+
"t": "Name the catalog and draft routes outside routes-*, so d86-seams check 7 passes",
|
|
112
|
+
"s": "Name the catalog and draft routes outside routes-*, so d86-seams check 7 passes",
|
|
113
|
+
"k": "fix"
|
|
55
114
|
},
|
|
56
115
|
{
|
|
57
116
|
"n": 1780,
|
|
@@ -362,73 +421,6 @@
|
|
|
362
421
|
"k": "fix"
|
|
363
422
|
}
|
|
364
423
|
]
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"v": "0.765.0",
|
|
368
|
-
"at": "2026-11-24T07:12:50.601Z",
|
|
369
|
-
"f": 4,
|
|
370
|
-
"prs": [
|
|
371
|
-
{
|
|
372
|
-
"n": 1726,
|
|
373
|
-
"t": "Chat creates subtasks — pmos task add/set take --parent with an Undo line",
|
|
374
|
-
"s": "Chat creates subtasks — pmos task add/set take --parent with an Undo line",
|
|
375
|
-
"k": "fix"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"n": 1721,
|
|
379
|
-
"t": "A document's chat sends, and a send that fails says why",
|
|
380
|
-
"s": "A document's chat sends, and a send that fails says why",
|
|
381
|
-
"k": "fix"
|
|
382
|
-
},
|
|
383
|
-
{
|
|
384
|
-
"n": 1724,
|
|
385
|
-
"t": "A chat saves program changes, and the Board shows them at once",
|
|
386
|
-
"s": "A chat saves program changes, and the Board shows them at once",
|
|
387
|
-
"k": "fix"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"n": 1725,
|
|
391
|
-
"t": "An initiative opened from Today opens in the full popup again",
|
|
392
|
-
"s": "An initiative opened from Today opens in the full popup again",
|
|
393
|
-
"k": "fix"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"n": 1722,
|
|
397
|
-
"t": "Every task has a description PMOS writes",
|
|
398
|
-
"s": "Every task has a description PMOS writes",
|
|
399
|
-
"k": "new",
|
|
400
|
-
"try": {
|
|
401
|
-
"steps": [
|
|
402
|
-
"Open any PMOS task from Work in the full popup",
|
|
403
|
-
"Press the pencil on Description, change a word and click outside"
|
|
404
|
-
],
|
|
405
|
-
"see": "Under Where it stands, \"PMOS is writing the description from your plan…\", then What, Why, Done when and \"PMOS wrote this from N sources\" with Undo. The edit saves with Undo in the toast.",
|
|
406
|
-
"open": "/pm/"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
]
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
"v": "0.764.0",
|
|
413
|
-
"at": "2026-11-24T06:08:25.279Z",
|
|
414
|
-
"f": 4,
|
|
415
|
-
"prs": [
|
|
416
|
-
{
|
|
417
|
-
"n": 1720,
|
|
418
|
-
"t": "A risky change on shared text only asks the owner",
|
|
419
|
-
"s": "A risky change on shared text only asks the owner",
|
|
420
|
-
"k": "new",
|
|
421
|
-
"try": {
|
|
422
|
-
"steps": [
|
|
423
|
-
"Say in a Slack channel PMOS reads, and in a meeting note, that a task with no Jira ticket is done",
|
|
424
|
-
"Wait for the next PMOS round",
|
|
425
|
-
"Open Today and look at today's questions"
|
|
426
|
-
],
|
|
427
|
-
"see": "PMOS does not close the task by itself. Today's questions ask the owner whether it is done and say that only shared text (Slack and a meeting note) says so.",
|
|
428
|
-
"open": "/premium-home.html"
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
]
|
|
432
424
|
}
|
|
433
425
|
]
|
|
434
426
|
}
|
package/payload/AGENTS.md
CHANGED
|
@@ -115,6 +115,7 @@ The PM talks to you from an initiative's popup in the workspace. PMOS acts by it
|
|
|
115
115
|
- **The merge ✦ ("7 references and 2 retros can each be one artefact. Merge them?").** The popup derives it from the files: it shows while several different files of one kind belong to the initiative. When you merge files, put `superseded_by: <path of the merged file>` in the frontmatter of each old file. The Artefacts list then shows the merged file, folds each old file under it as an earlier version, and the ✦ goes away by itself. Delete nothing.
|
|
116
116
|
- **The case card (Problem, Goal, Done when).** It reads the Experiment and Done test artefacts first, then the record's Problem, Goal and Done test sections. When the PM says yes to a case line, save it where the card reads it: `pmos artefacts set experiment:<id> experiment why --text "<problem>"`, `pmos artefacts set experiment:<id> experiment hypothesis --text "<goal>"`, and `pmos artefacts set experiment:<id> done-test check --text "<one check>"` once for each check. `pmos why` and `pmos ready check` read the same lines.
|
|
117
117
|
- **The Strategy card (five lines).** When the PM asks to write, change or redraft the strategy, run `pmos strategy set --line <for|problem|bet|win|wont> --text "<line>"` once per line. To draft blank lines from the product's files, run `pmos strategy sources`, read them, then `pmos strategy draft --line <key> --text "<line>" --source <file>` for each line the files support. `pmos strategy undo` takes PMOS's draft back; `pmos strategy show` lists the lines. The card reads the same file.
|
|
118
|
+
- **Asks the PM declined.** When the PM asks which asks they declined, said no to or closed as Won't Do, run `pmos declined` and show each ask with its reply draft. When the PM says to record one, run `pmos declined record <KEY>`, with `--reason "<their words>"` when they gave a reason; `pmos declined draft <KEY> --reason "…"` rewrites one reply. The reply is a draft: never send it, post it or write it to Jira, Slack or email. The PM copies it and sends it.
|
|
118
119
|
- **The Positioning part of the Strategy card.** When the PM agrees a positioning statement or key message, keep it with `pmos positioning keep --text "<line>" --cites <keys> [--kind positioning]`, citing the strategy lines it comes from (`pmos positioning strategy` lists the keys). Drop one with `pmos positioning drop <id>`. Work shows what these write.
|
|
119
120
|
- **The product glossary (a word's meaning on hover).** When the PM asks to explain, add or change one of the product's own words ("add MAGW to the glossary"), run `pmos glossary set <term> "<meaning>"` in the product's repository; `pmos glossary remove <term>` takes one out and `pmos glossary` lists them. Every page reads the same file and shows the meaning on hover, or on a long press on a phone.
|
|
120
121
|
- **Standing rules (Settings › How PMOS decides › Standing rules).** When the PM asks to see, reword, retire or bring back a rule PMOS learned from their corrections, run `pmos rules` to list them numbered, then `pmos rules edit <n> --text "<new words>"`, `pmos rules retire <n>` or `pmos rules restore <n>` (the R number under Retired). The page reads the same memory entries.
|
|
@@ -122,6 +123,165 @@ The PM talks to you from an initiative's popup in the workspace. PMOS acts by it
|
|
|
122
123
|
- **The ✦ that drafts missing documents.** Save a PRD as a file the record names in `prd_path:`, a rubric in `rubric_path:`, and the done test with `pmos artefacts set experiment:<id> done-test check`. A file that nothing names does not show in the Artefacts list.
|
|
123
124
|
- **A stage's dates on the timeline.** A stage's bar runs from the earliest start to the latest end of its tasks (a task with no start counts from its due date). To change a stage's dates, change the dates of its tasks, with the PM's yes. Do not edit the workflow history to move a bar.
|
|
124
125
|
|
|
126
|
+
<!-- card-catalog:begin -->
|
|
127
|
+
|
|
128
|
+
## Card commands (generated from the card catalog)
|
|
129
|
+
|
|
130
|
+
Every button on a PMOS card runs one `pmos` command. This list is generated from `workspace/lib/card-catalog.json` by `node workspace/bin/card-catalog-gen.js`; do not edit it by hand. Who acts: **you** is one press with Undo, **agent** is PMOS starts a run, **waits** is only after the PM says yes. Run the command the PM's ask names, and tell the PM the Undo line it prints.
|
|
131
|
+
|
|
132
|
+
**Work items.**
|
|
133
|
+
|
|
134
|
+
- `pmos task set <id> --due <date> [--start <date>] [--owner <who>] [--notes <text>] [--milestone] [--pin] [--no-milestone]`: Move the date, Set start and due, Change owner, Add a note, Make it a milestone, Pin, Back to a task (you)
|
|
135
|
+
- `pmos task state <id> --to <state> --why <text>`: Change status, Mark done (you)
|
|
136
|
+
- `pmos task comment <id> <text>`: Comment (you)
|
|
137
|
+
- `pmos task describe <id>`: Write the description (agent)
|
|
138
|
+
- `pmos task remove <id> --why <text>`: Remove (you)
|
|
139
|
+
- `pmos task add <initiative> "<title>" --parent <task> [--due <date>] [--owner <who>]`: Add a subtask (you)
|
|
140
|
+
- `pmos rehearse move <id> --due <date> [--by <days>]`: What slips if it moves (you)
|
|
141
|
+
- `pmos task link <from> <to> --type fs|ss|ff|sf --lag <days>`: Link two tasks (you)
|
|
142
|
+
- `pmos task unlink <from> <to>`: Unlink (you)
|
|
143
|
+
- `pmos item move <item> <todo|doing|review|done> --evidence <ref>`: Move on the board (you)
|
|
144
|
+
- `pmos item set <item> --due <date> --owner <who>`: Change date or owner (you)
|
|
145
|
+
- `pmos item withdraw <item>`: Withdraw (you)
|
|
146
|
+
- `pmos my-work show <item>`: Open the context card (you)
|
|
147
|
+
|
|
148
|
+
**Initiatives and programs.**
|
|
149
|
+
|
|
150
|
+
- `pmos task add <initiative> "<title>" --parent <task> [--due <date>] [--owner <who>]`: Add a task (you)
|
|
151
|
+
- `pmos initiative up|down <id>`: Move up / down (you)
|
|
152
|
+
- `pmos initiative top|bottom <id>`: Move to top / bottom (you)
|
|
153
|
+
- `pmos initiative after <id> <other>`: Rank after another (you)
|
|
154
|
+
- `pmos initiative check-by <id> <date>`: Set check date (you)
|
|
155
|
+
- `pmos initiative kind <id> product|project|sdlc`: Change kind (you)
|
|
156
|
+
- `pmos workflow switch <id> --to <workflow> --stage <stage> --why <text>`: Change workflow (you)
|
|
157
|
+
- `pmos workflow move <id> --stage <stage> --why <text>`: Move to stage (you)
|
|
158
|
+
- `pmos initiative describe <id>`: Write the description (agent)
|
|
159
|
+
- `pmos parked hold <id> --why <text>`: Park it, Change the reason (you)
|
|
160
|
+
- `pmos initiative export <id>`: Export the breakdown (you)
|
|
161
|
+
- `pmos initiative adopt <proposal>`: Keep (you)
|
|
162
|
+
- `pmos initiative drop <proposal>`: Drop (you)
|
|
163
|
+
- `pmos parked back <id>`: Bring back (you)
|
|
164
|
+
- `pmos program check <id> <milestone>`: Check a milestone (you)
|
|
165
|
+
- `pmos program milestone <id> move <m> --date <date>`: Move a milestone, Add a milestone, Rename a milestone, Drop a milestone (you)
|
|
166
|
+
- `pmos program join <id> <initiative>`: Add an initiative (you)
|
|
167
|
+
- `pmos program leave <id> <initiative>`: Take one out (you)
|
|
168
|
+
- `pmos program charter <id> --goal <text> --why <text>`: Set goal and why (you)
|
|
169
|
+
- `pmos program capacity <team> <n>`: Set team capacity (you)
|
|
170
|
+
- `pmos program decide --team <team> --first <initiative>`: Decide what goes first (you)
|
|
171
|
+
- `pmos program order <id> <id,id,…>`: Order its initiatives (you)
|
|
172
|
+
- `pmos program archive <id>`: Archive (you)
|
|
173
|
+
- `pmos program task <id> "<title>" --key <key>`: Add (you)
|
|
174
|
+
- `pmos program task-done <id> <key>`: Done (you)
|
|
175
|
+
- `pmos units show <unit>`: Open (you)
|
|
176
|
+
- `pmos launch check <initiative> --date <date>`: Check what is not ready (you)
|
|
177
|
+
- `pmos launch tier <initiative>`: Set the launch tier (you)
|
|
178
|
+
- `pmos ready check <initiative>`: Run the check (you)
|
|
179
|
+
|
|
180
|
+
**Strategy, goals and evidence.**
|
|
181
|
+
|
|
182
|
+
- `pmos strategy set --line <key> --text <text>`: Write it (you)
|
|
183
|
+
- `pmos strategy draft`: Let PMOS draft (agent)
|
|
184
|
+
- `pmos strategy undo --line <key>`: Undo PMOS’s draft (you)
|
|
185
|
+
- `pmos positioning keep --text <text> --cites <source>`: Keep (you)
|
|
186
|
+
- `pmos positioning drop <id>`: Drop (you)
|
|
187
|
+
- `pmos principles keep <id>`: Keep (you)
|
|
188
|
+
- `pmos principles drop <id>`: Drop (you)
|
|
189
|
+
- `pmos principles undo <id>`: Undo (you)
|
|
190
|
+
- `pmos principles add --text <text>`: Add one (you)
|
|
191
|
+
- `pmos artefacts set <scope> <artefact> --text <text>`: Write it (you)
|
|
192
|
+
- `pmos artefacts undo <a-id>`: Undo (you)
|
|
193
|
+
- `pmos proactive goals add <text> --initiative <id>`: Add, Done, Drop, Reopen (you)
|
|
194
|
+
- `pmos measure add <anchor> <value> --source <source>`: Add a reading (you)
|
|
195
|
+
- `pmos outcomes declare <id> --metric <text>`: Declare the metric (you)
|
|
196
|
+
- `pmos outcomes test <id> --test <text>`: Set the smallest test (you)
|
|
197
|
+
- `pmos outcomes record <id> worked|didnt-work|cant-tell --evidence <text>`: Record the result (you)
|
|
198
|
+
- `pmos decisions add`: Record a decision (you)
|
|
199
|
+
- `pmos decisions check <id> worked|didnt-work|cant-tell --evidence <text>`: Check it (you)
|
|
200
|
+
- `pmos decisions undo <id>`: Take it out (you)
|
|
201
|
+
- `pmos glossary set <term> <meaning>`: Set meaning (you)
|
|
202
|
+
- `pmos glossary remove <term>`: Remove (you)
|
|
203
|
+
- `pmos signal add <initiative> --who <who>`: Add (you)
|
|
204
|
+
- `pmos signal remove <sid>`: Remove (you)
|
|
205
|
+
- `pmos forecast baseline`: Set baseline (you)
|
|
206
|
+
- `pmos forecast baseline-off`: Clear baseline (you)
|
|
207
|
+
|
|
208
|
+
**People and conversations.**
|
|
209
|
+
|
|
210
|
+
- `pmos people record --file <sightings.json>`: Record who a session met (agent)
|
|
211
|
+
- `pmos mention draft <id> --text <text>`: Draft a reply (agent)
|
|
212
|
+
- `pmos mention answered <id> --who <who>`: Mark answered (you)
|
|
213
|
+
- `pmos mention watch <id> --what <text>`: Watch for (you)
|
|
214
|
+
- `pmos mention stands <id> --settled`: Settled (you)
|
|
215
|
+
- `pmos signoff ask <initiative> --who <who>`: Ask (waits)
|
|
216
|
+
- `pmos signoff answer <id> --answer <text>`: Record the answer (you)
|
|
217
|
+
- `pmos signoff drop <id> --why <text>`: Drop (you)
|
|
218
|
+
- `pmos jira answer <initiative> <ticket> <n> --text <text>`: Answer a ticket question (you)
|
|
219
|
+
|
|
220
|
+
**What PMOS proposes and does.**
|
|
221
|
+
|
|
222
|
+
- `pmos driver keep <proposal>`: Keep (you)
|
|
223
|
+
- `pmos driver return <proposal> --note <text>`: Send back with a note (you)
|
|
224
|
+
- `pmos driver drop <proposal> --note <text>`: Drop (you)
|
|
225
|
+
- `pmos driver undo <proposal>`: Undo (you)
|
|
226
|
+
- `pmos driver pause initiative <id>`: Pause PMOS on this (you)
|
|
227
|
+
- `pmos proactive feedback <id> useful`: Useful, Not useful, Wrong priority, Dismiss (you)
|
|
228
|
+
- `pmos rules edit <n> --text <text>`: Edit (you)
|
|
229
|
+
- `pmos rules retire <n>`: Retire (you)
|
|
230
|
+
- `pmos rules restore <n>`: Bring back (you)
|
|
231
|
+
- `pmos autonomy restore <job>`: Undo the job (you)
|
|
232
|
+
- `pmos autonomy check <ref> --verdict PASS|FAIL --why <text>`: Check it (you)
|
|
233
|
+
- `pmos ai off <job>`: Turn off (you)
|
|
234
|
+
- `pmos ai on <job>`: Turn on (you)
|
|
235
|
+
- `pmos team pause|resume <role>`: Pause / resume (you)
|
|
236
|
+
- `pmos team dispatch <initiative> --roles <roles>`: Dispatch on an initiative (agent)
|
|
237
|
+
- `pmos scan match <finding> <initiative> --scan <id>`: Match to an initiative (you)
|
|
238
|
+
- `pmos critic label <run> <n> real`: Real, Noise (you)
|
|
239
|
+
|
|
240
|
+
**Tracker, documents and sources.**
|
|
241
|
+
|
|
242
|
+
- `pmos task set <id> --due <date> [--start <date>] [--owner <who>] [--notes <text>] [--milestone] [--pin] [--no-milestone]`: Take Jira’s value (you)
|
|
243
|
+
- `pmos jira pin <initiative>`: Keep live (you)
|
|
244
|
+
- `pmos jira approve <initiative> <ID>`: Approve to push (waits)
|
|
245
|
+
- `pmos jira criteria-propose <initiative>`: Draft done-criteria (agent)
|
|
246
|
+
- `pmos jira epic <initiative> new|<KEY>`: Use an epic (waits)
|
|
247
|
+
- `pmos docs link <file> <link>`: Link a copy (you)
|
|
248
|
+
- `pmos docs unlink <file> <kind>`: Unlink (you)
|
|
249
|
+
- `pmos docs sync-start <file> <kind> --use pmos|copy`: Sync (waits)
|
|
250
|
+
- `pmos refresh since <source>`: Read now if changed (you)
|
|
251
|
+
- `pmos calendar import`: Import calendar (you)
|
|
252
|
+
|
|
253
|
+
**Reports, routines and rehearsals.**
|
|
254
|
+
|
|
255
|
+
- `pmos rehearse move <id> --due <date> [--by <days>]`: Move a task (you)
|
|
256
|
+
- `pmos report draft <cadence> <slot>`: Draft (agent)
|
|
257
|
+
- `pmos report check <id>`: Check (you)
|
|
258
|
+
- `pmos report rule <id> add voice|wording|off|keep`: Add a rule (you)
|
|
259
|
+
- `pmos report issue <cadence> <slot>`: Send (waits)
|
|
260
|
+
- `pmos schedule run <id>`: Run now (you)
|
|
261
|
+
- `pmos schedule disable|enable <id>`: Pause / resume (you)
|
|
262
|
+
- `pmos schedule edit <id>`: Edit (you)
|
|
263
|
+
- `pmos schedule rm <id>`: Remove (you)
|
|
264
|
+
- `pmos rehearse end <initiative> --to <date>`: Move the end (you)
|
|
265
|
+
- `pmos rehearse cut <task|initiative>`: Cut it (you)
|
|
266
|
+
- `pmos press-release <initiative> --again`: Draft again (agent)
|
|
267
|
+
- `pmos skill copy <name>`: Copy to edit (you)
|
|
268
|
+
- `pmos skill edit <name> --file <f>`: Edit (you)
|
|
269
|
+
|
|
270
|
+
**Factory (Full ADLC).**
|
|
271
|
+
|
|
272
|
+
- `pmos workflow switch <id> --to <workflow> --stage <stage> --why <text>`: Use for an initiative (you)
|
|
273
|
+
- `pmos build rollout <item> --to <percent>`: Roll out (waits)
|
|
274
|
+
- `pmos build rollback <item>`: Roll back (waits)
|
|
275
|
+
- `pmos build review <item>`: Review (agent)
|
|
276
|
+
- `pmos loop stop <id> --note <text>`: Stop (you)
|
|
277
|
+
- `pmos loop resume <id>`: Resume (you)
|
|
278
|
+
- `pmos lab delete <ini> --version <n>`: Delete version (you)
|
|
279
|
+
- `pmos lab undo <batch>`: Undo (you)
|
|
280
|
+
- `pmos grill mode full|exits|off`: Change mode (you)
|
|
281
|
+
- `pmos grill cap <dollars>`: Set the cap (you)
|
|
282
|
+
|
|
283
|
+
<!-- card-catalog:end -->
|
|
284
|
+
|
|
125
285
|
## Decomposing an initiative into tickets (file mode has no board)
|
|
126
286
|
|
|
127
287
|
When an initiative is bigger than one run, break it into **tickets** — the plain-file equivalent of the hosted product's SDLC board. One file per ticket in `pmos/state/tickets/NNN-slug.md`, numbered in **dependency order**, from [templates/ticket-template.md](templates/ticket-template.md):
|
package/payload/KIT-VERSION
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "PMOS design system: Badge"
|
|
4
|
-
description: "Small labels: `pm-badge` (state), `pm-count` (a number on the rail), `pm-chip` (a name or tag), `pm-kbd` (a key)."
|
|
4
|
+
description: "Small labels: `pm-badge` (a fact; a state is a Glyph), `pm-count` (a number on the rail), `pm-chip` (a name or tag), `pm-kbd` (a key)."
|
|
5
5
|
timestamp: 2026-11-19
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
Small labels: `pm-badge` (state), `pm-count` (a number on the rail), `pm-chip` (a name or tag), `pm-kbd` (a key).
|
|
8
|
+
Small labels: `pm-badge` (a fact such as "Due 29 Oct"; a state is a [Glyph](../Glyph/README.md)), `pm-count` (a number on the rail), `pm-chip` (a name or tag), `pm-kbd` (a key).
|
|
9
9
|
|
|
10
10
|
- `alert` badge only for late, at risk or blocked. On track gets no badge (zero is silence).
|
|
11
11
|
- Never show a count of 0.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: "PMOS design system: Glyph"
|
|
4
|
+
description: "A state is a shape, not a word: `pm-glyph` from `stateGlyph(state, { progress, size, why })` in pm/state-glyph.js."
|
|
5
|
+
timestamp: 2026-11-24
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
A state is a shape, not a word. Every state on every page comes from `stateGlyph(state, { progress, size, why })` in `pm/state-glyph.js`. It gives a `pm-glyph` span with `role="img"`, an `aria-label` and a `title`.
|
|
9
|
+
|
|
10
|
+
| State | Shape | Token |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| On track | a ring that fills with progress | `--state-on` |
|
|
13
|
+
| At risk | a half-filled circle | `--state-risk` |
|
|
14
|
+
| Late | a triangle with ! | `--state-late` |
|
|
15
|
+
| Needs you | a blue dot on a tint | `--state-you` |
|
|
16
|
+
| Waiting on others | a clock | `--state-wait` |
|
|
17
|
+
| No signal | a dashed ring | `--state-none` |
|
|
18
|
+
| Done | a filled check | `--state-done` |
|
|
19
|
+
|
|
20
|
+
- The seven `--state-*` tokens are set once in `components/bundle.css` from `--leaf`, `--alert`, `--blue` and `--muted`. The glyph names only these tokens. Change one token and every glyph changes. The glyph's own rules (its pulse and the phone sheet) sit in `public/pm/ds-bridge.css`, which every page loads, so the design system sent to a prototype run stays under its 32k cap.
|
|
21
|
+
- Put the glyph before the title on Work, Goals and phone rows, at the end of the row in Library, and at the end of the bar in Timeline.
|
|
22
|
+
- Facts stay as text: "29 days late", "Commerce has it", "last update 2 Nov". Only the state word goes.
|
|
23
|
+
|
|
24
|
+
## Interaction
|
|
25
|
+
|
|
26
|
+
- Hover shows the word and why as a tooltip. A screen reader reads the same words from the `aria-label`.
|
|
27
|
+
- On a phone, press and hold a glyph to open a small sheet with the word and one line of why (`pressHold(root)`). A quick tap opens the row as before.
|
|
28
|
+
- Only Needs you moves: one soft pulse when it first shows. With `prefers-reduced-motion` there is no pulse.
|
|
@@ -208,3 +208,6 @@ a{color:var(--blue)}
|
|
|
208
208
|
.pm-table tr.sel td{background:var(--leaf-tint)}
|
|
209
209
|
.pm-li.gone{opacity:0;transform:translateX(12px);transition:opacity var(--duration-enter) var(--ease-out),transform var(--duration-enter) var(--ease-out)}
|
|
210
210
|
@media (prefers-reduced-motion:reduce){.pm-chart path.line,.pm-li.gone,.pm-tip{transition:none}}
|
|
211
|
+
/* State glyph (initiative state-glyphs, boards StatesDS and StatesPhone): a state is a shape, not a word. The seven state tokens are set
|
|
212
|
+
here, once, from the brand colours; the glyph (pm/state-glyph.js) names only these, so a change to one reaches every glyph. */
|
|
213
|
+
:root{--state-on:var(--leaf);--state-risk:var(--alert);--state-late:var(--alert);--state-you:var(--blue);--state-wait:var(--muted);--state-none:var(--muted);--state-done:var(--leaf)}
|
|
@@ -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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-24T17:13:01Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-24T17:13:01Z"}
|
|
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-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-11-24T17:13:01Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
/* card-catalog-gen.js — write the card catalog's command text into kit/AGENTS.md, the chat rules and the / menu (lib/card-catalog-gen.js).
|
|
4
|
+
* node workspace/bin/card-catalog-gen.js write every block; prints the files it changed
|
|
5
|
+
* node workspace/bin/card-catalog-gen.js --check write nothing; exit 1 and name each file whose block differs */
|
|
6
|
+
const fs = require('fs');
|
|
7
|
+
const path = require('path');
|
|
8
|
+
const G = require('../lib/card-catalog-gen');
|
|
9
|
+
|
|
10
|
+
const root = path.resolve(__dirname, '..', '..');
|
|
11
|
+
const check = process.argv.includes('--check');
|
|
12
|
+
let off = 0;
|
|
13
|
+
for (const t of G.targets(root)) {
|
|
14
|
+
const src = fs.readFileSync(t.file, 'utf8'), next = G.apply(src, t);
|
|
15
|
+
if (next === src) continue;
|
|
16
|
+
off++;
|
|
17
|
+
const rel = path.relative(root, t.file);
|
|
18
|
+
if (check) console.log('✗ ' + rel + ' differs from the card catalog');
|
|
19
|
+
else { fs.writeFileSync(t.file, next); console.log('wrote ' + rel); }
|
|
20
|
+
}
|
|
21
|
+
if (!off) console.log('✓ every card-catalog block matches lib/card-catalog.json');
|
|
22
|
+
process.exit(check && off ? 1 : 0);
|
|
@@ -85,7 +85,7 @@ const ITEMS = [
|
|
|
85
85
|
const st = r.querySelector('.tg-cst'), ms = r.querySelector('.tg-cms');
|
|
86
86
|
return {
|
|
87
87
|
cells: [...r.querySelectorAll('.tg-n .tg-c')].map((c) => c.innerText.replace(/\s+/g, ' ').trim()),
|
|
88
|
-
status: st ? st.className : '', stDot: st ? (st.querySelector('.
|
|
88
|
+
status: st ? st.className : '', stDot: st ? ((st.querySelector('.pm-glyph') || {}).dataset || {}).state || '' : '', stWhy: st && st.querySelector('.pm-glyph') ? st.querySelector('.pm-glyph').getAttribute('aria-label') : '', nameDot: !!r.querySelector('.tg-c0 .cz-dot, .tg-c0 .pm-glyph'),
|
|
89
89
|
ms: ms ? ms.className : '', labels: [...r.querySelectorAll('.tg-endl')].map((x) => x.textContent.replace(/\s+/g, ' ').trim()), end: !!r.querySelector('.tg-end'),
|
|
90
90
|
bar: (() => { const b = r.querySelector('.tg-bar'); return b ? { h: b.getBoundingClientRect().height, rad: parseFloat(getComputedStyle(b).borderTopLeftRadius) } : null; })(),
|
|
91
91
|
nw: r.querySelectorAll('.tg-bar > i.nw').length, late: (() => { const l = r.querySelector('.tg-late'); return l ? parseFloat(l.style.left) + parseFloat(l.style.width) : null; })(),
|
|
@@ -101,7 +101,7 @@ const ITEMS = [
|
|
|
101
101
|
ok('C the default columns: Initiative, Stage, Status, Start, Next milestone', (await heads(p)).join() === 'Initiative,Stage,Status,Start,Next milestone', JSON.stringify(await heads(p)));
|
|
102
102
|
const dp = await rowOf(p, 'board:descope-parity'), lb = await rowOf(p, 'board:lightbox'), mg = await rowOf(p, 'board:magw'), otp = await rowOf(p, 'board:email-otp'), mig = await rowOf(p, 'board:migration'), il = await rowOf(p, 'board:eshop-inline-login');
|
|
103
103
|
ok('C on track the Status cell is empty; Stage and Start say the stage and the start', dp && dp.cells[0] === 'Discover' && dp.cells[1] === '' && dp.cells[2] === 'Oct 5', JSON.stringify(dp));
|
|
104
|
-
ok('C off track a
|
|
104
|
+
ok('C off track a state shape, not a word (state-glyphs): Late a triangle, At risk a half circle, On hold a clock; the word is its label; no mark before the name', lb && lb.stDot === 'late' && /^Late/.test(lb.stWhy) && lb.cells[1] === '' && mg && mg.stDot === 'risk' && /^At risk/.test(mg.stWhy) && mg.cells[1] === '' && otp && otp.stDot === 'wait' && otp.cells[1] === '' && ![dp, lb, mg, otp].some((x) => x.nameDot), JSON.stringify([lb, mg, otp]));
|
|
105
105
|
ok('M Next milestone: the name and its date; the year only when it is not this year', mig && mig.cells[3] === 'Iteration 1 live Jan 20 ’27' && dp.cells[3] === 'Deliver Nov 12', JSON.stringify([mig, dp]));
|
|
106
106
|
ok('M a missed milestone is orange with +Nd', lb && /late/.test(lb.ms) && lb.cells[3] === 'Lightbox UI live Oct 12 +5d', JSON.stringify(lb));
|
|
107
107
|
ok('M with Next milestone shown the bar end has no label, and keeps its ◇', [dp, lb, mg, mig].every((x) => x.labels.length === 0 && x.end), JSON.stringify([dp, lb].map((x) => x.labels)));
|
|
@@ -150,7 +150,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
150
150
|
ok('G1 a goal row has its type, direction and start, value of target with the today mark, the so-far line with its pace, and the pace said by its date', g.title === 'Partner activation' && g.type === 'Percentage' && g.sub === 'up is better · from 20% on Jul 1' && g.val === '28%' && g.of === 'of 50%' && g.today && g.spark && /^≈34% by Dec 31/.test(g.pace) && /16 pts short at this pace/.test(g.pace), JSON.stringify(g));
|
|
151
151
|
ok('G1 what moves it is on the lifecycle track with its milestones, and its pill is a delivery fact (ships soon, days over)', g.moves.join() === 'SSO for partners:8:5:2:Ships in 5 days,Self-serve onboarding v2:8:4:2:8 days over', JSON.stringify(g.moves));
|
|
152
152
|
const pills = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, (m.querySelector('.pm-badge') || {}).textContent || ''])));
|
|
153
|
-
|
|
153
|
+
const shapes = await p.evaluate(() => Object.fromEntries([...document.querySelectorAll('#goalTbl .ins-ini')].map((m) => [m.querySelector('.n').textContent, ((m.querySelector('.pm-glyph') || {}).dataset || {}).state || '']))); // a state word is a shape (state-glyphs); a fact stays text
|
|
154
|
+
ok('G1 an initiative with no owner says No owner; one that has shipped is not "days over" and never "in -N days"', pills['First call kit'] === 'No owner' && pills['Audit log export'] === '' && shapes['Audit log export'] === 'on' && !Object.values(pills).some((x) => /-\d/.test(x)), JSON.stringify({ pills, shapes }));
|
|
154
155
|
const leg = await p.evaluate(() => document.querySelector('#goalTbl .ins-th .ins-mvh').textContent.replace(/\s+/g, ' '));
|
|
155
156
|
ok('G1 the Moved by header carries the legend: skipped and milestone', /Skipped/.test(leg) && /Milestone/.test(leg), leg);
|
|
156
157
|
const nps = await p.evaluate(() => document.querySelector('#goalTbl [data-goal="krm-nps"]').textContent);
|
|
@@ -166,7 +167,7 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
166
167
|
const b = await p.evaluate(() => [...document.querySelectorAll('#goalTbl [data-budget]')].map((r) => ({ id: r.dataset.budget, type: r.querySelector('.ins-type').textContent, sub: r.querySelector('.ins-sub').textContent, val: r.querySelector('.val').textContent.replace(/\s+/g, ' ').trim(), pace: r.querySelector('.pace').textContent, cap: !!r.querySelector('.ins-bar1 .today'), moves: [...r.querySelectorAll('.ins-ini .n')].map((x) => x.textContent).join() })));
|
|
167
168
|
ok('G1 a health budget is a Stay within row, always on, with its cap, its share of the open initiatives and what moves it', b.length === 2 && b[0].id === 'docs' && b[0].type === 'Stay within' && b[0].sub === 'always on · cap 20% of a quarter' && b[0].val === '1 of 6 open initiatives' && /^Within its 20% cap/.test(b[0].pace) && /17% of open initiatives/.test(b[0].pace) && b[0].cap && b[0].moves === 'Docs search' && b[1].id === 'ops' && b[1].val === '0 of 6 open initiatives', JSON.stringify(b));
|
|
168
169
|
const R = await open({ model: mk({ budgets: [{ id: 'docs', covers: 'docs', cap: 0.1 }] }) });
|
|
169
|
-
ok('G1 a budget over its cap says so, with the
|
|
170
|
+
ok('G1 a budget over its cap says so, with the Late shape of a broken limit (state-glyphs: only Needs you moves)', /^Over its 10% cap/.test(await txt('#goalTbl [data-budget="docs"] .pace', R.page)) && (await R.page.evaluate(() => { const g = document.querySelector('#goalTbl [data-budget="docs"] .pm-glyph'); return g ? g.dataset.state + ':' + g.getAttribute('aria-label') : ''; })) === 'late:Late: Over its limit');
|
|
170
171
|
await R.ctx.close();
|
|
171
172
|
await p.click('#goalTbl [data-budget="docs"] .nm');
|
|
172
173
|
const v = await until(() => vw(p));
|
|
@@ -530,8 +531,8 @@ const BMR = { ok: true, state: 'ready', model: { tiles: [
|
|
|
530
531
|
const m = await q.evaluate(() => { const vis = (b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0; /* re-pointed (insights fix, AgInsPhone): a control keeps the design's size and its 44 px hit area is its ::after */
|
|
531
532
|
const hit = (b) => Math.max(b.getBoundingClientRect().height, parseFloat(getComputedStyle(b, '::after').height) || 0);
|
|
532
533
|
const small = [...document.querySelectorAll('#insBar button, #askWhy, #goalCards .ins-card, #czFab')].filter((b) => vis(b) && hit(b) < 44).map((b) => (b.id || b.className) + ':' + Math.round(hit(b)));
|
|
533
|
-
return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + ((c.querySelector('.ins-ch .pm-
|
|
534
|
-
ok(`I11 at 390 px (${theme}) the goals are cards with their status, the table is hidden, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'none' && m.cards === 'krm-act:Behind,krm-up:Ahead,krm-ttfc:Behind,krm-nps:Behind', JSON.stringify(m)); // re-pointed (U3): krm-churn has no reading, so it is in the waiting list, not a card
|
|
534
|
+
return { over: document.documentElement.scrollWidth > innerWidth + 1, small, table: getComputedStyle(document.querySelector('#goalTbl')).display, cards: [...document.querySelectorAll('#goalCards .ins-card')].map((c) => c.dataset.goal + ':' + (((g) => g ? g.dataset.state + ' ' + (g.dataset.why || '') : '')(c.querySelector('.ins-ch .pm-glyph')))).join() }; }); // the status is the state shape, its word the why (state-glyphs)
|
|
535
|
+
ok(`I11 at 390 px (${theme}) the goals are cards with their status, the table is hidden, there is no sideways scroll and every control is 44 px`, !m.over && m.small.length === 0 && m.table === 'none' && m.cards === 'krm-act:late Behind,krm-up:on Ahead,krm-ttfc:late Behind,krm-nps:late Behind', JSON.stringify(m)); // re-pointed (U3): krm-churn has no reading, so it is in the waiting list, not a card
|
|
535
536
|
await R.ctx.close();
|
|
536
537
|
}
|
|
537
538
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* K the mark set: no dotted hold, ⏸, hatched band, blue ◆ or amber tint; a hold is the gap's hairline and opens the hold card
|
|
8
8
|
* P only the pinned milestones show (by default the last); Filter's All shows every one, None none; a ◇ press lists the milestones
|
|
9
9
|
* G group rows draw nothing while open; folded, the roll-up line, the counted ◇s, the end date and the off-track dots
|
|
10
|
-
* Q a
|
|
10
|
+
* Q a state glyph only off track (state-glyphs: at the end of the bar); no "Running"; no goal dots on an open product head
|
|
11
11
|
* N names wrap to two lines and are never cut · B one tint, quarter lines only · M the phone keeps the labels and the quiet dots
|
|
12
12
|
* SHOTS_4=<dir>: the timeline at 1440 and 390, light and dark, folded, into <dir>. */
|
|
13
13
|
const path = require('path');
|
|
@@ -115,13 +115,14 @@ const ITEMS = [
|
|
|
115
115
|
ok('P pressing a ◇ opens the pin card with every milestone of the initiative', list.length === 4 && /Iteration 1 live/.test(list[0]), JSON.stringify(list));
|
|
116
116
|
await p.keyboard.press('Escape');
|
|
117
117
|
const q = await p.evaluate(() => ({
|
|
118
|
-
|
|
118
|
+
// the row's state glyph sits at the end of its bar now (state-glyphs): its state, '' when on track
|
|
119
|
+
dots: [...document.querySelectorAll('#ibBody .tg-n.ini2')].map((b) => { const r = b.closest('[data-row]'); return r.dataset.row + ':' + ((r.querySelector('.tg-p .pm-glyph') || { dataset: {} }).dataset.state || ''); }),
|
|
119
120
|
small: [...document.querySelectorAll('#ibBody .tg-pgo small')].length, goal: document.querySelectorAll('#ibBody .tg-lane .bd-gd').length,
|
|
120
121
|
progTrack: [...document.querySelectorAll('#ibBody .tg-pg > .tg-p')].map((x) => x.querySelectorAll('.tg-span, .tg-pdm, .tg-clu, .tg-tm, .tg-tmc, .tg-endl, .tg-pdl').length),
|
|
121
122
|
laneTrack: [...document.querySelectorAll('#ibBody .tg-lane > .tg-p')].map((x) => x.querySelectorAll('.tg-span, .tg-tm, .tg-tmc, .tg-endl').length),
|
|
122
123
|
}));
|
|
123
124
|
const dotOf = (k) => (q.dots.find((x) => x.startsWith('board:' + k + ':')) || '').split(':').slice(2).join(':');
|
|
124
|
-
ok('Q a
|
|
125
|
+
ok('Q a state glyph only off track: none on track, Late, At risk, Waiting (on hold), at the end of the bar', dotOf('descope-parity') === '' && dotOf('migration') === '' && dotOf('lightbox') === 'late' && dotOf('magw') === 'risk' && dotOf('email-otp') === 'wait', JSON.stringify(q.dots));
|
|
125
126
|
ok('Q no "Running" or product count under a program, no goal dots on an open product head', q.small === 0 && q.goal === 0, JSON.stringify(q));
|
|
126
127
|
ok('G an open program or product draws nothing on its track', q.progTrack.length > 0 && q.progTrack.every((n) => n === 0) && q.laneTrack.every((n) => n === 0), JSON.stringify(q));
|
|
127
128
|
const nm = await p.evaluate(() => [...document.querySelectorAll('#ibBody .tg-n.ini2 b, #ibBody .tg-pgo .tt b')].map((b) => ({ t: b.textContent, cut: b.scrollHeight > b.clientHeight + 1, lines: Math.round(b.clientHeight / parseFloat(getComputedStyle(b).lineHeight)), w: b.closest('.tg-n') ? b.closest('.tg-n').getBoundingClientRect().width : 0 })));
|