create-pmos 0.539.0 → 0.541.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/package.json +39 -27
  2. package/payload/KIT-VERSION +1 -1
  3. package/payload/planning/evals/eval-calibration.md +1 -1
  4. package/payload/planning/okrs/health-budgets.md +1 -1
  5. package/payload/state/discoveries.md +1 -1
  6. package/workspace/README.md +1 -1
  7. package/workspace/changelog.json +38 -0
  8. package/workspace/fixtures/doc-category-labelled.json +1 -1
  9. package/workspace/guide/agent-capabilities.md +238 -28
  10. package/workspace/guide/breakdown.md +5 -20
  11. package/workspace/guide/claude-proposes.md +269 -37
  12. package/workspace/guide/cli.md +603 -0
  13. package/workspace/guide/home.md +160 -12
  14. package/workspace/guide/index.md +23 -59
  15. package/workspace/guide/initiatives-and-next-steps.md +235 -5
  16. package/workspace/guide/intelligence-okr-goals.md +121 -4
  17. package/workspace/guide/jira.md +2 -15
  18. package/workspace/guide/knowledge-graph.md +143 -18
  19. package/workspace/guide/layout.md +209 -4
  20. package/workspace/guide/notes.md +74 -6
  21. package/workspace/guide/proactive-engine.md +3 -14
  22. package/workspace/guide/programs.md +199 -4
  23. package/workspace/guide/reports.md +405 -41
  24. package/workspace/guide/scheduled-tasks-and-cli.md +6 -28
  25. package/workspace/guide/settings-and-switches.md +396 -0
  26. package/workspace/guide/statuses.md +141 -4
  27. package/workspace/ini-workflow-test.js +1 -1
  28. package/workspace/lib/ai-cli.js +12 -1
  29. package/workspace/lib/headless.js +75 -1
  30. package/workspace/lib/job-graph.js +2 -0
  31. package/workspace/lib/pmos-verbs.js +41 -40
  32. package/workspace/lib/run-tokens.js +70 -0
  33. package/workspace/lib/today-cli.js +57 -4
  34. package/workspace/lib/verify-work-cli.js +1 -1
  35. package/workspace/package-lock.json +2 -2
  36. package/workspace/package.json +1 -1
  37. package/workspace/public/pm/cozy-news.js +1 -1
  38. package/workspace/public/pm/cozy-onboard.js +2 -2
  39. package/workspace/public/pm/cozy-settings.js +42 -11
  40. package/workspace/public/pm/home-app.js +10 -1
  41. package/workspace/public/pm/ini-wf.js +3 -3
  42. package/workspace/public/pm/wf-page.css +26 -15
  43. package/workspace/public/pm/wf-page.js +96 -72
  44. package/workspace/public/premium-workflows.html +8 -23
  45. package/workspace/replaced-tests.json +19 -1
  46. package/workspace/server.js +7 -2
  47. package/workspace/workflows-setup-test.js +50 -50
  48. package/workspace/guide/adler.md +0 -71
  49. package/workspace/guide/agents-act.md +0 -68
  50. package/workspace/guide/ask-the-past.md +0 -46
  51. package/workspace/guide/board.md +0 -58
  52. package/workspace/guide/briefing-premium.md +0 -14
  53. package/workspace/guide/console-calendar.md +0 -24
  54. package/workspace/guide/core-documents.md +0 -58
  55. package/workspace/guide/data-freshness.md +0 -164
  56. package/workspace/guide/descriptions.md +0 -43
  57. package/workspace/guide/docs.md +0 -39
  58. package/workspace/guide/forecast.md +0 -66
  59. package/workspace/guide/horizon-scan.md +0 -82
  60. package/workspace/guide/idle-lab.md +0 -46
  61. package/workspace/guide/initiative-driver.md +0 -102
  62. package/workspace/guide/initiatives-roadmap.md +0 -131
  63. package/workspace/guide/integrated-work.md +0 -93
  64. package/workspace/guide/launcher.md +0 -39
  65. package/workspace/guide/lifecycle.md +0 -64
  66. package/workspace/guide/metric-drafts.md +0 -75
  67. package/workspace/guide/moments.md +0 -43
  68. package/workspace/guide/my-work.md +0 -40
  69. package/workspace/guide/next-prompt.md +0 -64
  70. package/workspace/guide/outcomes.md +0 -39
  71. package/workspace/guide/people.md +0 -48
  72. package/workspace/guide/pm-only-acts.md +0 -88
  73. package/workspace/guide/pm-only-lines.md +0 -61
  74. package/workspace/guide/present-in-a-meeting.md +0 -57
  75. package/workspace/guide/published-board.md +0 -116
  76. package/workspace/guide/ready-made-dashboards.md +0 -62
  77. package/workspace/guide/rehearse.md +0 -52
  78. package/workspace/guide/report-design.md +0 -126
  79. package/workspace/guide/report-slides.md +0 -43
  80. package/workspace/guide/report-structure.md +0 -91
  81. package/workspace/guide/reports-needs-you.md +0 -34
  82. package/workspace/guide/reports-set-up.md +0 -68
  83. package/workspace/guide/settings.md +0 -67
  84. package/workspace/guide/today.md +0 -40
  85. package/workspace/guide/validate-with-typesafe.md +0 -144
  86. package/workspace/guide/welcome.md +0 -90
  87. package/workspace/guide/what-you-missed.md +0 -42
  88. package/workspace/guide/workflows.md +0 -105
  89. package/workspace/guide/your-impact.md +0 -57
@@ -1,131 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Initiatives and the Roadmap: one ranked list"
4
- description: "How an initiative gets its rank on the Roadmap, what day one shows, what happened to Now, Next and Later, how to add an initiative, how to record a measurement, and how to use pmos initiative and pmos measure from a terminal."
5
- timestamp: 2026-11-02
6
- ---
7
-
8
- # Initiatives and the Roadmap: one ranked list
9
-
10
- The Roadmap is one ranked list of the initiatives of a repository. It is Prioritize's output: "Ranked on the roadmap". The first initiative is the most important. Two things say everything the old horizons said:
11
-
12
- - **The rank** says what comes first.
13
- - **The lifecycle stage** (Triage, Discover, Plan, Prioritize, Build, Deliver, Monitor, Evaluate) says where the initiative is. See [The lifecycle](lifecycle.md).
14
-
15
- An initiative can also have a **check-by** date: the day you want to look at it again.
16
-
17
- The Roadmap shows work lanes only: feature, discovery, chore, incident, content, prototype and the other lanes of the work group. A document lane (for example strategy) is a file, not a row. It is not on the Roadmap, in the list, in the sheet or in an export.
18
-
19
- ## Now, Next and Later are retired (D105)
20
-
21
- Earlier versions put each initiative in one of three horizons: Now, Next and Later. They are retired. Nothing you placed is lost:
22
-
23
- - The lines you wrote stay in the file, unchanged.
24
- - The Roadmap reads them in their old order: what was in Now comes first, then Next, then Later.
25
- - `pmos initiative now`, `next` and `later` no longer move anything. They say what to use instead.
26
- - Factory work for a KR-anchored feature used to start only from Now. It now starts once the initiative is ranked. An initiative you placed before D105, in any horizon, counts as ranked.
27
-
28
- ## Where the Roadmap is kept
29
-
30
- The workspace keeps the ranks in `planning/runs/placements.jsonl` in the repository (`pmos/state/placements.jsonl` in a PM-artifacts repository). Each move adds one `ranked` line to that file: the initiative and the initiative it comes after (none for the top). Nothing is changed or removed. The workspace page and the `pmos initiative` command use the same writer, so they always show the same order.
31
-
32
- Each line records who wrote it and from where. You cannot set this yourself. The writer refuses a line that names its own writer.
33
-
34
- ## Day one
35
-
36
- The first time you open the Roadmap, the file has no lines yet. The workspace then ranks each initiative from its activity, and marks it **not ranked yet**:
37
-
38
- - An initiative with activity in the last 5 days comes first, the most recent first.
39
- - Every other initiative follows, the most recent activity first.
40
- - An initiative with no activity for 45 days reads **dormant**, folded under the list. A line that ranks it brings it back; an initiative that a line ranked never goes dormant.
41
- - Documents with no initiative record (a PRD and rubric, or a prototype folder) are listed after dormant, under **with no record**. They are not ranked.
42
- - An accepted or stopped initiative goes to the end.
43
-
44
- The two numbers are `stall_days` and `dormant_days` in `planning/plan-rules.json`.
45
-
46
- The Today list shows one **Review the cycle** row when an agent proposal waits for you or a check-by date has passed.
47
-
48
- ## Who can move an initiative
49
-
50
- You and an agent session can rank an initiative. The move applies at once, and the line names who wrote it (D98).
51
-
52
- **Adopt** is yours only: it keeps an open proposal (a move an agent proposed before D98). On the page, each press adopts one proposal. In a terminal, you type the proposal id to confirm. The command refuses with no interactive terminal.
53
-
54
- - **Drop** a proposal to close it. You or the agent that made it can drop it.
55
-
56
- When anyone ranks the same initiative, the move replaces its open proposals.
57
-
58
- ## Add an initiative
59
-
60
- Every initiative needs an anchor: a KR of the current period or a health budget `health:<id>` from `planning/okrs/health-budgets.md`. The workspace refuses an initiative with no anchor, from the page, from the terminal and from an agent session.
61
-
62
- The writer makes the record in `planning/initiatives/<id>.md` with its type, title, timestamp, lane and anchor. A chore also needs its intent in one paragraph. The new initiative lands at the end of the Roadmap. Commit the record to keep it.
63
-
64
- The writer refuses:
65
-
66
- - a lane that the repository does not have, or a document lane;
67
- - an anchor that names no KR or health budget;
68
- - an id that is already a record.
69
-
70
- ### From a capture
71
-
72
- A capture note in `planning/requirements/capture-<date>-<n>.md` (`pmos/state/requirements/` in a PM-artifacts repository; a quick note from the command palette) becomes a **Proposed** row on the Today list: "Proposed: title · lane · anchor". The workspace proposes the title from the first sentence and an anchor when the words match a KR or a health budget.
73
-
74
- When the note matches a file in `planning/out-of-scope/`, the row says **matches an earlier rejection** and names that file. Read it before you add the initiative.
75
-
76
- Press **Add** to make the initiative, or use `pmos initiative new --from <capture>`. After that, the capture leaves the list.
77
-
78
- ### No anchor
79
-
80
- An old record with no `parent_kr` shows on the Today list as "<title> has no anchor". Add an anchor to its record.
81
-
82
- ## Break this down
83
-
84
- An empty Breakdown offers **Break this down** with a starter list. The list is in `planning/work-starters.md`. Change that file to change the list. See [Breakdown](breakdown.md).
85
-
86
- ## Export a breakdown
87
-
88
- The export gives an initiative's breakdown as markdown: the title and anchor, then one heading per stage, then each item with its state, owner and dates. It writes no file. Two exports of the same breakdown are the same text.
89
-
90
- ## Measurements
91
-
92
- A measurement is the value of a KR or a health budget on a date, with its source. The workspace keeps measurements in `planning/runs/measurements.jsonl`. The List shows the latest measurement next to each anchor.
93
-
94
- Every measurement needs a source: the file the value comes from and its commit, as `<path>@<commit sha>`. The writer refuses a measurement with no source. An agent can record a measurement, because a measurement is evidence, not a decision. The `measure` skill tells an agent how to do this.
95
-
96
- ## From a terminal: pmos initiative
97
-
98
- `pmos initiative` uses the same writers as the page. You need no running server.
99
-
100
- | Command | What it does |
101
- |---|---|
102
- | `pmos initiative new "<title>" --lane <lane> --anchor <anchor> [--intent "<text>"] [--id <id>]` | Makes the record and puts it at the end of the Roadmap. |
103
- | `pmos initiative new --from <capture> [--anchor <anchor>]` | Adds the initiative a capture proposes. |
104
- | `pmos initiative top <id>` | Ranks it first. |
105
- | `pmos initiative up <id>` | Moves it one place up. |
106
- | `pmos initiative down <id>` | Moves it one place down. |
107
- | `pmos initiative bottom <id>` | Ranks it last. |
108
- | `pmos initiative after <id> <other-id>` | Ranks it right after another initiative. |
109
- | `pmos initiative check-by <id> <YYYY-MM-DD\|none>` | Sets or clears its check-by date. |
110
- | `pmos initiative adopt <proposal>` | Keeps an open proposal. You only: type the proposal id to confirm. |
111
- | `pmos initiative drop <proposal>` | Closes a proposal. |
112
- | `pmos initiative list` | Shows the Roadmap in rank order, with each lifecycle stage, check-by date and the open proposals. |
113
- | `pmos initiative export <id>` | Writes the breakdown as markdown to the terminal. |
114
- | `pmos initiative describe <id> ["<text>"]` | Shows the description and the lines Claude can draft it from. With text, saves the description. See [Initiative descriptions](descriptions.md). |
115
-
116
- Every command takes `--json` and `--root <dir>`. The command does not accept `--by` or `--via`. `pmos initiative now`, `next` and `later` are retired: they write nothing, say what to use instead and exit 2.
117
-
118
- The command exits 0 when it is done, 1 when it refuses, and 2 for a usage error.
119
-
120
- ## From a terminal: pmos measure
121
-
122
- | Command | What it does |
123
- |---|---|
124
- | `pmos measure add <anchor> <value> --source <path>@<sha> [--target <number>] [--unit <unit>] [--as-of YYYY-MM-DD]` | Records a measurement. With no `--as-of`, the date is today. |
125
- | `pmos measure list [<anchor>]` | Shows the measurements, oldest first, for each anchor. |
126
-
127
- Put an anchor with a space in quotes: `pmos measure add "KR 2.1" 41 --source planning/okrs/q4.md@1a2b3c4`.
128
-
129
- ## The checks
130
-
131
- CI runs `scripts/check-placements.js` and `scripts/check-measurements.js` on each pull request. Each check fails on a line that is not JSON, a line that breaks the format, and one event id with two different lines. It reports, and does not fail on, a line the Roadmap ignores, for example an agent line that adopts a proposal.
@@ -1,93 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Integrated work: from a merged commit to Done"
4
- description: "How pmos verify-work marks factory work items integrated from the default branch, how a plan item then reads Done, when the Build step is done, why factory work starts only from Now, and the two factory health reasons."
5
- timestamp: 2026-11-02
6
- ---
7
-
8
- # Integrated work: from a merged commit to Done
9
-
10
- Some items of a breakdown go to the factory. The factory does the work in the product repository and opens a pull request. This page tells you how a merged pull request makes its item Done, and what the workspace shows on the way.
11
-
12
- ## Two ledgers, one link
13
-
14
- - The breakdown items are in `planning/runs/plan-items.jsonl`. You and the agent write this file. See [Breakdown](breakdown.md).
15
- - The factory work items are in `planning/work-items.jsonl`. Only the factory writer adds lines to this file.
16
- - When an item goes to the factory, its work item gets the field `plan_item`. This field holds the id of the breakdown item, for example `checkout.k3m9x2a7qd`. It is the only link between the two files.
17
- - A breakdown line never goes into `planning/work-items.jsonl`. The checker in CI stops a `plan_item` that names no breakdown item.
18
-
19
- ## Factory work starts only once the initiative is ranked
20
-
21
- An initiative must be ranked on the Roadmap before the factory takes work for it (Prioritize: "Ranked on the roadmap"). This rule applies to a feature that is anchored to a KR. It does not apply to a chore, an incident or an initiative anchored to a health budget. Now, Next and Later are retired (D105): an initiative that was placed in any of them before counts as ranked.
22
-
23
- If no line has ranked the initiative, the factory refuses the work and gives the reason. Day one's order by activity is a guess, not a rank. To continue:
24
-
25
- 1. Rank the initiative: `pmos initiative top <id>`, or `after <id> <other-id>`, or move it on the Roadmap.
26
- 2. Send the work to the factory again.
27
-
28
- ## Mark merged work: `pmos verify-work`
29
-
30
- A commit can name a work item in a trailer, on its own line at the end of the commit message:
31
-
32
- ```
33
- Work-Item: checkout.3
34
- ```
35
-
36
- When that commit is on the default branch, the work item is integrated. To record this, run:
37
-
38
- ```
39
- pmos verify-work
40
- ```
41
-
42
- The command does these steps:
43
-
44
- 1. It finds the default branch in the local refs: `origin/main`, `main`, `origin/master` or `master`, in that order. It does not fetch. To see new commits, pull first (Sync).
45
- 2. It reads the `Work-Item:` trailers on that branch.
46
- 3. For each work item that is not integrated yet, it adds one `integrated` line to `planning/work-items.jsonl`. The line names the commit.
47
-
48
- You can run the command again at any time. A work item that is already integrated is not written again.
49
-
50
- Options:
51
-
52
- - `--branch <ref>` reads only the commits up to `<ref>`. The ref must be on the default branch. A ref that is not merged is refused, and the command writes nothing.
53
- - `--dry-run` shows what the command would write, and writes nothing.
54
- - `--json` prints the result as JSON.
55
- - `--root <dir>` runs in a different repository.
56
-
57
- The command runs the repository's own copy of `scripts/verify-work.js`. A repository with no factory writer has no work items, and the command tells you so.
58
-
59
- ### What the command does not write
60
-
61
- The command reports these cases and writes nothing for them:
62
-
63
- - **Refused.** The work item is merged, but the factory writer does not accept `integrated` yet. Usually the work item was not verified, or its last check failed. The line shows the reason from the writer. The command then exits with 1.
64
- - **Unknown.** A trailer names a work item that is not in the ledger.
65
-
66
- A commit that is only on another branch is not read.
67
-
68
- ## What you see on the item
69
-
70
- - **Done.** When its work item is integrated, the breakdown item reads Done. Nobody moves it by hand, and no line is added to `plan-items.jsonl`.
71
- - **Done · your call · not merged.** You moved the item to Done, but its work item is not integrated yet. The item stays Done because you decided it. The text tells you that the work is not on the default branch.
72
-
73
- ## When the Build step is done
74
-
75
- An item never completes a stage, with one exception. For a code initiative, the Build step is done when every factory work item under Build is integrated. The work items under Build are the ones whose `plan_item` is a breakdown item in the Build stage.
76
-
77
- - While one of them is not integrated, the Build step is pending. The step names the work items it waits for.
78
- - A breakdown item that you move to Done by hand does not complete the Build step.
79
- - A withdrawn work item, or a withdrawn breakdown item, is not counted.
80
- - When no work item names a breakdown item under Build, the commits decide the Build step, as before.
81
-
82
- CI, the `node scripts/workflow-state.js` command and the workspace use the same rule, so they show the same Build step.
83
-
84
- ## Factory health
85
-
86
- Two health reasons come from the factory. Each shows its reason as text.
87
-
88
- - **Off track.** A factory work item failed its check, and nobody fixed it or withdrew it.
89
- - **At risk.** The initiative is not ranked on the Roadmap, but the factory claimed work for it, or commits on the trunk are attributed to it. Rank it first (Prioritize), or stop the work.
90
-
91
- ## Where to read next
92
-
93
- - [Breakdown](breakdown.md): the items of an initiative, the Tree and the Board.
@@ -1,39 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Start the workspace without a terminal"
4
- timestamp: 2026-11-03
5
- ---
6
-
7
- # Start the workspace without a terminal
8
-
9
- Mac and Windows setup creates the PMOS app and a login item automatically. No separate launcher command is needed. The login item starts the server when you sign in. It does not open a browser window.
10
-
11
- | System | Open PMOS | Login item |
12
- |---|---|---|
13
- | macOS | Open `~/Applications/PMOS.app` from Finder or Spotlight. You can drag it to the Dock. | `~/Library/LaunchAgents/com.pmos.workspace.plist` |
14
- | Windows | Open Start and choose PMOS. | `PMOS.vbs` in your user Startup folder |
15
- | Linux | After `pmos launcher on`, choose PMOS from the app menu. | An XDG autostart entry |
16
-
17
- The app opens the workspace in your browser. When no server runs, the app starts one first. Both entries use the repository and PATH from setup. The Windows entries also preserve the configured Git Bash path for Claude Code.
18
-
19
- ## Change or repair the launcher
20
-
21
- Open a terminal in the repository you want. Type `pmos launcher on`. To choose another repository, add its path. Repeat this command after moving Node or the installed PMOS app.
22
-
23
- To create only the app, use `pmos launcher on --no-login` on a fresh installation. To skip launcher creation during app activation, use `npx create-pmos@latest workspace --no-launcher`.
24
-
25
- Type `pmos launcher status` to check the launcher. The result names the repository, Node, PMOS and login item. A missing target means the launcher needs repair.
26
-
27
- ## Remove the launcher
28
-
29
- Type `pmos launcher off`. This removes only launcher files that PMOS owns. It leaves unrelated files in place. The workspace and your work remain installed.
30
-
31
- ## Limits
32
-
33
- The login item starts the server once at login. Open the app if the server stops. Login does not enable remote access. Mac and Linux launcher output goes to `launcher.log` in the runtime state folder. Windows launchers run without a command window and use the server's normal logs.
34
-
35
- ## Choose which git identity and GitHub login a repository uses
36
-
37
- Some computers have no global git name and email, so each repository keeps its own. A computer can also have more than one GitHub login, and a private repository of one login is not found by the other. PMOS does not choose for you, because you can use a different identity and login for each product. When a repository has none, Claude asks you once and offers the ones from your other repositories.
38
-
39
- Type `pmos git-identity` in the repository to see the identity it commits as and the GitHub login it pushes with. When one is missing, the result lists the ones your other repositories use. To save your choice for this repository only, type `pmos git-identity set --name "Your Name" --email you@example.com --login your-github-login`. To save only the login, type `pmos git-identity set --login your-github-login`. After that, `git push` in the repository uses that login, whichever login `gh` has active. Your global git settings do not change.
@@ -1,64 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "The lifecycle: six stages and two milestones"
4
- description: "The eight steps every initiative goes through, what each step makes, which steps each lane uses, and how the workspace knows where an initiative is."
5
- timestamp: 2026-11-08
6
- ---
7
-
8
- # The lifecycle: six stages and two milestones
9
-
10
- An initiative goes through eight steps. Six are stages, which take time. Two are milestones (◆), which are one moment: a sign-off or a decision.
11
-
12
- | Step | What it makes | Who finishes it |
13
- | --- | --- | --- |
14
- | Triage | The BRD: the problem, who has it, the anchor. | You take it on or park it. |
15
- | Discover | The PRD, with done criteria. | The agent drafts; you keep it. |
16
- | Plan | The scope, the timeline and the work breakdown. | You press **Commit**. Commit pushes the tickets to Jira. |
17
- | Prioritize | The place of the initiative on the roadmap. | You rank it on the one ranked list ("Ranked on the roadmap"). |
18
- | Build | The features, delivered. | The engineers, in Jira. |
19
- | ◆ Deliver | The release is shipped. | You sign off. |
20
- | Monitor | The outcome report. | The agent drafts it from the data. |
21
- | ◆ Evaluate | The verdict: keep, iterate or stop. | You decide. |
22
-
23
- The engineers build outside PMOS. The Build step shows their Jira tickets: the engineer each ticket is assigned to, its Jira status, and when Jira was last read. PMOS does not show builder agents, pull requests or CI as the build.
24
-
25
- ## Which steps each lane uses
26
-
27
- A step that a lane does not use shows as skipped.
28
-
29
- | Lane | Steps |
30
- | --- | --- |
31
- | feature | All eight |
32
- | discovery | Triage, Discover, Prioritize, Evaluate |
33
- | chore | Plan, Build, Deliver, Evaluate |
34
- | incident | Build, Deliver, Monitor, Evaluate |
35
- | content | Discover, Plan, Build, Deliver |
36
- | prototype | Triage, Discover, Evaluate |
37
-
38
- ## One stage on every page
39
-
40
- Every page shows the same stage chip: the Board row, the Timeline, the initiative page, Documents, the chat and the program page. The workspace reads the stage from these sources, in this order:
41
-
42
- 1. Your word. A lifecycle line (Completed shows Shipped, On hold, Cancelled), or a move on the Board that is newer than the last Jira read.
43
- 2. The linked Jira epic. Its status names the stage (Design Discovery shows Discover, In progress shows Build, Done shows Deliver, or Monitor after your sign-off). If the epic status names no stage, its tickets do: some started shows Build, all done shows Deliver.
44
- 3. Plan items with dates. A spec-agreed initiative with dated plan items shows Prioritize.
45
- 4. The spec files, as described below.
46
-
47
- Hover the chip to see what set the stage and when Jira was last read. With no word from you and no Jira, the spec files decide. Then the initiative view shows no source line: the gate chips under the stage card name the documents.
48
-
49
- The spec ladder (PRD, rubric, contract, review) shows as the gate line under the stage card. The CI Initiative Gate still reads the spec files. A task group shows a tick only when all of its tasks are done.
50
-
51
- ## How the spec files give the step
52
-
53
- When no word and no Jira set the stage, the workspace reads it from the records:
54
-
55
- - Triage, Discover, Plan, Build and Evaluate come from the workflow engine (`node scripts/workflow-state.js`): the PRD, the rubric and contract, the build, and the evaluation.
56
- - An idea or a hypothesis on the initiative also counts for Discover.
57
- - A decision or a bet on the initiative counts for Prioritize.
58
- - A release on the initiative counts for Deliver. Monitor needs the build done and a reading of the anchor's metric.
59
-
60
- A step with no record that can show it reads "no signal yet". It is not shown as done or pending.
61
-
62
- ## Ideate and Strategize
63
-
64
- Earlier versions had nine stages, with Ideate and Strategize. Ideate is now part of Discover, and Strategize is now part of Prioritize. Nothing stored had to change, because the step is always read from the records. An older answer that still names Ideate or Strategize is read as Discover or Prioritize.
@@ -1,75 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Claude drafts metrics without being asked"
4
- description: "When Claude drafts the metrics of a product, a program or an initiative, what each draft says, how you keep, edit or drop it, Undo, how to turn it off, and the pmos metrics draft commands."
5
- timestamp: 2026-10-28
6
- ---
7
-
8
- # Claude drafts metrics without being asked
9
-
10
- You do not fill in a form to get metrics. When something has no metrics yet, Claude drafts them by itself and shows the drafts on the page. Nothing becomes a metric until you press ✓.
11
-
12
- ## When Claude drafts
13
-
14
- - **A product with no North Star.** Claude drafts a North Star, up to 3 inputs and up to 2 guardrails.
15
- - **A new quarter.** In the first 14 days of a quarter, Claude drafts next quarter's key results from how the last quarter ended.
16
- - **A program charter with no goal.** Claude drafts the program goal with checkpoints at its milestones, one metric for each product that it rolls up from, and one guardrail.
17
- - **An initiative that gets a PRD and has no success measure.** Claude drafts how it proves it worked (read 4 weeks after release), one early signal and one guardrail. An initiative that already had its PRD when the workspace first scanned is not drafted by itself. Press Draft again to draft it.
18
-
19
- Claude drafts each one once. A run that failed tries again the next day. At most 2 runs go at once.
20
-
21
- ## What a draft says
22
-
23
- The page shows the run as five steps: read, shape, measure, target and ready. Each source shows one line while Claude reads it.
24
-
25
- Each row has a name, a type, the number now, a target and why. Every number now comes from the last 8 weeks of real readings, with its source. When no event counts a metric, the row says so and shows the ticket Claude drafted for the event. Claude does not create the ticket.
26
-
27
- ## Keep, drop and Undo
28
-
29
- - ✓ keeps one row. It writes one KR metric record and, when the number now is known, its first reading.
30
- - ✓ in the header keeps every open row.
31
- - ✕ drops one row.
32
- - ✎ edits an open row in place: its name, its target and where it is measured. ✓ saves the edit and × cancels it. Press ✓ keep after that to track it as you wrote it. To change anything else, such as the why, press the chat icon and ask Claude in Home. On the program panel and the initiative view, ✎ opens all the rows of the proposal.
33
- - Undo on a kept row retires its record. Undo on a dropped row brings it back.
34
- - Draft again starts a new run. The rows you kept stay. The rows you did not keep are drafted again.
35
- - ■ Stop ends a run. What it drafted so far stays on the page.
36
-
37
- To turn the drafts off, start the workspace with `PMOS_METRIC_DRAFT=off`.
38
-
39
- ## The commands
40
-
41
- Claude's background run files its drafts with these commands. The server pins the product, program or initiative and the run, so the commands refuse outside that run. You keep and drop drafts on the page.
42
-
43
- - `pmos metrics draft read "<source>" --found "<one line>" [--state done|now|wait]`: one source read.
44
- - `pmos metrics draft step shape|measure|target|ready`: the run moves to the next step.
45
- - `pmos metrics draft row --json <file|->`: one drafted row, or a list of rows.
46
- - `pmos metrics draft end --head "<line>" --sub "<line>" --src "<sources>"`: the run is done, with what the page says on top.
47
- - `pmos metrics draft status`: what is open, kept and dropped.
48
- - `pmos metrics draft fix --json <file|->`: one fix for a goal, or a list of fixes (see "Claude runs the OKRs" below).
49
-
50
- The run writes no record and sends nothing.
51
-
52
- ## Claude runs the OKRs
53
-
54
- Claude also reads your goals and repairs them. You see the result on Intelligence and on the product page. You do not fill in a form.
55
-
56
- - **Each goal has a recipe:** a connector, a query and a rhythm: every hour (in working hours), every day, every week or every month, at a time of day and on a weekday you can set. When the rhythm comes round, Claude reads the goal and files the value with where it read it and when.
57
- - **How it is counted:** a goal says in one sentence how it is counted, and the names of its two counts (for example 1,212 ÷ 6,000). Each reading keeps both counts.
58
- - **Read now** reads a goal at any time. It does not move the next scheduled read.
59
- - **Claude checks every reading before it is drawn:** a part that always reads 0, a jump of more than 3 times (or less than a third) the usual level, too small a count, and a value the goal cannot be. A reading that fails a check is held. A held reading never moves the dot, the line or "target reached". Claude says why and drafts a Jira ticket for the owner. Press "file it" when the number is real.
60
- - **Compare with your number:** give your own number for the goal. When the two differ by more than 2%, Claude says why and suggests which way to count it. Your pick changes how it is counted.
61
- - **A guardrail is always on:** it needs no end date.
62
- - **A goal Claude cannot read** says so plainly, and comes with a drafted fix: connect the source, or read it another way. If no connector reads it, upload a CSV or sheet export with a date and a number on each line.
63
- - **The dot of a goal comes from its latest reading only:** on its line, behind it, close to a limit, or a broken limit. A goal with no reading has a hollow dot. A late initiative never sets a goal's dot.
64
- - **Fixes sit under the goal they repair:** an outcome for a goal that names a project, a recipe, connect a source, a thankful note to the owner, a rollback ticket, next quarter's goal, carry on, and an owner. Press ✓ to keep one, or ✓✓ to keep them all. A note or a ticket goes to the outbox. Nothing is sent until you send it. Undo puts it back.
65
- - **An owner** is proposed from the Jira assignees of the work that moves the goal. If two people hold as much, Claude proposes nobody.
66
- - **A broken limit** is the only red line on Intelligence. It tells you once, in the bell, when the goal is set to Notify me. It says one more line when the goal is back within its limit. Set this per goal: Notify me, Only in Intelligence (the default) or Quiet.
67
-
68
- The reading run files with these commands, pinned by the server to the run and its goals:
69
-
70
- - `pmos metrics reading list`: the goals of this run, with their recipes.
71
- - `pmos metrics reading <rid> <value> --source "<connector · what>" [--day YYYY-MM-DD] [--num N --den D] [--segments "web=597/733,app=0/904"] [--period "<period>"]`: one value read, with its counts. A value that fails a check is held.
72
- - `pmos metrics reading <rid> --why "<why>" [--suggest mine|yours --suggest-text "<line>"] [--yours-what "<how>" --yours-query "<query>"]`: in a compare run only, why your number and Claude's differ.
73
- - `pmos metrics reading <rid> --cant "<why>" [--fix connect|recipe --connector <name>]`: Claude could not read it, and the fix it drafted.
74
-
75
- To turn the reading runs off, set `PMOS_METRIC_READ=off`.
@@ -1,43 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Features appear when their moment comes"
4
- description: "Why a new PMOS starts quiet: the facts that open the Board, Intelligence and reports, the one ✦ a day in Home's chat, the soft dot on the menu, and what ✓ and ✕ do."
5
- timestamp: 2026-11-04
6
- ---
7
-
8
- # Features appear when their moment comes
9
-
10
- A new PMOS does not show everything on the first day. Each place stays quiet until there is something real for it to show. When that happens, Claude tells you once, in Home's chat.
11
-
12
- ## What opens each place
13
-
14
- A place opens on a fact PMOS can check in your records. It never opens because a number of days passed.
15
-
16
- | Place | It opens when | Before that it says |
17
- |---|---|---|
18
- | Board | You have three open initiatives, or a program has a date (its target or a milestone). | "The Board starts at three initiatives, or a date." |
19
- | Intelligence | Your OKR file has a goal with at least one key result. | "Intelligence starts when you keep a goal." |
20
- | Reports | There is a week of movement: your oldest initiative is at least 7 days old, and a record changed in the last 7 days. | "The first report comes after a week of movement." |
21
-
22
- Your first initiative is the first moment. The card that sets it up comes right after setup, so this list starts after it.
23
-
24
- ## One ✦ a day in Home's chat
25
-
26
- When a place opens, Home's own chat shows one ✦ for it, with a link to its page in this guide (for example "How the Board works").
27
-
28
- - **✓** opens the place.
29
- - **✕** drops it. That ✦ does not come back.
30
-
31
- Claude shows at most one of these a day. Your impact and What you might have missed come first, so Home's chat shows one ✦ at a time.
32
-
33
- ## The dot on the menu
34
-
35
- The first time a place opens, its row in the menu gets one soft blue dot, and so does the menu button. The dot goes away when you open that place. The reports dot is on the Intelligence row, because reports are in Intelligence under **⋯**.
36
-
37
- ## A PMOS that was already in use
38
-
39
- This applies only to a product you set up with PMOS's first run. A product that was in use before keeps every place open, with no ✦ and no dot. A page shows its quiet line only when every product on this computer is new and none has reached that place.
40
-
41
- ## Where it is kept
42
-
43
- Which moments were shown, kept or dropped, and which places opened, are kept with the product's setup progress, in PMOS's own folder on this computer. Nothing is written to your repository, and nothing leaves your computer.
@@ -1,40 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "My work: the Jira tickets and tasks assigned to you"
4
- description: "Where the work assigned to you shows in Home, where the items come from, how they are ordered, and the pmos my-work commands."
5
- timestamp: 2026-11-03
6
- ---
7
-
8
- # My work: the Jira tickets and tasks assigned to you
9
-
10
- There is no My work page. Home's list is your list. A task sits under its initiative, and your own items sit under **Not in an initiative**. Press a row to open the item's card in the Viewer: its due day, where it came from, **Keep for later**, the agent on the item (draft, stop, try again, send back) and **Done**. [Home](home.md) explains the list.
11
-
12
- ## Where the items come from
13
-
14
- - **Jira tickets.** The workspace does not read Jira. The **my-work-read** skill reads it in an agent session, with your own Atlassian connection. It reads the open issues assigned to you, with their comments and links, and writes a context card for each: who asked, what they ask, a short summary of the thread, the questions still open, and a suggested instruction for an agent. It does not copy the comments. It runs with the other reads of your tools.
15
- - **WBS items.** The plan items whose owner is you, in every registered repository. They come from the same data as the Board's Mine filter. My work changes no plan item.
16
-
17
- The read is kept in your own runtime folder on this machine. It never goes into a repository.
18
-
19
- ## The order
20
-
21
- Each item gets a WSJF score: the cost of waiting divided by the size.
22
-
23
- | Part | How it is counted |
24
- |---|---|
25
- | Value | Jira priority: Highest 10, High 8, Medium 5, Low 2. No priority counts as Medium. Add 3 when the item belongs to an initiative, else 1. |
26
- | Urgency | No due date 1. Overdue 10. Due in 2 days or less 8. Due in 7 days or less 5. Later 3. |
27
- | Unblocks | 3 for each item it blocks, at most 9. |
28
- | Size | XS 1, S 2, M 3, L 5, XL 8. No estimate counts as M. |
29
-
30
- The score is (value + urgency + unblocks) / size. P1 is 12 or more, P2 is 7 or more, P3 is 3 or more, and P4 is the rest.
31
-
32
- ## Commands
33
-
34
- | Command | What it does |
35
- |---|---|
36
- | `pmos my-work list [--top N] [--json]` | Every open item, in the order My work shows it. |
37
- | `pmos my-work show <ITEM> [--json]` | One item: what the agent found, the score and the state. ITEM is its key, its id or its number in the list. |
38
- | `pmos my-work submit --file <read.json>` | The my-work-read skill submits its read. |
39
-
40
- None of these briefs an agent or takes an item. Do that from the item's card in Home.
@@ -1,64 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "The next prompt, suggested and sharpened"
4
- description: "After a reply, the chat suggests what to say next. While you type a rough prompt, Claude offers a sharper version. What each card means, the styles, the settings, and the guardrails."
5
- timestamp: 2026-11-04
6
- ---
7
-
8
- # The next prompt, suggested and sharpened
9
-
10
- You do not have to remember phrases such as "grill this". The chat suggests them when they fit.
11
-
12
- ## After a reply
13
-
14
- When Claude finishes a reply, up to two cards can show above the box. Usually there is one.
15
-
16
- - The card Claude recommends is white, with a blue ring and a blue ✦. Another card is grey.
17
- - Tap a card to put its text in the box. Nothing is sent. Change the text if you want to, then send it with ↑.
18
- - The cards go away when you type, or when Claude starts a new reply. They do not time out.
19
- - When there is no clear next step, no card shows.
20
-
21
- A card suggests only something that works in PMOS today:
22
-
23
- - an answer to the question or the offer at the end of the reply;
24
- - "Grill this …" in an initiative's chat ([Claude proposes](claude-proposes.md));
25
- - "Why did we …?" in an initiative's chat ([Ask about the past](ask-the-past.md));
26
- - "Rehearse moving …" before a date change or a cut ([Rehearse a plan](rehearse.md));
27
- - "Run the drift replay" when the weekly check waits for it ([What you might have missed](what-you-missed.md)).
28
-
29
- Each card names only the initiatives, tasks and PRs that the reply or your message names.
30
-
31
- ## While you type
32
-
33
- When you stop typing for about 2 seconds on a rough prompt of three or more words, one quiet line, **Sharpening…**, shows above the box while Claude sharpens it. This takes a few seconds, and you can keep typing. Then one lit **Sharper** card shows. If you typed on, or no answer comes in 30 seconds, nothing shows. Tap it to put the sharper text in the box. ↶ in the box puts back what you wrote. When the sharper version says the same as yours, no card shows.
34
-
35
- The sliders icon on the Sharper card sets how Claude sharpens:
36
-
37
- - **Polish**: clearer and shorter. Your meaning is kept.
38
- - **Prompt engineer** (the default): the best prompt for the job. It names the real initiative or task and says what a good answer holds. A date move or a cut becomes a rehearsal that waits for your yes.
39
- - **Your own**: your own wording rules. You write them once in Settings.
40
-
41
- The same menu has the **Sharpen as I type** switch. Off means no Sharpening… line and no Sharper card.
42
-
43
- ## Settings › Claude › Sharpen prompts
44
-
45
- | Row | What it does |
46
- |---|---|
47
- | Suggest the next prompt | On by default. Off: no cards after a reply. |
48
- | Sharpen as I type | On by default. Off: no Sharpening… line and no Sharper card. |
49
- | Sharpen as | Polish, Prompt engineer or Your own. |
50
- | Your own rules | The rules for Your own, up to 1000 characters. |
51
-
52
- ## The guardrails
53
-
54
- The suggestions and the sharper prompt go through the same guardrail as every AI job in PMOS:
55
-
56
- - **Propose only.** A card is text you can put in the box. Nothing is sent, and nothing is written to a record, a session or a repository.
57
- - **Proven only.** Each suggested move points to the line of PMOS code that makes it work, and PMOS checks that line before the card shows. An answer to the reply points to the line of the reply it answers. A card that PMOS cannot check is not shown.
58
- - **Replay-tested.** A new version shows nothing until its recorded cases pass, and those include cases that must be dropped.
59
- - **Audited.** Each run writes a line to the AI audit, with no text of your conversation in it.
60
- - **Your own Claude session.** Both run as a short background `claude -p` run on your own Claude login, which can only read files. Your API key is not used unless you set `PMOS_NEXT_PROMPT_API=on`. Then, when a call on the key fails, the same request goes to the background run instead.
61
- - **No silent failure.** When a run gives no card, the audit says why. `pmos ai log next-prompt` and `pmos ai log sharpen-prompt` show the last lines.
62
- - **Off switch.** `pmos ai off next-prompt` stops the suggestions after a reply. `pmos ai off sharpen-prompt` stops the Sharper card. `pmos ai off` stops every AI job.
63
-
64
- The reply and the words a card refers to are kept in your PMOS state folder (`next-prompt/`, the newest 30 files), outside every repository. Your choices for these rows are kept there too, in `next-prompt/prefs.json`.
@@ -1,39 +0,0 @@
1
- ---
2
- type: Guide
3
- title: "Expected outcomes"
4
- description: "Every initiative says what should change once it ships and the date to check it. How Claude drafts them, how you keep one, how a due check is recorded, and the pmos outcomes commands."
5
- timestamp: 2026-11-03
6
- ---
7
-
8
- # Expected outcomes
9
-
10
- Every initiative has an expected outcome: what should change once it ships, and the date to check it. Shipping is not the end. The check date is when you look at whether it worked.
11
-
12
- ## Claude drafts it
13
-
14
- You do not type it. Once a day Claude reads each product and drafts the outcome of every initiative that has none, and a check date for an outcome that has no date.
15
-
16
- - **The outcome** comes from the PRD's success criteria: the first item under a heading that names success, outcome, metric, goal or signal. When there is no such PRD, it comes from the KR the initiative is anchored to.
17
- - **The check date** is 30 days after the last task of the initiative is due. When no task has a due date yet, it is 90 days from today.
18
- - **Nothing to cite, no draft.** When there is no PRD success item and no KR, Claude does not guess. It asks you in the chat what should change.
19
-
20
- Each draft waits under the initiative's ✦ in the Viewer, in its own group, Expected outcome. It shows the lines it comes from. ✓ keeps it: the outcome and the date are written to the initiative's record. ✕ drops it, and it does not come back unless what it rests on changes. Undo puts back what was there.
21
-
22
- A new initiative gets its draft at the next daily read after its PRD or its tasks give Claude something to cite. At most 3 drafts a day per product show, so a backfill stays quiet.
23
-
24
- ## When a check is due
25
-
26
- When the check date passes, Today shows the check. Tell Claude whether it worked, did not work, or you cannot tell yet, and what shows it: a number, a link or what you saw. Claude records your verdict with the evidence. A verdict is always yours. Claude never records one from a metric alone.
27
-
28
- ## Switch it off
29
-
30
- `pmos ai off outcomes` stops the drafts, and `pmos ai on outcomes` starts them again. `PMOS_OUTCOMES=off` stops the daily read.
31
-
32
- ## The commands
33
-
34
- Run them in the product's repository, or pass `--root <dir>`.
35
-
36
- - `pmos outcomes list` shows the checks that are due, the outcomes with no date and the initiatives with no outcome. It changes nothing.
37
- - `pmos outcomes propose [<id>]` shows Claude's drafts, each with the lines it cites. Before the first draft of a repository it replays them on that repository's records, and shows nothing unless the replay passes.
38
- - `pmos outcomes declare <id> --metric "<text>" --horizon <YYYY-MM-DD>` writes the outcome and its check date, after you said yes.
39
- - `pmos outcomes record <id> <worked|didnt-work|cant-tell> --evidence "<text>"` records your verdict on a due check.