create-pmos 0.398.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 +30 -25
- 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 +19 -15
- package/workspace/briefing-premium-board-test.js +82 -50
- package/workspace/briefing-premium-calendar-2-test.js +36 -36
- package/workspace/briefing-premium-calendar-3-test.js +39 -39
- package/workspace/briefing-premium-calendar-test.js +23 -24
- package/workspace/briefing-premium-doc-edit-test.js +8 -10
- package/workspace/briefing-premium-initiative-test.js +38 -16
- package/workspace/briefing-premium-insights-test.js +114 -37
- package/workspace/briefing-premium-metrics-test.js +6 -4
- package/workspace/briefing-premium-products-test.js +10 -7
- package/workspace/briefing-premium-sources-test.js +25 -22
- package/workspace/briefing-premium-test.js +48 -43
- package/workspace/briefing-premium-work-test.js +16 -11
- package/workspace/c3-capture-test.js +0 -17
- package/workspace/changelog.json +29 -0
- package/workspace/ev-everywhere-test.js +210 -0
- package/workspace/fixtures/premium-viewer-fixtures.js +11 -6
- package/workspace/guide/briefing-premium.md +2 -2
- package/workspace/guide/home.md +58 -19
- package/workspace/guide/index.md +1 -1
- 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/board-grill.js +63 -0
- package/workspace/lib/board-premium.js +36 -5
- package/workspace/lib/initiative-layout.js +77 -0
- package/workspace/lib/insights-premium.js +3 -2
- package/workspace/lib/insights-records.js +21 -7
- package/workspace/lib/meeting-points.js +52 -0
- package/workspace/lib/news-for-you.js +88 -0
- package/workspace/lib/notes-series.js +29 -6
- package/workspace/lib/report-confirm.js +48 -0
- package/workspace/lib/route-modules.js +9 -9
- package/workspace/lib/routes-board-docs.js +46 -0
- package/workspace/lib/routes-board-grill.js +90 -0
- package/workspace/lib/routes-home-review.js +108 -0
- package/workspace/lib/routes-initiative-layout.js +57 -0
- package/workspace/lib/routes-insights-premium.js +4 -1
- package/workspace/lib/routes-insights-records.js +8 -4
- package/workspace/lib/routes-meeting-points.js +37 -0
- package/workspace/lib/routes-news.js +57 -0
- package/workspace/lib/routes-notes.js +2 -1
- package/workspace/lib/routes-phone-day.js +18 -9
- package/workspace/lib/routes-report-confirm.js +31 -0
- package/workspace/lib/routes-search.js +38 -0
- package/workspace/lib/routes-slash.js +95 -0
- package/workspace/lib/search-index.js +176 -0
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -2
- package/workspace/premium-board-actions-test.js +86 -50
- package/workspace/premium-briefing-depth-test.js +55 -54
- package/workspace/premium-chat-chart-tab-test.js +4 -2
- package/workspace/premium-chat-goal-view-test.js +1 -1
- package/workspace/premium-chat-report-tab-test.js +16 -2
- package/workspace/premium-chat-term-test.js +0 -10
- package/workspace/premium-core-doc-issue-test.js +15 -13
- package/workspace/premium-menu-rows-test.js +1 -1
- package/workspace/premium-phone-card-test.js +7 -5
- package/workspace/premium-report-read-test.js +55 -18
- package/workspace/premium-vw-backlog-test.js +2 -2
- package/workspace/premium-vw-cal-test.js +50 -35
- package/workspace/premium-vw-doc-test.js +10 -11
- package/workspace/premium-vw-item-test.js +1 -1
- package/workspace/premium-vw-jira-test.js +2 -2
- package/workspace/premium-vw-meet-test.js +37 -40
- package/workspace/premium-vw-notes-test.js +21 -19
- package/workspace/premium-vw-rec-test.js +11 -12
- package/workspace/premium-welcome-test.js +3 -3
- package/workspace/premium-work-depth-test.js +5 -6
- package/workspace/public/capture.html +23 -0
- package/workspace/public/pm/bd-acts.js +303 -225
- package/workspace/public/pm/bd-asks.js +261 -0
- package/workspace/public/pm/bd-pop.js +59 -0
- package/workspace/public/pm/bd-span.js +49 -13
- package/workspace/public/pm/bd-views.js +169 -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-board.css +301 -0
- package/workspace/public/pm/cozy-ev.css +228 -0
- package/workspace/public/pm/cozy-evmodel.js +106 -0
- package/workspace/public/pm/cozy-evui.js +47 -0
- package/workspace/public/pm/cozy-home.css +20 -5
- package/workspace/public/pm/cozy-insights.css +148 -10
- package/workspace/public/pm/cozy-nav.js +103 -39
- package/workspace/public/pm/cozy-news.js +140 -0
- package/workspace/public/pm/cozy-search.js +203 -0
- package/workspace/public/pm/cozy-settings.js +198 -0
- package/workspace/public/pm/cozy-sources.js +89 -0
- package/workspace/public/pm/cozy-today.css +220 -0
- package/workspace/public/pm/cozy-viewer.js +5 -2
- package/workspace/public/pm/cozy-vw-mtg.css +350 -0
- package/workspace/public/pm/cozy-vw-rp.css +152 -0
- package/workspace/public/pm/cozy.css +9 -0
- package/workspace/public/pm/goal-chat.js +5 -1
- package/workspace/public/pm/home-adddoc.js +5 -5
- package/workspace/public/pm/home-app.js +365 -70
- package/workspace/public/pm/home-around.js +24 -126
- package/workspace/public/pm/home-chat.js +77 -18
- package/workspace/public/pm/home-data.js +9 -7
- package/workspace/public/pm/home-dictate.js +57 -0
- package/workspace/public/pm/home-draft.js +6 -6
- package/workspace/public/pm/home-ini-model.js +190 -0
- package/workspace/public/pm/home-ini.css +171 -0
- package/workspace/public/pm/home-ini.js +466 -0
- package/workspace/public/pm/home-list.js +289 -0
- package/workspace/public/pm/home-more.js +18 -135
- package/workspace/public/pm/home-phone-card.js +13 -8
- package/workspace/public/pm/home-review.js +103 -0
- package/workspace/public/pm/home-task.js +67 -0
- package/workspace/public/pm/home-today.js +148 -0
- package/workspace/public/pm/home-work.js +63 -28
- 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 +164 -40
- package/workspace/public/pm/premium-chart-tab.js +4 -5
- package/workspace/public/pm/premium-first.js +5 -7
- package/workspace/public/pm/premium-initiative-head.js +3 -3
- package/workspace/public/pm/premium-insights.js +499 -202
- package/workspace/public/pm/premium-mtg-present.js +138 -0
- package/workspace/public/pm/premium-mtg-replay.js +142 -0
- package/workspace/public/pm/premium-report-read.js +216 -52
- package/workspace/public/pm/premium-report-tab.js +44 -19
- package/workspace/public/pm/premium-shell.js +7 -7
- package/workspace/public/pm/premium-vw-cal.js +150 -60
- package/workspace/public/pm/premium-vw-doc.css +20 -2
- package/workspace/public/pm/premium-vw-doc.js +22 -7
- package/workspace/public/pm/premium-vw-mtg.js +488 -261
- package/workspace/public/pm/premium-vw-notes.js +61 -0
- package/workspace/public/pm/rp-parts.js +269 -0
- package/workspace/public/pm/view-notes.js +2 -2
- package/workspace/public/premium-board.html +4 -3
- package/workspace/public/premium-insights.html +10 -10
- package/workspace/public/premium.html +3 -1
- package/workspace/r/m1.png +0 -0
- package/workspace/r/m2.png +0 -0
- package/workspace/r/m3.png +0 -0
- package/workspace/r/nl.png +0 -0
- 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/initiative-layout.json +9 -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/premium-uncovered-meetings.json +9 -0
- package/workspace/test-lists/premium-uncovered-reports.json +9 -0
- 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/uf-everywhere.json +15 -0
- package/workspace/test-lists/uf-home.json +9 -0
- package/workspace/test-lists/uncovered-board.json +9 -0
- 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
|
@@ -67,7 +67,7 @@ function install(page, o = {}) {
|
|
|
67
67
|
const body = (r) => { try { return JSON.parse(r.request().postData() || '{}'); } catch { return {}; } };
|
|
68
68
|
const post = (r) => { const b = body(r); S.posts.push({ path: new URL(r.request().url()).pathname, body: b }); return b; };
|
|
69
69
|
page.on('request', (r) => { if (r.method() === 'GET' && /\/api\//.test(r.url())) S.gets.push(new URL(r.url()).pathname + new URL(r.url()).search); });
|
|
70
|
-
S.store = { n1: W.NOTE, n2: W.LIVE_NOTE, n0: { ...W.ROWS[1], body: '', transcript: [] }, n3: { ...W.ROWS[3], body: '', transcript: [] }, n4: { ...W.ROWS[4], body: '', transcript: [] } }; S.made = 0;
|
|
70
|
+
S.points = {}; S.store = { n1: W.NOTE, n2: W.LIVE_NOTE, n0: { ...W.ROWS[1], body: '', transcript: [] }, n3: { ...W.ROWS[3], body: '', transcript: [] }, n4: { ...W.ROWS[4], body: '', transcript: [] } }; S.made = 0;
|
|
71
71
|
S.rows = (S.scene === 'prep' || o.noLive ? W.ROWS.filter((x) => x.id !== 'n2') : W.ROWS).map((x) => ({ ...x }));
|
|
72
72
|
if (S.scene === 'prep' || o.noLive) delete S.store.n2;
|
|
73
73
|
const notesRows = () => S.rows;
|
|
@@ -81,7 +81,11 @@ function install(page, o = {}) {
|
|
|
81
81
|
return json(r, { ok: true, note: n, screen: { frames: id === 'n2' ? [{ t: 300000 }, { t: 400000 }, { t: 500000 }, { t: 600000 }] : [] }, place: null });
|
|
82
82
|
}),
|
|
83
83
|
page.route('**/api/notes/series?*', (r) => json(r, { ok: true, series: { key: 'viewer-sync', meetings: [{ id: 'n0', at: '2026-10-15T10:00:00Z', decided: 1, steps: 3 }, { id: 'n1', at: W.NOTE.meeting.start, decided: 2, steps: 3 }] } })),
|
|
84
|
-
page.route('**/api/notes/search*', (r) => json(r, { ok: true, ids: ['n4'] })),
|
|
84
|
+
page.route('**/api/notes/search*', (r) => json(r, { ok: true, ids: ['n4'], hits: [{ id: 'n4', snip: '…which teams use saved views for teams every week…', open: true }] })),
|
|
85
|
+
page.route('**/api/meeting-points*', (r) => {
|
|
86
|
+
if (r.request().method() === 'POST') { const b = post(r); (b.ids || []).forEach((id) => { if (b.verdict) S.points[id] = b.verdict; else delete S.points[id]; }); return json(r, { ok: true, points: S.points }); }
|
|
87
|
+
return json(r, { ok: true, points: S.points });
|
|
88
|
+
}),
|
|
85
89
|
page.route('**/api/notes/new', (r) => {
|
|
86
90
|
const b = post(r), id = 'new' + (++S.made);
|
|
87
91
|
const n = { id, title: b.title || '', state: 'idle', created_at: new Date().toISOString(), updated_at: new Date().toISOString(), meeting: b.meeting || (b.event ? { kind: 'event', event_id: b.event.id || b.event, start: b.event.at, title: b.event.title } : null), transcript: [] };
|
|
@@ -111,7 +115,7 @@ function install(page, o = {}) {
|
|
|
111
115
|
const base = { ok: true, now_ms: Date.now(), event: live ? { id: 'ev-live', title: 'Design crit', at: W.LIVE_NOTE.meeting.start, end: W.LIVE_NOTE.meeting.end, attendees: ['Ana', 'Wawan'] } : ev === 'ev-rail' ? { id: 'ev-rail', title: 'Rail review', at: iso(W.RAIL), attendees: ['Sam', 'Wawan'] } : { id: 'ev-sync', title: 'Viewer sync', at: W.NOTE.meeting.start, end: W.NOTE.meeting.end, attendees: ['Ana', 'Dita', 'Wawan'] },
|
|
112
116
|
note: live ? { id: 'n2', state: 'recording' } : ev === 'ev-rail' ? null : { id: 'n1', state: 'ended' },
|
|
113
117
|
brief: { gist: ['Agree the rail before the Commit.'], purpose: 'Agree the rail before the Commit.', matters: [{ tag: 'Late', tone: 'bad', text: 'The SSO spike', meta: 'due 14 Oct' }, { tag: 'Changed', tone: '', text: 'The report panel design', meta: 'Oct 21' }], last: { id: 'n0', at: '2026-10-15T10:00:00Z', decisions: [{ text: 'a' }], actions: [{ text: 'b' }, { text: 'c' }] }, prep: 'Read the rail PRD.', initiative: { id: 'viewer', title: 'Viewer', ws: 'w1' } },
|
|
114
|
-
material: [{ kind: 'pmos-doc', title: 'Rail PRD', ref: 'planning/prd/rail.md', from: 'you' }, { kind: 'link', title: 'Figma: report panel', url: 'https://x.example/f', topic: 'The report panel' }],
|
|
118
|
+
material: [{ kind: 'pmos-deck', title: 'Release deck', ref: 'decks/release.md', from: 'you' }, { kind: 'pmos-doc', title: 'Rail PRD', ref: 'planning/prd/rail.md', from: 'you' }, { kind: 'link', title: 'Figma: report panel', url: 'https://x.example/f', topic: 'The report panel' }],
|
|
115
119
|
topics: live ? [{ id: 't1', text: 'One toolbar row', state: 'discussed', minutes: 6 }, { id: 't2', text: 'The Issue button', state: 'now', minutes: 8 }, { id: 't3', text: 'Phone layout', state: 'plan', minutes: 10 }] : [{ id: 't1', text: 'Viewer beside the chat', state: 'plan', minutes: 10 }, { id: 't2', text: 'Saved views and the migration', state: 'plan', minutes: 10 }, { id: 't3', text: 'Print preview', state: 'plan', minutes: 10 }],
|
|
116
120
|
runs: live ? [{ topic: 't1', from_min: 0, to_min: 6 }, { topic: 't2', from_min: 6, to_min: null }] : [], captured: live ? { decisions: [{}], actions: [{}, {}], questions: [] } : {}, tail: [] };
|
|
117
121
|
return json(r, base);
|
|
@@ -120,10 +124,11 @@ function install(page, o = {}) {
|
|
|
120
124
|
page.route('**/api/meeting-replay*', (r) => (new URL(r.request().url()).searchParams.get('note') !== 'n1' ? json(r, { ok: false, error: 'no recording' }) : null) || json(r, { ok: true, length_ms: 31 * 60000 + 5000, note: { id: 'n1', title: 'Viewer sync' }, meeting: { title: 'Viewer sync', at: W.NOTE.meeting.start, attendees: ['Ana', 'Dita', 'Wawan'] },
|
|
121
125
|
topics: [{ id: 't1', text: 'Viewer beside the chat' }, { id: 't2', text: 'Saved views and the migration' }, { id: 't3', text: 'Print preview' }],
|
|
122
126
|
runs: [{ topic: 't1', from_ms: 0, to_ms: 600000 }, { topic: 't2', from_ms: 600000, to_ms: 1300000 }, { topic: 't3', from_ms: 1300000, to_ms: 1865000 }],
|
|
123
|
-
keys: [{ k: 'decision', text: 'Diffs can be approved from the Viewer.', t: 895000 }, { k: 'action', text: 'Add a print view', t: 1500000 }, { k: 'decision', text: 'Migration V.3', t: 1700000 }],
|
|
127
|
+
keys: [{ k: 'decision', text: 'Diffs can be approved from the Viewer.', t: 895000, by: 'Dita' }, { k: 'action', text: 'Add a print view', t: 1500000, owner: 'Ana', due: 'Fri' }, { k: 'decision', text: 'Migration V.3', t: 1700000 }, { k: 'action', text: 'Ask legal about PDFs', t: 1750000 }, { k: 'question', text: 'Do old workspaces need a manual step?', t: 1800000, state: 'open' }],
|
|
124
128
|
shots: [{ t: 190000, why: 'Viewer beside the chat' }, { t: 895000, why: 'Diff approve button' }, { t: 1470000, why: 'Print preview' }],
|
|
125
|
-
lines: [{ t: 190000, who: 'Dita', text: 'The Viewer sits beside the chat now.' }, { t: 760000, who: 'You', text: 'Saved views move in their own work-item.' }] })),
|
|
126
|
-
page.route('**/api/meeting-material*', (r) => (r
|
|
129
|
+
lines: [{ t: 190000, who: 'Dita', text: 'The Viewer sits beside the chat now.' }, { t: 760000, who: 'You', text: 'Saved views move in their own work-item.' }, { t: 894000, who: 'Ana', text: 'Yes, approve the diff from the Viewer.' }, { t: 1499000, who: 'Ana', text: 'I will add the print view by Friday.' }] })),
|
|
130
|
+
page.route('**/api/meeting-material/suggest*', (r) => json(r, { ok: true, suggested: [{ kind: 'pmos-doc', ref: 'planning/runs/phone.md', title: 'Run log · phone test', meta: 'Run log' }, { kind: 'pmos-deck', ref: 'decks/release.md', title: 'Release deck', meta: 'Deck · 6 slides' }], found: [{ kind: 'pmos-doc', ref: 'planning/prd/rail.md', title: 'Rail PRD', meta: 'PRD' }] })),
|
|
131
|
+
page.route('**/api/meeting-material*', (r) => (r.request().method() === 'POST' ? (post(r), json(r, { ok: true })) : json(r, { ok: true, key: 'k', items: [], topics: [{ text: 'One toolbar row' }] }))),
|
|
127
132
|
page.route('**/api/viewer-meeting?*', (r) => {
|
|
128
133
|
const u = new URL(r.request().url()), topics = u.searchParams.getAll('topic');
|
|
129
134
|
return json(r, { ok: true, agenda: { key: 's:viewer-sync', total: 30, topics: topics.map((t, i) => ({ n: i + 1, text: t, min: 10, set: i === 0 })) }, capture: { app: 'zoom', shots: 'on' }, steps: { links: S.links || {}, tasks: [] } });
|
|
@@ -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
|
@@ -1,35 +1,74 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
|
-
title: "Home (/premium.html) and the features
|
|
4
|
-
description: "Home in the Agreed design: the list, the Viewer, the place menu, and the
|
|
3
|
+
title: "Home (/premium.html) and the designed features"
|
|
4
|
+
description: "Home in the Agreed design: the list grouped by product, the Viewer, the place menu, New for you, Search, and the initiative, meeting, report, Board and Insights features designed after it."
|
|
5
5
|
timestamp: 2026-10-23
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Home
|
|
9
9
|
|
|
10
|
-
Home is the page at `/premium.html`. It follows the Agreed design. The left side is one list
|
|
10
|
+
Home is the page at `/premium.html`. It follows the Agreed design and the "Uncovered features" canvas (initiative `premium-uncovered-features`). The left side is one list. The middle is the chat. The right side is the Viewer. A row opens its item in the Viewer. On a phone the list is the page, and a row opens its conversation with a back bar.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
## The list
|
|
13
|
+
|
|
14
|
+
- The list is grouped by **product**. The product's header shows its goals, for example "2 of 4 goals on track". Press a header to close or open the product.
|
|
15
|
+
- Each next step sits under its **initiative**. An initiative where the next step is yours comes first and shows **your turn**. The first one is open. Press an initiative to open or close it.
|
|
16
|
+
- **Not in an initiative** holds only the items that have no initiative: loose notes, mentions and meetings.
|
|
17
|
+
- The greeting says how many next steps are yours today, for example "Good morning. 2 next steps are yours today."
|
|
18
|
+
- **Today**, **Waiting**, **Kept** and **Done** are filters on the same list. There is no separate Needs you list and no Your list.
|
|
19
|
+
- On Fridays, **Weekly review** at the top of the list opens four short steps.
|
|
20
|
+
- The microphone in the chat box turns what you say into text. Nothing is sent until you press send.
|
|
21
|
+
|
|
22
|
+
## An initiative
|
|
23
|
+
|
|
24
|
+
Open an initiative with `?ini=<id>`. Its card at the top of the list shows the stage and the exit items.
|
|
25
|
+
|
|
26
|
+
- **Moves on by itself** is a switch, on by default. When every exit item is done, the stage moves to the next stage and a message shows **Undo**. A stage never moves by itself into a milestone (Deliver or Evaluate). This rule is a proposal that the PM has not confirmed yet.
|
|
27
|
+
- **Move to <next>** with open exit items asks first (**Move anyway**, with a note). **Back** always asks for a reason.
|
|
28
|
+
- **Tasks** in the Viewer can be grouped by stage, by groups that you name, by owner or by status. Drag a task to another group.
|
|
29
|
+
- **Core documents** in the list shows only the documents that need a look. **All documents** opens every document in the Viewer.
|
|
30
|
+
|
|
31
|
+
Some features are still not designed. Home keeps each one usable as a plain card in the Viewer with the label **Waiting for design**. The label means that the card works, but its look is not final.
|
|
32
|
+
|
|
33
|
+
## New for you, Search, Sources and Settings
|
|
34
|
+
|
|
35
|
+
- **New for you** replaces the Inbox. It holds only items to know about: mentions, tasks given to you and finished work. An item leaves the list when you have seen it. A mention that asks you something becomes the next step of its initiative.
|
|
36
|
+
- **Search** (Ctrl K or ⌘K, or `/`) finds initiatives, documents, sessions and files in the repository and its worktrees.
|
|
37
|
+
- **Sources** shows each source that Home reads and its health. **Settings** holds the theme (light, dark or the system's) and the workspace settings.
|
|
38
|
+
|
|
39
|
+
## The other pages
|
|
40
|
+
|
|
41
|
+
- **Board.** New initiative takes links and files, starts in Triage and asks only the questions that the material does not answer. **Later** keeps the questions as the next step. The Board also has List, By stage, Documents and spans. On a phone, **Metrics** and **Cancelled and archived** are in every view.
|
|
42
|
+
- **Meetings.** Replay with screen captures and kept points, Focus, a presenter view, Add material, the After view, a Day, Week and Month calendar, and Notes.
|
|
43
|
+
- **Reports.** The Brief, the report states, a document reader and a live page reader.
|
|
44
|
+
- **Insights.** A goal's detail with its chart and readings, targets on each tile, Library flows and a Portfolio view.
|
|
13
45
|
|
|
14
46
|
## The place menu
|
|
15
47
|
|
|
16
|
-
Press the round button at the bottom of the page,
|
|
17
|
-
|
|
18
|
-
- **
|
|
19
|
-
|
|
20
|
-
- **The agent** can draft the item. A draft shows under the item with **Open** and **Copy**. Nothing goes out until you confirm **Post it**. **Send it back with a note** asks for a new draft.
|
|
21
|
-
- **Back to My work**, or Escape, returns to the list. Escape closes the fields first.
|
|
22
|
-
- **Focus** at the top of Your list opens **Focus and jobs**: accept or skip a suggestion, and add a job ("When …, I want …, so …").
|
|
23
|
-
- On a focused row, J and K move between rows. The right and left arrows do what the row says, for example Done and Tomorrow. A drag of a row to the right or left does the same. Most presses show **Undo** for a few seconds.
|
|
24
|
-
- **Around you.** The six rows of the earlier Briefing card: agent proposals, mentions, portfolio pulse, horizon scan, report found and data freshness. The card also shows the prep line for your next meeting and today's digests. A row opens its view in the same card. **Back** returns to the six rows. The presses are the same as before. See "Around you" in [the premium Briefing](briefing-premium.md).
|
|
25
|
-
- **Agent results.** What the agents finished that waits on you.
|
|
26
|
-
- **End of the day.** What finished today, the recap, and tomorrow's meetings.
|
|
27
|
-
- **Calendar**, **Record a note** and **Settings**.
|
|
28
|
-
- **Search.** Find an initiative, a core document or a session by name. Press Ctrl K (⌘K on a Mac) to open it from anywhere on Home.
|
|
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
|
+
|
|
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.
|
|
51
|
+
- **Calendar** and **Record a note.**
|
|
29
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.
|
|
30
|
-
- **Sources.** The state of each source that Home reads, with a dot that shows its health. **What Home shows** says which sources give the Today and Needs you lists.
|
|
31
53
|
|
|
32
|
-
|
|
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.
|
|
33
72
|
|
|
34
73
|
## A need row in the Viewer
|
|
35
74
|
|
package/workspace/guide/index.md
CHANGED
|
@@ -28,7 +28,7 @@ On a desktop the workspace is one frame. [Layout](layout.md) explains each part.
|
|
|
28
28
|
| The sessions of a repository, by initiative | The agent dock. ⌘K → **Branches and sessions** lists the branches. |
|
|
29
29
|
| The items of an initiative | Board, or Breakdown in the initiative detail |
|
|
30
30
|
| How the Briefing cards, day part, Portfolio pulse and overdue items work | [Briefing](briefing-cards.md) |
|
|
31
|
-
| Home in the Agreed design
|
|
31
|
+
| Home in the Agreed design: the list by product, New for you, Search, and the designed features | [Home](home.md) |
|
|
32
32
|
| The premium Briefing page at /premium.html | [Premium Briefing](briefing-premium.md) |
|
|
33
33
|
| Run reports | Reports |
|
|
34
34
|
| Whether a document is the same as its Google Docs or Confluence copy | Docs: ⌘K → **Docs**, or press `g d` |
|
|
@@ -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.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* lib/board-grill.js — the first questions of a new initiative (initiative premium-uncovered-features, Board: BdNew, BdGrill).
|
|
3
|
+
*
|
|
4
|
+
* fold(lines, id) → { id, why, material: { links, files }, answers: { [q]: text }, later, at } PURE
|
|
5
|
+
* questionsOf(state) → [{ key, n, of, topic, q, why, chips, answer }] PURE
|
|
6
|
+
* summaryOf(state) → { open, total, later, took: [line] } PURE
|
|
7
|
+
*
|
|
8
|
+
* A new initiative starts in Triage with no lane choice. Right after it is made, the Board shows what PMOS took from the PM's words and
|
|
9
|
+
* material, then asks only what they leave open, one question at a time. The questions are the BRD's four parts (the Triage output:
|
|
10
|
+
* business case, who asked, problem, success measure). A part the Why already answers is not asked. "Later" keeps the open questions as
|
|
11
|
+
* the initiative's next step.
|
|
12
|
+
*
|
|
13
|
+
* FILE MODE ONLY (D64/D66): one append-only file, <state>/triage-answers.jsonl, with lines
|
|
14
|
+
* { kind: 'start', initiative, why, links: [{ url, label }] } the New initiative panel's Why and links
|
|
15
|
+
* { kind: 'file', initiative, name, type, size, path } a file the PM added (its bytes are in <state>/material/<initiative>/)
|
|
16
|
+
* { kind: 'answer', initiative, q, answer } one answer (the last one per question wins)
|
|
17
|
+
* { kind: 'later', initiative } the PM closed the questions with Later
|
|
18
|
+
* Nothing here reads the material for the PM or sends it anywhere: an agent session reads it during Triage. */
|
|
19
|
+
|
|
20
|
+
/** The BRD's parts as questions. `answeredBy` says when the Why already answers one, so it is not asked. */
|
|
21
|
+
const QUESTIONS = [
|
|
22
|
+
{ key: 'problem', topic: 'Problem', q: 'What problem does it solve, and who is stuck today?', why: 'The BRD starts from the problem. Your Why did not name it, so PMOS asks.',
|
|
23
|
+
chips: [], answeredBy: (why) => words(why) >= 8 },
|
|
24
|
+
{ key: 'who', topic: 'Who asked', q: 'Who asked for it, or who feels the problem most?', why: 'The BRD names who asked, so the right people review it.',
|
|
25
|
+
chips: ['Customers', 'Partners', 'An internal team', 'Not sure yet'] },
|
|
26
|
+
{ key: 'case', topic: 'Business case', q: 'What does it win or save if it works?', why: 'The business case decides its rank against the other initiatives.',
|
|
27
|
+
chips: ['Revenue', 'Retention', 'Cost', 'Risk', 'Not sure yet'] },
|
|
28
|
+
{ key: 'success', topic: 'Success', q: 'What would show it worked?', why: 'The success measure becomes the target that Monitor reads after the release.',
|
|
29
|
+
chips: ['A metric moves', 'Fewer support tickets', 'A customer renews', 'Not sure yet'] },
|
|
30
|
+
];
|
|
31
|
+
const KEYS = new Set(QUESTIONS.map((x) => x.key));
|
|
32
|
+
const words = (s) => String(s || '').trim().split(/\s+/).filter((w) => w.length > 1).length;
|
|
33
|
+
|
|
34
|
+
/** The state of one initiative from the file's lines. Pure. */
|
|
35
|
+
function fold(lines, id) {
|
|
36
|
+
const st = { id, why: '', material: { links: [], files: [] }, answers: {}, later: false, at: null };
|
|
37
|
+
for (const l of lines || []) {
|
|
38
|
+
if (!l || l.initiative !== id) continue;
|
|
39
|
+
if (l.kind === 'start') {
|
|
40
|
+
st.why = typeof l.why === 'string' ? l.why : st.why; st.at = st.at || l.at || null;
|
|
41
|
+
for (const k of Array.isArray(l.links) ? l.links : []) if (k && k.url && !st.material.links.some((x) => x.url === k.url)) st.material.links.push({ url: String(k.url), label: String(k.label || k.url) });
|
|
42
|
+
} else if (l.kind === 'file' && l.name) st.material.files.push({ name: String(l.name), type: String(l.type || ''), size: Number(l.size) || 0, path: l.path || null });
|
|
43
|
+
else if (l.kind === 'answer' && KEYS.has(l.q)) { if (String(l.answer || '').trim()) st.answers[l.q] = String(l.answer).trim(); else delete st.answers[l.q]; }
|
|
44
|
+
else if (l.kind === 'later') st.later = true;
|
|
45
|
+
}
|
|
46
|
+
return st;
|
|
47
|
+
}
|
|
48
|
+
/** The questions PMOS asks: the BRD parts the Why does not answer, numbered, each with its answer when there is one. Pure. */
|
|
49
|
+
function questionsOf(st) {
|
|
50
|
+
const ask = QUESTIONS.filter((x) => !(x.answeredBy && x.answeredBy(st.why)));
|
|
51
|
+
return ask.map((x, i) => ({ key: x.key, n: i + 1, of: ask.length, topic: x.topic, q: x.q, why: x.why, chips: x.chips.slice(), answer: st.answers[x.key] || '' }));
|
|
52
|
+
}
|
|
53
|
+
/** How many questions are still open, and what PMOS took from the Why and the material, in plain lines. Pure. */
|
|
54
|
+
function summaryOf(st) {
|
|
55
|
+
const qs = questionsOf(st), open = qs.filter((x) => !x.answer).length, L = st.material.links.length, F = st.material.files.length;
|
|
56
|
+
const took = [];
|
|
57
|
+
if (st.why.trim()) took.push('Your Why: ' + st.why.trim());
|
|
58
|
+
if (QUESTIONS[0].answeredBy(st.why)) took.push('It names the problem, so PMOS does not ask about it.');
|
|
59
|
+
if (L || F) took.push('Material: ' + [L ? L + ' ' + (L === 1 ? 'link' : 'links') : '', F ? F + ' ' + (F === 1 ? 'file' : 'files') : ''].filter(Boolean).join(' and ') + '. An agent reads it in Triage and drafts the BRD from it.');
|
|
60
|
+
return { open, total: qs.length, later: st.later, took };
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
module.exports = { QUESTIONS, fold, questionsOf, summaryOf };
|
|
@@ -186,13 +186,35 @@ function actsOf(r, boardNames) {
|
|
|
186
186
|
const life = r.status === 'on hold' ? 'hold' : r.status === 'cancelled' ? 'cancelled' : null;
|
|
187
187
|
return {
|
|
188
188
|
stages: own, stage: r.stage || null, life, reason: life ? clip(st.reason || '', 300) : '', back: life === 'hold' && st.back ? shortDate(st.back) : '', backDay: life === 'hold' && st.back ? String(st.back).slice(0, 10) : null,
|
|
189
|
-
|
|
189
|
+
...(life && st.at ? { since: shortDate(String(st.at).slice(0, 10)) } : {}),
|
|
190
|
+
archived: r.archived ? { reason: clip(r.archived.reason || '', 300), into: r.archived.into ? (r.archived.intoTitle || r.archived.into) : null, ...(r.archived.at ? { at: shortDate(String(r.archived.at).slice(0, 10)) } : {}) } : null,
|
|
190
191
|
};
|
|
191
192
|
}
|
|
192
|
-
|
|
193
|
+
/** The words an ask and an initiative title share (three letters or more, not common words), for "Close to: <initiative>". */
|
|
194
|
+
const STOP = new Set(['the', 'and', 'for', 'with', 'from', 'that', 'this', 'who', 'what', 'when', 'can', 'are', 'was', 'not', 'our', 'your', 'their', 'they', 'keep', 'asking', 'want', 'wants', 'need', 'needs', 'into', 'each', 'all', 'any', 'has', 'have', 'its']);
|
|
195
|
+
const sig = (s) => new Set(String(s || '').toLowerCase().split(/[^a-z0-9]+/).filter((w) => w.length >= 3 && !STOP.has(w)));
|
|
196
|
+
/** The open initiative an ask is closest to: it shares two words with its title, or half of a short title's words. Null when none does. */
|
|
197
|
+
function closeTo(line, rows) {
|
|
198
|
+
const want = sig(line);
|
|
199
|
+
let best = null;
|
|
200
|
+
for (const r of rows || []) {
|
|
201
|
+
const have = sig(r.title), shared = [...have].filter((w) => want.has(w)).length;
|
|
202
|
+
if (!have.size || !(shared >= 2 || (shared >= 1 && shared / have.size >= 0.5))) continue;
|
|
203
|
+
if (!best || shared > best.n) best = { n: shared, id: r.id, key: r.key, title: r.title, stage: (r.track && r.track.label) || r.stage || '' };
|
|
204
|
+
}
|
|
205
|
+
return best ? { id: best.id, key: best.key, title: best.title, stage: best.stage } : null;
|
|
206
|
+
}
|
|
207
|
+
/** One ask as the New asks card draws it (initiative premium-uncovered-features, BdAsks): who and where it came from, the draft, the product it is for
|
|
208
|
+
* and why, the products it could be for when the record names more than one, a prior rejection and the open initiative it is close to. */
|
|
209
|
+
const askOf = (a, board, rows) => {
|
|
193
210
|
const d = a.draft || {};
|
|
211
|
+
const products = Array.isArray(a.products) ? a.products.filter((x) => x && (x.id || x.name)).slice(0, 4).map((x) => ({ id: String(x.id || x.name), name: String(x.name || x.id), why: clip(x.why || '', 160) })) : [];
|
|
194
212
|
return { id: a.id, line: clip(a.line, 500), source: a.source || '', by: a.by || '', at: a.at ? shortDate(String(a.at).slice(0, 10)) : '',
|
|
195
|
-
draft: { title: clip(d.title || a.line, 120), lane: LANES.includes(d.lane) ? d.lane : null, anchor: d.anchor_suggestion || '' }
|
|
213
|
+
draft: { title: clip(d.title || a.line, 120), lane: LANES.includes(d.lane) ? d.lane : null, anchor: d.anchor_suggestion || '' },
|
|
214
|
+
product: products.length > 1 ? null : { name: (products[0] && products[0].name) || board.name || '', why: (products[0] && products[0].why) || (a.source ? 'came in through ' + clip(a.source, 80) + ' on this board' : 'came in on this board') },
|
|
215
|
+
products: products.length > 1 ? products : [],
|
|
216
|
+
prior: (Array.isArray(d.prior_rejections) ? d.prior_rejections : []).slice(0, 3).map((x) => ({ file: String(x.file || ''), title: clip(x.title || '', 120) })),
|
|
217
|
+
close: closeTo(a.line, rows) };
|
|
196
218
|
};
|
|
197
219
|
|
|
198
220
|
function rowOf(r, wf, today) {
|
|
@@ -341,9 +363,18 @@ function build(f) {
|
|
|
341
363
|
// the Agreed design (premium-agreed-design): the eight steps with the board's own count in each, the Jira read time and the chip counts
|
|
342
364
|
steps: STEPS.map((st, i) => ({ ...st, count: stages.filter((c) => stepIndex(c.stage, c.cat) === i).reduce((n, c) => n + c.count, 0) })),
|
|
343
365
|
jira: { source: sp.source || 'none', readAt: sp.readAt || null, release: nr && nr.at ? { name: nr.name || nr.id, at: shortDate(String(nr.at).slice(0, 10)), iso: String(nr.at).slice(0, 10) } : null,
|
|
344
|
-
sprint: active ? { name: active.name, start: active.start ? String(active.start).slice(0, 10) : null, end: active.end ? String(active.end).slice(0, 10) : null } : null
|
|
366
|
+
sprint: active ? { name: active.name, start: active.start ? String(active.start).slice(0, 10) : null, end: active.end ? String(active.end).slice(0, 10) : null } : null,
|
|
367
|
+
// every sprint of the reading, oldest first, with its points where the reading holds them (initiative premium-uncovered-features, BdSprint)
|
|
368
|
+
sprints: sp.source === 'jira' ? sprints.slice().sort((a, b) => String(a.start || '').localeCompare(String(b.start || ''))).map((x) => {
|
|
369
|
+
const iss = x.issues || [], pts = iss.filter((i) => Number.isFinite(i.points)), k = x.counts || {};
|
|
370
|
+
return { name: x.name, state: x.state || '', start: x.start ? String(x.start).slice(0, 10) : null, end: x.end ? String(x.end).slice(0, 10) : null, now: x === active,
|
|
371
|
+
pts: pts.length ? { done: pts.filter((i) => tkStatus(i.status, i.category) === 'Done').reduce((n, i) => n + i.points, 0), total: pts.reduce((n, i) => n + i.points, 0) } : null,
|
|
372
|
+
counts: { done: k.done || 0, doing: k.doing || 0, todo: k.todo || 0 } };
|
|
373
|
+
}) : [],
|
|
374
|
+
// the open tickets that sit in no sprint: the backlog
|
|
375
|
+
backlog: [...tkBy.entries()].flatMap(([ini, list]) => list.filter((t) => !t.sprint && t.status !== 'Done').map((t) => ({ key: t.key, title: t.title, ini, iniTitle: ((rows.find((r) => r.id === ini) || {}).title) || '', points: t.points, status: t.status }))).slice(0, 60) },
|
|
345
376
|
chips: { late, risk, blocked: rows.filter((r) => r.track && r.track.blocked).length, idle: rows.filter((r) => r.track && r.track.idle != null).length, asks: f.asks == null ? null : f.asks.filter((a) => a && a.state !== 'accepted' && a.state !== 'declined').length },
|
|
346
|
-
asks: f.asks == null ? { missing: true, rows: [] } : { rows: f.asks.filter((a) => a && a.state !== 'accepted' && a.state !== 'declined').slice(0, 50).map(askOf) },
|
|
377
|
+
asks: f.asks == null ? { missing: true, rows: [] } : { rows: f.asks.filter((a) => a && a.state !== 'accepted' && a.state !== 'declined').slice(0, 50).map((a) => askOf(a, board, rows)) },
|
|
347
378
|
dock: { needs: risk + late, label: 'need a look', release: nr && nr.at ? { at: shortDate(String(nr.at).slice(0, 10)), name: nr.name || nr.id } : null, next: (rows.find((r) => r.late) || rows.find((r) => r.bad) || {}).title || null },
|
|
348
379
|
rows: rows.concat(stageRows.filter((r) => !rows.some((x) => x.key === r.key)), gone.cancelled, gone.archived, [sprintRow, relRow].filter(Boolean)).concat([{ key: 'board:this-board', id: null, title: board.name || 'This board', sub: 'Board', dialog: { eye: 'Board', logTitle: 'Read from the board', log: ['Read the board and its initiatives', 'Counted them by status', 'Changed nothing'], say: (board.name || 'This board') + ' has ' + open + ' open ' + plural(open, 'initiative', 'initiatives') + ': ' + on + ' on track, ' + risk + ' at risk, ' + late + ' late' + (hold ? ', ' + hold + ' on hold' : '') + '.', head: 'Where it stands', facts: [['Open initiatives', String(open)], ['On track', String(on)], ['At risk', String(risk)], ['Late', String(late)], ['On hold', hold ? String(hold) : '']].filter((x) => x[1] !== ''), hold: 'Nothing here changes a board.', pane: { label: 'Board record', file: '', note: 'The board as its records hold it.', rows: [['Open initiatives', String(open)], ['On track', String(on)], ['At risk', String(risk)], ['Late', String(late)], ['On hold', hold ? String(hold) : '']].filter((x) => x[1] !== '') } } }]),
|
|
349
380
|
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
/* lib/initiative-layout.js — the PM's own choices about one initiative's layout inside Home (initiative premium-uncovered-features, Initiative;
|
|
3
|
+
* canvas InStage, InTasks, InDocs, InPhone).
|
|
4
|
+
*
|
|
5
|
+
* fold(lines, initiative) → { auto, held, by, names, of, stage } PURE. The last line of each kind for the initiative wins.
|
|
6
|
+
* foldSets(lines) → [{ name, names }] PURE. The saved group sets, for every initiative of the workspace.
|
|
7
|
+
* eventOf(body) → { ok, event } | { ok: false, error } PURE. Checks one press and turns it into the line to append.
|
|
8
|
+
*
|
|
9
|
+
* What it holds:
|
|
10
|
+
* auto "Moves on by itself": true unless the PM turned it off (default on)
|
|
11
|
+
* held the stages the PM undid a move by itself out of: the page does not move out of them by itself again
|
|
12
|
+
* by how the Tasks card groups: 'stage' | 'mine' (the groups the PM names) | 'owner' | 'status' | 'none'
|
|
13
|
+
* names the PM's group names, in order
|
|
14
|
+
* of task key → the PM's group name
|
|
15
|
+
* stage task key → the stage the task belongs to (a task records none of its own)
|
|
16
|
+
* The stage move itself is not here: it is a move of POST /api/boards/move, with its note or reason as the move's why. */
|
|
17
|
+
|
|
18
|
+
const ID_RE = /^[A-Za-z0-9][A-Za-z0-9._-]{0,80}$/;
|
|
19
|
+
const TASK_RE = /^(task|req):[A-Za-z0-9][A-Za-z0-9._:#/-]{0,120}$/;
|
|
20
|
+
const BY = ['stage', 'mine', 'owner', 'status', 'none'];
|
|
21
|
+
const KINDS = ['auto', 'hold', 'by', 'groups', 'rename', 'place', 'stage', 'set', 'unset'];
|
|
22
|
+
const name = (v, n = 40) => String(v == null ? '' : v).replace(/[\u0000-\u001f]+/g, ' ').replace(/\s+/g, ' ').trim().slice(0, n);
|
|
23
|
+
const names = (v) => { const out = []; for (const x of Array.isArray(v) ? v : []) { const s = name(x); if (s && !out.some((y) => y.toLowerCase() === s.toLowerCase())) out.push(s); } return out.slice(0, 12); };
|
|
24
|
+
|
|
25
|
+
function empty() { return { auto: true, held: [], by: 'stage', names: [], of: {}, stage: {} }; }
|
|
26
|
+
|
|
27
|
+
function fold(lines, initiative) {
|
|
28
|
+
const o = empty();
|
|
29
|
+
for (const l of lines || []) {
|
|
30
|
+
if (!l || l.initiative !== initiative) continue;
|
|
31
|
+
if (l.kind === 'auto') { o.auto = l.on !== false; if (o.auto) o.held = []; }
|
|
32
|
+
else if (l.kind === 'hold' && l.stage && !o.held.includes(l.stage)) o.held.push(l.stage);
|
|
33
|
+
else if (l.kind === 'by' && BY.includes(l.by)) o.by = l.by;
|
|
34
|
+
else if (l.kind === 'groups') {
|
|
35
|
+
o.names = names(l.names);
|
|
36
|
+
for (const k of Object.keys(o.of)) if (!o.names.includes(o.of[k])) delete o.of[k]; // a deleted group lets its tasks go
|
|
37
|
+
} else if (l.kind === 'rename') {
|
|
38
|
+
const i = o.names.indexOf(l.from);
|
|
39
|
+
if (i >= 0 && l.to && !o.names.includes(l.to)) { o.names[i] = l.to; for (const k of Object.keys(o.of)) if (o.of[k] === l.from) o.of[k] = l.to; }
|
|
40
|
+
} else if (l.kind === 'place' && l.task) { if (l.group && o.names.includes(l.group)) o.of[l.task] = l.group; else delete o.of[l.task]; }
|
|
41
|
+
else if (l.kind === 'stage' && l.task) { if (l.stage) o.stage[l.task] = l.stage; else delete o.stage[l.task]; }
|
|
42
|
+
}
|
|
43
|
+
return o;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function foldSets(lines) {
|
|
47
|
+
const out = [];
|
|
48
|
+
for (const l of lines || []) {
|
|
49
|
+
if (!l || (l.kind !== 'set' && l.kind !== 'unset') || !l.name) continue;
|
|
50
|
+
const i = out.findIndex((s) => s.name.toLowerCase() === String(l.name).toLowerCase());
|
|
51
|
+
if (i >= 0) out.splice(i, 1);
|
|
52
|
+
if (l.kind === 'set') out.push({ name: l.name, names: names(l.names) });
|
|
53
|
+
}
|
|
54
|
+
return out.slice(-20);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
function eventOf(b) {
|
|
58
|
+
const o = b || {};
|
|
59
|
+
if (!KINDS.includes(o.kind)) return { ok: false, error: 'kind is one of ' + KINDS.join(', ') };
|
|
60
|
+
if (o.kind !== 'set' && o.kind !== 'unset' && !ID_RE.test(String(o.initiative || ''))) return { ok: false, error: 'initiative must name an initiative' };
|
|
61
|
+
const base = { kind: o.kind };
|
|
62
|
+
if (o.kind !== 'set' && o.kind !== 'unset') base.initiative = o.initiative;
|
|
63
|
+
switch (o.kind) {
|
|
64
|
+
case 'auto': if (typeof o.on !== 'boolean') return { ok: false, error: 'on is true or false' }; return { ok: true, event: { ...base, on: o.on } };
|
|
65
|
+
case 'hold': { const s = name(o.stage); if (!s) return { ok: false, error: 'stage names the stage' }; return { ok: true, event: { ...base, stage: s } }; }
|
|
66
|
+
case 'by': if (!BY.includes(o.by)) return { ok: false, error: 'by is one of ' + BY.join(', ') }; return { ok: true, event: { ...base, by: o.by } };
|
|
67
|
+
case 'groups': if (!Array.isArray(o.names)) return { ok: false, error: 'names is a list of group names' }; return { ok: true, event: { ...base, names: names(o.names) } };
|
|
68
|
+
case 'rename': { const f = name(o.from), t = name(o.to); if (!f || !t) return { ok: false, error: 'from and to name the group' }; return { ok: true, event: { ...base, from: f, to: t } }; }
|
|
69
|
+
case 'place': if (!TASK_RE.test(String(o.task || ''))) return { ok: false, error: 'task names a task' }; return { ok: true, event: { ...base, task: o.task, group: name(o.group) } };
|
|
70
|
+
case 'stage': if (!TASK_RE.test(String(o.task || ''))) return { ok: false, error: 'task names a task' }; return { ok: true, event: { ...base, task: o.task, stage: name(o.stage) } };
|
|
71
|
+
case 'set': { const n = name(o.name, 80); const l = names(o.names); if (!n) return { ok: false, error: 'name the set' }; if (!l.length) return { ok: false, error: 'a set holds at least one group' }; return { ok: true, event: { ...base, name: n, names: l } }; }
|
|
72
|
+
case 'unset': { const n = name(o.name, 80); if (!n) return { ok: false, error: 'name the set' }; return { ok: true, event: { ...base, name: n } }; }
|
|
73
|
+
default: return { ok: false, error: 'unknown kind' };
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
module.exports = { fold, foldSets, eventOf, BY, KINDS };
|
|
@@ -193,6 +193,7 @@ function setupsOf(su, now) {
|
|
|
193
193
|
id: s.id, name: clip(s.name, 120), purpose: clip(s.purpose, 240), audience: s.audience || '', source: s.source || '', output: s.output || '', label: s.label || '',
|
|
194
194
|
next: s.next_draft ? shortDate(s.next_draft) : '', lastIssued: s.last_issued ? shortDate(s.last_issued) : '', status: s.status || '', cycles: fin(s.cycles) ? s.cycles : 0,
|
|
195
195
|
paused: s.status === 'paused', fromWork: s.source === 'work', structured: !!(s.structure && s.structure.saved), drafting: !!(s.draft && s.draft.state === 'drafting'),
|
|
196
|
+
sections: s.structure && Array.isArray(s.structure.sections) ? s.structure.sections.map((x) => (typeof x === 'string' ? x : x && (x.title || x.heading || x.name))).filter((x) => typeof x === 'string' && x.trim()).map((x) => clip(x, 80)).slice(0, 8) : [], // premium-uncovered-features: IsLibrary "Sections"
|
|
196
197
|
builtFrom: s.structure && Array.isArray(s.structure.charts) ? [...new Set(s.structure.charts.map((c) => (typeof c === 'string' ? c : c && (c.title || c.name || c.chart || c.id))).filter((x) => typeof x === 'string' && x).map((x) => clip(x, 40)))].slice(0, 4) : [], // premium-agreed-design: Library "Built from"
|
|
197
198
|
}));
|
|
198
199
|
const found = (su.findings || []).slice(0, 3).map((x) => ({
|
|
@@ -388,7 +389,7 @@ function build(facts) {
|
|
|
388
389
|
const board = f.board || {};
|
|
389
390
|
const model = {
|
|
390
391
|
header: { text: (f.pending ? 'Reading the records · ' : '') + 'Real data' + (missing.length ? ' · not read: ' + missing.join(', ') : ''), missing },
|
|
391
|
-
board: { ws: board.ws || null, id: board.id || null, name: board.name || 'Insights', switcher: (f.boards || []).map((b) => ({ ws: b.ws, id: b.id, name: b.name })) },
|
|
392
|
+
board: { ws: board.ws || null, id: board.id || null, name: board.name || 'Insights', switcher: (f.boards || []).map((b) => Object.assign({ ws: b.ws, id: b.id, name: b.name }, fin(b.goals) ? { goals: b.goals } : {})) },
|
|
392
393
|
charts, mine, mineGone, mineSaved: mineAll, noSeries, dashboards, rows: charts,
|
|
393
394
|
findings: findings.length ? findings : [{ kind: 'calm', key: null, text: charts.length ? (charts.some((c) => c.target !== null) ? 'Nothing stands out. No measure moved much, and none is far behind its line.' : 'Nothing stands out. No measure here has a target, so the series can only be described.') : '' }],
|
|
394
395
|
calm: !findings.length && charts.length > 0,
|
|
@@ -409,7 +410,7 @@ function build(facts) {
|
|
|
409
410
|
model.budgets = budgetsOf(f.initiatives || [], f.budgets || []);
|
|
410
411
|
model.budgetsRead = Array.isArray(f.budgets);
|
|
411
412
|
model.lateNow = Array.isArray(f.initiatives) ? f.initiatives.filter((r) => r && r.status === 'late').length : null;
|
|
412
|
-
model.trends = Object.assign(IG.trendsOf(Array.isArray(f.initiatives) ? f.initiatives : null, model.today), { targets: ins.targets || {} });
|
|
413
|
+
model.trends = Object.assign(IG.trendsOf(Array.isArray(f.initiatives) ? f.initiatives : null, model.today), { targets: ins.targets || {}, tiles: ins.tiles || {} });
|
|
413
414
|
model.chartSet = ins.charts[bid] || {}; // { [dashboard]: { [goal]: { form, range, compare, target, forecast, note } } }
|
|
414
415
|
model.lifecycle = LIFE_LABEL.map((label, i) => ({ key: LIFE[i], label, milestone: i === 5 || i === 7 }));
|
|
415
416
|
last = model;
|
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
* checkChart(input) → { ok, value } | refusal one chart on one dashboard: { board, dash, goal, form, range, compare, target, forecast, note }
|
|
8
8
|
* checkVerdict(input) → { ok, value } | refusal { board, ini, verdict: Keep | Iterate | Stop, learned, goal }
|
|
9
9
|
* checkTarget(input) → { ok, value } | refusal a Delivery trends target of the page's own tiles: { key: late | scope, target: number | null }
|
|
10
|
-
*
|
|
10
|
+
* checkTile(input) → { ok, value } | refusal how any Delivery trends target is read (premium-uncovered-features, IsTarget): { key: one of
|
|
11
|
+
* TILE_KEYS, dir: 'at least' | 'at most' | 'none', from: 'YYYY-MM-DD' | '', chip: bool }. The number stays where it was kept.
|
|
12
|
+
* fold(lines) → { charts: { [board]: { [dash]: { [goal]: chart } } }, verdicts: { [board]: { [ini]: verdict } }, targets: { [key]: number },
|
|
13
|
+
* tiles: { [key]: { dir, from, chip, at } } } PURE
|
|
11
14
|
* read(root) → fold(readLines(ledgerFile(root)))
|
|
12
15
|
* append(root, ev, value, actor, { now }) → { ok, line } THE SINGLE WRITER. `v`, `ev`, `actor` and `at` are set here.
|
|
13
16
|
*
|
|
14
|
-
* THE LINES. { v: 1, ev: 'chart' | 'verdict' | 'target', ...value, actor, at }. The last line of each key wins: a chart per board, dashboard and goal;
|
|
15
|
-
* a verdict per board and initiative; a target per key. A torn line, or one without its key fields, is skipped.
|
|
17
|
+
* THE LINES. { v: 1, ev: 'chart' | 'verdict' | 'target' | 'tile', ...value, actor, at }. The last line of each key wins: a chart per board, dashboard and goal;
|
|
18
|
+
* a verdict per board and initiative; a target per key; a tile setting per key. A torn line, or one without its key fields, is skipped.
|
|
16
19
|
* A verdict is recorded here only: it does not move the initiative on the Board and does not change its record. */
|
|
17
20
|
const fs = require('fs');
|
|
18
21
|
const path = require('path');
|
|
@@ -23,6 +26,8 @@ const RANGES = Object.freeze(['8w', 'Quarter', '26w']);
|
|
|
23
26
|
const COMPARES = Object.freeze(['', 'lq']);
|
|
24
27
|
const VERDICTS = Object.freeze(['Keep', 'Iterate', 'Stop']);
|
|
25
28
|
const TARGET_KEYS = Object.freeze(['late', 'scope']);
|
|
29
|
+
const TILE_KEYS = Object.freeze(['blocked', 'late', 'idle', 'scope', 'merges', 'corrections']);
|
|
30
|
+
const TILE_DIRS = Object.freeze(['at least', 'at most', 'none']);
|
|
26
31
|
const ID_RE = /^[A-Za-z0-9][A-Za-z0-9._:-]{0,119}$/;
|
|
27
32
|
const NOTE_MAX = 160, LEARN_MAX = 600;
|
|
28
33
|
|
|
@@ -74,19 +79,28 @@ function checkTarget(input) {
|
|
|
74
79
|
if (t !== null && !(Number.isFinite(t) && t >= 0)) return refuse(400, 'The target is a number of initiatives, 0 or more.');
|
|
75
80
|
return { ok: true, value: { key: i.key, target: t } };
|
|
76
81
|
}
|
|
82
|
+
function checkTile(input) {
|
|
83
|
+
const i = isObj(input) ? input : {};
|
|
84
|
+
if (!TILE_KEYS.includes(i.key)) return refuse(400, 'Name the tile: ' + TILE_KEYS.join(', ') + '.');
|
|
85
|
+
if (!TILE_DIRS.includes(i.dir)) return refuse(400, 'Pick At least, At most or No target.');
|
|
86
|
+
const from = typeof i.from === 'string' && /^\d{4}-\d{2}-\d{2}$/.test(i.from) ? i.from : '';
|
|
87
|
+
if (i.from && !from) return refuse(400, 'The start is a date: YYYY-MM-DD.');
|
|
88
|
+
return { ok: true, value: { key: i.key, dir: i.dir, from, chip: i.chip === true } };
|
|
89
|
+
}
|
|
77
90
|
|
|
78
91
|
function fold(lines) {
|
|
79
|
-
const charts = {}, verdicts = {}, targets = {};
|
|
92
|
+
const charts = {}, verdicts = {}, targets = {}, tiles = {};
|
|
80
93
|
for (const l of lines || []) {
|
|
81
94
|
if (l.ev === 'chart') { const c = checkChart(l); if (!c.ok) continue; const v = c.value; ((charts[v.board] = charts[v.board] || {})[v.dash] = charts[v.board][v.dash] || {})[v.goal] = Object.assign({}, v, { at: l.at || null }); }
|
|
82
95
|
else if (l.ev === 'verdict') { const c = checkVerdict(l); if (!c.ok) continue; const v = c.value; (verdicts[v.board] = verdicts[v.board] || {})[v.ini] = Object.assign({}, v, { at: l.at || null, by: l.actor && l.actor.by ? l.actor.by : null }); }
|
|
83
96
|
else if (l.ev === 'target') { const c = checkTarget(l); if (!c.ok) continue; if (c.value.target === null) delete targets[c.value.key]; else targets[c.value.key] = c.value.target; }
|
|
97
|
+
else if (l.ev === 'tile') { const c = checkTile(l); if (!c.ok) continue; tiles[c.value.key] = { dir: c.value.dir, from: c.value.from, chip: c.value.chip, at: l.at ? String(l.at).slice(0, 10) : null }; }
|
|
84
98
|
}
|
|
85
|
-
return { charts, verdicts, targets };
|
|
99
|
+
return { charts, verdicts, targets, tiles };
|
|
86
100
|
}
|
|
87
101
|
const read = (root) => fold(readLines(ledgerFile(root)));
|
|
88
102
|
|
|
89
|
-
const CHECKS = { chart: checkChart, verdict: checkVerdict, target: checkTarget };
|
|
103
|
+
const CHECKS = { chart: checkChart, verdict: checkVerdict, target: checkTarget, tile: checkTile };
|
|
90
104
|
function append(root, ev, input, actor, { now } = {}) {
|
|
91
105
|
if (!CHECKS[ev]) return refuse(400, 'unknown record: ' + ev);
|
|
92
106
|
const c = CHECKS[ev](input);
|
|
@@ -98,4 +112,4 @@ function append(root, ev, input, actor, { now } = {}) {
|
|
|
98
112
|
return { ok: true, line };
|
|
99
113
|
}
|
|
100
114
|
|
|
101
|
-
module.exports = { LEDGER, FORMS, RANGES, VERDICTS, TARGET_KEYS, ledgerFile, readLines, checkChart, checkVerdict, checkTarget, fold, read, append };
|
|
115
|
+
module.exports = { LEDGER, FORMS, RANGES, VERDICTS, TARGET_KEYS, TILE_KEYS, TILE_DIRS, ledgerFile, readLines, checkChart, checkVerdict, checkTarget, checkTile, fold, read, append };
|