create-pmos 0.540.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.
- package/package.json +14 -14
- 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/README.md +1 -1
- package/workspace/changelog.json +13 -0
- package/workspace/fixtures/doc-category-labelled.json +1 -1
- package/workspace/guide/agent-capabilities.md +236 -28
- package/workspace/guide/breakdown.md +5 -20
- package/workspace/guide/claude-proposes.md +269 -37
- package/workspace/guide/cli.md +603 -0
- package/workspace/guide/home.md +160 -12
- package/workspace/guide/index.md +23 -59
- package/workspace/guide/initiatives-and-next-steps.md +235 -5
- package/workspace/guide/intelligence-okr-goals.md +121 -4
- package/workspace/guide/jira.md +2 -15
- package/workspace/guide/knowledge-graph.md +143 -18
- package/workspace/guide/layout.md +209 -4
- package/workspace/guide/notes.md +74 -6
- package/workspace/guide/proactive-engine.md +3 -14
- package/workspace/guide/programs.md +199 -4
- package/workspace/guide/reports.md +405 -41
- package/workspace/guide/scheduled-tasks-and-cli.md +6 -28
- package/workspace/guide/settings-and-switches.md +396 -0
- package/workspace/guide/statuses.md +141 -4
- package/workspace/lib/pmos-verbs.js +41 -40
- package/workspace/lib/verify-work-cli.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/replaced-tests.json +19 -1
- package/workspace/guide/adler.md +0 -71
- package/workspace/guide/agents-act.md +0 -68
- package/workspace/guide/ask-the-past.md +0 -46
- package/workspace/guide/board.md +0 -58
- package/workspace/guide/briefing-premium.md +0 -14
- package/workspace/guide/console-calendar.md +0 -24
- package/workspace/guide/core-documents.md +0 -58
- package/workspace/guide/data-freshness.md +0 -164
- package/workspace/guide/descriptions.md +0 -43
- package/workspace/guide/docs.md +0 -39
- package/workspace/guide/forecast.md +0 -66
- package/workspace/guide/horizon-scan.md +0 -82
- package/workspace/guide/idle-lab.md +0 -46
- package/workspace/guide/initiative-driver.md +0 -102
- package/workspace/guide/initiatives-roadmap.md +0 -131
- package/workspace/guide/integrated-work.md +0 -93
- package/workspace/guide/launcher.md +0 -39
- package/workspace/guide/lifecycle.md +0 -64
- package/workspace/guide/metric-drafts.md +0 -75
- package/workspace/guide/moments.md +0 -43
- package/workspace/guide/my-work.md +0 -40
- package/workspace/guide/next-prompt.md +0 -64
- package/workspace/guide/outcomes.md +0 -39
- package/workspace/guide/people.md +0 -48
- package/workspace/guide/pm-only-acts.md +0 -88
- package/workspace/guide/pm-only-lines.md +0 -61
- package/workspace/guide/present-in-a-meeting.md +0 -57
- package/workspace/guide/published-board.md +0 -116
- package/workspace/guide/ready-made-dashboards.md +0 -62
- package/workspace/guide/rehearse.md +0 -52
- package/workspace/guide/report-design.md +0 -126
- package/workspace/guide/report-slides.md +0 -43
- package/workspace/guide/report-structure.md +0 -91
- package/workspace/guide/reports-needs-you.md +0 -34
- package/workspace/guide/reports-set-up.md +0 -68
- package/workspace/guide/settings.md +0 -67
- package/workspace/guide/today.md +0 -44
- package/workspace/guide/validate-with-typesafe.md +0 -144
- package/workspace/guide/welcome.md +0 -90
- package/workspace/guide/what-you-missed.md +0 -42
- package/workspace/guide/workflows.md +0 -107
- package/workspace/guide/your-impact.md +0 -57
|
@@ -0,0 +1,603 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Guide
|
|
3
|
+
title: "Command reference: every pmos command, by area"
|
|
4
|
+
description: "Every pmos command of the workspace in one page, grouped by area, with its flags, examples and exit codes."
|
|
5
|
+
timestamp: 2026-11-08
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Command reference
|
|
9
|
+
|
|
10
|
+
This page lists every `pmos` command, grouped by area. The other guide pages say what each feature does. This page says how to drive it from a terminal.
|
|
11
|
+
|
|
12
|
+
## How the commands work
|
|
13
|
+
|
|
14
|
+
- Most commands take `--json` for output a script can read, and `--root <dir>` to name the repository. Without `--root`, a command uses the repository of the current folder.
|
|
15
|
+
- Exit codes: 0 done, 1 refused, 2 usage error.
|
|
16
|
+
- A command that talks to the running workspace server says so when no server runs. A PM-only act from a terminal asks you to type a confirmation. An agent session, a command with no terminal, or a different text is refused.
|
|
17
|
+
- A command that a background run uses is pinned by the server to that run. Outside the run, it refuses.
|
|
18
|
+
- Most verbs print their commands with `pmos <verb> help`.
|
|
19
|
+
|
|
20
|
+
## Start and set up
|
|
21
|
+
|
|
22
|
+
### pmos launcher
|
|
23
|
+
|
|
24
|
+
Mac and Windows setup creates the PMOS app and a login item automatically. [Layout and first run](layout.md) explains the app and the login item.
|
|
25
|
+
|
|
26
|
+
#### Change or repair the launcher
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
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`.
|
|
31
|
+
|
|
32
|
+
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.
|
|
33
|
+
|
|
34
|
+
#### Remove the launcher
|
|
35
|
+
|
|
36
|
+
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.
|
|
37
|
+
|
|
38
|
+
### pmos git-identity: which git identity and GitHub login a repository uses
|
|
39
|
+
|
|
40
|
+
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.
|
|
41
|
+
|
|
42
|
+
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.
|
|
43
|
+
|
|
44
|
+
## Your day
|
|
45
|
+
|
|
46
|
+
### pmos today
|
|
47
|
+
|
|
48
|
+
`pmos today` prints **Your move**: the same list as Home, in the same order ([Home](home.md) gives the order). Home and the command use one ranking.
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
pmos today # the repository you are in
|
|
52
|
+
pmos today --ws <id> # one repository by its id
|
|
53
|
+
pmos today --json # the list as JSON
|
|
54
|
+
pmos today --root <dir> # read a repository folder without a server
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
With the workspace server running, the command prints the rows of Your move, then the sessions that wait for you. Rows older than two weeks are counted on one "Older" line. When the board is still being read, the command waits up to 8 seconds.
|
|
58
|
+
|
|
59
|
+
Without the server, or when the board cannot be read, the command prints the Today cards instead, with the kind first (1 a gate is owed, 2 a session is waiting, 3 a step was returned to you, 4 work to check, 5 a breakdown to keep, 6 a capture, 7 a cycle review, 8 needs repair). Without the server it also prints a line that says it did not read the sessions.
|
|
60
|
+
|
|
61
|
+
The command prints "Nothing needs you" when the list is empty. It exits with 0 when it read the list, 1 when it could not read it, and 2 when you gave it an option it does not have.
|
|
62
|
+
|
|
63
|
+
The command reads `GET /api/today`, `GET /api/board-premium`, `GET /api/programs` and `GET /api/your-move`. None of them changes anything.
|
|
64
|
+
|
|
65
|
+
### pmos mention: Home's Mentions
|
|
66
|
+
|
|
67
|
+
These commands post nothing:
|
|
68
|
+
|
|
69
|
+
- `pmos mention list` prints the conversations, each with its id: Your move, To read and Answered this week.
|
|
70
|
+
- `pmos mention draft <id> --text "<reply>"` saves a changed reply.
|
|
71
|
+
- `pmos mention gist <id> --text "<one line>"` saves the row's line.
|
|
72
|
+
- `pmos mention nodraft <id> --text "<why>"` says why Claude cannot draft the reply.
|
|
73
|
+
- `pmos mention stands <id> --settled "<line>" [--open "<line>"]` saves Where it stands.
|
|
74
|
+
- `pmos mention watch <id> --what "<Samuel’s tag>" --text "<the offer>"` offers to watch for a dated promise.
|
|
75
|
+
- `pmos mention landed <id> --text "<Samuel’s tag landed.>"` says that the promise landed.
|
|
76
|
+
|
|
77
|
+
### pmos lead: Claude's leads in popups
|
|
78
|
+
|
|
79
|
+
- An agent session saves a lead with `pmos lead put --key <popup key> --text "<lead>" --cite "<what it read, when>"`.
|
|
80
|
+
- `pmos lead show [<key>]` prints what is stored.
|
|
81
|
+
- `pmos lead due` lists the popups the **Popup leads** session will write for.
|
|
82
|
+
|
|
83
|
+
`pmos lead` calls no tool.
|
|
84
|
+
|
|
85
|
+
### pmos my-work
|
|
86
|
+
|
|
87
|
+
| Command | What it does |
|
|
88
|
+
|---|---|
|
|
89
|
+
| `pmos my-work list [--top N] [--json]` | Every open item, in the order My work shows it. |
|
|
90
|
+
| `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. |
|
|
91
|
+
| `pmos my-work submit --file <read.json>` | The my-work-read skill submits its read. |
|
|
92
|
+
|
|
93
|
+
None of these briefs an agent or takes an item. Do that from the item's card in Home.
|
|
94
|
+
|
|
95
|
+
### pmos people
|
|
96
|
+
|
|
97
|
+
- `pmos people list` lists each person with their role, interactions and tone, and the new people waiting for you. Add `--json` for the whole view.
|
|
98
|
+
- `pmos people show <person>` shows one person's page: interactions, tone, shared work, notes and handles. `<person>` is the id from the list or the full name.
|
|
99
|
+
- `pmos people record --file <sightings.json>` records the people a session saw. Agent sessions run it. It must name who recorded it: in a workspace session the session token does this; outside the workspace, add `--by <profile>`. A sighting already recorded is skipped and counted.
|
|
100
|
+
- `pmos people settings` prints `calendar names: on` or `calendar names: off`. The morning brief reads it before it records attendees.
|
|
101
|
+
- `pmos people help` prints the commands.
|
|
102
|
+
|
|
103
|
+
The sightings file holds `{ "sightings": [...], "merges": [...] }`. A sighting is `{ "source": "gather" | "calendar" | "live" | "jira" | "plan" | "notes", "handle": { "kind": "mail" | "slack" | "jira" | "confluence" | "speaker" | "name", "value": "…" }, "name": "…", "role"?, "org"?, "external"?: true, "interaction"?: { "date": "YYYY-MM-DD", "kind": "Mail", "text": "one line, at most 200 characters", "pointer": "where it came from, at most 200 characters", "tone"?: "warm", "initiative"?: "<id>" } }`. A merge is `{ "a": <handle>, "b": <handle>, "why": "one line" }`.
|
|
104
|
+
|
|
105
|
+
`pmos people list` and `pmos people show` first add the plan item owners and Live notes speakers, as People does.
|
|
106
|
+
|
|
107
|
+
No command removes a person, merges a handle, sets a tone or writes a note. Do those in People.
|
|
108
|
+
|
|
109
|
+
### pmos docs: documents and their copies
|
|
110
|
+
|
|
111
|
+
| Command | Does |
|
|
112
|
+
|---|---|
|
|
113
|
+
| `pmos docs list` | Each linked document and its signal per copy. `--attention` lists only what is not the same. |
|
|
114
|
+
| `pmos docs find [words]` | The repository's markdown files that match, and their copies. |
|
|
115
|
+
| `pmos docs link <file> <address>` | Links a repository file to a Google Doc or a Confluence page. |
|
|
116
|
+
| `pmos docs unlink <file> google` | Removes the link (`google` or `confluence`). The copy is not touched. |
|
|
117
|
+
| `pmos docs check-start` | Used by the compare session: opens a compare and lists what to read. |
|
|
118
|
+
| `pmos docs record <check> --file <readings.json>` | Used by the compare session: records what it read. |
|
|
119
|
+
| `pmos docs check-finish <check>` | Used by the compare session: closes the compare. |
|
|
120
|
+
| `pmos docs sync-start <file> confluence --use pmos` | Used by the sync session: opens a sync of one copy (`--use copy` for the other direction). |
|
|
121
|
+
| `pmos docs sync-finish <sync> --version <v>` | Used by the sync session: closes the sync. The two sides are now the same. |
|
|
122
|
+
| `pmos docs sync-fail <sync> --reason "…"` | Used by the sync session: closes the sync. Nothing was written. |
|
|
123
|
+
| `pmos docs read-start <address>` | Used by the read session: opens a read of one Google Doc or Confluence page. |
|
|
124
|
+
| `pmos docs read-finish <read> --file <text.md>` | Used by the read session: records the text it read (from stdin without `--file`). |
|
|
125
|
+
| `pmos docs read-fail <read> --reason "…"` | Used by the read session: closes the read. Nothing was read. |
|
|
126
|
+
|
|
127
|
+
The session commands must name who read or wrote. In a workspace session that is the session. Outside the workspace, add `--by <profile>`.
|
|
128
|
+
|
|
129
|
+
### pmos past: ask about the past
|
|
130
|
+
|
|
131
|
+
| Command | What it does |
|
|
132
|
+
|---|---|
|
|
133
|
+
| `pmos past ask "<question>"` | The records that answer the question, each with its path:line and its own words, and how sure the match is. "No record found" when none does. `--json` for a script. |
|
|
134
|
+
| `pmos past check "<idea>"` | What was decided or declined before about an idea. |
|
|
135
|
+
| `pmos past verify --text "<answer>"` | Checks that every path:line in an answer is a record PMOS read, at a line that exists. |
|
|
136
|
+
| `pmos past sources` | Which records were read, and which were not on this machine. |
|
|
137
|
+
|
|
138
|
+
Nothing here writes a record, sends anything or calls a model.
|
|
139
|
+
|
|
140
|
+
## Claude's proposals and checks
|
|
141
|
+
|
|
142
|
+
### pmos propose: the one ✦ on each initiative
|
|
143
|
+
|
|
144
|
+
Claude's background run files proposals with these commands. The server pins the initiative and the run, so the commands refuse outside that run. You keep and drop proposals on the page.
|
|
145
|
+
|
|
146
|
+
- `pmos propose look <source> --reading | --found <n> --what "<5 documents>" | --none`: one source's live line.
|
|
147
|
+
- `pmos propose found <stage|docs|tasks|link|maybe|unplaced> --json <file|->`: Found elsewhere.
|
|
148
|
+
- `pmos propose date --json <file|->`: new dates for late or at-risk tasks, with the reason.
|
|
149
|
+
- `pmos propose done --json <file|->`: a task that looks done, with the evidence.
|
|
150
|
+
- `pmos propose name --json <file|->`: tidy names.
|
|
151
|
+
- `pmos propose status`: what is open, kept and dropped.
|
|
152
|
+
- `pmos propose loose <link|merge|finish|start> --json <file|->`: the clean-up of the work that is not in an initiative. Only the clean-up run can file these, and that run files nothing else. `pmos propose loose status` shows what is open and kept.
|
|
153
|
+
|
|
154
|
+
Every proposal carries its source. Nothing is sent.
|
|
155
|
+
|
|
156
|
+
### pmos grill: Claude grills an initiative
|
|
157
|
+
|
|
158
|
+
- `pmos grill decisions [--all]`: the decisions that stand, one line each with its file and line. With `--all`, also the superseded and reverted ones and what replaced them.
|
|
159
|
+
|
|
160
|
+
Set when Claude grills, and how much it may spend, with these commands (or in **Settings › Claude › Checks**):
|
|
161
|
+
|
|
162
|
+
- `pmos grill mode [full|exits|off]`: when Claude grills by itself. `exits` grills only before a stage ends. `PMOS_GRILL=off` turns it off on this computer.
|
|
163
|
+
- `pmos grill cap [<dollars>]`: the monthly credit cap, in US dollars (10 by default).
|
|
164
|
+
- `pmos grill spend`: what this month spent, each run's cost, and whether Claude paused.
|
|
165
|
+
|
|
166
|
+
Claude's grill run files with these commands, which refuse outside that run:
|
|
167
|
+
|
|
168
|
+
- `pmos grill find <premortem|redteam|voices|reframe|scope|whatif> --json <file|->`: one finding, with its sources and next step.
|
|
169
|
+
- `pmos grill find decision --json <file|->`: a plan that goes against an earlier decision, with both quotes, keep, change or drop, and the next step.
|
|
170
|
+
- `pmos grill voices --sources <n>`: how many stored sources Voices can use.
|
|
171
|
+
- `pmos grill status`: what is open, kept and dropped.
|
|
172
|
+
|
|
173
|
+
### pmos ai: the AI jobs, their kill switch and audit
|
|
174
|
+
|
|
175
|
+
- `pmos ai status`: whether each AI job is on, whether its replay passed, and what its last run filed. It also shows the keep rate of each job that files under ✦ for the last 14 days, and each product.
|
|
176
|
+
- `pmos ai log [<job>]`: the last audit lines. Each dropped proposal shows why.
|
|
177
|
+
- `pmos ai off [<job>]` and `pmos ai on [<job>]`: turn every AI job, or one job, off or on. `PMOS_AI=off` in the environment wins over the setting.
|
|
178
|
+
|
|
179
|
+
[What Claude does behind the scenes](agent-capabilities.md) lists the jobs and their queue names.
|
|
180
|
+
|
|
181
|
+
### pmos autonomy: what agents applied by themselves
|
|
182
|
+
|
|
183
|
+
- `pmos autonomy status` lists what agents applied in the last 14 days (D106), each with its id, and the jobs that went back to propose.
|
|
184
|
+
- `pmos autonomy restore <job>` ends a job's 7 days back at propose early.
|
|
185
|
+
- Undo a change of the Initiative Driver with `pmos driver undo <proposal>`. A ✦ change is undone on its initiative's ✦.
|
|
186
|
+
|
|
187
|
+
[What Claude does behind the scenes](agent-capabilities.md) explains the three classes of change and when a job goes back to propose.
|
|
188
|
+
|
|
189
|
+
### pmos loop: a goal agents work on until it is done
|
|
190
|
+
|
|
191
|
+
- `pmos loop start --goal "<one sentence>" --done "<criterion>"` starts a goal. Give one `--done` for each criterion that must be true, each one checkable. Add `--forbid "<action>"` for each thing it must never do. The budget is 20 rounds and 24 hours by default; `--rounds N` and `--hours H` change it.
|
|
192
|
+
- `pmos loop checkpoint <id> --note "<what and how checked>" --met "<criterion>"` is what a round runs last. You do not need to run it.
|
|
193
|
+
- `pmos loop status` shows every goal, its state, its rounds and what is met.
|
|
194
|
+
- `pmos loop resume <id> --note "<your answer>"` answers a loop that waits for you.
|
|
195
|
+
- `pmos loop stop <id>` stops a goal. `pmos ai off goal-loops` stops every goal loop.
|
|
196
|
+
|
|
197
|
+
### pmos team: the role agents
|
|
198
|
+
|
|
199
|
+
- `pmos team roles`: each role, what it owns, what wakes it, its class and its daily budget.
|
|
200
|
+
- `pmos team dispatch <initiative>`: the chief of staff picks the roles that the initiative needs and runs them in order. `--roles spec,eval` picks them yourself. `pmos team dispatch --goal "<goal>"` does the same for a goal in words.
|
|
201
|
+
- `pmos team status`: who works on what, what waits, and the inbox entries of ended dispatches.
|
|
202
|
+
- `pmos team pause <role|all>` and `pmos team resume <role|all>`: stop or restart a role's runs. `pmos ai off team` stops the whole team.
|
|
203
|
+
- Inside a role run only: `pmos team wrote <path>`, `pmos team done "<summary>" [--propose <path> "<what>"]` and `pmos team verdict <path> pass|fail "<why>"`.
|
|
204
|
+
|
|
205
|
+
[What Claude does behind the scenes](agent-capabilities.md) lists each role, what it may write and its rules.
|
|
206
|
+
|
|
207
|
+
### pmos lab: the idle lab
|
|
208
|
+
|
|
209
|
+
The idle lab run uses only these commands:
|
|
210
|
+
|
|
211
|
+
- `pmos lab page <url>`: a scan run reads one public page. PMOS refuses a private or local address and keeps the page text, so a quote can be checked.
|
|
212
|
+
- `pmos lab file <group> --json -`: a run files one result. It waits until the run ends and the proof passes.
|
|
213
|
+
- `pmos lab status`: in a run, what it filed. Outside a run, this month's idle lab runs and spend.
|
|
214
|
+
|
|
215
|
+
### pmos outcomes: expected outcomes
|
|
216
|
+
|
|
217
|
+
Run them in the product's repository, or pass `--root <dir>`.
|
|
218
|
+
|
|
219
|
+
- `pmos outcomes list` shows the checks that are due, the outcomes with no date and the initiatives with no outcome. It changes nothing.
|
|
220
|
+
- `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.
|
|
221
|
+
- `pmos outcomes declare <id> --metric "<text>" --horizon <YYYY-MM-DD>` writes the outcome and its check date, after you said yes.
|
|
222
|
+
- `pmos outcomes record <id> <worked|didnt-work|cant-tell> --evidence "<text>"` records your verdict on a due check.
|
|
223
|
+
|
|
224
|
+
### pmos rehearse: rehearse a change
|
|
225
|
+
|
|
226
|
+
- `pmos rehearse move <task> --by <days>` — the task moves later by whole days, or earlier with a minus (`--by -2`).
|
|
227
|
+
- `pmos rehearse move <task> --start YYYY-MM-DD [--due YYYY-MM-DD]`, or `--due YYYY-MM-DD` alone — the task gets new dates. A new start alone keeps the task's length.
|
|
228
|
+
- `pmos rehearse end <initiative> --to YYYY-MM-DD` — the initiative's end date changes.
|
|
229
|
+
- `pmos rehearse cut <task|initiative>` — what if we cut this. An initiative id cuts the whole initiative; a task id cuts one task.
|
|
230
|
+
- `pmos rehearse log [--n N]` — the last rehearsals. `pmos ai log rehearse` shows every audit line.
|
|
231
|
+
|
|
232
|
+
Every command takes `--json` and `--root <repository>`. Exit codes: 0 done, 1 off or refused, 2 usage.
|
|
233
|
+
|
|
234
|
+
### pmos metrics: metric drafts and readings
|
|
235
|
+
|
|
236
|
+
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.
|
|
237
|
+
|
|
238
|
+
- `pmos metrics draft read "<source>" --found "<one line>" [--state done|now|wait]`: one source read.
|
|
239
|
+
- `pmos metrics draft step shape|measure|target|ready`: the run moves to the next step.
|
|
240
|
+
- `pmos metrics draft row --json <file|->`: one drafted row, or a list of rows.
|
|
241
|
+
- `pmos metrics draft end --head "<line>" --sub "<line>" --src "<sources>"`: the run is done, with what the page says on top.
|
|
242
|
+
- `pmos metrics draft status`: what is open, kept and dropped.
|
|
243
|
+
- `pmos metrics draft fix --json <file|->`: one fix for a goal, or a list of fixes.
|
|
244
|
+
|
|
245
|
+
The run writes no record and sends nothing.
|
|
246
|
+
|
|
247
|
+
The reading run files with these commands, pinned by the server to the run and its goals:
|
|
248
|
+
|
|
249
|
+
- `pmos metrics reading list`: the goals of this run, with their recipes.
|
|
250
|
+
- `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.
|
|
251
|
+
- `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.
|
|
252
|
+
- `pmos metrics reading <rid> --cant "<why>" [--fix connect|recipe --connector <name>]`: Claude could not read it, and the fix it drafted.
|
|
253
|
+
|
|
254
|
+
### pmos impact: your impact
|
|
255
|
+
|
|
256
|
+
Only Claude's impact run uses these. The server pins each run to your ledger. Outside such a run, they refuse.
|
|
257
|
+
|
|
258
|
+
- `pmos impact add --json <file|->` files one item or a list: `{ "kind", "text", "who", "at", "source": { "url", "type", "label" } }`. The kind is thanks, unblock, used or kr. An item with no source, or with a count in its text, is refused.
|
|
259
|
+
- `pmos impact end` ends the run. `--error "<why>"` says why it could not finish.
|
|
260
|
+
- `pmos impact status` lists what is filed for this week and the last.
|
|
261
|
+
|
|
262
|
+
### pmos drift: what you might have missed
|
|
263
|
+
|
|
264
|
+
- `pmos drift show [--weeks <n>]`: what each of the last weeks would have shown for this repository. It writes nothing.
|
|
265
|
+
- `pmos drift replay`: the replay of the last four weeks of this repository.
|
|
266
|
+
- `pmos drift status`: the last weekly result and the replays on record.
|
|
267
|
+
|
|
268
|
+
## Initiatives and the Board
|
|
269
|
+
|
|
270
|
+
### pmos initiative
|
|
271
|
+
|
|
272
|
+
`pmos initiative` uses the same writers as the page. You need no running server.
|
|
273
|
+
|
|
274
|
+
| Command | What it does |
|
|
275
|
+
|---|---|
|
|
276
|
+
| `pmos initiative new "<title>" --lane <lane> --anchor <anchor> [--intent "<text>"] [--id <id>]` | Makes the record and puts it at the end of the Roadmap. |
|
|
277
|
+
| `pmos initiative new --from <capture> [--anchor <anchor>]` | Adds the initiative a capture proposes. |
|
|
278
|
+
| `pmos initiative top <id>` | Ranks it first. |
|
|
279
|
+
| `pmos initiative up <id>` | Moves it one place up. |
|
|
280
|
+
| `pmos initiative down <id>` | Moves it one place down. |
|
|
281
|
+
| `pmos initiative bottom <id>` | Ranks it last. |
|
|
282
|
+
| `pmos initiative after <id> <other-id>` | Ranks it right after another initiative. |
|
|
283
|
+
| `pmos initiative check-by <id> <YYYY-MM-DD\|none>` | Sets or clears its check-by date. |
|
|
284
|
+
| `pmos initiative adopt <proposal>` | Keeps an open proposal. You only: type the proposal id to confirm. |
|
|
285
|
+
| `pmos initiative drop <proposal>` | Closes a proposal. |
|
|
286
|
+
| `pmos initiative list` | Shows the Roadmap in rank order, with each lifecycle stage, check-by date and the open proposals. |
|
|
287
|
+
| `pmos initiative export <id>` | Writes the breakdown as markdown to the terminal. |
|
|
288
|
+
| `pmos initiative describe <id>` | Shows the description, and the lines Claude can draft it from. |
|
|
289
|
+
| `pmos initiative describe <id> "<text>"` | Saves the description. Claude runs this only after your yes. |
|
|
290
|
+
|
|
291
|
+
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.
|
|
292
|
+
|
|
293
|
+
The command exits 0 when it is done, 1 when it refuses, and 2 for a usage error.
|
|
294
|
+
|
|
295
|
+
### pmos measure
|
|
296
|
+
|
|
297
|
+
| Command | What it does |
|
|
298
|
+
|---|---|
|
|
299
|
+
| `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. |
|
|
300
|
+
| `pmos measure list [<anchor>]` | Shows the measurements, oldest first, for each anchor. |
|
|
301
|
+
|
|
302
|
+
Put an anchor with a space in quotes: `pmos measure add "KR 2.1" 41 --source planning/okrs/q4.md@1a2b3c4`.
|
|
303
|
+
|
|
304
|
+
### pmos item: an initiative's breakdown items
|
|
305
|
+
|
|
306
|
+
Every command takes `--json` for output a script can read, and `--root <dir>` to name the repository. Without `--root`, the command uses the repository of the current folder.
|
|
307
|
+
|
|
308
|
+
| Command | What it does |
|
|
309
|
+
|---|---|
|
|
310
|
+
| `pmos item add <initiative> "<title>" --stage <stage>` | Adds an item. Options: `--due`, `--start` (YYYY-MM-DD), `--owner you\|agent\|person:<name>\|tracker:<ref>`, `--after <item>`, `--milestone`, `--note "<text>"`. |
|
|
311
|
+
| `pmos item set <item> …` | Changes fields: `--title`, `--stage`, `--due`, `--start`, `--owner`, `--after`, `--milestone` or `--no-milestone`, `--note`, `--blocked "<reason>"`. Give `none` to clear a field. |
|
|
312
|
+
| `pmos item move <item> todo\|doing\|review\|done` | Changes the state. An agent adds `--evidence commit:<sha>` (or `pr:`, `file:`, `session:`, `note:`) when it moves an item to Done. If it forgot, it runs the same move to Done again with `--evidence`. |
|
|
313
|
+
| `pmos item withdraw <item>` | Withdraws an item. An agent can withdraw only its own items. |
|
|
314
|
+
| `pmos item list <initiative>` | Lists the items by stage, with the progress. |
|
|
315
|
+
|
|
316
|
+
A stage is its id or its label, for example `build` or `Build`. An item id is the initiative id, a dot, and ten characters, for example `partner-sso.k3j9x0p2qa`.
|
|
317
|
+
|
|
318
|
+
The command decides who wrote the line from where it runs. It does not take a `--by` option.
|
|
319
|
+
|
|
320
|
+
### pmos task: an initiative's tasks
|
|
321
|
+
|
|
322
|
+
An agent adds and closes tasks when you ask, so you do not have to find the task on the Board yourself. There is one kind of task: the tasks in the initiative's Tasks section. The older breakdown items (`pmos item`) and the To finish entries of the current stage are tasks too, and these commands list and close them.
|
|
323
|
+
|
|
324
|
+
- `pmos task add <initiative> "<title>"` adds a task. `--stage` puts it under a stage, `--due` and `--start` set its days, `--owner` its owner and `--notes` its notes. The task is the same as one added with Add a task on the page, under the agent's name.
|
|
325
|
+
- `pmos task list <initiative>` lists the initiative's open tasks (To do and In progress) with their ids. `--all` adds the Done, Won't do and Archived tasks.
|
|
326
|
+
- `pmos task state <task> [<task> …] --to <state>` sets the state of one or more tasks: To do, In progress, Done, Won't do or Archived. `--why` adds the reason, and for Done it is the evidence you read. Each change writes the same line as the page's press, under the agent's name. Won't do on a breakdown item withdraws it, and it cannot come back.
|
|
327
|
+
- `pmos task set <task> [<task> …] --stage <stage>` puts one or more tasks under a stage of the initiative's workflow, by the stage's key or name. `--stage none` takes them out of every stage. The Tasks section groups the tasks by these stages. A task's stage is its place in the plan: it does not change the task's state, and it does not move the initiative. `set` also takes `--due`, `--start`, `--owner` and `--notes`; `--due none` and `--start none` clear a day.
|
|
328
|
+
- `pmos task remove <task> [<task> …]` deletes a task that was added by mistake, such as a placeholder or a duplicate. The task goes from every list, and the Undo on the page brings it back. For work that stopped, use Archived or Won't do instead. A breakdown item cannot be deleted: set it to Won't do.
|
|
329
|
+
- `pmos task link <from> <to>` makes `<to>` wait on `<from>`. `--type` sets how they wait: `fs` (start after it finishes, the default), `ss` (start when it starts), `ff` (finish when it finishes) or `sf` (finish when it starts). `--lag` adds days, or takes them away with a negative number. Make a link only when the PM asks for it. To suggest a link, add `--propose --why "<reason>"`: the link shows under the blue ✦ in the Tasks header, and the PM approves it or drops it. A link that loops back to a task is refused.
|
|
330
|
+
- `pmos task unlink <from> <to>` removes the link. The dates stay as they are.
|
|
331
|
+
|
|
332
|
+
### pmos workflow
|
|
333
|
+
|
|
334
|
+
An agent writes a draft or a reading with these commands, and moves an initiative along its workflow when you ask. It never saves, copies or archives a workflow: those are your presses in Settings › Workflows.
|
|
335
|
+
|
|
336
|
+
- `pmos workflow list` names every workflow you can pick and marks the default one: the ones of this repository, then the ones you saved in Settings › Workspaces › Workflows (marked **saved in** and the workspace name) and in your other open workspaces.
|
|
337
|
+
- `pmos workflow show <id>` shows one workflow, its stages numbered. It finds a workflow in any of those libraries.
|
|
338
|
+
- An initiative chat reads workflows only through these commands. It does not search the repository's files for a workflow, and it does not use a lane, such as `feature`, in place of the initiative's workflow. When it cannot find a workflow, it says so and asks you.
|
|
339
|
+
- `pmos workflow draft --file <path>` writes the draft that waits as the draft row in Settings › Workflows. `--note` adds a line.
|
|
340
|
+
- `pmos workflow show-draft` shows the draft that is open.
|
|
341
|
+
- `pmos workflow judge --board <id> --id <initiative> --stage <key> --runs yes|no|unsure --why <reason> --cite <where>` records PMOS's reading of an Only when stage. **unsure** makes PMOS ask you. `--undo` takes a reading back.
|
|
342
|
+
- `pmos workflow of <initiative>` shows the workflow the initiative runs, its current stage, and each stage numbered as done, current or skipped. It reads the same row as the Board.
|
|
343
|
+
- `pmos workflow move <initiative> --stage <key|name|number>` moves the initiative to a stage of its own workflow. A number counts from 1 in the workflow's order, so `--stage 5` is the fifth stage. `--why` adds the reason. The move writes the same line as a move on the Board, under the agent's name. On a board whose columns join two stages, such as **Build & Deliver**, the initiative still goes to the stage you name, and the joined column name means its first stage.
|
|
344
|
+
- `pmos workflow switch <initiative> --to <workflow id>` puts the initiative on another workflow. `--stage` picks the stage it lands in; without it, the stage is the one the Board's switch picks.
|
|
345
|
+
|
|
346
|
+
### pmos board
|
|
347
|
+
|
|
348
|
+
The Board place shows initiatives, not items. `pmos board` prints the items of every initiative as columns: Todo, Doing, Review and Done. It reads the repository, so the workspace server does not need to run.
|
|
349
|
+
|
|
350
|
+
```
|
|
351
|
+
pmos board the Active filter
|
|
352
|
+
pmos board --mine your own items
|
|
353
|
+
pmos board --init <initiative> one initiative
|
|
354
|
+
pmos board --json the same answer as GET /api/board, for scripts
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
The text form prints one column per block, then one line for each card: the initiative, the stage, the title and the owner, and what needs your notice. The command only reads. It writes no line to any ledger.
|
|
358
|
+
|
|
359
|
+
`pmos board` exits with 0 when it printed the Board, 1 when the initiative is not on the Board, and 2 when the command line is wrong.
|
|
360
|
+
|
|
361
|
+
### pmos program
|
|
362
|
+
|
|
363
|
+
`pmos program suggest` is the only write of the milestone review run. It files a suggestion for you to keep, change or drop.
|
|
364
|
+
|
|
365
|
+
### pmos driver: the Initiative Driver
|
|
366
|
+
|
|
367
|
+
The agent uses `pmos driver propose` to file a proposal and `pmos driver status` to read what exists. In Auto mode, `pmos driver propose` says whether it applied the proposal or left it for you, and why. The other commands are yours, at an interactive terminal:
|
|
368
|
+
|
|
369
|
+
- `pmos driver keep <proposal>` asks you to type the proposal id. A kept move is pressed on the page.
|
|
370
|
+
- `pmos driver return <proposal> --note "<what to change>"` sends it back.
|
|
371
|
+
- `pmos driver drop <proposal>` drops it.
|
|
372
|
+
- `pmos driver undo <proposal>` undoes a kept proposal, within 14 days.
|
|
373
|
+
- `pmos driver pause <initiative|work> <id>` and `pmos driver resume <initiative|work> <id>` stop and restart the runs for one target.
|
|
374
|
+
- `pmos driver mode <off|shadow|approve|auto> [--board <id>]` sets the board mode. Without `--board` it sets every board.
|
|
375
|
+
|
|
376
|
+
When the agent files a proposal, it can also state what it knows, so that the Briefing can rank the row: `--confidence 0..1` (how sure it is), `--recommended "<what it suggests you do>"`, `--reversible true|false` (whether you can undo the move) and `--effort S|M|L` (about 2 minutes, about 15 minutes, an hour or more). Each one is optional. The Briefing shows a missing one as "Not known yet" and does not guess it. The agent states a fact only when it knows it.
|
|
377
|
+
|
|
378
|
+
The ledger is `driver.jsonl` in the state folder of the repository (`pmos/state`, `state` or `.pmos`). Each action adds one line. Nothing is changed or removed.
|
|
379
|
+
|
|
380
|
+
### pmos coredoc: core documents
|
|
381
|
+
|
|
382
|
+
`pmos coredoc write --scope <scope> --key <key> --file <path>` writes one draft of a core document. The scope is `portfolio`, `board:<id>` or `initiative:<id>`. With `--file -` the command reads the document from standard input. The command refuses a scope it does not know, a key that is not a document of that level, and a document that PMOS reads from another source. A background run can write only the document it was started for. The command writes a draft and nothing else: you issue it on the page.
|
|
383
|
+
|
|
384
|
+
### pmos verify-work: mark merged work
|
|
385
|
+
|
|
386
|
+
A commit can name a work item in a trailer, on its own line at the end of the commit message:
|
|
387
|
+
|
|
388
|
+
```
|
|
389
|
+
Work-Item: checkout.3
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
When that commit is on the default branch, the work item is integrated. To record this, run `pmos verify-work`:
|
|
393
|
+
|
|
394
|
+
```
|
|
395
|
+
pmos verify-work
|
|
396
|
+
```
|
|
397
|
+
|
|
398
|
+
The command does these steps:
|
|
399
|
+
|
|
400
|
+
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).
|
|
401
|
+
2. It reads the `Work-Item:` trailers on that branch.
|
|
402
|
+
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.
|
|
403
|
+
|
|
404
|
+
You can run the command again at any time. A work item that is already integrated is not written again.
|
|
405
|
+
|
|
406
|
+
Options:
|
|
407
|
+
|
|
408
|
+
- `--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.
|
|
409
|
+
- `--dry-run` shows what the command would write, and writes nothing.
|
|
410
|
+
- `--json` prints the result as JSON.
|
|
411
|
+
- `--root <dir>` runs in a different repository.
|
|
412
|
+
|
|
413
|
+
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.
|
|
414
|
+
|
|
415
|
+
The command reports these cases and writes nothing for them:
|
|
416
|
+
|
|
417
|
+
- **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.
|
|
418
|
+
- **Unknown.** A trailer names a work item that is not in the ledger.
|
|
419
|
+
|
|
420
|
+
A commit that is only on another branch is not read.
|
|
421
|
+
|
|
422
|
+
### pmos jira
|
|
423
|
+
|
|
424
|
+
[Jira tickets](jira.md) explains each step with its examples.
|
|
425
|
+
|
|
426
|
+
- `pmos jira draft <initiative> [--dry-run]`
|
|
427
|
+
- `pmos jira show <initiative>`
|
|
428
|
+
- `pmos jira epic <initiative> new|<KEY or link> [--group <group>]`
|
|
429
|
+
- `pmos jira approve <initiative> <ID> …`
|
|
430
|
+
- `pmos jira pending <initiative>`
|
|
431
|
+
- `pmos jira record <initiative> [ID=KEY …] [--epic KEY [--group <group>]] [--updated ID,ID]`
|
|
432
|
+
- `pmos jira query [<initiative>]`
|
|
433
|
+
- `pmos jira sync <initiative> --from <file|-> [--query "<jql>"] [--dry-run]`
|
|
434
|
+
- `pmos jira query --sprints`
|
|
435
|
+
- `pmos jira sync --sprints --from <file|-> [--query "<jql>"] [--dry-run]`
|
|
436
|
+
- `pmos jira summary [--from <file|->] [--dry-run]`
|
|
437
|
+
- `pmos jira which <KEY>`
|
|
438
|
+
- `pmos jira moves`
|
|
439
|
+
- `pmos jira moved <move id> --status "<Jira status>"` or `--refused "<why>"`
|
|
440
|
+
|
|
441
|
+
Every command takes `--json` and `--root <dir>`.
|
|
442
|
+
|
|
443
|
+
## Intelligence and reports
|
|
444
|
+
|
|
445
|
+
### pmos forecast
|
|
446
|
+
|
|
447
|
+
`pmos forecast baseline` keeps a baseline, to take readings that do not show the usual pace (for example the weeks of a promotion) out of a goal's range. `pmos forecast baseline-off` drops it again:
|
|
448
|
+
|
|
449
|
+
```
|
|
450
|
+
pmos forecast baseline --goal <id> --label "without the promo weeks" --exclude 2026-09-01..2026-09-14
|
|
451
|
+
pmos forecast baseline-off --goal <id>
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
`--exclude` takes up to 10 spans, separated by commas. The baseline stays until you drop it.
|
|
455
|
+
|
|
456
|
+
To list the forecasts that turned, run `pmos forecast turned`:
|
|
457
|
+
|
|
458
|
+
```
|
|
459
|
+
pmos forecast turned --since 2026-10-01T00:00:00Z
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
### pmos scan: the Horizon scan
|
|
463
|
+
|
|
464
|
+
The agent uses `pmos scan file`, `pmos scan section`, `pmos scan match`, `pmos scan propose`, `pmos scan suggest` and `pmos scan list`. `pmos scan list --scan <id> [--sections]` shows the findings of one scan and its report sections. `pmos scan suggest [--boards a,b] --kind product|domain|approach --name "<what to watch>" --why "<one line>" --from <initiative>` suggests a watch item. `pmos scan status` shows the setting, the watch list and the last scan. The other commands are yours, at an interactive terminal:
|
|
465
|
+
|
|
466
|
+
- `pmos scan cadence <daily|weekly|off>` sets how often the portfolio is scanned.
|
|
467
|
+
- `pmos scan setting` changes the repository switch and the report types.
|
|
468
|
+
- `pmos scan watch keep|remove|edit|add ...` manages the watch list. `--boards a,b` sets the boards of an item.
|
|
469
|
+
|
|
470
|
+
The ledger is `scan.jsonl` in the state folder (`pmos/state`, `state` or `.pmos`). Each action adds one line. Nothing is changed or removed.
|
|
471
|
+
|
|
472
|
+
### pmos report
|
|
473
|
+
|
|
474
|
+
#### The report engine
|
|
475
|
+
|
|
476
|
+
1. `pmos report make <id>` writes the brief. For an ad hoc report add `--ask "<the question>"`. Name a source with `--source`: `connector:<name>=<what it is>`, `document:<path>`, `pack:<file of readings>` or `pmos`. `pmos report make <id> --template <id>` starts a report from a library template.
|
|
477
|
+
2. `pmos report read <id> --from <file>` files the readings the writer read through a connector or a document.
|
|
478
|
+
3. `pmos report find <id> --from <file>` files the findings that answer the question.
|
|
479
|
+
4. `pmos report write <id> --from <file>` checks the writer's `<slot>.report.json` and renders `<slot>.md`.
|
|
480
|
+
|
|
481
|
+
`pmos report check <id>` shows the checks of the last write. `pmos report rule <id> add wording "<rule>"` keeps a wording rule for every next issue; `pmos report rule <id> add off <part>` turns a part beyond the ask off; `pmos report rule <id> remove <n>` removes a rule.
|
|
482
|
+
|
|
483
|
+
#### Draft, issue and list
|
|
484
|
+
|
|
485
|
+
`pmos report draft <cadence> [<slot>]` writes the draft to `planning/reports/<cadence>/<slot>.md`. The slot is a date, YYYY-MM-DD. If you do not give a slot, the slot is today. If a draft for the slot exists, the command stops and writes nothing. To draft the slot again and keep every note, add `--redraft`. To fix the clock, add `--now <time>`: two drafts with the same inputs and the same `--now` are the same, byte for byte.
|
|
486
|
+
|
|
487
|
+
```
|
|
488
|
+
pmos report draft biweekly 2026-10-16
|
|
489
|
+
pmos report draft biweekly 2026-10-16 --redraft
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
`pmos report issue <cadence> <slot>` issues the report. Only you can do this, at a terminal. The command asks you to type the cadence and the slot, for example `biweekly-2026-10-16`. An agent session, a command with no terminal, or a different text is refused, and nothing is written. The command records the path and the git blob sha of the file in `planning/runs/issues.jsonl`. The report is then frozen: a draft of that slot is refused, and the Initiative Gate fails if the file changes. Nothing is sent. To share the report, print it or copy it as markdown.
|
|
493
|
+
|
|
494
|
+
```
|
|
495
|
+
pmos report issue biweekly 2026-10-16
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
`pmos report list [<cadence>]` shows each draft and each issued report, newest first, with who issued it.
|
|
499
|
+
|
|
500
|
+
#### Proposals, definitions and the library
|
|
501
|
+
|
|
502
|
+
`pmos report propose` is for an agent run. It files one report proposal or finding. It refuses a pattern that you dismissed with Not a report.
|
|
503
|
+
|
|
504
|
+
`pmos report definitions` lists the report definitions. It only reads.
|
|
505
|
+
|
|
506
|
+
`pmos report setups` lists the recurring reports that are set up.
|
|
507
|
+
|
|
508
|
+
`pmos report finder` shows the report finder setting, or changes it.
|
|
509
|
+
|
|
510
|
+
`pmos report library` writes one page with every slide layout of the report library, filled with placeholder words. Open it in a browser to see the layouts a report can use. Add `--out <file>` to choose the file. `pmos report library --template <id>` draws one template with placeholder words.
|
|
511
|
+
|
|
512
|
+
Every command accepts `--root <dir>` to name the repository. `draft` and `list` also accept `--json`.
|
|
513
|
+
|
|
514
|
+
## Data and sources
|
|
515
|
+
|
|
516
|
+
The skills that read your tools save their reads with these commands. [Settings, switches and data freshness](settings-and-switches.md) explains the sources and their schedules.
|
|
517
|
+
|
|
518
|
+
### pmos calendar
|
|
519
|
+
|
|
520
|
+
- `pmos calendar import --from <file|-> --sensitivity <label>` saves the events the agent read. The label is `public`, `internal`, `confidential` or `private`. `--dry-run` checks the file and saves nothing.
|
|
521
|
+
- `pmos calendar status` says how many events are saved and when they were read.
|
|
522
|
+
|
|
523
|
+
### pmos tracker
|
|
524
|
+
|
|
525
|
+
- `pmos tracker done [--moved N] [--left N] [--not-found N]` records the time of the read for this repository and the counts of what it found. It moves no item.
|
|
526
|
+
- `pmos tracker status` says when tracker items were last read for this repository.
|
|
527
|
+
|
|
528
|
+
### pmos source
|
|
529
|
+
|
|
530
|
+
- `pmos source save --file <reads.json>` saves one record per tool. A record that is off or not reached says so. A field past its limit refuses the whole file, and nothing is saved.
|
|
531
|
+
- `pmos source status` says when each tool was last read, and which were not reached.
|
|
532
|
+
- `pmos source show [<source>]` prints what the last read of a tool holds, or of every tool.
|
|
533
|
+
|
|
534
|
+
### pmos refresh
|
|
535
|
+
|
|
536
|
+
- `pmos refresh since <source>` says **ask first** or **read in full**, with the reason and the time of the last read. `<source>` is calendar, jira, mywork or tools.
|
|
537
|
+
- `pmos refresh same <source>` keeps the stored read as it is and moves its read time to now. For Your tools, `--only slack,mail` confirms only those tools. It refuses when a read in full is due.
|
|
538
|
+
|
|
539
|
+
## Background work and schedules
|
|
540
|
+
|
|
541
|
+
### pmos proactive: Today and the proactive engine
|
|
542
|
+
|
|
543
|
+
- `pmos proactive today` lists the items.
|
|
544
|
+
- `pmos proactive scan` scans now.
|
|
545
|
+
- `pmos proactive settings` shows the settings. Add `--enabled`, `--trigger NAME=on|off`, `--stalled-days`, `--quiet HH:MM-HH:MM|none`, `--pause-learning`, `--background-prepare on|off`, `--brief-source NAME=on|off`, `--scope SERVICE:NAME=watch|search|ignore`, `--day-check 30|60|off`, `--website URL`, `--no-website URL`, `--brief-scoring on|off` or `--name` to change one.
|
|
546
|
+
- `pmos proactive goals` lists today's goals with their steps. `pmos proactive goals add TEXT [--initiative ID]` adds one. `done N`, `drop N`, `reopen N` and `remove N` change the Nth goal. `pmos proactive goals plan` does the same as **Prepare my day**.
|
|
547
|
+
- `pmos proactive brief` shows today's brief. `pmos proactive brief submit --file PATH` submits one. `pmos proactive brief submit --file PATH --merge` merges one into the stored brief of the same day. `pmos proactive brief schedule` makes the 06:45 schedule for the current repository.
|
|
548
|
+
- `pmos proactive calendar` shows what the calendar memory holds (the number of events, the days it covers and when it was read) and the window the next morning brief reads: 90 days back and 31 ahead when the memory is empty or older than 7 days, else from today to 31 days ahead. It only reads.
|
|
549
|
+
- `pmos proactive day` shows the stage of the day and its tasks. `pmos proactive day show TASK` prints one task with its item, its draft and the notes of each revision. Sessions read it.
|
|
550
|
+
- `pmos proactive day deliver TASK --summary TEXT --body-file PATH [--link URL]` delivers the draft of a working task. `pmos proactive day sent TASK [--link URL]` reports that the approved step was done. `pmos proactive day fail TASK --reason TEXT` reports that a task cannot be done. Sessions run these three.
|
|
551
|
+
- `pmos proactive day approve TASK`, `pmos proactive day revise TASK --note TEXT` and `pmos proactive day retry TASK` are your decisions, the same as the buttons. `pmos proactive day check` starts a check now.
|
|
552
|
+
- `pmos proactive prepare` shows the queue. `pmos proactive prepare plan --initiative ID` shows a plan and its hash. `pmos proactive prepare queue --initiative ID --item ITEM --sha HASH` approves it. `pmos proactive prepare cancel ID` cancels an entry. `pmos proactive prepare run` looks at the queue now.
|
|
553
|
+
- `pmos proactive learn` shows the rollup, the weights, the narrowed triggers and the lessons. `pmos proactive learn run` takes the weekly review now. `pmos proactive learn lessons` lists the approved lessons. `pmos proactive learn approve ID`, `reject ID` and `retire ID` decide a lesson. `pmos proactive learn restore TRIGGER` brings back a narrowed trigger. `pmos proactive learn reset` makes it ignore earlier feedback.
|
|
554
|
+
- `pmos proactive feedback <id> useful|not-useful|wrong-priority|opened|dismissed` records feedback. Use `--missed "text"` for a missed item.
|
|
555
|
+
|
|
556
|
+
### pmos schedule and pmos skill: scheduled tasks
|
|
557
|
+
|
|
558
|
+
The commands talk to the running server. A change is saved when the command succeeds. A refused value names what is allowed and changes nothing. If no server runs, the command says so and exits with code 1.
|
|
559
|
+
|
|
560
|
+
- `pmos schedule list` shows the schedules. Add `--all` for every repository.
|
|
561
|
+
- `pmos schedule show <id|name>` shows one schedule, its next run, its last run and its status.
|
|
562
|
+
- `pmos schedule add` makes a schedule. Use `--skill` and `--cadence`. Add `--from-session` or `--from-file` to make a new user skill from your work and schedule it.
|
|
563
|
+
- `pmos schedule edit <id|name>` changes any field.
|
|
564
|
+
- `pmos schedule run <id|name>` runs it now.
|
|
565
|
+
- `pmos schedule enable <id|name>` and `pmos schedule disable <id|name>` turn it on and off.
|
|
566
|
+
- `pmos schedule rm <id|name>` deletes it.
|
|
567
|
+
- `pmos skill list` shows the skills.
|
|
568
|
+
- `pmos skill show <name>` shows one skill.
|
|
569
|
+
- `pmos skill new` makes a user skill.
|
|
570
|
+
- `pmos skill edit <name> --file F` replaces a user skill's text.
|
|
571
|
+
- `pmos skill copy <name>` makes an editable copy of a built-in skill.
|
|
572
|
+
|
|
573
|
+
The fields of a schedule:
|
|
574
|
+
|
|
575
|
+
| Field | Meaning |
|
|
576
|
+
|---|---|
|
|
577
|
+
| `--cadence`, `--day`, `--day-of-month`, `--time`, `--date` | When it runs. Times are local to the computer. |
|
|
578
|
+
| `--until`, `--max-runs` | When it stops. The schedule turns itself off when either is reached and records why. `none` clears one. |
|
|
579
|
+
| `--args` | Extra instructions added to the skill. |
|
|
580
|
+
| `--tier`, `--profile` | How it runs. |
|
|
581
|
+
|
|
582
|
+
## Knowledge
|
|
583
|
+
|
|
584
|
+
### pmos kg: find knowledge without reading whole files
|
|
585
|
+
|
|
586
|
+
| Command | What it does |
|
|
587
|
+
|---|---|
|
|
588
|
+
| `pmos kg find <term>` | Lists cards whose id, title, headings or card contain the term, with the token size of each file. |
|
|
589
|
+
| `pmos kg card <id>` | Prints one card and the headings of the file with their line ranges. |
|
|
590
|
+
| `pmos kg neighbors <id> [--type T] [--depth 1\|2]` | Lists the files that link to this file or that it links to, with the type and the basis of each edge. |
|
|
591
|
+
| `pmos kg section <path>#<heading>` | Prints only that section. `pmos kg section <path> <from>-<to>` prints a line range. |
|
|
592
|
+
| `pmos kg why <D-id>` | Prints the decision's ADR view, its line in the amendment log of `DECISIONS.md`, and the files that cite it, grouped by kind. |
|
|
593
|
+
| `pmos kg stats` | Prints counts: files, edges by type, written and derived cards, files with no incoming link, and the dangling links. |
|
|
594
|
+
|
|
595
|
+
Add `--max-tokens N` to stop printing at a result boundary. The command then says how many results it did not show.
|
|
596
|
+
|
|
597
|
+
An unknown file, heading or decision stops with a message that says what was not found. The exit code is 1.
|
|
598
|
+
|
|
599
|
+
## Meetings
|
|
600
|
+
|
|
601
|
+
### pmos extension
|
|
602
|
+
|
|
603
|
+
`pmos extension` prints the folder of the Chrome extension for Google Meet, and the three steps to load it. [Notes](notes.md) explains the extension.
|