create-pmos 0.540.0 → 0.542.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 +33 -39
- 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/adler-moments-test.js +4 -8
- package/workspace/briefing-premium-board-test.js +1 -1
- package/workspace/briefing-premium-initiative-test.js +1 -1
- package/workspace/briefing-premium-sources-test.js +3 -3
- package/workspace/briefing-premium-test.js +2 -4
- package/workspace/changelog.json +32 -0
- package/workspace/ev-everywhere-test.js +3 -3
- 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 +182 -21
- package/workspace/guide/index.md +23 -59
- package/workspace/guide/initiatives-and-next-steps.md +235 -5
- package/workspace/guide/intelligence-okr-goals.md +122 -5
- 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 +397 -0
- package/workspace/guide/statuses.md +141 -4
- package/workspace/home-rows-test.js +19 -24
- package/workspace/lib/briefing-premium-agent.js +7 -2
- package/workspace/lib/cos-chat.js +75 -0
- package/workspace/lib/done-feed.js +33 -0
- package/workspace/lib/grill-runs.js +1 -1
- package/workspace/lib/headless.js +29 -2
- package/workspace/lib/loop-health.js +65 -0
- package/workspace/lib/pmos-verbs.js +41 -40
- package/workspace/lib/proposal-runs.js +1 -1
- package/workspace/lib/proposals.js +44 -9
- package/workspace/lib/routes-sources.js +2 -0
- package/workspace/lib/routes-your-move.js +25 -4
- package/workspace/lib/verify-runs.js +22 -1
- package/workspace/lib/verify-work-cli.js +1 -1
- package/workspace/package-lock.json +2 -2
- package/workspace/package.json +1 -1
- package/workspace/public/pm/batch-press.js +184 -0
- package/workspace/public/pm/bd-fc-card.js +2 -1
- package/workspace/public/pm/bd-next.js +2 -1
- package/workspace/public/pm/chat-src.js +18 -0
- package/workspace/public/pm/cozy-home.css +4 -0
- package/workspace/public/pm/cozy-lab-ins.js +17 -1
- package/workspace/public/pm/cozy-nav.js +22 -21
- package/workspace/public/pm/cozy-search.js +18 -9
- package/workspace/public/pm/cozy-today.css +7 -0
- package/workspace/public/pm/cozy-viewer.js +1 -1
- package/workspace/public/pm/goal-chat.js +1 -1
- package/workspace/public/pm/good-morning.js +1 -1
- package/workspace/public/pm/home-app.js +65 -14
- package/workspace/public/pm/home-chat.js +8 -4
- package/workspace/public/pm/home-day.js +46 -14
- package/workspace/public/pm/home-today.js +5 -4
- package/workspace/public/pm/ini-props.js +7 -2
- package/workspace/public/pm/ini-view.css +14 -0
- package/workspace/public/pm/move-rank.js +67 -9
- package/workspace/public/pm/outbox-view.js +35 -0
- package/workspace/public/pm/page-chat.css +2 -0
- package/workspace/public/pm/page-chat.js +33 -5
- package/workspace/replaced-tests.json +19 -1
- package/workspace/run-tests.js +23 -4
- package/workspace/server.js +2 -1
- package/workspace/task-links-test.js +6 -2
- package/workspace/test-lists/chief-of-staff-chat.json +9 -0
- 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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
|
-
title: "
|
|
4
|
-
description: "
|
|
5
|
-
timestamp: 2026-11-
|
|
3
|
+
title: "Initiatives: the Roadmap, next steps, the Driver and done"
|
|
4
|
+
description: "The ranked list of initiatives, how PMOS works out the next steps, the Initiative Driver, and integrated work."
|
|
5
|
+
timestamp: 2026-11-08
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Initiatives: the Roadmap, next steps, the Driver and done
|
|
9
9
|
|
|
10
10
|
Open an initiative from Home's list. It opens as a page in the Viewer. Its stage card shows the stage, how many of its steps are done, and the steps still open: yours first, then a running agent, then late or blocked steps, then the ones waiting on someone. The last node is the next stage. [Home](home.md) explains the initiative's page.
|
|
11
11
|
|
|
@@ -23,7 +23,7 @@ If a check cannot run, for example in a shallow clone, the line says "Cannot tel
|
|
|
23
23
|
|
|
24
24
|
In a documents repository (the pm-artifacts profile), only **Since approval** applies. It starts when you accept the work: after that, a commit to the brief or the deliverable shows here. Coverage and Record says are for product-code repositories.
|
|
25
25
|
|
|
26
|
-
If **read documents for status** is on for the repository, lines that start with **Documents suggest** can follow. They are Jev's answers about the documents of this initiative: a PRD, rubric or brief that may be a stub, or a note that may contradict a requirement. Each line says *very likely*, *likely* or *possible*, says that it is a suggestion and names the model. Open the document to decide. See [Guide: validate a repository](
|
|
26
|
+
If **read documents for status** is on for the repository, lines that start with **Documents suggest** can follow. They are Jev's answers about the documents of this initiative: a PRD, rubric or brief that may be a stub, or a note that may contradict a requirement. Each line says *very likely*, *likely* or *possible*, says that it is a suggestion and names the model. Open the document to decide. See [Guide: validate a repository](knowledge-graph.md).
|
|
27
27
|
|
|
28
28
|
## Next steps
|
|
29
29
|
|
|
@@ -73,3 +73,233 @@ You can turn on the Typesafe skill for a run. It helps the session categorise, s
|
|
|
73
73
|
### Review
|
|
74
74
|
|
|
75
75
|
After the session ends, the step offers **review what it did**. The review lists the files the branch changed against trunk, shows the end of the conversation, and lists any judgments the session reported, with those that failed the shape check marked. Then choose **accept the step** or **send it back**. A send-back needs a note. Your verdict is recorded in the runtime state folder. Accepting a step does not accept the initiative. Acceptance stays at the Acceptance Gate.
|
|
76
|
+
|
|
77
|
+
## Initiatives and the Roadmap: one ranked list
|
|
78
|
+
|
|
79
|
+
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:
|
|
80
|
+
|
|
81
|
+
- **The rank** says what comes first.
|
|
82
|
+
- **The lifecycle stage** (Triage, Discover, Plan, Prioritize, Build, Deliver, Monitor, Evaluate) says where the initiative is. See [The lifecycle](statuses.md).
|
|
83
|
+
|
|
84
|
+
An initiative can also have a **check-by** date: the day you want to look at it again.
|
|
85
|
+
|
|
86
|
+
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.
|
|
87
|
+
|
|
88
|
+
### Now, Next and Later are retired (D105)
|
|
89
|
+
|
|
90
|
+
Earlier versions put each initiative in one of three horizons: Now, Next and Later. They are retired. Nothing you placed is lost:
|
|
91
|
+
|
|
92
|
+
- The lines you wrote stay in the file, unchanged.
|
|
93
|
+
- The Roadmap reads them in their old order: what was in Now comes first, then Next, then Later.
|
|
94
|
+
- `pmos initiative now`, `next` and `later` no longer move anything. They say what to use instead.
|
|
95
|
+
- 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.
|
|
96
|
+
|
|
97
|
+
### Where the Roadmap is kept
|
|
98
|
+
|
|
99
|
+
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.
|
|
100
|
+
|
|
101
|
+
Each line records who wrote it and from where. You cannot set this yourself. The writer refuses a line that names its own writer.
|
|
102
|
+
|
|
103
|
+
### Day one
|
|
104
|
+
|
|
105
|
+
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**:
|
|
106
|
+
|
|
107
|
+
- An initiative with activity in the last 5 days comes first, the most recent first.
|
|
108
|
+
- Every other initiative follows, the most recent activity first.
|
|
109
|
+
- 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.
|
|
110
|
+
- 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.
|
|
111
|
+
- An accepted or stopped initiative goes to the end.
|
|
112
|
+
|
|
113
|
+
The two numbers are `stall_days` and `dormant_days` in `planning/plan-rules.json`.
|
|
114
|
+
|
|
115
|
+
The Today list shows one **Review the cycle** row when an agent proposal waits for you or a check-by date has passed.
|
|
116
|
+
|
|
117
|
+
### Who can move an initiative
|
|
118
|
+
|
|
119
|
+
You and an agent session can rank an initiative. The move applies at once, and the line names who wrote it (D98).
|
|
120
|
+
|
|
121
|
+
**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.
|
|
122
|
+
|
|
123
|
+
- **Drop** a proposal to close it. You or the agent that made it can drop it.
|
|
124
|
+
|
|
125
|
+
When anyone ranks the same initiative, the move replaces its open proposals.
|
|
126
|
+
|
|
127
|
+
### Add an initiative
|
|
128
|
+
|
|
129
|
+
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.
|
|
130
|
+
|
|
131
|
+
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.
|
|
132
|
+
|
|
133
|
+
The writer refuses:
|
|
134
|
+
|
|
135
|
+
- a lane that the repository does not have, or a document lane;
|
|
136
|
+
- an anchor that names no KR or health budget;
|
|
137
|
+
- an id that is already a record.
|
|
138
|
+
|
|
139
|
+
#### From a capture
|
|
140
|
+
|
|
141
|
+
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.
|
|
142
|
+
|
|
143
|
+
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.
|
|
144
|
+
|
|
145
|
+
Press **Add** to make the initiative, or use `pmos initiative new --from <capture>`. After that, the capture leaves the list.
|
|
146
|
+
|
|
147
|
+
#### No anchor
|
|
148
|
+
|
|
149
|
+
An old record with no `parent_kr` shows on the Today list as "<title> has no anchor". Add an anchor to its record.
|
|
150
|
+
|
|
151
|
+
### Break this down
|
|
152
|
+
|
|
153
|
+
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).
|
|
154
|
+
|
|
155
|
+
### Export a breakdown
|
|
156
|
+
|
|
157
|
+
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.
|
|
158
|
+
|
|
159
|
+
### Measurements
|
|
160
|
+
|
|
161
|
+
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.
|
|
162
|
+
|
|
163
|
+
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.
|
|
164
|
+
|
|
165
|
+
### From a terminal
|
|
166
|
+
|
|
167
|
+
`pmos initiative` uses the same writers as the page, and `pmos measure` records a measured value. The `pmos initiative` and `pmos measure` commands are in the [Command reference](cli.md).
|
|
168
|
+
|
|
169
|
+
### The checks
|
|
170
|
+
|
|
171
|
+
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.
|
|
172
|
+
|
|
173
|
+
## The Initiative Driver: drafts the agent files for you
|
|
174
|
+
|
|
175
|
+
The Initiative Driver is a short background agent run for one initiative or one Work task. It reads the record, decides the next useful step, files the result as a **proposal**, and ends. In Auto mode, the default since D106, a class A or B proposal is applied at once, with Undo for 14 days. A class C proposal waits for you: you keep it, send it back with a note, or drop it. See [Agents act by themselves](agent-capabilities.md).
|
|
176
|
+
|
|
177
|
+
### When a run starts
|
|
178
|
+
|
|
179
|
+
A run starts for one of four reasons:
|
|
180
|
+
|
|
181
|
+
- **Created.** An initiative is created from the page, from Triage (accept), or with `pmos initiative new`. The run starts within one tick of the server (about one minute).
|
|
182
|
+
- **Moved.** You move the initiative to another stage on the board.
|
|
183
|
+
- **Answered.** You send a proposal back with a note.
|
|
184
|
+
- **Stuck.** The unblock sweep finds a blocker the agent can work on.
|
|
185
|
+
|
|
186
|
+
An initiative that existed before you first ran this version does not start a run. Only events after the first scan count.
|
|
187
|
+
|
|
188
|
+
### The unblock sweep
|
|
189
|
+
|
|
190
|
+
The sweep reads every active initiative and every open Work task. It uses no model. It runs every 30 minutes, inside the working hours of the daytime check (09:00 to 18:00 by default) and outside your quiet hours.
|
|
191
|
+
|
|
192
|
+
| Where | What it finds |
|
|
193
|
+
| --- | --- |
|
|
194
|
+
| You are the blocker | An open proposal is more than one day old. No run starts. The row comes back in Needs you once a day. |
|
|
195
|
+
| Discover | No kept problem statement, or no kept evidence. |
|
|
196
|
+
| Plan | No PRD, no done-criteria, or no anchor. |
|
|
197
|
+
| Do | No Jira ticket moved for the stall threshold, or a ticket is flagged blocked. |
|
|
198
|
+
| Learn | The check-by date passed with no outcome check, or a kill condition tripped. |
|
|
199
|
+
| Any stage | Nothing changed for the stall threshold (5 days by default). |
|
|
200
|
+
| Work task | Overdue, waiting on someone for 3 days or more, untouched for 7 days, or no next step. |
|
|
201
|
+
|
|
202
|
+
The sweep starts a run for a blocker the agent can work on, at most once per blocker per day. A dormant initiative starts no run.
|
|
203
|
+
|
|
204
|
+
### The limits
|
|
205
|
+
|
|
206
|
+
- There is no daily limit on runs.
|
|
207
|
+
- At most 3 runs at the same time, and 1 per initiative or Work task. The others wait.
|
|
208
|
+
- A run that fails or times out counts against the day. Its reason is in the ledger.
|
|
209
|
+
- A paused initiative or Work task starts no run.
|
|
210
|
+
- `PMOS_DRIVER=off` in the environment of the server starts none.
|
|
211
|
+
|
|
212
|
+
### What the agent can and cannot do
|
|
213
|
+
|
|
214
|
+
The agent reads, and it files proposals with `pmos driver propose`. It has no Write or Edit tool, no `git push`, and no tool that sends anything. Every claim in a proposal carries a pointer: a Jira key, a link or a path. A follow-up to a person is draft text only. You send it from your own session.
|
|
215
|
+
|
|
216
|
+
In Discover, the agent writes the problem statement, the evidence, the opportunity sizing, the riskiest assumption and the stakeholders. When you have kept the first three, it proposes the move to Plan. In the other stages, it names the blocker and proposes what would clear it.
|
|
217
|
+
|
|
218
|
+
### Where you see the agent
|
|
219
|
+
|
|
220
|
+
- **The Agent strip.** Open an initiative and stay on Overview. The Agent section is at the top. It shows the state of the agent (working, idle, waiting on you, paused or off), the last thing it did, and what stops it ("Stopped by: ..."). Each open proposal is one row with Keep, Send back and Drop. Press a row to read its text and its sources. A source that is a link opens in a new tab. Pause and Resume are in the header. The text "1 run today" opens the list of today's runs.
|
|
221
|
+
- **Keep, Send back and Drop on a row.** A kept row stays in the strip, marked "Kept by you", until you leave the page. Send back asks for a one-line note. A kept stage move changes the stage on the page at once. These three acts cannot be undone: each adds one line to the ledger.
|
|
222
|
+
- **One line in Work.** A Work task with an open proposal shows one line under its title, for example "Agent drafted a follow-up to Dana. Nothing is sent." Press Review to read the draft. Keep copies the text so you can send it yourself, and records your decision. If the browser does not allow copying, the text is selected and you press Ctrl+C. A suggested next step shows Keep and Drop in the line. Shadow and Off show no line.
|
|
223
|
+
- **Needs you.** In Briefing, the agent has two kinds of row: "Agent has 3 drafts on ..." and "... is waiting on you". Press a row to open the initiative. A long title wraps inside the card.
|
|
224
|
+
- **The Agent setting.** Open the board, press Board settings, and find Agent. Choose Off, Shadow, Approve or Auto. The setting is saved when you press it.
|
|
225
|
+
|
|
226
|
+
### Keep, send back, drop
|
|
227
|
+
|
|
228
|
+
Open proposals appear in Needs you as one row for each initiative or task: "Agent has 3 drafts on the initiative".
|
|
229
|
+
|
|
230
|
+
- **Keep** writes the record as you. A problem statement goes into the problem record of the initiative. A move goes through the board move, with its warnings. A Work next step goes into the steps of the task. Other kinds are kept as your decision to rely on them.
|
|
231
|
+
- **Send back** needs a note. The note starts a new run. It counts as a correction.
|
|
232
|
+
- **Drop** closes the proposal. It counts as a correction.
|
|
233
|
+
|
|
234
|
+
An agent session can keep, send back, drop, pause or change the mode too, with no typed confirmation (D98). Each line names the agent, so you see who decided.
|
|
235
|
+
|
|
236
|
+
### What Auto applies, and Undo
|
|
237
|
+
|
|
238
|
+
In Auto mode the Driver applies these kinds at once, through the same Keep, as the agent: a note (class A), and a problem statement, evidence, sizing, an assumption, stakeholders, an overlap and a Work next step (class B). Each one is listed with Undo for 14 days. These kinds always wait for you: a stage move and a follow-up (class C), and a core document, because issuing it has no Undo yet.
|
|
239
|
+
|
|
240
|
+
- **Undo** puts the record back as it was, unless someone changed it since: then it keeps that change. Undo counts as a correction.
|
|
241
|
+
- Two Undos in a row for one kind on one product put that kind back to propose for 7 days. So does an Undo rate above 30% in a week. `pmos autonomy status` shows it.
|
|
242
|
+
|
|
243
|
+
### Board modes
|
|
244
|
+
|
|
245
|
+
- **Auto** is the default (D106). Class A and B proposals are applied with Undo. Class C proposals wait, and Needs you shows their rows.
|
|
246
|
+
- **Approve.** Every proposal waits for you, and Needs you shows the rows.
|
|
247
|
+
- **Shadow.** The agent runs and drafts, and raises no Needs you rows.
|
|
248
|
+
- **Off.** No run starts.
|
|
249
|
+
|
|
250
|
+
The agent files a proposal with `pmos driver propose`; in Auto mode it says whether it applied the proposal or left it for you, and why. You keep, send back, drop, undo, pause and set the board mode with the other `pmos driver` commands, at an interactive terminal. The ledger is `driver.jsonl` in the state folder of the repository. The `pmos driver` commands are in the [Command reference](cli.md).
|
|
251
|
+
|
|
252
|
+
### Related
|
|
253
|
+
|
|
254
|
+
The [Horizon scan](intelligence-okr-goals.md) is the part of the agent that looks outside the initiatives: it files new opportunities as asks in Triage.
|
|
255
|
+
|
|
256
|
+
## Integrated work: from a merged commit to Done
|
|
257
|
+
|
|
258
|
+
Some items of a breakdown go to the factory. The factory does the work in the product repository and opens a pull request. This part tells you how a merged pull request makes its item Done, and what the workspace shows on the way.
|
|
259
|
+
|
|
260
|
+
### Two ledgers, one link
|
|
261
|
+
|
|
262
|
+
- The breakdown items are in `planning/runs/plan-items.jsonl`. You and the agent write this file. See [Breakdown](breakdown.md).
|
|
263
|
+
- The factory work items are in `planning/work-items.jsonl`. Only the factory writer adds lines to this file.
|
|
264
|
+
- 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.
|
|
265
|
+
- A breakdown line never goes into `planning/work-items.jsonl`. The checker in CI stops a `plan_item` that names no breakdown item.
|
|
266
|
+
|
|
267
|
+
### Factory work starts only once the initiative is ranked
|
|
268
|
+
|
|
269
|
+
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.
|
|
270
|
+
|
|
271
|
+
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:
|
|
272
|
+
|
|
273
|
+
1. Rank the initiative: `pmos initiative top <id>`, or `after <id> <other-id>`, or move it on the Roadmap.
|
|
274
|
+
2. Send the work to the factory again.
|
|
275
|
+
|
|
276
|
+
### Mark merged work
|
|
277
|
+
|
|
278
|
+
A commit can name a work item in a `Work-Item:` trailer, on its own line at the end of the commit message. When that commit is on the default branch, the work item is integrated. `pmos verify-work` reads the trailers on the default branch in the local refs and adds one `integrated` line to `planning/work-items.jsonl` for each work item that is not integrated yet. It does not fetch, so pull first (Sync). The `pmos verify-work` commands are in the [Command reference](cli.md).
|
|
279
|
+
|
|
280
|
+
### What you see on the item
|
|
281
|
+
|
|
282
|
+
- **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`.
|
|
283
|
+
- **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.
|
|
284
|
+
|
|
285
|
+
### When the Build step is done
|
|
286
|
+
|
|
287
|
+
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.
|
|
288
|
+
|
|
289
|
+
- While one of them is not integrated, the Build step is pending. The step names the work items it waits for.
|
|
290
|
+
- A breakdown item that you move to Done by hand does not complete the Build step.
|
|
291
|
+
- A withdrawn work item, or a withdrawn breakdown item, is not counted.
|
|
292
|
+
- When no work item names a breakdown item under Build, the commits decide the Build step, as before.
|
|
293
|
+
|
|
294
|
+
CI, the `node scripts/workflow-state.js` command and the workspace use the same rule, so they show the same Build step.
|
|
295
|
+
|
|
296
|
+
### Factory health
|
|
297
|
+
|
|
298
|
+
Two health reasons come from the factory. Each shows its reason as text.
|
|
299
|
+
|
|
300
|
+
- **Off track.** A factory work item failed its check, and nobody fixed it or withdrew it.
|
|
301
|
+
- **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.
|
|
302
|
+
|
|
303
|
+
### Where to read next
|
|
304
|
+
|
|
305
|
+
- [Breakdown](breakdown.md): the items of an initiative, the Tree and the Board.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
|
-
title: "Intelligence
|
|
4
|
-
description: "
|
|
3
|
+
title: "Intelligence: goals, forecasts and the Horizon scan"
|
|
4
|
+
description: "The goal list from the OKR file, what waits on a source, what the numbers mean, forecasts, and the Horizon scan of the portfolio."
|
|
5
5
|
timestamp: 2026-11-08
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Intelligence
|
|
8
|
+
# Intelligence
|
|
9
9
|
|
|
10
10
|
Intelligence (`/premium-intelligence.html`) uses the OKR file of a product as its goal list. It reads `pmos/planning/okrs/okrs-*.md` in the product repository, or `planning/okrs/` in PMOS itself. When a file says `Supersedes x.md`, Intelligence does not read `x.md`.
|
|
11
11
|
|
|
@@ -24,7 +24,7 @@ The ✦ line says what Intelligence read this week and the one call to make. Whe
|
|
|
24
24
|
|
|
25
25
|
## Did it work?
|
|
26
26
|
|
|
27
|
-
Each shipped initiative shows what it promised (its `outcome_metric`), the date to check it (its `outcome_horizon`), what it got and the verdict. A verdict shows only when one is recorded. A Done status alone does not make a verdict. **Decided** counts the recorded verdicts and leaves out a count of zero. The table also says how many initiatives have no promise. [Expected outcomes](
|
|
27
|
+
Each shipped initiative shows what it promised (its `outcome_metric`), the date to check it (its `outcome_horizon`), what it got and the verdict. A verdict shows only when one is recorded. A Done status alone does not make a verdict. **Decided** counts the recorded verdicts and leaves out a count of zero. The table also says how many initiatives have no promise. [Expected outcomes](claude-proposes.md) explains the promise.
|
|
28
28
|
|
|
29
29
|
## All products
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Delivery trends is not in a menu. The monthly metrics routine opens it (`/premiu
|
|
|
36
36
|
|
|
37
37
|
## Reports and dashboards
|
|
38
38
|
|
|
39
|
-
The panel shows
|
|
39
|
+
The panel shows the drafts that wait for you and the asks that are ready first, with no heading. They are also rows in Your move on Home. The ready-made reports are next, folded under **Drafting on their moment**. Your own reports and dashboards follow.
|
|
40
40
|
|
|
41
41
|
## About these numbers
|
|
42
42
|
|
|
@@ -48,3 +48,120 @@ The panel shows **Needs you** first: the drafts that wait for you and the asks t
|
|
|
48
48
|
## The ⋯ menu
|
|
49
49
|
|
|
50
50
|
The ⋯ menu has two items: **Reports and dashboards** and **Export CSV**. Sources are in **Settings › Connectors**. To make a report, use the report icon in the bar (**Make a report from this**).
|
|
51
|
+
|
|
52
|
+
## Forecasts
|
|
53
|
+
|
|
54
|
+
PMOS forecasts with one method: straight lines through the most recent readings, carried to the date. Each Intelligence goal row shows its forecast in the pace column: a bar from the low to the high estimate, a tick for the goal, a dot for the likely value, and one word (On track, At risk, Will miss, Too early or Held). Too early draws no bar. Held dims the bar and names the source and the date of the last reading. If a goal was on track earlier, the row adds "Was on track on" and that date. A goal with no target keeps its old pace line. The Board shows delivery ranges on its timeline (below). The forecasts are in the data that those pages read, and Claude uses them to decide when to check an initiative.
|
|
55
|
+
|
|
56
|
+
### A goal in the Viewer
|
|
57
|
+
|
|
58
|
+
When you open a goal, the Viewer shows its forecast above the chart in one line: the state, the likely value and the range, for example "At risk. Likely 3.1%, range 2 to 5%. Was on track on Oct 8." The chart shows each reading as a dot, a dashed line to the likely value at the target date, and a band from the low to the high estimate. The label "Projected, not promised" is under the chart.
|
|
59
|
+
|
|
60
|
+
- **Too early**: the line tells you how many readings there are and when the next reading comes. The chart has no band.
|
|
61
|
+
- **Held**: the line tells you when the source was last read. The band is dimmed and does not move. The ✓ next to it reads the source now.
|
|
62
|
+
|
|
63
|
+
If a run of 1 to 3 recent readings is far from the goal's own line, the Viewer offers a baseline without them, with the range that it gives, for example "Without the readings of Sep 14 to Sep 21, the range is 2 to 4%". The chart shades those readings. Press ✓ to keep the baseline, or × to keep the forecast as it is. When a baseline is kept, the Viewer says so, and × counts every reading again.
|
|
64
|
+
|
|
65
|
+
### A goal
|
|
66
|
+
|
|
67
|
+
A goal with a target and a target date gets a range: the straight lines through its last 3, 4, 5 and 6 readings, carried to the target date. The likely value is the line through the last 4 readings. This is the same line that the Intelligence projection says in words.
|
|
68
|
+
|
|
69
|
+
- **On track**: every line reaches the target.
|
|
70
|
+
- **At risk**: some lines reach the target and some do not.
|
|
71
|
+
- **Will miss**: no line reaches the target.
|
|
72
|
+
- **Too early**: the goal has fewer than 3 readings, or its readings span less than 3 weeks. There is no number.
|
|
73
|
+
- **Held**: the source was not read for more than 7 days. The range stays where it was and is not carried forward.
|
|
74
|
+
|
|
75
|
+
When a goal is no longer on track, the forecast gives the last day it was on track.
|
|
76
|
+
|
|
77
|
+
A limit goal (Stay within) and a done-or-not goal have no range.
|
|
78
|
+
|
|
79
|
+
### An initiative's delivery
|
|
80
|
+
|
|
81
|
+
The delivery range comes from the Jira tickets of the initiative: the tickets left, closed at the fastest and at the slowest of two closing rates. The range is compared with the planned end date. Under 3 weeks of tickets there is no range. When the Jira reading is more than 7 days old, the range is held.
|
|
82
|
+
|
|
83
|
+
On the Board timeline, an initiative at risk or set to miss shows a hatched range after its plan. The range starts at the promised date (the ◇) and ends at the late end of the forecast. It is orange when the initiative is at risk and red when it will miss. A held range is grey and dim. An initiative that is on track, or too early to forecast, shows no hatching. Press the hatching to see the range and one line about why. When Claude has proposals for the initiative, the card also has the ✦ button, which opens them.
|
|
84
|
+
|
|
85
|
+
### A program and a health budget
|
|
86
|
+
|
|
87
|
+
A program counts its milestones at risk: an open milestone that waits on an initiative at risk or set to miss, or whose date is before the end of that initiative's range.
|
|
88
|
+
|
|
89
|
+
On the Board timeline, a program with milestones at risk shows "N of M milestones at risk" under its name. A program with no milestones at risk shows nothing.
|
|
90
|
+
|
|
91
|
+
A health budget that has a Stay within goal shows how many weeks are left before it crosses its limit. It shows this only when fewer than 8 weeks are left.
|
|
92
|
+
|
|
93
|
+
### A kept baseline
|
|
94
|
+
|
|
95
|
+
Some readings do not show the usual pace, for example the weeks of a promotion. Keep a baseline from the goal Viewer (see above) or with `pmos forecast baseline` to take them out of a goal's range, and drop it with `pmos forecast baseline-off`. A baseline excludes up to 10 spans. The baseline stays until you drop it.
|
|
96
|
+
|
|
97
|
+
### The forecasts that turned
|
|
98
|
+
|
|
99
|
+
Once an hour, while the workspace server runs, PMOS works out every forecast again, so you do not need to open a page. PMOS records the state of each forecast when it changes. Claude reads these changes to decide when to check an initiative. To list them, run `pmos forecast turned`. The `pmos forecast` commands are in the [Command reference](cli.md).
|
|
100
|
+
|
|
101
|
+
## The Horizon scan: reports and proposals for the whole portfolio
|
|
102
|
+
|
|
103
|
+
The Initiative Driver works on initiatives that already exist. The Horizon scan looks the other way. It reads the public web for similar products, changes in your domain and approaches other teams use. It reads your repository for what keeps coming up and no initiative covers.
|
|
104
|
+
|
|
105
|
+
One scan covers the whole portfolio. It writes **report documents** and then **proposals** for what to do next. A scan never creates an initiative on its own. Nothing happens until you press Approve.
|
|
106
|
+
|
|
107
|
+
### Settings and schedule
|
|
108
|
+
|
|
109
|
+
The settings belong to the workspace, not to a board:
|
|
110
|
+
|
|
111
|
+
- **Cadence.** **Daily** (the default), **Weekly** or **Off**.
|
|
112
|
+
- **Repository.** On or off. When off, a scan reads the web only.
|
|
113
|
+
- **Report types.** Benchmark, competitive, insight and productivity. All are on by default.
|
|
114
|
+
|
|
115
|
+
A scheduled scan runs at most once a day, inside your working hours, never inside your quiet hours. After 09:00 it waits until you step away from PMOS for 30 minutes. If you do not step away, it runs in the last hour of your working day. Only one scan runs at a time. `PMOS_DRIVER=off` or `PMOS_SCAN=off` starts no scan at all. Board settings only show that the scan runs for the whole portfolio, with a link to the setup.
|
|
116
|
+
|
|
117
|
+
### The watch list
|
|
118
|
+
|
|
119
|
+
One watch list serves all boards. An item has a kind (`product`, `domain` or `approach`), a name, a reason and the boards it relates to. An old per-board list is folded into this list, and its board stays on its items.
|
|
120
|
+
|
|
121
|
+
The suggest run reads the initiatives of all boards and files up to 8 suggestions. For each one, press **Keep**, **Edit** or **Remove**. You can also add your own item. Only kept items are scanned.
|
|
122
|
+
|
|
123
|
+
### Scan now
|
|
124
|
+
|
|
125
|
+
**Scan now** starts a scan by hand. A picker lets you choose the kept items, the repository and the report types.
|
|
126
|
+
|
|
127
|
+
- At most 3 manual scans a day, and one scan at a time.
|
|
128
|
+
- A manual scan may start outside working hours. It never starts inside quiet hours.
|
|
129
|
+
- A running scan shows its steps (web, repository, reports). **Stop** ends the runs and keeps what was already filed.
|
|
130
|
+
|
|
131
|
+
### What a scan does
|
|
132
|
+
|
|
133
|
+
A scan is two short background runs, in this order.
|
|
134
|
+
|
|
135
|
+
1. **The web run.** It gets the selected items and the report types, and nothing else. It cannot read your repository, your initiatives or your notes. It writes the web sections of the benchmark, competitive and insight reports. Each claim carries the URL the run read.
|
|
136
|
+
2. **The repository run.** It reads your repository, your notes and the initiatives, and the web sections. It has no way to reach the web. It writes the repository sections and the productivity report (which is repository only), and files the proposals.
|
|
137
|
+
|
|
138
|
+
### The report documents
|
|
139
|
+
|
|
140
|
+
Each selected type gives one markdown document at `<state>/reports/scan-<type>/<YYYY-MM-DD>.md`. A second scan on the same day adds `-2`, then `-3`. The frontmatter has `type: Reference`, `title`, `timestamp`, `source: scan:portfolio`, `made_by: agent`, `output: google-doc`, `scan`, `report` and `origin`. The Documents list in Reports reads them with no change.
|
|
141
|
+
|
|
142
|
+
Every claim cites a source: a URL the web run read, a path, a Jira key or a note. Each document ends with a **What next** section that lists its proposals.
|
|
143
|
+
|
|
144
|
+
### Proposals
|
|
145
|
+
|
|
146
|
+
The repository run files up to 5 proposals for each report. Each one names the finding it came from and its evidence.
|
|
147
|
+
|
|
148
|
+
- **create.** A title, a board, a lane, an anchor and an intent. Approve makes the initiative through the initiative writer in the first stage of the board's workflow, and adds the report as evidence.
|
|
149
|
+
- **research.** A question, its sources and a depth. Approve starts a research run: a web run, then a repository run. It writes a follow-up report linked to its parent, with its own proposals.
|
|
150
|
+
- **attach.** Names an existing initiative. Approve adds the finding to it as evidence.
|
|
151
|
+
|
|
152
|
+
You can **Approve**, **Change** the fields first, or **Dismiss** with a one-line reason. A dismissal counts as a correction, and a later scan does not raise a proposal whose title has the same significant words. **Undo** takes back a dismissal or a change: the proposal waits for you again, and a new line in the scan ledger records it. The correction a dismissal wrote stays. Approve has no Undo, because it made a real initiative or started runs.
|
|
153
|
+
|
|
154
|
+
If the initiatives are still being read, Approve for attach and research answers that and you press it again.
|
|
155
|
+
|
|
156
|
+
### What it can and cannot do
|
|
157
|
+
|
|
158
|
+
- It can search and read public web pages, and read your repository.
|
|
159
|
+
- It can write report documents and file proposals. Those are the only things it writes.
|
|
160
|
+
- It cannot send anything: no mail, no message, no comment, no ticket.
|
|
161
|
+
- It cannot read a page behind a login.
|
|
162
|
+
- It cannot create an initiative or change a record. Only you can.
|
|
163
|
+
- The run that reads the web never sees your repository. The run that reads your repository never reaches the web.
|
|
164
|
+
|
|
165
|
+
The agent can be wrong. Check the sources before you approve.
|
|
166
|
+
|
|
167
|
+
The agent files with the `pmos scan` commands, and you set the cadence, the setting and the watch list at an interactive terminal. The ledger is `scan.jsonl` in the state folder. The `pmos scan` commands are in the [Command reference](cli.md).
|
package/workspace/guide/jira.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
type: Guide
|
|
3
3
|
title: "Jira: tickets drafted from the PRD, and their status"
|
|
4
4
|
description: "How to draft Jira tickets from a PRD in your ticket template, push the ones that are ready, and see their status, sprint and progress on the initiative's Jira tickets tab."
|
|
5
|
-
timestamp: 2026-
|
|
5
|
+
timestamp: 2026-11-08
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Jira: tickets drafted from the PRD, and their status
|
|
@@ -225,17 +225,4 @@ The morning brief, the day check and requirement gathering use it to tie a Jira
|
|
|
225
225
|
|
|
226
226
|
## Every command
|
|
227
227
|
|
|
228
|
-
|
|
229
|
-
- `pmos jira show <initiative>`
|
|
230
|
-
- `pmos jira epic <initiative> new|<KEY or link> [--group <group>]`
|
|
231
|
-
- `pmos jira approve <initiative> <ID> …`
|
|
232
|
-
- `pmos jira pending <initiative>`
|
|
233
|
-
- `pmos jira record <initiative> [ID=KEY …] [--epic KEY [--group <group>]] [--updated ID,ID]`
|
|
234
|
-
- `pmos jira query [<initiative>]`
|
|
235
|
-
- `pmos jira sync <initiative> --from <file|-> [--query "<jql>"] [--dry-run]`
|
|
236
|
-
- `pmos jira query --sprints`
|
|
237
|
-
- `pmos jira sync --sprints --from <file|-> [--query "<jql>"] [--dry-run]`
|
|
238
|
-
- `pmos jira summary [--from <file|->] [--dry-run]`
|
|
239
|
-
- `pmos jira which <KEY>`
|
|
240
|
-
|
|
241
|
-
Every command takes `--json` and `--root <dir>`.
|
|
228
|
+
The list of every `pmos jira` command, with its flags, is in the [Command reference](cli.md).
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
type: Guide
|
|
3
|
-
title: "
|
|
4
|
-
description: "
|
|
5
|
-
timestamp: 2026-
|
|
3
|
+
title: "Find knowledge, and validate a repository"
|
|
4
|
+
description: "What pmos kg finds and its limits, the categories, and how to validate a repository with Jev and TypeSafe."
|
|
5
|
+
timestamp: 2026-11-08
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
#
|
|
8
|
+
# Find knowledge, and validate a repository
|
|
9
9
|
|
|
10
10
|
`pmos kg` reads the Markdown files of a repository and builds a map of how they point at each other. You use the map to find one card, one section or one decision's readers. You do not need to open a long file.
|
|
11
11
|
|
|
@@ -32,20 +32,7 @@ It does not guess. A file that talks about a topic without a link, a path or a `
|
|
|
32
32
|
|
|
33
33
|
A document may carry `supersedes`, `amended_by`, `cites` and `initiative` in its frontmatter. Each key is one line and holds one or more paths to `.md` files, separated by commas. The map reads each path as a stated edge of that type. A path to a file that does not exist is listed as dangling and never becomes an edge. Nobody fills these keys in for existing documents; add them to new or edited ones. `pmos kg stats` shows how many edges are typed and how many are inferred from a `D<nn>` in the text.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
| Command | What it does |
|
|
38
|
-
|---|---|
|
|
39
|
-
| `pmos kg find <term>` | Lists cards whose id, title, headings or card contain the term, with the token size of each file. |
|
|
40
|
-
| `pmos kg card <id>` | Prints one card and the headings of the file with their line ranges. |
|
|
41
|
-
| `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. |
|
|
42
|
-
| `pmos kg section <path>#<heading>` | Prints only that section. `pmos kg section <path> <from>-<to>` prints a line range. |
|
|
43
|
-
| `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. |
|
|
44
|
-
| `pmos kg stats` | Prints counts: files, edges by type, written and derived cards, files with no incoming link, and the dangling links. |
|
|
45
|
-
|
|
46
|
-
Add `--max-tokens N` to stop printing at a result boundary. The command then says how many results it did not show.
|
|
47
|
-
|
|
48
|
-
An unknown file, heading or decision stops with a message that says what was not found. The exit code is 1.
|
|
35
|
+
The `pmos kg` commands are in the [Command reference](cli.md).
|
|
49
36
|
|
|
50
37
|
## What the numbers mean
|
|
51
38
|
|
|
@@ -94,3 +81,141 @@ The command does not edit a file in the repository.
|
|
|
94
81
|
- It reads Markdown files. It does not read the ledgers in `pmos/state/`, a connector, or a session.
|
|
95
82
|
- `find` matches the words you type. It does not know that two different words mean the same thing.
|
|
96
83
|
- The benchmark in `scripts/kg-bench.js` replays two written strategies over fixed questions. It is a simulation. It does not measure the tokens of a real agent session.
|
|
84
|
+
|
|
85
|
+
## Validate a repository
|
|
86
|
+
|
|
87
|
+
The validate item checks the documents of one repository. It has two parts. The first part checks that the repository agrees with itself. It runs on your machine and sends nothing. The second part uses TypeSafe's Jev model for checks that need judgement. It sends text only after you turn it on.
|
|
88
|
+
|
|
89
|
+
### Check that the repository agrees with itself
|
|
90
|
+
|
|
91
|
+
The top of the validate page shows a verdict: *Consistent*, a number of problems, or *Not checked yet*. Press **check now** to get one.
|
|
92
|
+
|
|
93
|
+
The workspace first decides what kind of document each file is. It uses the `type` in the file, an initiative record that names the file, the file name, or the headings. Then it compares the file only with what that kind of document must agree with:
|
|
94
|
+
|
|
95
|
+
| Kind of document | Compared with |
|
|
96
|
+
|---|---|
|
|
97
|
+
| Initiative record | The PRD, rubric and explainer it points to. Each must exist and name the initiative. |
|
|
98
|
+
| PRD | Its initiative record, its rubric, and the decisions it cites. |
|
|
99
|
+
| Rubric | Its PRD. The dimension weights must sum to 1.00. |
|
|
100
|
+
| Story | Its PRD. Each requirement the story cites must exist in the PRD. |
|
|
101
|
+
| Decision record | The decisions file. The decision must be recorded there. |
|
|
102
|
+
| Any other markdown file | Its own links and dates only. |
|
|
103
|
+
| JSON file | Its own syntax only. |
|
|
104
|
+
|
|
105
|
+
A file that nothing declares a kind for is **not classified**. The workspace never compares it with another file.
|
|
106
|
+
|
|
107
|
+
Each document row shows what it was compared with. Each finding is one sentence. It names the documents and says what the source says. The groups are:
|
|
108
|
+
|
|
109
|
+
- **Problems.** A statement is contradicted by its source. For example, a link points to a file that does not exist.
|
|
110
|
+
- **Stale.** A source changed after the document did, or the date in the document has passed. A source must be at least one hour newer than the document to count.
|
|
111
|
+
- **Worth a look.** The structure cannot decide. For example, a PRD does not name the rubric that names it.
|
|
112
|
+
- **Checked and fine**, and **not classified.** Open a group to see its documents.
|
|
113
|
+
|
|
114
|
+
The record of problems is the file `claims.jsonl` in the runs folder of a PMOS repository. Press its name to read it in a tab. It lists every claim that is not verified. It does not list claims that verified the first time.
|
|
115
|
+
|
|
116
|
+
**Automatic checking** is off until you turn it on for a repository. When it is on, the workspace looks for changed files about every ten seconds. It waits until the files have stopped changing for about eight seconds. Then it re-checks the changed documents and the documents that cite them. It re-checks no others. The check reads only files that changed. It makes no network request.
|
|
117
|
+
|
|
118
|
+
A verdict of *Consistent* means that no recorded statement contradicts its source. The workspace does not read prose. A sentence that no structure records is not checked.
|
|
119
|
+
|
|
120
|
+
### Check changed claim pairs with Jev
|
|
121
|
+
|
|
122
|
+
Some questions need judgement, and the local checks cannot answer them. Does the rubric grade a requirement? Does a story deliver what the requirement asks for? Does a decision support the sentence that cites it? Do two sections of one PRD contradict each other? For these, the workspace can put a **pair of short texts** to Jev. It never sends a whole file.
|
|
123
|
+
|
|
124
|
+
The switch **check with Jev automatically** is off until you turn it on for a repository. Nothing is sent unless all four of these hold:
|
|
125
|
+
|
|
126
|
+
1. A TypeSafe key is saved.
|
|
127
|
+
2. Validation is on for this repository.
|
|
128
|
+
3. Automatic checking is on.
|
|
129
|
+
4. **Check with Jev automatically** is on.
|
|
130
|
+
|
|
131
|
+
The page says which of the four is missing. If a path is excluded, or a text matches a credential pattern, the pair is not sent and the page lists it.
|
|
132
|
+
|
|
133
|
+
The first check after you turn the switch on records every existing pair as the starting point and sends nothing. After that, the workspace sends a pair only when one of its two texts is new or changed. An answer is kept by the content of both texts. A pair whose texts did not change, or that returns to a text it already asked about, is not asked again. There is no limit on requests, because only changed pairs are sent.
|
|
134
|
+
|
|
135
|
+
To ask about the pairs that already exist, press **check the backlog with Jev**. The page shows how many requests that takes and how many characters. It sends only after you press **confirm and send** with that same number. If the number changed, the workspace refuses and asks you to look again.
|
|
136
|
+
|
|
137
|
+
Jev's answers are **suspected**, not proven. They appear in their own group, **suspected by Jev — advisory, not counted as problems**, as plain sentences with words: *very likely*, *likely* or *possible*. The verdict line adds them apart from the problems, for example "3 problems · Jev suspects 2 more". A suspected finding names the two texts and the question. Jev cannot quote the passage.
|
|
138
|
+
|
|
139
|
+
Two rejected keys, or three failed requests in a row, pause automatic checking for that repository. The page says why and shows **resume**. The workspace appends suspected pairs to `claims.jsonl`. Those lines hold a short snippet of the claim. A pair that Jev found fine is not written.
|
|
140
|
+
|
|
141
|
+
### Read documents for status
|
|
142
|
+
|
|
143
|
+
A second switch, **read documents for status**, is next to the first one. It is off until you turn it on. It sends texts only when the four conditions above also hold.
|
|
144
|
+
|
|
145
|
+
When it is on, the workspace asks Jev two more questions about the documents that belong to an initiative:
|
|
146
|
+
|
|
147
|
+
- **Is it a stub?** Each PRD, rubric and brief that the initiative record names, against the initiative's title and intent.
|
|
148
|
+
- **Does a note contradict a requirement?** Each other document whose frontmatter names the initiative, for example a meeting note, against the requirements of the initiative's PRD.
|
|
149
|
+
|
|
150
|
+
A document belongs to an initiative only if the record names its path or its own frontmatter names the initiative. Similar words do not make a link.
|
|
151
|
+
|
|
152
|
+
The first check after you turn this switch on records the documents that exist and sends nothing for them. After that, the workspace sends a document only when it changes. If you turn the switch off, the workspace forgets that starting point. When you turn it on again, it starts again from the documents that exist then. Documents that changed while the switch was off are not sent.
|
|
153
|
+
|
|
154
|
+
The answers appear in the initiative detail under **What the documents say**, as lines that start with **Documents suggest**. Each line says that it is a suggestion and names the model. A suggestion never changes a phase, a status or a count, and the workspace writes nothing to the document.
|
|
155
|
+
|
|
156
|
+
### Route prompts with Jev
|
|
157
|
+
|
|
158
|
+
A third switch, **route prompts with Jev**, is below the consent switch. It is off until you turn it on. When it is off, no prompt is sent.
|
|
159
|
+
|
|
160
|
+
When the switch is on, a TypeSafe key is saved, and validation is on for the repository, the workspace asks Jev about each prompt that you type in a workspace terminal. Jev answers with a tier: fast, balanced or deep. If the answer names a model that is different from the model of the session, the PMOS cockpit mod changes the model with `/model` and then sends your prompt. A line in the terminal names the new model and the tier.
|
|
161
|
+
|
|
162
|
+
These prompts are not sent: a slash command, a prompt with an attachment, a prompt that names a file with `@`, and a prompt shorter than 40 characters. A prompt that matches a credential pattern, or that names an excluded path, is not sent. In these cases the model does not change.
|
|
163
|
+
|
|
164
|
+
If one of the three conditions is missing, the model does not change. The terminal tells you once which condition is missing. A guess from keywords never changes the model.
|
|
165
|
+
|
|
166
|
+
To stop routing in one terminal, type `/pmos-route off`. To start it again, type `/pmos-route on`.
|
|
167
|
+
|
|
168
|
+
A change of model starts a new prompt cache, so the next answer can cost more. The workspace does not yet measure if routing saves money.
|
|
169
|
+
|
|
170
|
+
### Check with TypeSafe
|
|
171
|
+
|
|
172
|
+
### What leaves your machine
|
|
173
|
+
|
|
174
|
+
Validation is off until you turn it on. Until then, the workspace sends nothing.
|
|
175
|
+
|
|
176
|
+
When you turn it on, the workspace sends document text to `api.typesafe.ai`. If **route prompts with Jev** is also on, it sends the text of the prompts that you type in a workspace terminal. It sends nothing else. It does not send binary files. It does not send a document that you excluded. It does not send a document that matches a credential pattern, such as a private key or a token. It lists that document as withheld.
|
|
177
|
+
|
|
178
|
+
The workspace reads the TypeSafe key only on this machine. After you save the key, the screen does not show it again. The workspace does not give the key to a terminal or to an agent.
|
|
179
|
+
|
|
180
|
+
### Set it up
|
|
181
|
+
|
|
182
|
+
1. Open Settings. Under Validate consent, press **Open Validate**. Validate opens as a tab.
|
|
183
|
+
2. Under **TypeSafe key**, paste the key and press **save**. Press **remove** to delete a saved key.
|
|
184
|
+
3. Under **this repository**, press **turn on**. This choice applies to the selected repository only.
|
|
185
|
+
4. Enter the paths that the workspace must never send, one for each line. A path ends with `/` for a folder. A `*` matches any characters. Press **save excluded paths**.
|
|
186
|
+
|
|
187
|
+
### Use a model on this computer when there is no TypeSafe key
|
|
188
|
+
|
|
189
|
+
If you have no TypeSafe key, a model on your computer can answer the same questions. Two models are supported. Both use the same interface as Jev.
|
|
190
|
+
|
|
191
|
+
- **Winnow**: in a `winnow-inference` folder, run `python3 scripts/serve.py`. It uses port 8091. Winnow-12B needs about 16 GB of memory.
|
|
192
|
+
- **Laya**: in Settings, press **Set up Laya**. A terminal named Set up Laya opens over the Settings page, with the commands typed in. If you close it, open it again from the session list. Read them and press Enter. The first time, they download a private copy of Python 3.12 (with uv) and Laya into the PMOS data folder. You do not install Python yourself, and nothing outside that folder changes. This first install downloads about a gigabyte and takes a few minutes. Then Laya starts and uses port 8000. Laya is small and runs on a laptop. Laya stops when you close that terminal or restart the computer. Press **Set up Laya** again to start it.
|
|
193
|
+
|
|
194
|
+
1. Start the model.
|
|
195
|
+
2. Open Settings, then **Privacy and data**. Under **Local model if Jev is missing**, press **Winnow** or **Laya**.
|
|
196
|
+
3. Press **Test**. The row says whether the model answered.
|
|
197
|
+
|
|
198
|
+
If no key is saved, every Jev question goes to the local model. If a key is saved, TypeSafe answers first. If TypeSafe cannot be reached, rejects the key or is busy, the local model answers. The workspace sends these questions only to `127.0.0.1`, so nothing leaves your computer. It sends no key. The answers of a local model are suggestions, as the answers of Jev are. Press **Off** to stop using the local model.
|
|
199
|
+
|
|
200
|
+
### Run a validation
|
|
201
|
+
|
|
202
|
+
1. Press **show what would be sent**. The workspace shows the number of requests, the number of characters, and the documents it withholds. It sends nothing at this step.
|
|
203
|
+
2. Press **confirm and send**. If the repository changed since the plan, the workspace refuses and asks you to read the plan again.
|
|
204
|
+
|
|
205
|
+
The workspace does the local checks first. It finds links that point to a file that does not exist. It finds documents whose `stale_after` date has passed. It reads the workflow sweep. These checks send nothing.
|
|
206
|
+
|
|
207
|
+
Then it asks Jev these questions about each document: Does the document contradict itself? Can a reader tell what it is for? Is the writing succinct? For an old document, it also asks if the document is out of date. For documents that link to each other, it asks if they state conflicting facts. For a document that names its sources, it asks if the source supports the claims.
|
|
208
|
+
|
|
209
|
+
### Read the findings
|
|
210
|
+
|
|
211
|
+
A finding has a severity, a rule, a confidence and the files it concerns. Press a finding to open the first file.
|
|
212
|
+
|
|
213
|
+
- **Confidence** shows how sure the answer is. For a yes-or-no question, the workspace derives it from the probability that Jev returns. A finding with low confidence says **for your judgement**.
|
|
214
|
+
- **Coverage** is the first line under **findings**. Read it first. It shows how many requests Jev answered, and how many documents were withheld, too large, excluded or failed. A short list of findings does not mean the repository is clean.
|
|
215
|
+
- A finding is advice. It does not change a file. It is not an acceptance. You decide what to do.
|
|
216
|
+
|
|
217
|
+
The workspace keeps the findings in `validation-findings.jsonl`. In a PMOS repository, this file is in the runs folder. In another repository, it is in the runtime folder of this machine. The file holds the answers. It does not hold document text.
|
|
218
|
+
|
|
219
|
+
### Limits
|
|
220
|
+
|
|
221
|
+
Jev's verdicts are advice until a person compares them with real decisions. The workspace does not yet measure how often Jev is right. Treat a high-confidence finding as a reason to look, not as proof.
|