create-pmos 0.399.0 → 0.400.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 +18 -13
- package/payload/KIT-VERSION +1 -1
- 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/briefing-premium-adddoc-test.js +2 -2
- package/workspace/briefing-premium-board-test.js +2 -2
- package/workspace/briefing-premium-doc-edit-test.js +2 -8
- package/workspace/briefing-premium-test.js +3 -2
- package/workspace/briefing-premium-work-test.js +9 -4
- package/workspace/c3-capture-test.js +0 -17
- package/workspace/changelog.json +17 -0
- package/workspace/guide/briefing-premium.md +2 -2
- package/workspace/guide/home.md +20 -2
- package/workspace/guide/layout.md +2 -2
- package/workspace/guide/notes.md +2 -2
- package/workspace/guide/phone-companion.md +1 -1
- package/workspace/lib/route-modules.js +1 -9
- package/workspace/lib/routes-phone-day.js +18 -9
- package/workspace/lib/routes-slash.js +95 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -2
- package/workspace/premium-chat-goal-view-test.js +1 -1
- package/workspace/premium-chat-term-test.js +0 -10
- package/workspace/premium-menu-rows-test.js +1 -1
- package/workspace/premium-phone-card-test.js +2 -2
- package/workspace/premium-vw-doc-test.js +1 -8
- package/workspace/premium-work-depth-test.js +2 -3
- package/workspace/public/capture.html +23 -0
- package/workspace/public/pm/c3-base.js +47 -0
- package/workspace/public/pm/c3-capture.js +1 -1
- package/workspace/public/pm/c3-ini-ui.js +1 -1
- package/workspace/public/pm/c3-sheet.js +1 -1
- package/workspace/public/pm/c3-toast.js +1 -1
- package/workspace/public/pm/console3.css +3 -0
- package/workspace/public/pm/cozy-home.css +20 -5
- package/workspace/public/pm/cozy-today.css +5 -2
- package/workspace/public/pm/cozy-viewer.js +4 -2
- package/workspace/public/pm/cozy.css +9 -0
- package/workspace/public/pm/goal-chat.js +5 -1
- package/workspace/public/pm/home-app.js +47 -26
- package/workspace/public/pm/home-chat.js +10 -4
- package/workspace/public/pm/home-data.js +3 -1
- package/workspace/public/pm/home-dictate.js +7 -4
- package/workspace/public/pm/home-ini.js +12 -2
- package/workspace/public/pm/home-list.js +20 -7
- package/workspace/public/pm/home-more.js +2 -2
- package/workspace/public/pm/home-phone-card.js +9 -4
- package/workspace/public/pm/home-review.js +2 -3
- package/workspace/public/pm/home-today.js +10 -6
- package/workspace/public/pm/home-work.js +15 -8
- package/workspace/public/pm/note-dock.js +1 -2
- package/workspace/public/pm/notes-links.js +1 -2
- package/workspace/public/pm/notes-task.js +3 -4
- package/workspace/public/pm/premium-board.js +1 -1
- package/workspace/public/pm/premium-initiative-head.js +3 -3
- package/workspace/public/pm/premium-vw-doc.css +20 -2
- package/workspace/public/pm/premium-vw-doc.js +22 -7
- package/workspace/public/pm/view-notes.js +2 -2
- package/workspace/replaced-tests.json +435 -0
- package/workspace/run-tests.js +323 -28
- package/workspace/server.js +15 -10
- package/workspace/test-files.json +3 -140
- package/workspace/test-lists/base.json +1 -2
- package/workspace/test-lists/c3-desktop-light-load.json +1 -2
- package/workspace/test-lists/c3-initiative-boards.json +1 -2
- package/workspace/test-lists/c3-meeting-focus.json +2 -12
- package/workspace/test-lists/c3-work-agent.json +1 -2
- package/workspace/test-lists/calendar-tidy-up.json +1 -2
- package/workspace/test-lists/console3-reports.json +1 -2
- package/workspace/test-lists/docs-three-way-sync.json +1 -2
- package/workspace/test-lists/extension-capture.json +5 -0
- package/workspace/test-lists/jira-wbs.json +1 -2
- package/workspace/test-lists/legacy-cleanup-a.json +9 -0
- package/workspace/test-lists/meeting-material.json +1 -2
- package/workspace/test-lists/meeting-notes.json +2 -36
- package/workspace/test-lists/meeting-replay.json +1 -2
- package/workspace/test-lists/mm-capture.json +2 -12
- package/workspace/test-lists/my-work.json +2 -10
- package/workspace/test-lists/onboarding-firstrun.json +2 -12
- package/workspace/test-lists/people-directory.json +1 -2
- package/workspace/test-lists/run2-a.json +1 -2
- package/workspace/test-lists/run2-d.json +2 -19
- package/workspace/test-lists/run3-b.json +1 -2
- package/workspace/test-lists/run3-c.json +2 -12
- package/workspace/test-lists/run4-b.json +1 -2
- package/workspace/test-lists/run4-d.json +1 -5
- package/workspace/test-lists/run5-c.json +1 -11
- package/workspace/test-lists/run6.json +1 -5
- package/workspace/test-lists/workspace-launch-flags.json +2 -12
- package/workspace/test-lists/workspace-profile-detection.json +2 -10
- package/workspace/test-timings.json +242 -123
- package/workspace/c3-briefing-test.js +0 -136
- package/workspace/c3-core-docs-test.js +0 -170
- package/workspace/c3-driver-fixture.js +0 -64
- package/workspace/c3-driver-test.js +0 -169
- package/workspace/c3-foundation-test.js +0 -163
- package/workspace/c3-ib-items-test.js +0 -114
- package/workspace/c3-ib-more-test.js +0 -146
- package/workspace/c3-ib-triage-backlog-test.js +0 -128
- package/workspace/c3-ini-harness.js +0 -66
- package/workspace/c3-ini-life-test.js +0 -167
- package/workspace/c3-initiatives-test.js +0 -186
- package/workspace/c3-light-load-test.js +0 -112
- package/workspace/c3-one-home-test.js +0 -149
- package/workspace/c3-phone-test.js +0 -289
- package/workspace/c3-quiet-test.js +0 -157
- package/workspace/c3-report-design-real-test.js +0 -264
- package/workspace/c3-report-design-test.js +0 -442
- package/workspace/c3-report-setup-test.js +0 -192
- package/workspace/c3-report-structure-real-test.js +0 -248
- package/workspace/c3-report-structure-test.js +0 -397
- package/workspace/c3-reports-test.js +0 -288
- package/workspace/c3-scan-test.js +0 -517
- package/workspace/c3-sessions-panel-test.js +0 -365
- package/workspace/c3-settings-test.js +0 -204
- package/workspace/c3-updates-test.js +0 -131
- package/workspace/c3-work-test.js +0 -260
- package/workspace/cut-stub.js +0 -40
- package/workspace/first-paint-audit.js +0 -160
- package/workspace/lib/c3-full-console.js +0 -15
- package/workspace/lib/engine/derived/trust.js +0 -3
- package/workspace/lib/engine/plan-forecast.js +0 -342
- package/workspace/lib/engine/report-families.js +0 -175
- package/workspace/lib/engine/truth-table.js +0 -57
- package/workspace/lib/routes-c3-init.js +0 -54
- package/workspace/lib/routes-c3-life.js +0 -120
- package/workspace/lib/routes-c3-timeline.js +0 -192
- package/workspace/lib/routes-forecast.js +0 -86
- package/workspace/lib/routes-releases.js +0 -130
- package/workspace/lib/routes-report-facts.js +0 -85
- package/workspace/lib/routes-report-families.js +0 -33
- package/workspace/lib/routes-signals.js +0 -51
- package/workspace/lib/routes-timeline.js +0 -197
- package/workspace/public/c3.html +0 -35
- package/workspace/public/index.html +0 -156
- package/workspace/public/pm/app.js +0 -831
- package/workspace/public/pm/bd-board.js +0 -159
- package/workspace/public/pm/bd-drag.js +0 -59
- package/workspace/public/pm/bd-model.js +0 -152
- package/workspace/public/pm/bd-timeline.js +0 -233
- package/workspace/public/pm/bd-tree.js +0 -244
- package/workspace/public/pm/board-copy.js +0 -59
- package/workspace/public/pm/board-read.js +0 -38
- package/workspace/public/pm/branches-sheet.js +0 -56
- package/workspace/public/pm/breakdown-api.js +0 -58
- package/workspace/public/pm/breakdown-copy.js +0 -138
- package/workspace/public/pm/briefing-deck.js +0 -441
- package/workspace/public/pm/briefing-model.js +0 -251
- package/workspace/public/pm/c3-ambient.js +0 -100
- package/workspace/public/pm/c3-audience-link.js +0 -21
- package/workspace/public/pm/c3-audience.js +0 -46
- package/workspace/public/pm/c3-boot.js +0 -13
- package/workspace/public/pm/c3-breakdown.js +0 -240
- package/workspace/public/pm/c3-brief-data.js +0 -11
- package/workspace/public/pm/c3-brief-mentions.js +0 -137
- package/workspace/public/pm/c3-brief-needs.js +0 -288
- package/workspace/public/pm/c3-brief-pulse.js +0 -112
- package/workspace/public/pm/c3-brief-summary.js +0 -139
- package/workspace/public/pm/c3-brief-today.js +0 -79
- package/workspace/public/pm/c3-brief.js +0 -279
- package/workspace/public/pm/c3-cal-strategy.js +0 -529
- package/workspace/public/pm/c3-calendar.js +0 -965
- package/workspace/public/pm/c3-calpop.js +0 -111
- package/workspace/public/pm/c3-case.js +0 -196
- package/workspace/public/pm/c3-core-docs.css +0 -18
- package/workspace/public/pm/c3-core-docs.js +0 -236
- package/workspace/public/pm/c3-daypart.js +0 -176
- package/workspace/public/pm/c3-demo-boards.js +0 -764
- package/workspace/public/pm/c3-demo-brief-ix.js +0 -350
- package/workspace/public/pm/c3-demo-brief-page.js +0 -70
- package/workspace/public/pm/c3-demo-cal-ix.js +0 -74
- package/workspace/public/pm/c3-demo-cal2.js +0 -66
- package/workspace/public/pm/c3-demo-cal3.js +0 -173
- package/workspace/public/pm/c3-demo-cal4.js +0 -169
- package/workspace/public/pm/c3-demo-cal5.js +0 -52
- package/workspace/public/pm/c3-demo-coredocs.js +0 -221
- package/workspace/public/pm/c3-demo-data.js +0 -552
- package/workspace/public/pm/c3-demo-focus.js +0 -181
- package/workspace/public/pm/c3-demo-init.js +0 -430
- package/workspace/public/pm/c3-demo-life.js +0 -77
- package/workspace/public/pm/c3-demo-material.js +0 -58
- package/workspace/public/pm/c3-demo-misc2.js +0 -34
- package/workspace/public/pm/c3-demo-phone.js +0 -48
- package/workspace/public/pm/c3-demo-plan2.js +0 -30
- package/workspace/public/pm/c3-demo-rd.js +0 -432
- package/workspace/public/pm/c3-demo-rep-ix.js +0 -126
- package/workspace/public/pm/c3-demo-rep2.js +0 -130
- package/workspace/public/pm/c3-demo-rep3.js +0 -138
- package/workspace/public/pm/c3-demo-rs.js +0 -287
- package/workspace/public/pm/c3-demo-term.js +0 -153
- package/workspace/public/pm/c3-demo-time.js +0 -49
- package/workspace/public/pm/c3-demo-work-ix.js +0 -32
- package/workspace/public/pm/c3-demo.js +0 -131
- package/workspace/public/pm/c3-design-studio.js +0 -369
- package/workspace/public/pm/c3-doc-formats.js +0 -153
- package/workspace/public/pm/c3-doc-sheet.js +0 -1230
- package/workspace/public/pm/c3-dock.js +0 -206
- package/workspace/public/pm/c3-docs.js +0 -291
- package/workspace/public/pm/c3-driver-work.js +0 -110
- package/workspace/public/pm/c3-driver.css +0 -18
- package/workspace/public/pm/c3-driver.js +0 -298
- package/workspace/public/pm/c3-focus.css +0 -304
- package/workspace/public/pm/c3-focus.js +0 -983
- package/workspace/public/pm/c3-ib-docs.js +0 -92
- package/workspace/public/pm/c3-ib-initiatives.js +0 -201
- package/workspace/public/pm/c3-ib-items.js +0 -210
- package/workspace/public/pm/c3-ib-releases.js +0 -48
- package/workspace/public/pm/c3-ib-sprints.js +0 -201
- package/workspace/public/pm/c3-ib-triage.js +0 -177
- package/workspace/public/pm/c3-ii-tabs.js +0 -252
- package/workspace/public/pm/c3-ini-life.css +0 -34
- package/workspace/public/pm/c3-ini-life.js +0 -379
- package/workspace/public/pm/c3-ini-records.js +0 -197
- package/workspace/public/pm/c3-ini-timeline.js +0 -278
- package/workspace/public/pm/c3-ini-work.js +0 -139
- package/workspace/public/pm/c3-init-extras.js +0 -170
- package/workspace/public/pm/c3-initiatives.js +0 -852
- package/workspace/public/pm/c3-lifecycle-panels.js +0 -479
- package/workspace/public/pm/c3-look.js +0 -27
- package/workspace/public/pm/c3-material.css +0 -22
- package/workspace/public/pm/c3-material.js +0 -321
- package/workspace/public/pm/c3-md.js +0 -3
- package/workspace/public/pm/c3-misc-panels.js +0 -89
- package/workspace/public/pm/c3-new-session.js +0 -110
- package/workspace/public/pm/c3-notes.js +0 -751
- package/workspace/public/pm/c3-phone-boot.js +0 -47
- package/workspace/public/pm/c3-phone-detail.js +0 -97
- package/workspace/public/pm/c3-phone-model.js +0 -3
- package/workspace/public/pm/c3-phone.css +0 -66
- package/workspace/public/pm/c3-phone.js +0 -444
- package/workspace/public/pm/c3-plan-panels.js +0 -163
- package/workspace/public/pm/c3-plan.js +0 -193
- package/workspace/public/pm/c3-quiet.css +0 -113
- package/workspace/public/pm/c3-quiet.js +0 -177
- package/workspace/public/pm/c3-replay.css +0 -133
- package/workspace/public/pm/c3-replay.js +0 -429
- package/workspace/public/pm/c3-report-deck.css +0 -163
- package/workspace/public/pm/c3-report-deck.js +0 -598
- package/workspace/public/pm/c3-report-frame.css +0 -20
- package/workspace/public/pm/c3-report-print.css +0 -20
- package/workspace/public/pm/c3-report-setup.css +0 -67
- package/workspace/public/pm/c3-report-setup.js +0 -298
- package/workspace/public/pm/c3-report-store.js +0 -244
- package/workspace/public/pm/c3-report-structure.css +0 -44
- package/workspace/public/pm/c3-report-structure.js +0 -473
- package/workspace/public/pm/c3-reports.css +0 -68
- package/workspace/public/pm/c3-reports.js +0 -377
- package/workspace/public/pm/c3-roadmap.js +0 -249
- package/workspace/public/pm/c3-scan-api.js +0 -167
- package/workspace/public/pm/c3-scan-next.js +0 -248
- package/workspace/public/pm/c3-scan-setup.js +0 -313
- package/workspace/public/pm/c3-scan-words.js +0 -41
- package/workspace/public/pm/c3-scan.css +0 -74
- package/workspace/public/pm/c3-scan.js +0 -93
- package/workspace/public/pm/c3-session-chat.js +0 -103
- package/workspace/public/pm/c3-session-conv.js +0 -165
- package/workspace/public/pm/c3-session-term.js +0 -216
- package/workspace/public/pm/c3-settings.css +0 -85
- package/workspace/public/pm/c3-settings.js +0 -1045
- package/workspace/public/pm/c3-shell.js +0 -628
- package/workspace/public/pm/c3-signals.js +0 -196
- package/workspace/public/pm/c3-strategy-panels.js +0 -45
- package/workspace/public/pm/c3-swipe.js +0 -230
- package/workspace/public/pm/c3-terminal-data.js +0 -48
- package/workspace/public/pm/c3-terminal-edge.js +0 -91
- package/workspace/public/pm/c3-terminal-icons.js +0 -40
- package/workspace/public/pm/c3-terminal-results.js +0 -141
- package/workspace/public/pm/c3-terminal.js +0 -52
- package/workspace/public/pm/c3-tickets.js +0 -163
- package/workspace/public/pm/c3-timeline.js +0 -201
- package/workspace/public/pm/calendar-views.js +0 -1049
- package/workspace/public/pm/console3-lift.md +0 -220
- package/workspace/public/pm/cozy-home.js +0 -172
- package/workspace/public/pm/cozy-initiative.css +0 -138
- package/workspace/public/pm/cycle-review.js +0 -125
- package/workspace/public/pm/data.js +0 -1577
- package/workspace/public/pm/dest-board.js +0 -444
- package/workspace/public/pm/dest-docs.js +0 -530
- package/workspace/public/pm/dest-initiatives.js +0 -162
- package/workspace/public/pm/dest-mywork.js +0 -307
- package/workspace/public/pm/dest-notes.js +0 -537
- package/workspace/public/pm/dest-people.js +0 -449
- package/workspace/public/pm/dest-reports.js +0 -383
- package/workspace/public/pm/dest-settings.js +0 -601
- package/workspace/public/pm/dest-today.js +0 -267
- package/workspace/public/pm/display-word.js +0 -56
- package/workspace/public/pm/doc-editor.js +0 -473
- package/workspace/public/pm/doc-graph.js +0 -272
- package/workspace/public/pm/doc-health-panel.js +0 -110
- package/workspace/public/pm/doc-rail.js +0 -167
- package/workspace/public/pm/doc-remote.js +0 -180
- package/workspace/public/pm/dock-sessions.js +0 -472
- package/workspace/public/pm/dock.js +0 -216
- package/workspace/public/pm/fixture.js +0 -821
- package/workspace/public/pm/flag-picker.js +0 -104
- package/workspace/public/pm/frame-copy.js +0 -278
- package/workspace/public/pm/freshness-line.js +0 -149
- package/workspace/public/pm/handoff-box.js +0 -82
- package/workspace/public/pm/initiative-list.js +0 -235
- package/workspace/public/pm/initiative-sheet.js +0 -331
- package/workspace/public/pm/initiatives-api.js +0 -95
- package/workspace/public/pm/initiatives-copy.js +0 -287
- package/workspace/public/pm/initiatives-timeline-copy.js +0 -59
- package/workspace/public/pm/initiatives-timeline.js +0 -410
- package/workspace/public/pm/initiatives-ui.js +0 -291
- package/workspace/public/pm/item-sheet.js +0 -268
- package/workspace/public/pm/keep-card.js +0 -204
- package/workspace/public/pm/lifecycle-lens-model.js +0 -246
- package/workspace/public/pm/lifecycle-lens.js +0 -276
- package/workspace/public/pm/lifecycle.js +0 -111
- package/workspace/public/pm/mobile.css +0 -366
- package/workspace/public/pm/mobile.js +0 -581
- package/workspace/public/pm/modes-live.js +0 -453
- package/workspace/public/pm/modes.js +0 -147
- package/workspace/public/pm/my-work-card.js +0 -51
- package/workspace/public/pm/my-work-data.js +0 -36
- package/workspace/public/pm/new-initiative-sheet.js +0 -169
- package/workspace/public/pm/next-step-ui.js +0 -190
- package/workspace/public/pm/outbox-panel.js +0 -125
- package/workspace/public/pm/palette-copy.js +0 -55
- package/workspace/public/pm/palette.js +0 -343
- package/workspace/public/pm/panel-breakdown.js +0 -702
- package/workspace/public/pm/panel-cockpit.js +0 -425
- package/workspace/public/pm/panel-detail.js +0 -1513
- package/workspace/public/pm/panel-initiatives.js +0 -929
- package/workspace/public/pm/panel-newsess.js +0 -709
- package/workspace/public/pm/panel-repos.js +0 -741
- package/workspace/public/pm/panel-tabs.js +0 -1506
- package/workspace/public/pm/panel-trees.js +0 -204
- package/workspace/public/pm/people-link.js +0 -106
- package/workspace/public/pm/phone-deck.js +0 -167
- package/workspace/public/pm/pm-work-view.js +0 -1533
- package/workspace/public/pm/portfolio-report.js +0 -61
- package/workspace/public/pm/premium-acts.js +0 -280
- package/workspace/public/pm/premium-brief.js +0 -111
- package/workspace/public/pm/premium-chat.js +0 -22
- package/workspace/public/pm/premium-doc-sheet.js +0 -312
- package/workspace/public/pm/premium-initiative.js +0 -324
- package/workspace/public/pm/premium-insights.css +0 -228
- package/workspace/public/pm/premium-metric-tiles.js +0 -68
- package/workspace/public/pm/premium-report-brief.js +0 -132
- package/workspace/public/pm/premium-vw-rec.js +0 -67
- package/workspace/public/pm/premium-wide.css +0 -30
- package/workspace/public/pm/print.css +0 -44
- package/workspace/public/pm/provider-cards.js +0 -136
- package/workspace/public/pm/registry.js +0 -203
- package/workspace/public/pm/release-card.js +0 -110
- package/workspace/public/pm/releases-view.js +0 -248
- package/workspace/public/pm/report-families-view.js +0 -505
- package/workspace/public/pm/report-slides.js +0 -438
- package/workspace/public/pm/report-tab.js +0 -33
- package/workspace/public/pm/report-view.js +0 -337
- package/workspace/public/pm/reports-copy.js +0 -134
- package/workspace/public/pm/roadmap.js +0 -294
- package/workspace/public/pm/run-card.js +0 -260
- package/workspace/public/pm/sessions-panel.js +0 -219
- package/workspace/public/pm/sheet-jira.js +0 -353
- package/workspace/public/pm/shell-bell.js +0 -163
- package/workspace/public/pm/shell-model.js +0 -83
- package/workspace/public/pm/shell-phone.js +0 -124
- package/workspace/public/pm/shell-readaloud.js +0 -53
- package/workspace/public/pm/shell-recording.js +0 -274
- package/workspace/public/pm/shell-ticker.js +0 -90
- package/workspace/public/pm/sig-watch.js +0 -41
- package/workspace/public/pm/slide-confirm.js +0 -163
- package/workspace/public/pm/slides-copy.js +0 -52
- package/workspace/public/pm/status-banner.js +0 -95
- package/workspace/public/pm/tab-doc.js +0 -859
- package/workspace/public/pm/tab-gone.js +0 -21
- package/workspace/public/pm/tab-term.js +0 -1210
- package/workspace/public/pm/tab-web.js +0 -90
- package/workspace/public/pm/timeline-copy.js +0 -48
- package/workspace/public/pm/timeline-forecast-view.js +0 -164
- package/workspace/public/pm/today-agenda.js +0 -331
- package/workspace/public/pm/today-cards.js +0 -244
- package/workspace/public/pm/today-copy.js +0 -506
- package/workspace/public/pm/today-day.js +0 -1371
- package/workspace/public/pm/today-goals.js +0 -297
- package/workspace/public/pm/today-jobs.js +0 -84
- package/workspace/public/pm/today-mentions.js +0 -50
- package/workspace/public/pm/topbar.js +0 -202
- package/workspace/public/pm/triage-card.js +0 -60
- package/workspace/public/pm/undo-hold.js +0 -103
- package/workspace/public/pm/view-addrepo.js +0 -208
- package/workspace/public/pm/view-files.js +0 -197
- package/workspace/public/pm/view-livenotes.js +0 -399
- package/workspace/public/pm/view-today.js +0 -13
- package/workspace/public/pm/view-validate.js +0 -171
- package/workspace/public/pm/welcome.js +0 -391
- package/workspace/public/pm/work-place.js +0 -68
- package/workspace/public/pm/xlsx-read.js +0 -117
- package/workspace/public/welcome.html +0 -22
- package/workspace/test-lists/browser-suites-green.json +0 -5
- package/workspace/test-lists/c3-core-docs.json +0 -9
- package/workspace/test-lists/c3-doc-sheet-rich.json +0 -6
- package/workspace/test-lists/c3-doc-sheet-size.json +0 -6
- package/workspace/test-lists/c3-doc-sheet-v2.json +0 -6
- package/workspace/test-lists/c3-ib-items.json +0 -9
- package/workspace/test-lists/c3-ib-more.json +0 -9
- package/workspace/test-lists/c3-ib-triage-backlog.json +0 -9
- package/workspace/test-lists/c3-ini-life.json +0 -9
- package/workspace/test-lists/c3-meeting-board.json +0 -5
- package/workspace/test-lists/c3-meeting-card.json +0 -5
- package/workspace/test-lists/c3-notes-place.json +0 -5
- package/workspace/test-lists/c3-notes-series.json +0 -5
- package/workspace/test-lists/calendar-time-page.json +0 -5
- package/workspace/test-lists/calpop.json +0 -4
- package/workspace/test-lists/console3-briefing.json +0 -9
- package/workspace/test-lists/console3-foundation.json +0 -9
- package/workspace/test-lists/console3-work-page.json +0 -9
- package/workspace/test-lists/premium-brief-parity.json +0 -9
- package/workspace/test-lists/report-design-studio-ui.json +0 -5
- package/workspace/test-lists/report-structure-ui.json +0 -11
- package/workspace/test-lists/report-workspace-ui.json +0 -5
- package/workspace/test-lists/run3-a.json +0 -5
- package/workspace/test-lists/run3-d.json +0 -6
- package/workspace/test-lists/run4-c.json +0 -13
- package/workspace/test-lists/today-goals-jobs-ui.json +0 -5
- package/workspace/test-lists/today-mentions-cards.json +0 -5
- package/workspace/test-lists/workspace-tabs-declutter.json +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-pmos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.400.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,23 @@
|
|
|
32
32
|
"audit"
|
|
33
33
|
],
|
|
34
34
|
"pmosChanges": [
|
|
35
|
+
{
|
|
36
|
+
"v": "0.400.0",
|
|
37
|
+
"at": "2026-10-23T13:50:38.397Z",
|
|
38
|
+
"f": 2,
|
|
39
|
+
"prs": [
|
|
40
|
+
{
|
|
41
|
+
"n": 1021,
|
|
42
|
+
"t": "Remove the classic shell and the console, and run only the tests a change reaches",
|
|
43
|
+
"s": "Remove the classic shell and the console, and run only the tests a change reaches"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"n": 1023,
|
|
47
|
+
"t": "Testing fixes from the iPhone run of create-pmos 0.399.0",
|
|
48
|
+
"s": "Testing fixes from the iPhone run of create-pmos 0.399.0"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
35
52
|
{
|
|
36
53
|
"v": "0.399.0",
|
|
37
54
|
"at": "2026-10-23T08:35:27.575Z",
|
|
@@ -279,18 +296,6 @@
|
|
|
279
296
|
"s": "Markdown tables draw as tables in the viewer, the Read tab and chat"
|
|
280
297
|
}
|
|
281
298
|
]
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"v": "0.380.0",
|
|
285
|
-
"at": "2026-10-21T09:18:41.886Z",
|
|
286
|
-
"f": 2,
|
|
287
|
-
"prs": [
|
|
288
|
-
{
|
|
289
|
-
"n": 989,
|
|
290
|
-
"t": "The /goal card opens in the viewer as a Goal tab",
|
|
291
|
-
"s": "The /goal card opens in the viewer as a Goal tab"
|
|
292
|
-
}
|
|
293
|
-
]
|
|
294
299
|
}
|
|
295
300
|
]
|
|
296
301
|
}
|
package/payload/KIT-VERSION
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Eval calibration log"
|
|
4
4
|
description: "Append-only record of every PM override of an evaluator verdict."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-23T13:50:36Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Health budgets"
|
|
4
4
|
description: "Closed registry of health-budget anchors (D59), edited only by the PM."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-23T13:50:36Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Reference
|
|
3
3
|
title: "Discoveries and friction log"
|
|
4
4
|
description: "Append-only record of what runs discovered and where the process rubbed."
|
|
5
|
-
generated: {by: process:create-pmos, at: "2026-10-
|
|
5
|
+
generated: {by: process:create-pmos, at: "2026-10-23T13:50:36Z"}
|
|
6
6
|
status: stable
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -144,9 +144,9 @@ const PAGES = {
|
|
|
144
144
|
await until(() => p.evaluate((s) => !!document.querySelector(s), P.ready), 20000); await p.click(P.ready); await docsView(p);
|
|
145
145
|
await until(() => p.evaluate(() => !!document.querySelector('#czViewer [data-ov-doc="custom:cd-2"]')), 20000);
|
|
146
146
|
// a row: the title, its state pill, then what it is (when, who writes it, where it lives) and the link as text (InDocs)
|
|
147
|
-
const rows = await p.evaluate(() => [...document.querySelectorAll('#czViewer [data-ov-doc]')].map((r) => ({ t: (r.querySelector('b') || {}).textContent || '', meta: [(r.querySelector('.hi-pill') || {}).textContent || '', (r.querySelector('em') || {}).textContent || ''].join(' · '), small: (r.querySelector('small') || {}).textContent || '', btn: r.querySelectorAll('button:not([disabled])').length })));
|
|
147
|
+
const rows = await p.evaluate(() => [...document.querySelectorAll('#czViewer [data-ov-doc]')].map((r) => ({ t: (r.querySelector('b') || {}).textContent || '', meta: [(r.querySelector('.hi-pill') || {}).textContent || '', (r.querySelector('em') || {}).textContent || ''].join(' · '), small: (r.querySelector('small') || {}).textContent || '', btn: r.querySelectorAll('button:not([disabled]):not([data-ov-none])').length, none: !!r.querySelector('[data-ov-none]') }))); // a document with no file says so when pressed (testing fixes); it opens nothing
|
|
148
148
|
const uat = rows.find((r) => r.t === 'UAT plan'), con = rows.find((r) => r.t === 'Contract');
|
|
149
|
-
ok(`${kind} A5 an unlinked document reads Not started with the date it was added and no press`, uat && /^Not started/.test(uat.meta) && /added 18 Oct/.test(uat.meta) && /You write it/.test(uat.meta) && uat.btn === 0, JSON.stringify(uat));
|
|
149
|
+
ok(`${kind} A5 an unlinked document reads Not started with the date it was added and no press`, uat && /^Not started/.test(uat.meta) && /added 18 Oct/.test(uat.meta) && /You write it/.test(uat.meta) && uat.btn === 0 && uat.none, JSON.stringify(uat));
|
|
150
150
|
ok(`${kind} A5 a linked document reads Linked, shows its address as text and has no press`, con && /^Linked/.test(con.meta) && /Confluence: https:\/\/example\.atlassian\.net/.test(con.small) && con.btn === 0 && !/Up to date/.test(con.meta), JSON.stringify(con));
|
|
151
151
|
const sum = await txt(p, '#czViewer [data-ov-dsum]');
|
|
152
152
|
ok(`${kind} A5 the summary counts one linked and the up-to-date ones`, /1\s*linked/.test(sum) && /up to date/.test(sum), sum);
|
|
@@ -131,7 +131,7 @@ const mk = (o) => BP.build(F.facts(o));
|
|
|
131
131
|
{
|
|
132
132
|
const R = await open({ model: BP.build(FJ.facts()) }), q = R.page;
|
|
133
133
|
const c = await q.evaluate(() => ({ chips: [...document.querySelectorAll('#bdChipset .bd-chip')].map((b) => b.textContent.replace(/\s+/g, ' ').trim() + (b.getAttribute('aria-pressed') === 'true' ? '*' : '')), segs: [...document.querySelectorAll('.bt-l[data-row="board:self-serve-v2"] .seg5 .bt-tk')].map((b) => b.className.replace('bt-tk ', '')).join(), sso: document.querySelector('.bt-l[data-row="board:sso-partners"] .bt-dl').textContent, st: document.querySelector('.bt-l[data-row="board:sso-partners"] .cs').textContent, ssoCount: document.querySelector('.bt-l[data-row="board:sso-partners"] .t1 span').textContent, ssCount: document.querySelector('.bt-l[data-row="board:self-serve-v2"] .t1 span').textContent }));
|
|
134
|
-
ok('B1 the chips read Jira, the sprint and the release, the new asks, late, at risk and blocked from the records; This sprint is on by default', /^Jira · read /.test(c.chips[0]) && c.chips[1] === 'Sprint 24 · v2.4 ships Nov 4' && c.chips[2] === '1 new ask' && c.chips.includes('1 late') && c.chips.includes('3 at risk') && c.chips.includes('1 blocked*') === false && c.chips.includes('1 blocked') && c.chips[c.chips.length - 1] === '
|
|
134
|
+
ok('B1 the chips read Jira, the sprint and the release, the new asks, late, at risk and blocked from the records; This sprint is on by default', /^Jira · read /.test(c.chips[0]) && c.chips[1] === 'Sprint 24 · v2.4 ships Nov 4' && c.chips[2] === '1 new ask' && c.chips.includes('1 late') && c.chips.includes('3 at risk') && c.chips.includes('1 blocked*') === false && c.chips.includes('1 blocked') && c.chips[c.chips.length - 1] === 'Sprint 24 only*', JSON.stringify(c.chips));
|
|
135
135
|
ok('B1 Build progress is the Jira tickets in points, one segment each; a blocked ticket shows in red and says why', c.segs === 'dn,dn,rv,ip,td' && c.ssCount === '5 of 13 pts' && c.ssoCount === '1 of 4' && /v2\.4 shipped \+ your sign-off/.test(c.sso) && /SSO-12 blocked · Waiting on PLAT-88/.test(c.sso), JSON.stringify(c));
|
|
136
136
|
ok('B1 a Deliver row whose release has a date says when it ships', c.st === 'Ships Nov 4', c.st);
|
|
137
137
|
// a metric chip opens its trend (BdPanel); its "Show only" filters
|
|
@@ -333,7 +333,7 @@ const mk = (o) => BP.build(F.facts(o));
|
|
|
333
333
|
const R = await open({ w: 390, h: 844, theme, model: BP.build(FJ.facts()) }), q = R.page;
|
|
334
334
|
const m = await q.evaluate(() => { const small = [...document.querySelectorAll('#ibTabs button, #ibBody .bt-nm, #bdChipset .bd-chip, .bd-tab, #newIni, #bdFind, #bdView')].filter((b) => !b.closest('[hidden]') && b.getBoundingClientRect().height > 0 && b.getBoundingClientRect().height < 44).map((b) => b.className + ':' + Math.round(b.getBoundingClientRect().height)); const fab = document.querySelector('#czFab').getBoundingClientRect(); return { over: document.documentElement.scrollWidth > innerWidth + 1, small, fabRight: Math.round(innerWidth - fab.right), top: Math.round(document.querySelector('.bd-hd').getBoundingClientRect().height), chips: [...document.querySelectorAll('#bdChipset .bd-chip')].map((b) => b.textContent.replace(/\s+/g, ' ').trim()), title: getComputedStyle(document.querySelector('.bd-title')).display }; });
|
|
335
335
|
ok(`B13 at 390 px (${theme}) the page has no sideways scroll, the top bar is one line with "Board", the menu sits bottom right, and every control is 44 px`, !m.over && m.small.length === 0 && m.fabRight < 40 && m.top <= 56 && m.title !== 'none', JSON.stringify(m));
|
|
336
|
-
ok(`B13 at 390 px (${theme}) the chips lead with This sprint, then the Jira read time and the new asks, and end with the documents`, m.chips[0] === '
|
|
336
|
+
ok(`B13 at 390 px (${theme}) the chips lead with This sprint, then the Jira read time and the new asks, and end with the documents`, m.chips[0] === 'Sprint 24 only' && /^Jira \d+ days$/.test(m.chips[1]) && m.chips[2] === '1 new ask' && m.chips[m.chips.length - 1] === 'Docs 6', JSON.stringify(m.chips));
|
|
337
337
|
const pl = await q.evaluate(() => ({ groups: [...document.querySelectorAll('#ibBody .bd-ghd')].map((g) => g.textContent.replace(/\s+/g, ' ').trim()), seg: [...document.querySelectorAll('#ibBody [data-pv]')].map((b) => b.textContent + (b.getAttribute('aria-pressed') === 'true' ? '*' : '')).join(), note: /Timeline needs a wider screen/.test(document.querySelector('#ibBody').textContent), small: [...document.querySelectorAll('#ibBody [data-pv], #ibBody .bd-lrow')].filter((b) => b.getBoundingClientRect().height < 44).length }));
|
|
338
338
|
ok(`B13 at 390 px (${theme}) the phone opens on the List, grouped your turn first, with List, By stage and Track and no timeline (BdPhone)`, pl.groups.join('|') === 'At risk or late4|On track3' && pl.seg === 'List*,By stage,Track' && pl.note && pl.small === 0, JSON.stringify(pl));
|
|
339
339
|
await q.click('#bdView'); const s2 = await q.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1 && document.querySelectorAll('#ibBody .bd-scols.ph .bd-scol').length === 8);
|
|
@@ -125,14 +125,8 @@ const prop = (o) => Object.assign({ id: 'prop-a', state: 'proposed', prompt: 'ad
|
|
|
125
125
|
ok('E5 after Save the page is read again from the route and shows v2', /v2/.test(await txt(q, `${V} .cff`)) && /More\./.test(await txt(q, `${V} .cfb`)));
|
|
126
126
|
await side(q, 'log');
|
|
127
127
|
ok('E5 the Edit log shows the new revision with its reason', await until(() => q.evaluate((v) => /v2 add the missing line/.test((document.querySelector(v + ' .vwside .evl') || {}).textContent || ''), V)));
|
|
128
|
-
/* E3
|
|
129
|
-
|
|
130
|
-
const ak = E.S.posts[E.S.posts.length - 1];
|
|
131
|
-
ok('E3 Ask posts path and prompt to /api/doc-sheet/ask', ak.route === 'ask' && Object.keys(ak.body).sort().join() === 'path,prompt' && ak.body.prompt === 'tighten the goal' && /ws=w1/.test(ak.query));
|
|
132
|
-
ok('E3 while it works the page says the agent can only read', await until(() => q.evaluate((v) => /The agent is reading the document/.test(document.querySelector(v).textContent), V)));
|
|
133
|
-
ok('E3 the page polls the ask by id', await until(() => E.S.gets.some((g) => g.route === 'ask' && /id=ask-1/.test(g.query)), 8000));
|
|
134
|
-
E.S.ask = { ok: true, id: 'ask-1', state: 'failed', error: 'The run ended without an answer. Ask again.' };
|
|
135
|
-
ok('E3 a failed ask shows the route\'s own error', await until(() => q.evaluate((v) => /The run ended without an answer/.test(document.querySelector(v).textContent), V), 8000));
|
|
128
|
+
/* E3 no Ask the agent on the page (testing fixes): the chat beside it asks for a change */
|
|
129
|
+
ok('E3 the read bar has no Ask the agent', await q.evaluate((v) => !document.querySelector(v + ' [data-vd="askt"], ' + v + ' #vwAsk') && !/Ask the agent/.test(document.querySelector(v).textContent), V));
|
|
136
130
|
ok('0 no page error', E.S.errors.length === 0, E.S.errors.join(' | '));
|
|
137
131
|
await E.ctx.close();
|
|
138
132
|
}
|
|
@@ -76,7 +76,8 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
76
76
|
const p = A.page;
|
|
77
77
|
{ const def = await fetch(BASE + '/').then((r) => r.text());
|
|
78
78
|
ok('R1 the premium Home is the default page', /class="cz cz-home"/.test(def) && !/id="c3-root"/.test(def));
|
|
79
|
-
const
|
|
79
|
+
const gone = await Promise.all(['/console.html', '/classic.html'].map((u) => fetch(BASE + u, { redirect: 'manual' })));
|
|
80
|
+
ok('R1 /console.html and /classic.html go to Home: the console and the classic page are deleted', gone.every((r) => r.status === 302 && /\/premium\.html$/.test(r.headers.get('location') || '')), gone.map((r) => r.status).join());
|
|
80
81
|
const old = await fetch(BASE + '/c3.html', { redirect: 'manual' }); ok('R1 /c3.html with no query goes to Home', old.status === 302 && /\/premium\.html$/.test(old.headers.get('location') || ''));
|
|
81
82
|
const rail = await p.evaluate(() => ({ gone: !document.querySelector('nav.rail, .rail [data-go], #dlg'), places: [...document.querySelectorAll('#czMenu a')].map((a) => a.textContent.trim() + '>' + a.getAttribute('href')), cur: (document.querySelector('#czMenu [aria-current="page"]') || {}).textContent || '' }));
|
|
82
83
|
ok('R1 no old rail and no old dialog; the place menu names Home, Board and Insights and Home is current', rail.gone && rail.places.join() === 'Home>/premium.html,Board>/premium-board.html,Insights>/premium-insights.html' && /Home/.test(rail.cur), JSON.stringify(rail));
|
|
@@ -99,7 +100,7 @@ const vw = () => { const v = document.querySelector('#czViewer:not([hidden])');
|
|
|
99
100
|
/* R2 */
|
|
100
101
|
{ await p.click('[data-hm-new]');
|
|
101
102
|
const nw = await until(() => p.evaluate(() => { const m = document.querySelector('#hmMenu:not([hidden])'); return m ? [...m.querySelectorAll('[role=menuitem], button')].map((b) => b.textContent.trim()).filter(Boolean) : null; }));
|
|
102
|
-
ok('R2 the list head reads Today, and New offers its
|
|
103
|
+
ok('R2 the list head reads Today, and New offers its six choices (A task first since the testing fixes, Record a note now last)', await p.evaluate(() => document.querySelector('#hmList .hm-hd h1').textContent === 'Today') && !!nw && nw.length === 6 && /^A task/.test(nw[0]) && /^Record a note now/.test(nw[5]), JSON.stringify(nw));
|
|
103
104
|
await p.keyboard.press('Escape');
|
|
104
105
|
ok('R2 the list head has no fold button (no header chrome, canvas HmMyWork)', await p.evaluate(() => !document.querySelector('[data-hm-fold]'))); }
|
|
105
106
|
|
|
@@ -59,8 +59,7 @@ const view = () => { const v = document.querySelector('#czViewer:not([hidden])')
|
|
|
59
59
|
await page.goto(BASE + '/premium-work.html?theme=' + theme);
|
|
60
60
|
await until(() => page.evaluate(() => /\/premium\.html$/.test(location.pathname) && !!document.querySelector('#czFab')), 15000);
|
|
61
61
|
await sleep(600);
|
|
62
|
-
await page.
|
|
63
|
-
await page.locator('#hmMenu button, #czViewer button').filter({ hasText: 'My work' }).first().click();
|
|
62
|
+
await page.evaluate(() => import('/pm/home-work.js').then((M) => { M.openMyWork(); })); // the page itself: Home no longer opens it (testing fixes); an item and Focus open alone
|
|
64
63
|
const up = await until(() => page.evaluate(() => { const v = document.querySelector('#czViewer:not([hidden])'); return !!v && /My work/.test(v.textContent) && !/Reading your list/.test(v.textContent); }), 15000);
|
|
65
64
|
return { ctx, page, errors, posts, up, set: (a) => { answer = a; } };
|
|
66
65
|
};
|
|
@@ -75,7 +74,7 @@ const view = () => { const v = document.querySelector('#czViewer:not([hidden])')
|
|
|
75
74
|
ok('M1 the page is still served at /premium-work and /premium-work.html', (await fetch(BASE + '/premium-work', { redirect: 'manual' })).status === 302 && (await fetch(BASE + '/premium-work.html')).status === 200);
|
|
76
75
|
/* M4 */
|
|
77
76
|
const v0 = await p.evaluate(view);
|
|
78
|
-
ok('M4 My work has no Waiting for design marker; its filters are Open, Waiting, Untouched, Kept and Done, on Open', v0.
|
|
77
|
+
ok('M4 My work has no Waiting for design marker; its filters are Open, Waiting, Untouched, Kept and Done, on Open', !v0.wait && /My work/.test(v0.text) && v0.tabs.map((t) => t.replace(/ \d+$/, '')).join() === 'Open,Waiting,Untouched,Kept,Done' && v0.tab === 'Open', JSON.stringify(v0));
|
|
79
78
|
const mine = M.queue.tabs.filter((t) => t.key !== 'kept' && t.key !== 'done').flatMap((t) => t.groups.flatMap((g) => g.rows || []));
|
|
80
79
|
ok('M4 Your list holds every row of the queue but Kept and Done, each with Done', mine.every((r) => v0.text.includes(r.title)) && v0.done === mine.length, JSON.stringify({ want: mine.length, done: v0.done }));
|
|
81
80
|
ok('M4 no suggestion, no estimate and no demo label is drawn', !/Accept all|~\d+ min|demo|fold the laundry|on the shelf|composts/i.test(v0.text));
|
|
@@ -84,7 +83,13 @@ const view = () => { const v = document.querySelector('#czViewer:not([hidden])')
|
|
|
84
83
|
const v1 = await p.evaluate(view);
|
|
85
84
|
ok('M6 Waiting on others lists who owes the PM, longest first', /^Waiting/.test(v1.tab) && v1.text.indexOf(M.waiting.rows[0].title) >= 0 && v1.text.indexOf(M.waiting.rows[0].title) < v1.text.indexOf(M.waiting.rows[1].title), JSON.stringify(v1));
|
|
86
85
|
/* M7 */
|
|
87
|
-
ok('M7
|
|
86
|
+
ok('M7 the card has no "My work" / "Weekly review" switch: the review opens from Home', await p.evaluate((V) => !document.querySelector(V + ' [data-ut-tab]'), MW));
|
|
87
|
+
ok('M8 Home has no "All of my work" row and the ⋯ menu has no My work', await p.evaluate(async () => {
|
|
88
|
+
if (document.querySelector('#hmList [data-hm-work], #hmList .hm-all') || /All of my work/.test(document.querySelector('#hmList').textContent)) return false;
|
|
89
|
+
document.querySelector('#czFab').click(); await new Promise((r) => setTimeout(r, 100)); const m = document.querySelector('[data-cz-more]'); if (m) m.click(); await new Promise((r) => setTimeout(r, 150));
|
|
90
|
+
const t = [...document.querySelectorAll('#hmMenu button')].map((b) => b.textContent).join('|'); document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Escape', bubbles: true }));
|
|
91
|
+
return !/My work/.test(t);
|
|
92
|
+
}));
|
|
88
93
|
await p.click(`${MW} [data-tab="stale"]`);
|
|
89
94
|
const v2 = await p.evaluate(view);
|
|
90
95
|
ok('M7 Untouched counts the items from the review list and lists the ones the list holds', v2.text.includes(M.review.n + ' items have sat untouched for ' + M.review.days + ' days') && v2.done >= 1 && v2.done <= M.review.ids.length, JSON.stringify(v2));
|
|
@@ -9,10 +9,8 @@
|
|
|
9
9
|
* list the page lists the report setups; the report whose studio was opened last is chosen, with the line that says so
|
|
10
10
|
* pictures Add as a sample asks the parent, shows the progress, uploads the two pictures with its own press and says "Added to <report>"; the sample is
|
|
11
11
|
* in the design (API) as kind pictures, from Chrome, "From Chrome, 2 page pictures"
|
|
12
|
-
* studio a studio open in another tab (opened with ?studio=<id>) picks the sample up by itself, with its kind line and thumbnail
|
|
13
12
|
* pdf a deck as a PDF: "From Chrome, PDF, 2 slides"; Open the studio asks the parent to open it
|
|
14
13
|
* guards a 'data' message nobody asked for adds nothing; a parent on another origin is not answered; a sample over 20 MB says so plainly (413)
|
|
15
|
-
* option the studio's Add a sample has "From Chrome" with its sub-line and a how-to that names `pmos extension`
|
|
16
14
|
* No page error. Synthetic repositories only; nothing reaches the network. */
|
|
17
15
|
const fs = require('fs');
|
|
18
16
|
const path = require('path');
|
|
@@ -139,10 +137,6 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
139
137
|
ok('choosing another report changes the choice and drops the "opened last" line when it is not that one', picked !== 'TSC digital input' ? !/opened last/.test(await ftext(A)) : true);
|
|
140
138
|
await f1.selectOption('[data-cap-rep]', { label: 'TSC digital input' });
|
|
141
139
|
|
|
142
|
-
/* a studio of B opened in another tab by the link the popup's Open the studio uses */
|
|
143
|
-
const S = await ctx.newPage(); watch(S);
|
|
144
|
-
await S.goto(BASE + '/console.html?studio=' + idB);
|
|
145
|
-
ok('?studio=<id> opens that report\'s design studio', !!(await until(() => S.$('[data-rd-studio="' + idB + '"]'), 20000)));
|
|
146
140
|
|
|
147
141
|
/* ── pictures ── */
|
|
148
142
|
await f1.click('[data-cap="send"]');
|
|
@@ -153,7 +147,6 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
153
147
|
ok('and not in the other report', (await samples(idA)).length === 0);
|
|
154
148
|
const files = got ? fs.readdirSync(path.join(team, 'planning', 'reports', idB, 'design', 'samples')).filter((f) => f.startsWith(got.id + '-')).sort() : [];
|
|
155
149
|
ok('two picture files are on disk', files.join() === got.id + '-1.jpg,' + got.id + '-2.jpg', files.join());
|
|
156
|
-
ok('a studio that was already open in another tab picks the new sample up by itself, with its kind line and thumbnail', !!(await until(async () => /From Chrome, 2 page pictures/.test((await S.textContent('[data-rd-studio]').catch(() => '')) || '') && !!(await S.$('[data-rd-sample="' + (got && got.id) + '"] img.rd-dks-thumb')), 15000)));
|
|
157
150
|
|
|
158
151
|
/* ── guards ── */
|
|
159
152
|
await A.pg.evaluate((d) => window.sendData(d), { pmosCapture: 'data', kind: 'pictures', name: 'Nobody asked', url: WIKI, pictures: [JPG1] });
|
|
@@ -178,7 +171,6 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
178
171
|
ok('a PDF is added: Added to TSC digital input, 2 slides as a PDF', !!(await until(async () => /Added to TSC digital input/.test(await ftext(B)) && /2 slides as a PDF/.test(await ftext(B)), 15000)), await ftext(B));
|
|
179
172
|
const gp = await until(async () => (await samples(idB)).find((s) => s.kind === 'pdf'));
|
|
180
173
|
ok('the sample reads "From Chrome, PDF, 2 slides"', !!gp && gp.line === 'From Chrome, PDF, 2 slides' && gp.via === 'chrome', JSON.stringify(gp));
|
|
181
|
-
ok('the open studio shows it too', !!(await until(async () => /From Chrome, PDF, 2 slides/.test((await S.textContent('[data-rd-studio]').catch(() => '')) || ''), 15000)));
|
|
182
174
|
await B.frame().click('[data-cap="studio"]');
|
|
183
175
|
ok('Open the studio asks the popup to open this report\'s studio', !!(await until(async () => (await B.log()).some((m) => m === JSON.stringify({ pmosCapture: 'open', report: idB })))), (await B.log()).join(' '));
|
|
184
176
|
await B.pg.close();
|
|
@@ -191,15 +183,6 @@ process.on('unhandledRejection', (e) => { console.error(e); finish(1); });
|
|
|
191
183
|
expectHttp.delete(413);
|
|
192
184
|
await C.pg.close();
|
|
193
185
|
|
|
194
|
-
/* ── the studio option ── */
|
|
195
|
-
await S.click('[data-rd-act="panel"]').catch(() => {});
|
|
196
|
-
await until(() => S.$('[data-rd-panel]'));
|
|
197
|
-
const optTxt = (await S.textContent('[data-rd-smp="chrome"]').catch(() => '')) || '';
|
|
198
|
-
ok('the studio\'s Add a sample has From Chrome with its sub-line', /From Chrome/.test(optTxt) && /Open any page in Chrome and press the PMOS button\. Decks come as a PDF, other pages as pictures\./.test(optTxt), optTxt);
|
|
199
|
-
await S.click('[data-rd-smp="chrome"]');
|
|
200
|
-
const how = (await S.textContent('[data-rd-chrome]').catch(() => '')) || '';
|
|
201
|
-
ok('pressing it shows a short how-to that names `pmos extension` for the load steps', /press the PMOS button in the toolbar/.test(how) && /pmos extension/.test(how) && /Add as a sample/.test(how), how);
|
|
202
|
-
|
|
203
186
|
await sleep(300);
|
|
204
187
|
ok('no page error and no failed request', errors.length === 0, errors.slice(0, 6).join(' | '));
|
|
205
188
|
return finish();
|
package/workspace/changelog.json
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"v": "0.400.0",
|
|
4
|
+
"at": "2026-10-23T13:50:38.397Z",
|
|
5
|
+
"f": 2,
|
|
6
|
+
"prs": [
|
|
7
|
+
{
|
|
8
|
+
"n": 1021,
|
|
9
|
+
"t": "Remove the classic shell and the console, and run only the tests a change reaches",
|
|
10
|
+
"s": "Remove the classic shell and the console, and run only the tests a change reaches"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"n": 1023,
|
|
14
|
+
"t": "Testing fixes from the iPhone run of create-pmos 0.399.0",
|
|
15
|
+
"s": "Testing fixes from the iPhone run of create-pmos 0.399.0"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
2
19
|
{
|
|
3
20
|
"v": "0.399.0",
|
|
4
21
|
"at": "2026-10-23T08:35:27.575Z",
|
|
@@ -26,7 +26,7 @@ Every premium page has the same top bar. On the left is where you are. On the ri
|
|
|
26
26
|
- **On a phone** the bar is one row: the page name, the bell and ⋯. Sources moves into the ⋯ menu.
|
|
27
27
|
- **Menus.** An option that is too long for one line wraps onto the next line, and its row grows to hold it.
|
|
28
28
|
|
|
29
|
-
**Search** (Ctrl K, or `/`) opens the search over places, initiatives, documents and your running sessions; Enter opens the result. Search and the bell only read; neither changes a record. **
|
|
29
|
+
**Search** (Ctrl K, or `/`) opens the search over places, initiatives, documents and your running sessions; Enter opens the result. Search and the bell only read; neither changes a record. **Settings** opens one dialog. **Updates** comes first: the PMOS version you have, the newest published version, **Check now** and, when a newer one is ready, **Update**. Update does what the console's Settings › Updates does: it updates the kit in each workspace that is behind, then PMOS itself, which stops for about a minute and reloads the page. PMOS that runs from a checkout says to use `git pull` instead. Each workspace is a row with its kit version. PMOS checks once a day while a page is open (the console's **Check for updates** setting turns this off). **What's new** lists each published kit, newest first and grouped by day: its version, when it published, and one entry per pull request it carries: the pull request's title in bold, with its number, and under it the first sentence of its "After:" paragraph. Both are copied from the pull request when the kit is published; a parenthesis that holds code or a decision number is left out, and a pull request with no "After:" paragraph shows its title only. Kits newer than yours are tinted, and yours is marked. Five show per day; **Show more** opens the rest. Then come two choices. **Workspaces** lists the repositories PMOS works in, with Add (a folder path) and Remove; Remove forgets the address and never deletes the folder, and a refusal shows the server's reason. **Connectors** has an On/Off switch for each source the Briefing reads, then a row for every other connector your Claude session has (for example BigQuery). PMOS reads the connector names from the default profile, or from Claude Code's own settings when no profile is set. Your Claude sessions can use every connector whatever its switch says; a switch chooses only what PMOS reads on its own. Such a row is Off until you switch it on, and it says that nothing in PMOS reads it on its own yet: the switch saves your choice for a reader to come. Each press saves that one record. Every other setting runs on a default and stays in the console; the dialog links to it. Remove needs the page's launch nonce, so an agent session cannot call it.
|
|
30
30
|
|
|
31
31
|
**Sources** is a dialog that lists each tracked source (Repository, Initiatives, Calendar, Jira status, My work and Tracker items) with its own state and the time it was last read. Each source except the repository has **Refresh**, and **Refresh all** reads them all again. Slack and email are read as part of My work, so they have no row of their own. A source PMOS does not track has no row: the dialog shows only what PMOS can say it read.
|
|
32
32
|
|
|
@@ -396,7 +396,7 @@ Welcome is the premium first-run page, at `/premium-welcome.html`. It is a page
|
|
|
396
396
|
|
|
397
397
|
## The default page
|
|
398
398
|
|
|
399
|
-
|
|
399
|
+
Home is the default page: `/` and `/index.html` open it. The console and the classic page are deleted. The old addresses `/console.html`, `/c3.html` and `/classic.html` open Home with the same query. One address stays: `/console.html?capture=1` is the popup page of the PMOS Chrome extension.
|
|
400
400
|
|
|
401
401
|
## The dialog on a phone and the document sheet's views
|
|
402
402
|
|
package/workspace/guide/home.md
CHANGED
|
@@ -47,11 +47,29 @@ Some features are still not designed. Home keeps each one usable as a plain card
|
|
|
47
47
|
|
|
48
48
|
Press the round button at the bottom of the page (bottom left on a desktop, bottom right on a phone). The menu lists **Home**, **Board** and **Insights**, then **Search** (⌘K), **New for you** with its count, **Sources** with an amber dot when a source is behind, **Settings** and **Theme** (Light, Dark, Auto). On Home, **More** follows Settings:
|
|
49
49
|
|
|
50
|
-
- **
|
|
51
|
-
- **End of the day.** What finished today, the recap, and tomorrow's meetings.
|
|
50
|
+
- **End of the day.** What finished today, as counts: tasks done, decisions you confirmed, drafts finished, and notes still to confirm. Then tomorrow's meetings.
|
|
52
51
|
- **Calendar** and **Record a note.**
|
|
53
52
|
- **Products.** The products that Home reads. A switch turns one product on or off. **Back to the default** goes back to the default list. With `?ws=` in the address, **All picked products** goes back to the full list.
|
|
54
53
|
|
|
54
|
+
## The list, and what it does not show
|
|
55
|
+
|
|
56
|
+
There is no My work page. The list on Home is your list:
|
|
57
|
+
|
|
58
|
+
- **Tasks.** An initiative shows its 3 most urgent tasks: yours first, then due today, late, and due this week. **Show N more tasks** shows the rest.
|
|
59
|
+
- **Focus.** A chip in the list's filters opens the suggested focus items. A PM item opens alone, as its own card. Items that nobody touched are in the Weekly review.
|
|
60
|
+
- **Add a task.** Press **New**, then **A task**, then choose the initiative, or **Not in an initiative**. Home has no add box that is always open.
|
|
61
|
+
- **Meeting notes.** A decision, to-do or question that the notes caught is not a fact until you confirm it in the meeting's Replay. Home, End of the day and the evening recap do not count unconfirmed points.
|
|
62
|
+
|
|
63
|
+
## The chat
|
|
64
|
+
|
|
65
|
+
- A conversation opens at its latest message.
|
|
66
|
+
- Type `/` to see every command: `/goal`, the commands built into Claude Code, and the commands and skills in the workspace's `.claude` folder and in your own `~/.claude` folder.
|
|
67
|
+
- The mic types what you say into the box. **Stop** keeps the words, and **Discard** puts the box back. Both end listening at once.
|
|
68
|
+
|
|
69
|
+
## Documents
|
|
70
|
+
|
|
71
|
+
A document opens in the Viewer. To ask for a change, use the chat beside it: the document has no Ask the agent box. A document with 3 or more headings has a table of contents at the top. It is open on a desktop and folded on a phone. A document row that has no file yet says so, and it offers **Draft it now** when the agent can draft it.
|
|
72
|
+
|
|
55
73
|
## A need row in the Viewer
|
|
56
74
|
|
|
57
75
|
A need opens in the Viewer with its title, its facts and its choices. A need from a source starts with **Why now**. If the source gives a web address, **Open it** opens it in a new tab.
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Guide: layout"
|
|
4
4
|
description: "The frame: one top bar, the place on screen, the detail and the agent dock; the phone tabs and lists; the keys; and the older layout."
|
|
5
|
-
timestamp: 2026-10-
|
|
5
|
+
timestamp: 2026-10-23
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Guide: layout
|
|
9
9
|
|
|
10
|
-
This page describes the classic workspace
|
|
10
|
+
This page describes the classic workspace. The classic workspace and the console are deleted, and `/classic.html` opens Home. Keep this page only as a record until the guide is rewritten for Home.
|
|
11
11
|
|
|
12
12
|
On a desktop screen the workspace is one frame. It has one top bar, the place on screen under it, the detail when you open one, and the agent dock at the right. There is no left sidebar.
|
|
13
13
|
|
package/workspace/guide/notes.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Guide: notes"
|
|
4
4
|
description: "How to take notes in a meeting: one note top to bottom, typed notes as timed lines, key points written each minute and labelled by Jev, delete a note; final notes written after Stop from the whole recording, with speakers and a quote for each item, decisions with their why and who, next steps with an open question, a discussion paragraph, and Wispr Flow's notes merged in and fetched by hand when the fetch fails; listen to your microphone and the meeting on this machine, see decisions, actions and questions caught as they are said, check them against the repository for conflicts, capture highlights during the meeting, create tasks from next steps, correct and tag lines, see what changed in your notes, replay the meeting, see screenshots of the shared screen beside the transcript, link a note to its meeting and its initiative, and get a summary."
|
|
5
|
-
timestamp: 2026-10-
|
|
5
|
+
timestamp: 2026-10-23
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Guide: notes
|
|
@@ -215,7 +215,7 @@ Press **Replay** beside the player (in Calendar › Notes, or on the meeting's c
|
|
|
215
215
|
|
|
216
216
|
The page reads only records on this machine: the note, the file Focus kept for the meeting, and the screen shots.
|
|
217
217
|
|
|
218
|
-
|
|
218
|
+
The replay page was part of the console, which is deleted. A replay link (for example `/c3.html?replay=n-abcd-1234`) now opens Home.
|
|
219
219
|
|
|
220
220
|
### Clean up the replay sound
|
|
221
221
|
|
|
@@ -21,7 +21,7 @@ The top card shows where you are in your day and why it is useful now. PMOS choo
|
|
|
21
21
|
| Just ended | A meeting ended less than 20 minutes ago | **What came out of it?** If you recorded the meeting, the card shows the summary, the decisions, the actions and the open questions from its notes, the same notes as on the Notes page. While PMOS writes the notes, the card says so. If you did not record it, **Tell PMOS** puts the meeting name in the bar so you can type the result. |
|
|
22
22
|
| Free time | 15 minutes or more before the next meeting | The items that fit in the time: overdue items first, then items due today, at most two. Each has **Done** and **Later today**. Under them, what the agent finished for you. |
|
|
23
23
|
| Finished for you | After noon, before 17:00, with no meeting near | The drafts that the agent finished today, newest first. **Read it** shows the draft as a document, with its headings, lists and tables, the same as on your computer. Approve a draft, or send it back with a note, on your computer: nothing is sent from the phone. Under them, the items that fit. |
|
|
24
|
-
| Evening recap | From 17:00 | How today went: the meetings, the decisions
|
|
24
|
+
| Evening recap | From 17:00 | How today went: the meetings, the decisions you confirmed, and the items done. Then what moved, each with what it is (Decided, Done, Agent) and where it came from. A decision from meeting notes that you did not confirm in Replay is not counted, and a line says how many wait. Then one thing for tonight, with **Done** and how many are still open. |
|
|
25
25
|
| End of day | From 20:00, and before 05:00 | Today in one line, the meetings of the next working day (tap one to see its brief), and how many items carry over |
|
|
26
26
|
|
|
27
27
|
When the moment changes, a short message shows at the top for 6 seconds. The message shows only while the page is open. The companion does not send notifications.
|
|
@@ -34,7 +34,6 @@ const MODULES = Object.freeze([
|
|
|
34
34
|
'routes-initiatives', // Run 2 (2C): Roadmap, List, placements, new initiative, measurements
|
|
35
35
|
'routes-today', // Run 3 (3B): GET /api/today
|
|
36
36
|
'routes-capture', // Run 3 (3C): ⌘K capture
|
|
37
|
-
'routes-timeline', // Run 4 (4C): GET /api/timeline
|
|
38
37
|
'routes-board', // Run 4 (4D): the cross-initiative Board, Release
|
|
39
38
|
'routes-reports', // Run 5 (5C): drafts, Issue, notes
|
|
40
39
|
'routes-notes', // meeting-notes Run 1: the Notes view (typed notes, dictation, transcripts, summaries)
|
|
@@ -42,11 +41,8 @@ const MODULES = Object.freeze([
|
|
|
42
41
|
'routes-intake', // planning-flows run 4: one-line intake draft (drafts only)
|
|
43
42
|
'routes-pm-items', // planning-flows runs 1-2: the PM's own items and jobs to be done (add, edit, remove, undo)
|
|
44
43
|
'routes-runs', // console3 agent surfaces: runs grouped for the sessions panel, PM answers, corrections
|
|
45
|
-
'routes-releases', // console3 A4: releases ledger, read side
|
|
46
44
|
'routes-doc-health', // console3 B2: the six document health checks, recomputed from text
|
|
47
45
|
'routes-outbox', // console3 B3: the outbox queue, hash-bound confirm (no channel connected)
|
|
48
|
-
'routes-report-families', // console3 B4: the four report families and the claims check (read-only)
|
|
49
|
-
'routes-forecast', // console3 B5: forecast, critical path, time machine and capacity (read-only)
|
|
50
46
|
'routes-calendar-views', // console3 C2: Day/Week/Month/Quarter/Year cells, Gantt and the strategy lens (read-only)
|
|
51
47
|
'routes-briefing', // console3 C1: the day-part Briefing cards from the signal engine (read-only)
|
|
52
48
|
'routes-briefing-premium', // briefing-premium: the premium Briefing's page model from repository state (read-only)
|
|
@@ -65,16 +61,12 @@ const MODULES = Object.freeze([
|
|
|
65
61
|
'routes-inbox', // premium-agent-inbox: the bell's agent results and the PM's seen marks (page press only)
|
|
66
62
|
'routes-search', // premium-uncovered-features (E1): Search across the repository and every worktree (read-only)
|
|
67
63
|
'routes-news', // premium-uncovered-features (E2): New for you, the FYI items, and their seen marks (page press only)
|
|
64
|
+
'routes-slash', // testing fixes: the chat box's / menu, every command Claude Code takes plus the workspace's and the PM's own (read-only)
|
|
68
65
|
'routes-phone-day', // phone companion: the agent's finished drafts, the evening recap and tomorrow at a glance (read-only)
|
|
69
|
-
'routes-report-facts', // console3 D: GET /api/report-families/facts (read-only, real data only)
|
|
70
66
|
'routes-records', // console3 E1a: ideas, hypotheses, decisions, KR metrics, bets (GET list; page-press add/edit/reading)
|
|
71
67
|
'routes-doc-sheet', // console3 E1c: document sheet: revisions, edit with why, propose and accept by hash
|
|
72
68
|
'routes-calendar-import', // console3 E2a: cached calendar events (page-press import; metadata only, sensitivity required)
|
|
73
69
|
'routes-roadmap-ops', // console3 E1b: bets (add, move with swap proposal, take off, anchor suggestions), breakdown, people
|
|
74
|
-
'routes-signals', // console3 E2a: signal rules, readings and trips
|
|
75
|
-
'routes-c3-init', // console3 Initiatives sub-views of /c3.html: Roadmap and Breakdown reads (read-only)
|
|
76
|
-
'routes-c3-timeline', // console3 Initiatives Timeline of /c3.html: every check of the plan as a whole frame, three sources in one Gantt (read-only)
|
|
77
|
-
'routes-c3-life', // console3 Lifecycle lens panels: newest evaluation per initiative, corrections per run, evidence sources (read-only)
|
|
78
70
|
'routes-c3-strategy', // console3 Calendar Quarter and Year panes: outcomes, north star, signals, synergy, bets (read-only)
|
|
79
71
|
'routes-c3-reports', // console3 Reports dashboards: library, per-scope data, page-press layouts (layouts are the only write)
|
|
80
72
|
'routes-onboarding', // onboarding-scan-and-map slice 2: first run (scan read-only, structure, import into the overlay, undo, first Briefing)
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* finished working hours, "Finished for you": the agent's tasks of today's day run (goals/<date>.run.json, lib/day-run.js) that have a
|
|
8
8
|
* draft. { id, title, summary, body, at, status, link, source }; body keeps its lines (markdown, at most 8000 characters); status 'review' (waits for the PM's approval at the desk),
|
|
9
9
|
* 'done' (an auto task) or 'sent'. Newest first, at most 5.
|
|
10
|
-
* recap evening: how the day went. meetings = today's meetings that have ended; decided = the decisions
|
|
11
|
-
*
|
|
12
|
-
*
|
|
10
|
+
* recap evening: how the day went. meetings = today's meetings that have ended; decided = the decisions of today's meetings that
|
|
11
|
+
* the PM CONFIRMED in the meeting's Replay (lib/meeting-points.js); to_confirm = the decisions caught in today's notes that
|
|
12
|
+
* the PM has not confirmed yet (a caught decision is a guess until then, so it never counts as moved); done = the PM's own
|
|
13
|
+
* items marked done today; finished = the agent's drafts of today. moved = at most 5 rows of { kind: 'decision'|'done'|'agent',
|
|
14
|
+
* text, sub }: the confirmed decisions first, then the items done, then the drafts.
|
|
13
15
|
* tomorrow end of the day: the next working day (Monday to Friday) and its meetings, in the shape of GET /api/brief-page today[] rows
|
|
14
16
|
* (routes-brief-page.js todayAgenda), so the companion opens their briefs the same way.
|
|
15
17
|
* A private note is never read. A file that is missing or unreadable counts as empty. */
|
|
@@ -17,6 +19,8 @@ const fs = require('fs');
|
|
|
17
19
|
const path = require('path');
|
|
18
20
|
const pmItems = require('./pm-items.js');
|
|
19
21
|
const { todayAgenda, notesAdapter } = require('./routes-brief-page.js');
|
|
22
|
+
const { caughtOf } = require('./meeting-replay.js');
|
|
23
|
+
const meetingPoints = require('./meeting-points.js');
|
|
20
24
|
|
|
21
25
|
const pad = (n) => String(n).padStart(2, '0');
|
|
22
26
|
const localDate = (d) => `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`;
|
|
@@ -42,7 +46,8 @@ function finishedOf(run) {
|
|
|
42
46
|
.sort((a, b) => String(b.at || '').localeCompare(String(a.at || '')));
|
|
43
47
|
}
|
|
44
48
|
|
|
45
|
-
/** deps: { events, items, run, notes: [note with final_notes], adapter
|
|
49
|
+
/** deps: { events, items, run, notes: [note with final_notes], adapter, points: (noteId) → { [pointId]: 'confirmed' | 'wrong' } }
|
|
50
|
+
* notes are today's non-private notes, read in full. A decision's point id is the Replay's (lib/meeting-replay.js): d1, d2, … in caughtOf order. */
|
|
46
51
|
function build(query, deps = {}) {
|
|
47
52
|
const q = query || {};
|
|
48
53
|
let now = q.now ? new Date(q.now) : (deps.now ? new Date(deps.now) : new Date());
|
|
@@ -51,11 +56,15 @@ function build(query, deps = {}) {
|
|
|
51
56
|
const events = deps.events || []; const items = deps.items || [];
|
|
52
57
|
const agenda = todayAgenda(events, items, now, deps.adapter || {});
|
|
53
58
|
const finished = finishedOf(deps.run);
|
|
54
|
-
const decisions = [];
|
|
59
|
+
const decisions = []; let toConfirm = 0;
|
|
55
60
|
for (const n of deps.notes || []) {
|
|
56
61
|
if (!n || n.private) continue;
|
|
57
|
-
const
|
|
58
|
-
(
|
|
62
|
+
const pts = (deps.points && deps.points(n.id)) || {};
|
|
63
|
+
caughtOf(n).decision.forEach((x, i) => {
|
|
64
|
+
const v = pts['d' + (i + 1)];
|
|
65
|
+
if (v === 'confirmed') decisions.push({ kind: 'decision', text: clip(x.text, 200), sub: clip(n.title || (n.meeting && n.meeting.title) || 'A meeting', 80) });
|
|
66
|
+
else if (v !== 'wrong') toConfirm += 1;
|
|
67
|
+
});
|
|
59
68
|
}
|
|
60
69
|
const done = items.filter((i) => i && i.done && i.done_at && localDate(new Date(i.done_at)) === today);
|
|
61
70
|
const moved = [...decisions, ...done.map((i) => ({ kind: 'done', text: clip(i.title, 200), sub: 'Done by you' })),
|
|
@@ -63,7 +72,7 @@ function build(query, deps = {}) {
|
|
|
63
72
|
const tm = nextWorkday(now);
|
|
64
73
|
return { status: 200, body: {
|
|
65
74
|
ok: true, date: today, finished,
|
|
66
|
-
recap: { meetings: agenda.filter((m) => Date.parse(m.end || m.start) <= now.getTime()).length, decided: decisions.length, done: done.length, finished: finished.length, moved },
|
|
75
|
+
recap: { meetings: agenda.filter((m) => Date.parse(m.end || m.start) <= now.getTime()).length, decided: decisions.length, to_confirm: toConfirm, done: done.length, finished: finished.length, moved },
|
|
67
76
|
tomorrow: { date: localDate(tm), label: WD[tm.getDay()] + ' ' + tm.getDate() + ' ' + MO[tm.getMonth()], meetings: todayAgenda(events, items, tm, deps.adapter || {}) },
|
|
68
77
|
} };
|
|
69
78
|
}
|
|
@@ -95,7 +104,7 @@ module.exports = {
|
|
|
95
104
|
const today = localDate(now);
|
|
96
105
|
const events = dir ? require('./calendar-events.js').readAll(dir, { now: now.getTime() }) : [];
|
|
97
106
|
const items = dir ? pmItems.fold(pmItems.readLines(path.join(dir, 'pm-items', 'items.jsonl'))) : [];
|
|
98
|
-
const out = build({ now: now.toISOString() }, { events, items, run: dir ? readRun(dir, today) : null, notes: dir ? todaysNotes(dir, today) : [], adapter: dir ? notesAdapter(dir) : {} });
|
|
107
|
+
const out = build({ now: now.toISOString() }, { events, items, run: dir ? readRun(dir, today) : null, notes: dir ? todaysNotes(dir, today) : [], adapter: dir ? notesAdapter(dir) : {}, points: (id) => meetingPoints.pointsOf(dir, id) });
|
|
99
108
|
ctx.json(res, out.body, out.status);
|
|
100
109
|
} catch (e) {
|
|
101
110
|
ctx.json(res, { ok: false, error: 'your day could not be read: ' + (e && e.message ? e.message : String(e)) }, 500);
|