flow-workflows 0.62.0 → 0.64.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/README.md +1 -1
- package/adapters/codex/CORE.md +42 -20
- package/adapters/codex/skills/flow-bug-fix/SKILL.md +2 -2
- package/adapters/codex/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-build/SKILL.md +2 -2
- package/adapters/codex/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +4 -8
- package/adapters/codex/skills/flow-feat-start/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-README/SKILL.md +1 -1
- package/adapters/gemini/CORE.md +42 -20
- package/adapters/gemini/commands/flow/bug/fix.toml +2 -2
- package/adapters/gemini/commands/flow/bug/ship.toml +1 -1
- package/adapters/gemini/commands/flow/feat/build.toml +2 -2
- package/adapters/gemini/commands/flow/feat/review.toml +1 -1
- package/adapters/gemini/commands/flow/feat/ship.toml +4 -8
- package/adapters/gemini/commands/flow/feat/start.toml +1 -1
- package/adapters/gemini/commands/flow/work/README.toml +1 -1
- package/adapters/hermes/CORE.md +42 -20
- package/adapters/hermes/skills/flow-bug-fix/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-build/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +4 -8
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-README/SKILL.md +1 -1
- package/adapters/opencode/CORE.md +42 -20
- package/adapters/opencode/commands/flow-bug-fix.md +2 -2
- package/adapters/opencode/commands/flow-bug-ship.md +1 -1
- package/adapters/opencode/commands/flow-feat-build.md +2 -2
- package/adapters/opencode/commands/flow-feat-review.md +1 -1
- package/adapters/opencode/commands/flow-feat-ship.md +4 -8
- package/adapters/opencode/commands/flow-feat-start.md +1 -1
- package/adapters/opencode/commands/flow-work-README.md +1 -1
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +51 -0
- package/plugins/flow/examples/FLOW.template.md +1 -3
package/README.md
CHANGED
|
@@ -223,7 +223,7 @@ Both files are personal config, not team config
|
|
|
223
223
|
Two mechanisms that are easy to miss in the command list and are most of what makes the flow
|
|
224
224
|
usable on real work.
|
|
225
225
|
|
|
226
|
-
**Work you decide not to do does not evaporate.** Every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and postmortem prevention action becomes a record in `meta.json`, not just a line in an artifact that gets archived unread. The phases that park them ask nothing. `ship` triages the whole set **once**, at the end, with one question per item: *do it* (which opens the tracker issue and offers to start it), *not worth it*, or *later*. Whatever is still open when the MR/PR is created is named in its description, so a reviewer can see what was consciously left out. `status`, `daily` and `next` keep surfacing the undecided ones — including from `_archive/`, because a finished work is exactly when its deferrals become invisible. Two things are deliberately **not** deferred work: a **product decision** the current diff depends on is asked the moment it surfaces, in every mode, because parking it makes the diff guess; and a gap in the repo's own **tooling**
|
|
226
|
+
**Work you decide not to do does not evaporate.** Every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and postmortem prevention action becomes a record in `meta.json`, not just a line in an artifact that gets archived unread. The phases that park them ask nothing. `ship` triages the whole set **once**, at the end, with one question per item: *do it* (which opens the tracker issue and offers to start it), *not worth it*, or *later*. Whatever is still open when the MR/PR is created is named in its description, so a reviewer can see what was consciously left out. `status`, `daily` and `next` keep surfacing the undecided ones — including from `_archive/`, because a finished work is exactly when its deferrals become invisible. Two things are deliberately **not** deferred work: a **product decision** the current diff depends on is asked the moment it surfaces, in every mode, because parking it makes the diff guess; and a gap in the repo's own **tooling** is recorded in the work and never asked about, because a tracker where those outnumber the product's defects makes the number lie.
|
|
227
227
|
|
|
228
228
|
**`panel.json`** makes the work readable from outside the chat: every stop is written there too, so a pane or dashboard can show the MR/PR train with links, what runs now, what comes next, whether it waits on you, and any blocker. Each line says *what it is* (`mark`: `done` `current` `pending` `wait` `block` `info`); the reader owns symbols and colours. Overwritten whole, and written *before* a long stretch with an honest `updated_at`, so a step that died halfway never shows as finished. It carries the phase *running*, not the one `meta.json` records. Schema: [work/README](plugins/flow/commands/work/README.md#paneljson-schema).
|
|
229
229
|
|
package/adapters/codex/CORE.md
CHANGED
|
@@ -136,8 +136,8 @@ was wise.
|
|
|
136
136
|
| Mode | Decisions | End of the command |
|
|
137
137
|
|---|---|---|
|
|
138
138
|
| `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
|
|
139
|
-
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
|
|
140
|
-
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
|
|
139
|
+
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
|
|
140
|
+
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
|
|
141
141
|
|
|
142
142
|
**Hard gates — stop and ask in every mode, no exceptions:**
|
|
143
143
|
1. Any push or MR/PR creation (all of `ship`).
|
|
@@ -164,15 +164,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
|
|
|
164
164
|
|
|
165
165
|
## 3. Reporting — how every stop reads
|
|
166
166
|
|
|
167
|
+
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
168
|
+
Nothing else is a stop, however much has just finished — a phase closing into the next one, a
|
|
169
|
+
chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
|
|
170
|
+
it is how you stop: render it while meaning to continue and you will stop anyway. The shape
|
|
171
|
+
decides, not the intention — and on a harness where a message carrying text and no tool call is
|
|
172
|
+
terminal by construction, the turn is over before you notice.
|
|
173
|
+
|
|
174
|
+
- **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
|
|
175
|
+
what you are moving to, and the tool call that starts it **in the same message**. Never end a
|
|
176
|
+
message on a promise to keep going.
|
|
177
|
+
- **The continuing call goes first.** When a step closes and the next one runs anyway
|
|
178
|
+
(`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
|
|
179
|
+
the one that ended. **A report is never the last thing in a turn you meant to continue.**
|
|
180
|
+
- **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
|
|
181
|
+
`Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
|
|
182
|
+
- **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
|
|
183
|
+
never announces that you are continuing — if you were, you would not be writing this header.
|
|
184
|
+
|
|
167
185
|
The user comes back to a screen they walked away from, often with other works in other panes.
|
|
168
|
-
They have read none of your tool calls, subagent reports or artifacts. So every stop
|
|
169
|
-
|
|
186
|
+
They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
|
|
187
|
+
this header**, before any prose:
|
|
170
188
|
|
|
171
189
|
```
|
|
172
190
|
<TICKET> · <size> · phase <phase> · MR #<n> of <N>
|
|
173
191
|
Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
|
|
174
192
|
Now: <one line — what just finished>
|
|
175
|
-
I need: <one line — the decision or action
|
|
193
|
+
I need: <one line — the decision or action you are waiting on>
|
|
176
194
|
```
|
|
177
195
|
|
|
178
196
|
- Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
|
|
@@ -186,7 +204,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
|
|
|
186
204
|
## 4. Live panel — `panel.json`
|
|
187
205
|
|
|
188
206
|
Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
|
|
189
|
-
**whole** (never patch) from `meta.json` plus what you know right now
|
|
207
|
+
**whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
|
|
208
|
+
about to type into the chat is a panel write instead** (§3):
|
|
190
209
|
|
|
191
210
|
```json
|
|
192
211
|
{
|
|
@@ -352,9 +371,9 @@ reader of `05-implementation.md` still sees the ideas in context.
|
|
|
352
371
|
does not bind, a guard, ratchet or lint floor with slack in it, a stale knowledge card, prose that
|
|
353
372
|
drifted from the code. Real, worth writing down, and nobody's next task — a tracker where these
|
|
354
373
|
outnumber the product's defects makes the number lie and buries «a console goes silent and says
|
|
355
|
-
nothing» under «a floor has no subject».
|
|
356
|
-
in the
|
|
357
|
-
(survey below).
|
|
374
|
+
nothing» under «a floor has no subject». They end at `status: "logged"` — the record they already
|
|
375
|
+
have, in `meta.json` and in the artifact section beside it, and nowhere else — **and it is not a
|
|
376
|
+
question**: choosing the kind already decided it (survey below).
|
|
358
377
|
- **`decision`** — a product question the current diff depends on: what the user sees when X,
|
|
359
378
|
whether closing Y also does Z, how much of the surface a notice may take. **A missing decision is
|
|
360
379
|
not deferred work.** Parking it does not shrink the diff, it makes the diff guess — and the guess
|
|
@@ -393,11 +412,11 @@ applies the bar itself):
|
|
|
393
412
|
|
|
394
413
|
- **`drop`** → `declined`, the skeptic's reason in `note`. Still readable in the artifact and in
|
|
395
414
|
`meta.json`, never asked, never counted, never shown again by `status`/`daily`/`next`.
|
|
396
|
-
- **`log`** →
|
|
415
|
+
- **`log`** → `logged`, no question, same destination as `tooling`.
|
|
397
416
|
- **`ticket`** → these are what the user is asked about, and **only the strongest
|
|
398
417
|
`tracker.followup_ask_max`** of them (empty → **2**). The rest are logged, with one line saying
|
|
399
|
-
how many
|
|
400
|
-
|
|
418
|
+
how many. **A finished work never becomes more than `followup_ask_max` questions**, whatever the
|
|
419
|
+
phases found. `0` → nothing is ever asked and everything is logged.
|
|
401
420
|
|
|
402
421
|
Then, and only then, the survey:
|
|
403
422
|
|
|
@@ -405,13 +424,16 @@ Then, and only then, the survey:
|
|
|
405
424
|
**Not worth it** · **Later**. The `title` and `why` are the entire prompt. **`decision` entries
|
|
406
425
|
are asked as their product question** — they never go to the skeptic, a question's value not being
|
|
407
426
|
a thing to refute — and sit outside the ceiling.
|
|
408
|
-
- **`tooling` asks nothing.**
|
|
409
|
-
|
|
427
|
+
- **`tooling` asks nothing.** `logged`, and a count on screen. Asking **Log it** about a lint floor
|
|
428
|
+
with slack in it was one question too many.
|
|
410
429
|
- **Not worth it** → `declined`, with the reason if given. Never asked again.
|
|
411
|
-
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
`status` and `daily`
|
|
430
|
+
- **`logged` is a status, not a destination.** The entry stays exactly where it already is — in
|
|
431
|
+
`meta.json.followups[]` and in its artifact section — and no file is written anywhere. This used
|
|
432
|
+
to append a line to a versioned debt log, one per repo; **that file is gone**. No command read it,
|
|
433
|
+
`status` and `daily` excluded it on purpose, and it duplicated a record the work already keeps
|
|
434
|
+
forever, so it grew without ever being triaged. A note nobody reads is not a lighter obligation
|
|
435
|
+
than a ticket, it is the same obligation with the reader removed. If a gap in the machinery is
|
|
436
|
+
worth someone's time, it is worth a ticket; if it is not, the record in the work is where it ends.
|
|
415
437
|
- **A `decision` answered** → the answer is written into the artifact that owns it and the entry
|
|
416
438
|
becomes `done` with the answer in `note`. Deferred again → stays `proposed`.
|
|
417
439
|
- **Later** → stays `proposed`, and surfaces in `status`, `daily` and `next` until it is decided.
|
|
@@ -421,8 +443,8 @@ Then, and only then, the survey:
|
|
|
421
443
|
- No entries still `proposed` → **the step does not exist**. Never show an empty survey.
|
|
422
444
|
|
|
423
445
|
**One line on screen, not one per entry.** However many were written, a stop mentions deferred work
|
|
424
|
-
in **at most one line** (§3): the one that escalated, named in product terms, plus a count
|
|
425
|
-
|
|
446
|
+
in **at most one line** (§3): the one that escalated, named in product terms, plus a count for the
|
|
447
|
+
rest — «2 more recorded in the work, not escalated». Never a list of seven titles, and never
|
|
426
448
|
«7 findings are waiting for triage» as the last thing the user reads before closing the pane.
|
|
427
449
|
|
|
428
450
|
**Creating an issue is outward-facing, so it asks in every mode**, `auto` included — the same
|
|
@@ -97,7 +97,7 @@ Anything **not in the §2 brief** ("while I'm at it, I'll also fix X", "this ren
|
|
|
97
97
|
|
|
98
98
|
A correction the user makes here is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `04-fix.md`, nothing asked (flow-core §8).
|
|
99
99
|
|
|
100
|
-
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
100
|
+
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
101
101
|
|
|
102
102
|
## 3. Log
|
|
103
103
|
|
|
@@ -167,5 +167,5 @@ Never the third way: building the mechanism here because the ticket says bug.
|
|
|
167
167
|
- Update `meta.json`: `phase = "fix"`, add to `phases_done`.
|
|
168
168
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
169
169
|
- Suggest next: `$flow-bug-validate` (S/M/L) or `$flow-bug-review` (XS).
|
|
170
|
-
- Report **following the stop header** (flow-core §3) and
|
|
170
|
+
- Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
|
|
171
171
|
- **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
|
|
@@ -180,7 +180,7 @@ nothing was measured. A slowness bug is the case where this comment *is* the pro
|
|
|
180
180
|
- Summarize: ticket, MR/PR URL, regression test added.
|
|
181
181
|
- **Cross-repo reminder**: for each `meta.json.related_repos` entry not `done`: *"you've shipped the `<this-repo>` part; `<repo>` still needs: `<scope>` → go there and run `$flow-bug-start <TICKET>` (or `$flow-feat-start`)"*. flow only reminds; this is not a hard gate.
|
|
182
182
|
- **Cross-repo contract handoff**: for each such entry with `contract_handoff: "pending"` — the fix changed a surface that sibling consumes — hand the new shape over as `$flow-feat-ship` §6.3 (publish the **literal** shape to the tracker ticket, mandatory preview in every autonomy mode, then record `published → <location>`; versioned-file fallback when there is no tracker). A bug flow has no §"External contracts": take the literal from the fix itself — the actual key, code, route or event the code now emits — read it off the code, never from memory.
|
|
183
|
-
- **Follow-up triage — `$flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones
|
|
183
|
+
- **Follow-up triage — `$flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones nothing but `status: "logged"` in `meta.json`, then one offer to start the first. A bug flow is where the gate earns its keep: the prevention actions `$flow-bug-postmortem` wrote, the neighbouring bugs `$flow-bug-validate` found and the similar-risk patterns `$flow-bug-fix` flagged all land here — half a dozen of them, from one fix, and «similar risk elsewhere» that no skeptic ever read is exactly the entry that turns a closed bug into six open questions. Repeat for anything still `proposed` on the re-run that confirms the merge.
|
|
184
184
|
- **Conventions learned — `$flow-feat-ship` §6.4bis, in full and unchanged.** Read `meta.json.conventions_candidates[]` (flow-core §8); nothing pending → skip silently. Otherwise: drop what `FLOW.md` already says, then one batched `AskUserQuestion` (**Add to FLOW.md** / **Not a rule** / **Later**, or **Replace** when it contradicts a line that is there). Asked in every mode — it edits a file in the tree. A fix is where the corrections land hardest: *«never mock the repository in that layer»*, *«the regression test goes next to the unit test, not in the functional suite»* — said once inside `bug:fix`, and proposed again in the next incident unless they reach the file.
|
|
185
185
|
- **Close the follow-up that started this work.** `meta.json.origin` set and this ship moved `phase` to `done` → open the originating work's `meta.json` (live folder or `_archive/`) and set that `followups[]` entry to `status: "done"`. Best-effort: the originating folder is gone or unreadable → warn in one line and continue, never block. Without this the entry stays `in_progress` forever and `status`/`daily` keep reporting work that is finished.
|
|
186
186
|
- Ask whether to archive `.claude/work/<TICKET>/` to `.claude/work/_archive/`.
|
|
@@ -243,7 +243,7 @@ Anything unforeseen **always** goes through the user before entering code.
|
|
|
243
243
|
|
|
244
244
|
A correction the user makes here — *«not a listener, a message handler»*, *«never mock the repository in that layer»* — is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `05-implementation.md`, nothing asked (flow-core §8). `ship` offers it to `FLOW.md` once, at the end.
|
|
245
245
|
|
|
246
|
-
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
246
|
+
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
247
247
|
|
|
248
248
|
## 3. Log
|
|
249
249
|
|
|
@@ -346,5 +346,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
|
|
|
346
346
|
- Update `meta.json`: `phase = "build"`, add to `phases_done`.
|
|
347
347
|
- Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `$flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
|
|
348
348
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
349
|
-
- Report **following the stop header** (flow-core §3)
|
|
349
|
+
- Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `$flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
|
|
350
350
|
- **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `$flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `$flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
|
|
@@ -346,5 +346,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
|
|
|
346
346
|
- **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `$flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
|
|
347
347
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
348
348
|
- **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
|
|
349
|
-
- Report findings and next step **following the stop header** (flow-core §3)
|
|
349
|
+
- Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
|
|
350
350
|
- **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `$flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `$flow-feat-validate` automatically** in this same turn. Never chain into `$flow-feat-ship` from here — ship is reached through `validate`.
|
|
@@ -326,7 +326,7 @@ phases that parked it asked nothing, deliberately.
|
|
|
326
326
|
|
|
327
327
|
0. **Sort them before showing them — the skeptic gate (flow-core §7).** Count the `proposed`
|
|
328
328
|
entries, excluding `decision` (asked as their own question) and `tooling` (already destined for
|
|
329
|
-
|
|
329
|
+
`logged`, never asked).
|
|
330
330
|
- **3 or more** → one skeptic round before anything reaches the user: group them into at most
|
|
331
331
|
`agents.fanout_max` briefs (flow-core §6 ceilings apply; `agents.budget_max` already spent by
|
|
332
332
|
this run → skip the round, say so in one line and apply the bar yourself) with the prompt of
|
|
@@ -356,13 +356,9 @@ phases that parked it asked nothing, deliberately.
|
|
|
356
356
|
entry `accepted`; the record survives either way.
|
|
357
357
|
**Creating an issue is outward-facing: this asks in every `autonomy.mode`, `auto` included.**
|
|
358
358
|
4b. **Logged** — `tooling`, a skeptic's `log`, or anything past the `followup_ask_max` ceiling →
|
|
359
|
-
`status: "logged"` and
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
is a push like any other (flow-core §2, gate 1) — offer it in the same breath as the survey's
|
|
363
|
-
result, one question, and a declined push leaves the commit local for the next one. No issue is
|
|
364
|
-
opened and nothing else is asked: it is a file on the branch, for whoever next works on the
|
|
365
|
-
machinery.
|
|
359
|
+
`status: "logged"` in `meta.json` and nothing else. No file is written, no issue is opened,
|
|
360
|
+
nothing is asked. The entry keeps the record it already has — the `followups[]` row and its
|
|
361
|
+
artifact section — and `status`/`daily`/`next` stop showing it (flow-core §7).
|
|
366
362
|
4c. **A `decision` answered** → write the answer into the artifact that owns it (the brief, the
|
|
367
363
|
ADR-light) and set the entry `done` with the answer in `note`. When the answer changes code that
|
|
368
364
|
has already shipped, that is the moment a real follow-up is born: record it as `out-of-scope` with
|
|
@@ -285,5 +285,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
|
|
|
285
285
|
## 7. Close
|
|
286
286
|
|
|
287
287
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
|
|
288
|
-
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so
|
|
288
|
+
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
|
|
289
289
|
- Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
|
|
@@ -67,7 +67,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
67
67
|
- **The stop is also written to disk**: `.claude/work/<work>/panel.json` ([schema below](#paneljson-schema), flow-core §4), **overwritten whole, never patched**, written **before** a long stretch with an honest `updated_at`.
|
|
68
68
|
- **What is never a question is as binding as what always is**: hard gates stop in **every** mode; in `guided`/`auto` flow mechanics, WIP commits, the train's next MR/PR, size confirmation and anything already decided are never asked (flow-core §2). Only new evidence reopens a decision.
|
|
69
69
|
- **A correction is a convention, and a convention is written down**: when the user overrides something a phase proposed and the same correction would apply to an unrelated ticket in this repo, it becomes a `meta.json.conventions_candidates[]` row and a `## Conventions learned` line in the phase artifact, asking nothing (flow-core §8). `review`'s idiom audit reads them in the same work; `ship` offers them to `FLOW.md` once, at Close, in every mode. What is about *this* ticket stays in the artifact and goes no further.
|
|
70
|
-
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap
|
|
70
|
+
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap is recorded with no question at all and never goes to the tracker.
|
|
71
71
|
- **The agent proves what it can before asking you to**: `$flow-*-validate` drives the running app over every `needs-manual` criterion first (`quality.functional_check`, or whatever `$flow-doctor` detects) and only hands over what it genuinely could not — recording the reason. A criterion is **never** marked proven on reasoning alone; reading the code and concluding it must work is `needs-manual`. What it observed is captured under `evidence/` and attached to the MR/PR.
|
|
72
72
|
- **Code review is mandatory**: `$flow-feat-ship` is not run and `$flow-bug-postmortem` is not closed without passing through `/*:review`.
|
|
73
73
|
- **Existing sub-agents**: commands delegate to the project's agents and skills; work is never duplicated.
|
package/adapters/gemini/CORE.md
CHANGED
|
@@ -135,8 +135,8 @@ was wise.
|
|
|
135
135
|
| Mode | Decisions | End of the command |
|
|
136
136
|
|---|---|---|
|
|
137
137
|
| `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
|
|
138
|
-
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
|
|
139
|
-
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
|
|
138
|
+
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
|
|
139
|
+
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
|
|
140
140
|
|
|
141
141
|
**Hard gates — stop and ask in every mode, no exceptions:**
|
|
142
142
|
1. Any push or MR/PR creation (all of `ship`).
|
|
@@ -163,15 +163,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
|
|
|
163
163
|
|
|
164
164
|
## 3. Reporting — how every stop reads
|
|
165
165
|
|
|
166
|
+
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
167
|
+
Nothing else is a stop, however much has just finished — a phase closing into the next one, a
|
|
168
|
+
chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
|
|
169
|
+
it is how you stop: render it while meaning to continue and you will stop anyway. The shape
|
|
170
|
+
decides, not the intention — and on a harness where a message carrying text and no tool call is
|
|
171
|
+
terminal by construction, the turn is over before you notice.
|
|
172
|
+
|
|
173
|
+
- **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
|
|
174
|
+
what you are moving to, and the tool call that starts it **in the same message**. Never end a
|
|
175
|
+
message on a promise to keep going.
|
|
176
|
+
- **The continuing call goes first.** When a step closes and the next one runs anyway
|
|
177
|
+
(`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
|
|
178
|
+
the one that ended. **A report is never the last thing in a turn you meant to continue.**
|
|
179
|
+
- **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
|
|
180
|
+
`Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
|
|
181
|
+
- **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
|
|
182
|
+
never announces that you are continuing — if you were, you would not be writing this header.
|
|
183
|
+
|
|
166
184
|
The user comes back to a screen they walked away from, often with other works in other panes.
|
|
167
|
-
They have read none of your tool calls, subagent reports or artifacts. So every stop
|
|
168
|
-
|
|
185
|
+
They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
|
|
186
|
+
this header**, before any prose:
|
|
169
187
|
|
|
170
188
|
```
|
|
171
189
|
<TICKET> · <size> · phase <phase> · MR #<n> of <N>
|
|
172
190
|
Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
|
|
173
191
|
Now: <one line — what just finished>
|
|
174
|
-
I need: <one line — the decision or action
|
|
192
|
+
I need: <one line — the decision or action you are waiting on>
|
|
175
193
|
```
|
|
176
194
|
|
|
177
195
|
- Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
|
|
@@ -185,7 +203,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
|
|
|
185
203
|
## 4. Live panel — `panel.json`
|
|
186
204
|
|
|
187
205
|
Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
|
|
188
|
-
**whole** (never patch) from `meta.json` plus what you know right now
|
|
206
|
+
**whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
|
|
207
|
+
about to type into the chat is a panel write instead** (§3):
|
|
189
208
|
|
|
190
209
|
```json
|
|
191
210
|
{
|
|
@@ -351,9 +370,9 @@ reader of `05-implementation.md` still sees the ideas in context.
|
|
|
351
370
|
does not bind, a guard, ratchet or lint floor with slack in it, a stale knowledge card, prose that
|
|
352
371
|
drifted from the code. Real, worth writing down, and nobody's next task — a tracker where these
|
|
353
372
|
outnumber the product's defects makes the number lie and buries «a console goes silent and says
|
|
354
|
-
nothing» under «a floor has no subject».
|
|
355
|
-
in the
|
|
356
|
-
(survey below).
|
|
373
|
+
nothing» under «a floor has no subject». They end at `status: "logged"` — the record they already
|
|
374
|
+
have, in `meta.json` and in the artifact section beside it, and nowhere else — **and it is not a
|
|
375
|
+
question**: choosing the kind already decided it (survey below).
|
|
357
376
|
- **`decision`** — a product question the current diff depends on: what the user sees when X,
|
|
358
377
|
whether closing Y also does Z, how much of the surface a notice may take. **A missing decision is
|
|
359
378
|
not deferred work.** Parking it does not shrink the diff, it makes the diff guess — and the guess
|
|
@@ -392,11 +411,11 @@ applies the bar itself):
|
|
|
392
411
|
|
|
393
412
|
- **`drop`** → `declined`, the skeptic's reason in `note`. Still readable in the artifact and in
|
|
394
413
|
`meta.json`, never asked, never counted, never shown again by `status`/`daily`/`next`.
|
|
395
|
-
- **`log`** →
|
|
414
|
+
- **`log`** → `logged`, no question, same destination as `tooling`.
|
|
396
415
|
- **`ticket`** → these are what the user is asked about, and **only the strongest
|
|
397
416
|
`tracker.followup_ask_max`** of them (empty → **2**). The rest are logged, with one line saying
|
|
398
|
-
how many
|
|
399
|
-
|
|
417
|
+
how many. **A finished work never becomes more than `followup_ask_max` questions**, whatever the
|
|
418
|
+
phases found. `0` → nothing is ever asked and everything is logged.
|
|
400
419
|
|
|
401
420
|
Then, and only then, the survey:
|
|
402
421
|
|
|
@@ -404,13 +423,16 @@ Then, and only then, the survey:
|
|
|
404
423
|
**Not worth it** · **Later**. The `title` and `why` are the entire prompt. **`decision` entries
|
|
405
424
|
are asked as their product question** — they never go to the skeptic, a question's value not being
|
|
406
425
|
a thing to refute — and sit outside the ceiling.
|
|
407
|
-
- **`tooling` asks nothing.**
|
|
408
|
-
|
|
426
|
+
- **`tooling` asks nothing.** `logged`, and a count on screen. Asking **Log it** about a lint floor
|
|
427
|
+
with slack in it was one question too many.
|
|
409
428
|
- **Not worth it** → `declined`, with the reason if given. Never asked again.
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
`status` and `daily`
|
|
429
|
+
- **`logged` is a status, not a destination.** The entry stays exactly where it already is — in
|
|
430
|
+
`meta.json.followups[]` and in its artifact section — and no file is written anywhere. This used
|
|
431
|
+
to append a line to a versioned debt log, one per repo; **that file is gone**. No command read it,
|
|
432
|
+
`status` and `daily` excluded it on purpose, and it duplicated a record the work already keeps
|
|
433
|
+
forever, so it grew without ever being triaged. A note nobody reads is not a lighter obligation
|
|
434
|
+
than a ticket, it is the same obligation with the reader removed. If a gap in the machinery is
|
|
435
|
+
worth someone's time, it is worth a ticket; if it is not, the record in the work is where it ends.
|
|
414
436
|
- **A `decision` answered** → the answer is written into the artifact that owns it and the entry
|
|
415
437
|
becomes `done` with the answer in `note`. Deferred again → stays `proposed`.
|
|
416
438
|
- **Later** → stays `proposed`, and surfaces in `status`, `daily` and `next` until it is decided.
|
|
@@ -420,8 +442,8 @@ Then, and only then, the survey:
|
|
|
420
442
|
- No entries still `proposed` → **the step does not exist**. Never show an empty survey.
|
|
421
443
|
|
|
422
444
|
**One line on screen, not one per entry.** However many were written, a stop mentions deferred work
|
|
423
|
-
in **at most one line** (§3): the one that escalated, named in product terms, plus a count
|
|
424
|
-
|
|
445
|
+
in **at most one line** (§3): the one that escalated, named in product terms, plus a count for the
|
|
446
|
+
rest — «2 more recorded in the work, not escalated». Never a list of seven titles, and never
|
|
425
447
|
«7 findings are waiting for triage» as the last thing the user reads before closing the pane.
|
|
426
448
|
|
|
427
449
|
**Creating an issue is outward-facing, so it asks in every mode**, `auto` included — the same
|
|
@@ -93,7 +93,7 @@ Anything **not in the §2 brief** ("while I'm at it, I'll also fix X", "this ren
|
|
|
93
93
|
|
|
94
94
|
A correction the user makes here is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `04-fix.md`, nothing asked (flow-core §8).
|
|
95
95
|
|
|
96
|
-
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
96
|
+
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
97
97
|
|
|
98
98
|
## 3. Log
|
|
99
99
|
|
|
@@ -163,6 +163,6 @@ Never the third way: building the mechanism here because the ticket says bug.
|
|
|
163
163
|
- Update `meta.json`: `phase = "fix"`, add to `phases_done`.
|
|
164
164
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
165
165
|
- Suggest next: `/flow:bug:validate` (S/M/L) or `/flow:bug:review` (XS).
|
|
166
|
-
- Report **following the stop header** (flow-core §3) and
|
|
166
|
+
- Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
|
|
167
167
|
- **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
|
|
168
168
|
"""
|
|
@@ -176,7 +176,7 @@ nothing was measured. A slowness bug is the case where this comment *is* the pro
|
|
|
176
176
|
- Summarize: ticket, MR/PR URL, regression test added.
|
|
177
177
|
- **Cross-repo reminder**: for each `meta.json.related_repos` entry not `done`: *"you've shipped the `<this-repo>` part; `<repo>` still needs: `<scope>` → go there and run `/flow:bug:start <TICKET>` (or `/flow:feat:start`)"*. flow only reminds; this is not a hard gate.
|
|
178
178
|
- **Cross-repo contract handoff**: for each such entry with `contract_handoff: "pending"` — the fix changed a surface that sibling consumes — hand the new shape over as `/flow:feat:ship` §6.3 (publish the **literal** shape to the tracker ticket, mandatory preview in every autonomy mode, then record `published → <location>`; versioned-file fallback when there is no tracker). A bug flow has no §"External contracts": take the literal from the fix itself — the actual key, code, route or event the code now emits — read it off the code, never from memory.
|
|
179
|
-
- **Follow-up triage — `/flow:feat:ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones
|
|
179
|
+
- **Follow-up triage — `/flow:feat:ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones nothing but `status: "logged"` in `meta.json`, then one offer to start the first. A bug flow is where the gate earns its keep: the prevention actions `/flow:bug:postmortem` wrote, the neighbouring bugs `/flow:bug:validate` found and the similar-risk patterns `/flow:bug:fix` flagged all land here — half a dozen of them, from one fix, and «similar risk elsewhere» that no skeptic ever read is exactly the entry that turns a closed bug into six open questions. Repeat for anything still `proposed` on the re-run that confirms the merge.
|
|
180
180
|
- **Conventions learned — `/flow:feat:ship` §6.4bis, in full and unchanged.** Read `meta.json.conventions_candidates[]` (flow-core §8); nothing pending → skip silently. Otherwise: drop what `FLOW.md` already says, then one batched `AskUserQuestion` (**Add to FLOW.md** / **Not a rule** / **Later**, or **Replace** when it contradicts a line that is there). Asked in every mode — it edits a file in the tree. A fix is where the corrections land hardest: *«never mock the repository in that layer»*, *«the regression test goes next to the unit test, not in the functional suite»* — said once inside `bug:fix`, and proposed again in the next incident unless they reach the file.
|
|
181
181
|
- **Close the follow-up that started this work.** `meta.json.origin` set and this ship moved `phase` to `done` → open the originating work's `meta.json` (live folder or `_archive/`) and set that `followups[]` entry to `status: "done"`. Best-effort: the originating folder is gone or unreadable → warn in one line and continue, never block. Without this the entry stays `in_progress` forever and `status`/`daily` keep reporting work that is finished.
|
|
182
182
|
- Ask whether to archive `.claude/work/<TICKET>/` to `.claude/work/_archive/`.
|
|
@@ -239,7 +239,7 @@ Anything unforeseen **always** goes through the user before entering code.
|
|
|
239
239
|
|
|
240
240
|
A correction the user makes here — *«not a listener, a message handler»*, *«never mock the repository in that layer»* — is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `05-implementation.md`, nothing asked (flow-core §8). `ship` offers it to `FLOW.md` once, at the end.
|
|
241
241
|
|
|
242
|
-
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
242
|
+
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
243
243
|
|
|
244
244
|
## 3. Log
|
|
245
245
|
|
|
@@ -342,6 +342,6 @@ If there were no copied contracts (design said "none"), skip this step and recor
|
|
|
342
342
|
- Update `meta.json`: `phase = "build"`, add to `phases_done`.
|
|
343
343
|
- Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow:feat:ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
|
|
344
344
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
345
|
-
- Report **following the stop header** (flow-core §3)
|
|
345
|
+
- Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow:feat:review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
|
|
346
346
|
- **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow:feat:review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow:feat:review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
|
|
347
347
|
"""
|
|
@@ -342,6 +342,6 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
|
|
|
342
342
|
- **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow:feat:design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
|
|
343
343
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
344
344
|
- **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
|
|
345
|
-
- Report findings and next step **following the stop header** (flow-core §3)
|
|
345
|
+
- Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
|
|
346
346
|
- **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow:feat:validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow:feat:validate` automatically** in this same turn. Never chain into `/flow:feat:ship` from here — ship is reached through `validate`.
|
|
347
347
|
"""
|
|
@@ -322,7 +322,7 @@ phases that parked it asked nothing, deliberately.
|
|
|
322
322
|
|
|
323
323
|
0. **Sort them before showing them — the skeptic gate (flow-core §7).** Count the `proposed`
|
|
324
324
|
entries, excluding `decision` (asked as their own question) and `tooling` (already destined for
|
|
325
|
-
|
|
325
|
+
`logged`, never asked).
|
|
326
326
|
- **3 or more** → one skeptic round before anything reaches the user: group them into at most
|
|
327
327
|
`agents.fanout_max` briefs (flow-core §6 ceilings apply; `agents.budget_max` already spent by
|
|
328
328
|
this run → skip the round, say so in one line and apply the bar yourself) with the prompt of
|
|
@@ -352,13 +352,9 @@ phases that parked it asked nothing, deliberately.
|
|
|
352
352
|
entry `accepted`; the record survives either way.
|
|
353
353
|
**Creating an issue is outward-facing: this asks in every `autonomy.mode`, `auto` included.**
|
|
354
354
|
4b. **Logged** — `tooling`, a skeptic's `log`, or anything past the `followup_ask_max` ceiling →
|
|
355
|
-
`status: "logged"` and
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
is a push like any other (flow-core §2, gate 1) — offer it in the same breath as the survey's
|
|
359
|
-
result, one question, and a declined push leaves the commit local for the next one. No issue is
|
|
360
|
-
opened and nothing else is asked: it is a file on the branch, for whoever next works on the
|
|
361
|
-
machinery.
|
|
355
|
+
`status: "logged"` in `meta.json` and nothing else. No file is written, no issue is opened,
|
|
356
|
+
nothing is asked. The entry keeps the record it already has — the `followups[]` row and its
|
|
357
|
+
artifact section — and `status`/`daily`/`next` stop showing it (flow-core §7).
|
|
362
358
|
4c. **A `decision` answered** → write the answer into the artifact that owns it (the brief, the
|
|
363
359
|
ADR-light) and set the entry `done` with the answer in `note`. When the answer changes code that
|
|
364
360
|
has already shipped, that is the moment a real follow-up is born: record it as `out-of-scope` with
|
|
@@ -281,6 +281,6 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
|
|
|
281
281
|
## 7. Close
|
|
282
282
|
|
|
283
283
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
|
|
284
|
-
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so
|
|
284
|
+
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
|
|
285
285
|
- Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
|
|
286
286
|
"""
|
|
@@ -63,7 +63,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
63
63
|
- **The stop is also written to disk**: `.claude/work/<work>/panel.json` ([schema below](#paneljson-schema), flow-core §4), **overwritten whole, never patched**, written **before** a long stretch with an honest `updated_at`.
|
|
64
64
|
- **What is never a question is as binding as what always is**: hard gates stop in **every** mode; in `guided`/`auto` flow mechanics, WIP commits, the train's next MR/PR, size confirmation and anything already decided are never asked (flow-core §2). Only new evidence reopens a decision.
|
|
65
65
|
- **A correction is a convention, and a convention is written down**: when the user overrides something a phase proposed and the same correction would apply to an unrelated ticket in this repo, it becomes a `meta.json.conventions_candidates[]` row and a `## Conventions learned` line in the phase artifact, asking nothing (flow-core §8). `review`'s idiom audit reads them in the same work; `ship` offers them to `FLOW.md` once, at Close, in every mode. What is about *this* ticket stays in the artifact and goes no further.
|
|
66
|
-
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap
|
|
66
|
+
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap is recorded with no question at all and never goes to the tracker.
|
|
67
67
|
- **The agent proves what it can before asking you to**: `/flow:*:validate` drives the running app over every `needs-manual` criterion first (`quality.functional_check`, or whatever `/flow:doctor` detects) and only hands over what it genuinely could not — recording the reason. A criterion is **never** marked proven on reasoning alone; reading the code and concluding it must work is `needs-manual`. What it observed is captured under `evidence/` and attached to the MR/PR.
|
|
68
68
|
- **Code review is mandatory**: `/flow:feat:ship` is not run and `/flow:bug:postmortem` is not closed without passing through `/*:review`.
|
|
69
69
|
- **Existing sub-agents**: commands delegate to the project's agents and skills; work is never duplicated.
|
package/adapters/hermes/CORE.md
CHANGED
|
@@ -136,8 +136,8 @@ was wise.
|
|
|
136
136
|
| Mode | Decisions | End of the command |
|
|
137
137
|
|---|---|---|
|
|
138
138
|
| `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
|
|
139
|
-
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
|
|
140
|
-
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
|
|
139
|
+
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
|
|
140
|
+
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
|
|
141
141
|
|
|
142
142
|
**Hard gates — stop and ask in every mode, no exceptions:**
|
|
143
143
|
1. Any push or MR/PR creation (all of `ship`).
|
|
@@ -164,15 +164,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
|
|
|
164
164
|
|
|
165
165
|
## 3. Reporting — how every stop reads
|
|
166
166
|
|
|
167
|
+
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
168
|
+
Nothing else is a stop, however much has just finished — a phase closing into the next one, a
|
|
169
|
+
chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
|
|
170
|
+
it is how you stop: render it while meaning to continue and you will stop anyway. The shape
|
|
171
|
+
decides, not the intention — and on a harness where a message carrying text and no tool call is
|
|
172
|
+
terminal by construction, the turn is over before you notice.
|
|
173
|
+
|
|
174
|
+
- **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
|
|
175
|
+
what you are moving to, and the tool call that starts it **in the same message**. Never end a
|
|
176
|
+
message on a promise to keep going.
|
|
177
|
+
- **The continuing call goes first.** When a step closes and the next one runs anyway
|
|
178
|
+
(`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
|
|
179
|
+
the one that ended. **A report is never the last thing in a turn you meant to continue.**
|
|
180
|
+
- **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
|
|
181
|
+
`Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
|
|
182
|
+
- **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
|
|
183
|
+
never announces that you are continuing — if you were, you would not be writing this header.
|
|
184
|
+
|
|
167
185
|
The user comes back to a screen they walked away from, often with other works in other panes.
|
|
168
|
-
They have read none of your tool calls, subagent reports or artifacts. So every stop
|
|
169
|
-
|
|
186
|
+
They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
|
|
187
|
+
this header**, before any prose:
|
|
170
188
|
|
|
171
189
|
```
|
|
172
190
|
<TICKET> · <size> · phase <phase> · MR #<n> of <N>
|
|
173
191
|
Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
|
|
174
192
|
Now: <one line — what just finished>
|
|
175
|
-
I need: <one line — the decision or action
|
|
193
|
+
I need: <one line — the decision or action you are waiting on>
|
|
176
194
|
```
|
|
177
195
|
|
|
178
196
|
- Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
|
|
@@ -186,7 +204,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
|
|
|
186
204
|
## 4. Live panel — `panel.json`
|
|
187
205
|
|
|
188
206
|
Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
|
|
189
|
-
**whole** (never patch) from `meta.json` plus what you know right now
|
|
207
|
+
**whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
|
|
208
|
+
about to type into the chat is a panel write instead** (§3):
|
|
190
209
|
|
|
191
210
|
```json
|
|
192
211
|
{
|
|
@@ -352,9 +371,9 @@ reader of `05-implementation.md` still sees the ideas in context.
|
|
|
352
371
|
does not bind, a guard, ratchet or lint floor with slack in it, a stale knowledge card, prose that
|
|
353
372
|
drifted from the code. Real, worth writing down, and nobody's next task — a tracker where these
|
|
354
373
|
outnumber the product's defects makes the number lie and buries «a console goes silent and says
|
|
355
|
-
nothing» under «a floor has no subject».
|
|
356
|
-
in the
|
|
357
|
-
(survey below).
|
|
374
|
+
nothing» under «a floor has no subject». They end at `status: "logged"` — the record they already
|
|
375
|
+
have, in `meta.json` and in the artifact section beside it, and nowhere else — **and it is not a
|
|
376
|
+
question**: choosing the kind already decided it (survey below).
|
|
358
377
|
- **`decision`** — a product question the current diff depends on: what the user sees when X,
|
|
359
378
|
whether closing Y also does Z, how much of the surface a notice may take. **A missing decision is
|
|
360
379
|
not deferred work.** Parking it does not shrink the diff, it makes the diff guess — and the guess
|
|
@@ -393,11 +412,11 @@ applies the bar itself):
|
|
|
393
412
|
|
|
394
413
|
- **`drop`** → `declined`, the skeptic's reason in `note`. Still readable in the artifact and in
|
|
395
414
|
`meta.json`, never asked, never counted, never shown again by `status`/`daily`/`next`.
|
|
396
|
-
- **`log`** →
|
|
415
|
+
- **`log`** → `logged`, no question, same destination as `tooling`.
|
|
397
416
|
- **`ticket`** → these are what the user is asked about, and **only the strongest
|
|
398
417
|
`tracker.followup_ask_max`** of them (empty → **2**). The rest are logged, with one line saying
|
|
399
|
-
how many
|
|
400
|
-
|
|
418
|
+
how many. **A finished work never becomes more than `followup_ask_max` questions**, whatever the
|
|
419
|
+
phases found. `0` → nothing is ever asked and everything is logged.
|
|
401
420
|
|
|
402
421
|
Then, and only then, the survey:
|
|
403
422
|
|
|
@@ -405,13 +424,16 @@ Then, and only then, the survey:
|
|
|
405
424
|
**Not worth it** · **Later**. The `title` and `why` are the entire prompt. **`decision` entries
|
|
406
425
|
are asked as their product question** — they never go to the skeptic, a question's value not being
|
|
407
426
|
a thing to refute — and sit outside the ceiling.
|
|
408
|
-
- **`tooling` asks nothing.**
|
|
409
|
-
|
|
427
|
+
- **`tooling` asks nothing.** `logged`, and a count on screen. Asking **Log it** about a lint floor
|
|
428
|
+
with slack in it was one question too many.
|
|
410
429
|
- **Not worth it** → `declined`, with the reason if given. Never asked again.
|
|
411
|
-
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
`status` and `daily`
|
|
430
|
+
- **`logged` is a status, not a destination.** The entry stays exactly where it already is — in
|
|
431
|
+
`meta.json.followups[]` and in its artifact section — and no file is written anywhere. This used
|
|
432
|
+
to append a line to a versioned debt log, one per repo; **that file is gone**. No command read it,
|
|
433
|
+
`status` and `daily` excluded it on purpose, and it duplicated a record the work already keeps
|
|
434
|
+
forever, so it grew without ever being triaged. A note nobody reads is not a lighter obligation
|
|
435
|
+
than a ticket, it is the same obligation with the reader removed. If a gap in the machinery is
|
|
436
|
+
worth someone's time, it is worth a ticket; if it is not, the record in the work is where it ends.
|
|
415
437
|
- **A `decision` answered** → the answer is written into the artifact that owns it and the entry
|
|
416
438
|
becomes `done` with the answer in `note`. Deferred again → stays `proposed`.
|
|
417
439
|
- **Later** → stays `proposed`, and surfaces in `status`, `daily` and `next` until it is decided.
|
|
@@ -421,8 +443,8 @@ Then, and only then, the survey:
|
|
|
421
443
|
- No entries still `proposed` → **the step does not exist**. Never show an empty survey.
|
|
422
444
|
|
|
423
445
|
**One line on screen, not one per entry.** However many were written, a stop mentions deferred work
|
|
424
|
-
in **at most one line** (§3): the one that escalated, named in product terms, plus a count
|
|
425
|
-
|
|
446
|
+
in **at most one line** (§3): the one that escalated, named in product terms, plus a count for the
|
|
447
|
+
rest — «2 more recorded in the work, not escalated». Never a list of seven titles, and never
|
|
426
448
|
«7 findings are waiting for triage» as the last thing the user reads before closing the pane.
|
|
427
449
|
|
|
428
450
|
**Creating an issue is outward-facing, so it asks in every mode**, `auto` included — the same
|
|
@@ -97,7 +97,7 @@ Anything **not in the §2 brief** ("while I'm at it, I'll also fix X", "this ren
|
|
|
97
97
|
|
|
98
98
|
A correction the user makes here is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `04-fix.md`, nothing asked (flow-core §8).
|
|
99
99
|
|
|
100
|
-
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
100
|
+
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
101
101
|
|
|
102
102
|
## 3. Log
|
|
103
103
|
|
|
@@ -167,5 +167,5 @@ Never the third way: building the mechanism here because the ticket says bug.
|
|
|
167
167
|
- Update `meta.json`: `phase = "fix"`, add to `phases_done`.
|
|
168
168
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
169
169
|
- Suggest next: `/flow-bug-validate` (S/M/L) or `/flow-bug-review` (XS).
|
|
170
|
-
- Report **following the stop header** (flow-core §3) and
|
|
170
|
+
- Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
|
|
171
171
|
- **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
|
|
@@ -180,7 +180,7 @@ nothing was measured. A slowness bug is the case where this comment *is* the pro
|
|
|
180
180
|
- Summarize: ticket, MR/PR URL, regression test added.
|
|
181
181
|
- **Cross-repo reminder**: for each `meta.json.related_repos` entry not `done`: *"you've shipped the `<this-repo>` part; `<repo>` still needs: `<scope>` → go there and run `/flow-bug-start <TICKET>` (or `/flow-feat-start`)"*. flow only reminds; this is not a hard gate.
|
|
182
182
|
- **Cross-repo contract handoff**: for each such entry with `contract_handoff: "pending"` — the fix changed a surface that sibling consumes — hand the new shape over as `/flow-feat-ship` §6.3 (publish the **literal** shape to the tracker ticket, mandatory preview in every autonomy mode, then record `published → <location>`; versioned-file fallback when there is no tracker). A bug flow has no §"External contracts": take the literal from the fix itself — the actual key, code, route or event the code now emits — read it off the code, never from memory.
|
|
183
|
-
- **Follow-up triage — `/flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones
|
|
183
|
+
- **Follow-up triage — `/flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones nothing but `status: "logged"` in `meta.json`, then one offer to start the first. A bug flow is where the gate earns its keep: the prevention actions `/flow-bug-postmortem` wrote, the neighbouring bugs `/flow-bug-validate` found and the similar-risk patterns `/flow-bug-fix` flagged all land here — half a dozen of them, from one fix, and «similar risk elsewhere» that no skeptic ever read is exactly the entry that turns a closed bug into six open questions. Repeat for anything still `proposed` on the re-run that confirms the merge.
|
|
184
184
|
- **Conventions learned — `/flow-feat-ship` §6.4bis, in full and unchanged.** Read `meta.json.conventions_candidates[]` (flow-core §8); nothing pending → skip silently. Otherwise: drop what `FLOW.md` already says, then one batched `AskUserQuestion` (**Add to FLOW.md** / **Not a rule** / **Later**, or **Replace** when it contradicts a line that is there). Asked in every mode — it edits a file in the tree. A fix is where the corrections land hardest: *«never mock the repository in that layer»*, *«the regression test goes next to the unit test, not in the functional suite»* — said once inside `bug:fix`, and proposed again in the next incident unless they reach the file.
|
|
185
185
|
- **Close the follow-up that started this work.** `meta.json.origin` set and this ship moved `phase` to `done` → open the originating work's `meta.json` (live folder or `_archive/`) and set that `followups[]` entry to `status: "done"`. Best-effort: the originating folder is gone or unreadable → warn in one line and continue, never block. Without this the entry stays `in_progress` forever and `status`/`daily` keep reporting work that is finished.
|
|
186
186
|
- Ask whether to archive `.claude/work/<TICKET>/` to `.claude/work/_archive/`.
|
|
@@ -243,7 +243,7 @@ Anything unforeseen **always** goes through the user before entering code.
|
|
|
243
243
|
|
|
244
244
|
A correction the user makes here — *«not a listener, a message handler»*, *«never mock the repository in that layer»* — is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `05-implementation.md`, nothing asked (flow-core §8). `ship` offers it to `FLOW.md` once, at the end.
|
|
245
245
|
|
|
246
|
-
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
246
|
+
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
247
247
|
|
|
248
248
|
## 3. Log
|
|
249
249
|
|
|
@@ -346,5 +346,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
|
|
|
346
346
|
- Update `meta.json`: `phase = "build"`, add to `phases_done`.
|
|
347
347
|
- Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
|
|
348
348
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
349
|
-
- Report **following the stop header** (flow-core §3)
|
|
349
|
+
- Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
|
|
350
350
|
- **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
|
|
@@ -346,5 +346,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
|
|
|
346
346
|
- **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
|
|
347
347
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
348
348
|
- **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
|
|
349
|
-
- Report findings and next step **following the stop header** (flow-core §3)
|
|
349
|
+
- Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
|
|
350
350
|
- **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow-feat-validate` automatically** in this same turn. Never chain into `/flow-feat-ship` from here — ship is reached through `validate`.
|
|
@@ -326,7 +326,7 @@ phases that parked it asked nothing, deliberately.
|
|
|
326
326
|
|
|
327
327
|
0. **Sort them before showing them — the skeptic gate (flow-core §7).** Count the `proposed`
|
|
328
328
|
entries, excluding `decision` (asked as their own question) and `tooling` (already destined for
|
|
329
|
-
|
|
329
|
+
`logged`, never asked).
|
|
330
330
|
- **3 or more** → one skeptic round before anything reaches the user: group them into at most
|
|
331
331
|
`agents.fanout_max` briefs (flow-core §6 ceilings apply; `agents.budget_max` already spent by
|
|
332
332
|
this run → skip the round, say so in one line and apply the bar yourself) with the prompt of
|
|
@@ -356,13 +356,9 @@ phases that parked it asked nothing, deliberately.
|
|
|
356
356
|
entry `accepted`; the record survives either way.
|
|
357
357
|
**Creating an issue is outward-facing: this asks in every `autonomy.mode`, `auto` included.**
|
|
358
358
|
4b. **Logged** — `tooling`, a skeptic's `log`, or anything past the `followup_ask_max` ceiling →
|
|
359
|
-
`status: "logged"` and
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
is a push like any other (flow-core §2, gate 1) — offer it in the same breath as the survey's
|
|
363
|
-
result, one question, and a declined push leaves the commit local for the next one. No issue is
|
|
364
|
-
opened and nothing else is asked: it is a file on the branch, for whoever next works on the
|
|
365
|
-
machinery.
|
|
359
|
+
`status: "logged"` in `meta.json` and nothing else. No file is written, no issue is opened,
|
|
360
|
+
nothing is asked. The entry keeps the record it already has — the `followups[]` row and its
|
|
361
|
+
artifact section — and `status`/`daily`/`next` stop showing it (flow-core §7).
|
|
366
362
|
4c. **A `decision` answered** → write the answer into the artifact that owns it (the brief, the
|
|
367
363
|
ADR-light) and set the entry `done` with the answer in `note`. When the answer changes code that
|
|
368
364
|
has already shipped, that is the moment a real follow-up is born: record it as `out-of-scope` with
|
|
@@ -285,5 +285,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
|
|
|
285
285
|
## 7. Close
|
|
286
286
|
|
|
287
287
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
|
|
288
|
-
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so
|
|
288
|
+
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
|
|
289
289
|
- Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
|
|
@@ -67,7 +67,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
67
67
|
- **The stop is also written to disk**: `.claude/work/<work>/panel.json` ([schema below](#paneljson-schema), flow-core §4), **overwritten whole, never patched**, written **before** a long stretch with an honest `updated_at`.
|
|
68
68
|
- **What is never a question is as binding as what always is**: hard gates stop in **every** mode; in `guided`/`auto` flow mechanics, WIP commits, the train's next MR/PR, size confirmation and anything already decided are never asked (flow-core §2). Only new evidence reopens a decision.
|
|
69
69
|
- **A correction is a convention, and a convention is written down**: when the user overrides something a phase proposed and the same correction would apply to an unrelated ticket in this repo, it becomes a `meta.json.conventions_candidates[]` row and a `## Conventions learned` line in the phase artifact, asking nothing (flow-core §8). `review`'s idiom audit reads them in the same work; `ship` offers them to `FLOW.md` once, at Close, in every mode. What is about *this* ticket stays in the artifact and goes no further.
|
|
70
|
-
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap
|
|
70
|
+
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap is recorded with no question at all and never goes to the tracker.
|
|
71
71
|
- **The agent proves what it can before asking you to**: `/flow-*-validate` drives the running app over every `needs-manual` criterion first (`quality.functional_check`, or whatever `/flow-doctor` detects) and only hands over what it genuinely could not — recording the reason. A criterion is **never** marked proven on reasoning alone; reading the code and concluding it must work is `needs-manual`. What it observed is captured under `evidence/` and attached to the MR/PR.
|
|
72
72
|
- **Code review is mandatory**: `/flow-feat-ship` is not run and `/flow-bug-postmortem` is not closed without passing through `/*:review`.
|
|
73
73
|
- **Existing sub-agents**: commands delegate to the project's agents and skills; work is never duplicated.
|
|
@@ -135,8 +135,8 @@ was wise.
|
|
|
135
135
|
| Mode | Decisions | End of the command |
|
|
136
136
|
|---|---|---|
|
|
137
137
|
| `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
|
|
138
|
-
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
|
|
139
|
-
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
|
|
138
|
+
| `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
|
|
139
|
+
| `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
|
|
140
140
|
|
|
141
141
|
**Hard gates — stop and ask in every mode, no exceptions:**
|
|
142
142
|
1. Any push or MR/PR creation (all of `ship`).
|
|
@@ -163,15 +163,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
|
|
|
163
163
|
|
|
164
164
|
## 3. Reporting — how every stop reads
|
|
165
165
|
|
|
166
|
+
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
167
|
+
Nothing else is a stop, however much has just finished — a phase closing into the next one, a
|
|
168
|
+
chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
|
|
169
|
+
it is how you stop: render it while meaning to continue and you will stop anyway. The shape
|
|
170
|
+
decides, not the intention — and on a harness where a message carrying text and no tool call is
|
|
171
|
+
terminal by construction, the turn is over before you notice.
|
|
172
|
+
|
|
173
|
+
- **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
|
|
174
|
+
what you are moving to, and the tool call that starts it **in the same message**. Never end a
|
|
175
|
+
message on a promise to keep going.
|
|
176
|
+
- **The continuing call goes first.** When a step closes and the next one runs anyway
|
|
177
|
+
(`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
|
|
178
|
+
the one that ended. **A report is never the last thing in a turn you meant to continue.**
|
|
179
|
+
- **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
|
|
180
|
+
`Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
|
|
181
|
+
- **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
|
|
182
|
+
never announces that you are continuing — if you were, you would not be writing this header.
|
|
183
|
+
|
|
166
184
|
The user comes back to a screen they walked away from, often with other works in other panes.
|
|
167
|
-
They have read none of your tool calls, subagent reports or artifacts. So every stop
|
|
168
|
-
|
|
185
|
+
They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
|
|
186
|
+
this header**, before any prose:
|
|
169
187
|
|
|
170
188
|
```
|
|
171
189
|
<TICKET> · <size> · phase <phase> · MR #<n> of <N>
|
|
172
190
|
Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
|
|
173
191
|
Now: <one line — what just finished>
|
|
174
|
-
I need: <one line — the decision or action
|
|
192
|
+
I need: <one line — the decision or action you are waiting on>
|
|
175
193
|
```
|
|
176
194
|
|
|
177
195
|
- Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
|
|
@@ -185,7 +203,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
|
|
|
185
203
|
## 4. Live panel — `panel.json`
|
|
186
204
|
|
|
187
205
|
Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
|
|
188
|
-
**whole** (never patch) from `meta.json` plus what you know right now
|
|
206
|
+
**whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
|
|
207
|
+
about to type into the chat is a panel write instead** (§3):
|
|
189
208
|
|
|
190
209
|
```json
|
|
191
210
|
{
|
|
@@ -351,9 +370,9 @@ reader of `05-implementation.md` still sees the ideas in context.
|
|
|
351
370
|
does not bind, a guard, ratchet or lint floor with slack in it, a stale knowledge card, prose that
|
|
352
371
|
drifted from the code. Real, worth writing down, and nobody's next task — a tracker where these
|
|
353
372
|
outnumber the product's defects makes the number lie and buries «a console goes silent and says
|
|
354
|
-
nothing» under «a floor has no subject».
|
|
355
|
-
in the
|
|
356
|
-
(survey below).
|
|
373
|
+
nothing» under «a floor has no subject». They end at `status: "logged"` — the record they already
|
|
374
|
+
have, in `meta.json` and in the artifact section beside it, and nowhere else — **and it is not a
|
|
375
|
+
question**: choosing the kind already decided it (survey below).
|
|
357
376
|
- **`decision`** — a product question the current diff depends on: what the user sees when X,
|
|
358
377
|
whether closing Y also does Z, how much of the surface a notice may take. **A missing decision is
|
|
359
378
|
not deferred work.** Parking it does not shrink the diff, it makes the diff guess — and the guess
|
|
@@ -392,11 +411,11 @@ applies the bar itself):
|
|
|
392
411
|
|
|
393
412
|
- **`drop`** → `declined`, the skeptic's reason in `note`. Still readable in the artifact and in
|
|
394
413
|
`meta.json`, never asked, never counted, never shown again by `status`/`daily`/`next`.
|
|
395
|
-
- **`log`** →
|
|
414
|
+
- **`log`** → `logged`, no question, same destination as `tooling`.
|
|
396
415
|
- **`ticket`** → these are what the user is asked about, and **only the strongest
|
|
397
416
|
`tracker.followup_ask_max`** of them (empty → **2**). The rest are logged, with one line saying
|
|
398
|
-
how many
|
|
399
|
-
|
|
417
|
+
how many. **A finished work never becomes more than `followup_ask_max` questions**, whatever the
|
|
418
|
+
phases found. `0` → nothing is ever asked and everything is logged.
|
|
400
419
|
|
|
401
420
|
Then, and only then, the survey:
|
|
402
421
|
|
|
@@ -404,13 +423,16 @@ Then, and only then, the survey:
|
|
|
404
423
|
**Not worth it** · **Later**. The `title` and `why` are the entire prompt. **`decision` entries
|
|
405
424
|
are asked as their product question** — they never go to the skeptic, a question's value not being
|
|
406
425
|
a thing to refute — and sit outside the ceiling.
|
|
407
|
-
- **`tooling` asks nothing.**
|
|
408
|
-
|
|
426
|
+
- **`tooling` asks nothing.** `logged`, and a count on screen. Asking **Log it** about a lint floor
|
|
427
|
+
with slack in it was one question too many.
|
|
409
428
|
- **Not worth it** → `declined`, with the reason if given. Never asked again.
|
|
410
|
-
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
`status` and `daily`
|
|
429
|
+
- **`logged` is a status, not a destination.** The entry stays exactly where it already is — in
|
|
430
|
+
`meta.json.followups[]` and in its artifact section — and no file is written anywhere. This used
|
|
431
|
+
to append a line to a versioned debt log, one per repo; **that file is gone**. No command read it,
|
|
432
|
+
`status` and `daily` excluded it on purpose, and it duplicated a record the work already keeps
|
|
433
|
+
forever, so it grew without ever being triaged. A note nobody reads is not a lighter obligation
|
|
434
|
+
than a ticket, it is the same obligation with the reader removed. If a gap in the machinery is
|
|
435
|
+
worth someone's time, it is worth a ticket; if it is not, the record in the work is where it ends.
|
|
414
436
|
- **A `decision` answered** → the answer is written into the artifact that owns it and the entry
|
|
415
437
|
becomes `done` with the answer in `note`. Deferred again → stays `proposed`.
|
|
416
438
|
- **Later** → stays `proposed`, and surfaces in `status`, `daily` and `next` until it is decided.
|
|
@@ -420,8 +442,8 @@ Then, and only then, the survey:
|
|
|
420
442
|
- No entries still `proposed` → **the step does not exist**. Never show an empty survey.
|
|
421
443
|
|
|
422
444
|
**One line on screen, not one per entry.** However many were written, a stop mentions deferred work
|
|
423
|
-
in **at most one line** (§3): the one that escalated, named in product terms, plus a count
|
|
424
|
-
|
|
445
|
+
in **at most one line** (§3): the one that escalated, named in product terms, plus a count for the
|
|
446
|
+
rest — «2 more recorded in the work, not escalated». Never a list of seven titles, and never
|
|
425
447
|
«7 findings are waiting for triage» as the last thing the user reads before closing the pane.
|
|
426
448
|
|
|
427
449
|
**Creating an issue is outward-facing, so it asks in every mode**, `auto` included — the same
|
|
@@ -95,7 +95,7 @@ Anything **not in the §2 brief** ("while I'm at it, I'll also fix X", "this ren
|
|
|
95
95
|
|
|
96
96
|
A correction the user makes here is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `04-fix.md`, nothing asked (flow-core §8).
|
|
97
97
|
|
|
98
|
-
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
98
|
+
A **product decision** the fix turns out to need is neither of these — not scope to add, not work to park. It is asked the moment it surfaces, in every mode, and its answer is written into the brief (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. And a gap in the repo's own machinery the fix exposes (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
99
99
|
|
|
100
100
|
## 3. Log
|
|
101
101
|
|
|
@@ -165,5 +165,5 @@ Never the third way: building the mechanism here because the ticket says bug.
|
|
|
165
165
|
- Update `meta.json`: `phase = "fix"`, add to `phases_done`.
|
|
166
166
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
167
167
|
- Suggest next: `/flow-bug-validate` (S/M/L) or `/flow-bug-review` (XS).
|
|
168
|
-
- Report **following the stop header** (flow-core §3) and
|
|
168
|
+
- Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
|
|
169
169
|
- **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
|
|
@@ -178,7 +178,7 @@ nothing was measured. A slowness bug is the case where this comment *is* the pro
|
|
|
178
178
|
- Summarize: ticket, MR/PR URL, regression test added.
|
|
179
179
|
- **Cross-repo reminder**: for each `meta.json.related_repos` entry not `done`: *"you've shipped the `<this-repo>` part; `<repo>` still needs: `<scope>` → go there and run `/flow-bug-start <TICKET>` (or `/flow-feat-start`)"*. flow only reminds; this is not a hard gate.
|
|
180
180
|
- **Cross-repo contract handoff**: for each such entry with `contract_handoff: "pending"` — the fix changed a surface that sibling consumes — hand the new shape over as `/flow-feat-ship` §6.3 (publish the **literal** shape to the tracker ticket, mandatory preview in every autonomy mode, then record `published → <location>`; versioned-file fallback when there is no tracker). A bug flow has no §"External contracts": take the literal from the fix itself — the actual key, code, route or event the code now emits — read it off the code, never from memory.
|
|
181
|
-
- **Follow-up triage — `/flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones
|
|
181
|
+
- **Follow-up triage — `/flow-feat-ship` §6.4, in full and unchanged.** Read `meta.json.followups[]`; nothing `proposed` → skip silently. Otherwise §6.4 step 0 first — **3 or more candidates go to a skeptic** whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) reach the user (flow-core §7) — then one batched `AskUserQuestion` (**Do it** / **Not worth it** / **Later**; `decision` entries asked as their question, `tooling` and everything `log`ged never asked), the accepted ones get their tracker issue created (outward-facing → **asks in every mode**), the logged ones nothing but `status: "logged"` in `meta.json`, then one offer to start the first. A bug flow is where the gate earns its keep: the prevention actions `/flow-bug-postmortem` wrote, the neighbouring bugs `/flow-bug-validate` found and the similar-risk patterns `/flow-bug-fix` flagged all land here — half a dozen of them, from one fix, and «similar risk elsewhere» that no skeptic ever read is exactly the entry that turns a closed bug into six open questions. Repeat for anything still `proposed` on the re-run that confirms the merge.
|
|
182
182
|
- **Conventions learned — `/flow-feat-ship` §6.4bis, in full and unchanged.** Read `meta.json.conventions_candidates[]` (flow-core §8); nothing pending → skip silently. Otherwise: drop what `FLOW.md` already says, then one batched `AskUserQuestion` (**Add to FLOW.md** / **Not a rule** / **Later**, or **Replace** when it contradicts a line that is there). Asked in every mode — it edits a file in the tree. A fix is where the corrections land hardest: *«never mock the repository in that layer»*, *«the regression test goes next to the unit test, not in the functional suite»* — said once inside `bug:fix`, and proposed again in the next incident unless they reach the file.
|
|
183
183
|
- **Close the follow-up that started this work.** `meta.json.origin` set and this ship moved `phase` to `done` → open the originating work's `meta.json` (live folder or `_archive/`) and set that `followups[]` entry to `status: "done"`. Best-effort: the originating folder is gone or unreadable → warn in one line and continue, never block. Without this the entry stays `in_progress` forever and `status`/`daily` keep reporting work that is finished.
|
|
184
184
|
- Ask whether to archive `.claude/work/<TICKET>/` to `.claude/work/_archive/`.
|
|
@@ -241,7 +241,7 @@ Anything unforeseen **always** goes through the user before entering code.
|
|
|
241
241
|
|
|
242
242
|
A correction the user makes here — *«not a listener, a message handler»*, *«never mock the repository in that layer»* — is a **convention** when it would apply to an unrelated ticket in this repo: one row in `meta.json.conventions_candidates[]` and under `## Conventions learned` in `05-implementation.md`, nothing asked (flow-core §8). `ship` offers it to `FLOW.md` once, at the end.
|
|
243
243
|
|
|
244
|
-
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"
|
|
244
|
+
A **product decision** the build turns out to need is neither option — not scope to add, not work to park: ask it the moment it surfaces, in every mode, and write the answer under "Decisions made during implementation" (flow-core §7, `decision`). Only a decision the user explicitly defers becomes a `followups[]` entry. A gap in the repo's own machinery (a guard that did not bind, a floor with slack) is `kind: "tooling"`: recorded, never asked about, and never sent to the tracker.
|
|
245
245
|
|
|
246
246
|
## 3. Log
|
|
247
247
|
|
|
@@ -344,5 +344,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
|
|
|
344
344
|
- Update `meta.json`: `phase = "build"`, add to `phases_done`.
|
|
345
345
|
- Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
|
|
346
346
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
347
|
-
- Report **following the stop header** (flow-core §3)
|
|
347
|
+
- Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
|
|
348
348
|
- **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
|
|
@@ -344,5 +344,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
|
|
|
344
344
|
- **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
|
|
345
345
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
|
|
346
346
|
- **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
|
|
347
|
-
- Report findings and next step **following the stop header** (flow-core §3)
|
|
347
|
+
- Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
|
|
348
348
|
- **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow-feat-validate` automatically** in this same turn. Never chain into `/flow-feat-ship` from here — ship is reached through `validate`.
|
|
@@ -324,7 +324,7 @@ phases that parked it asked nothing, deliberately.
|
|
|
324
324
|
|
|
325
325
|
0. **Sort them before showing them — the skeptic gate (flow-core §7).** Count the `proposed`
|
|
326
326
|
entries, excluding `decision` (asked as their own question) and `tooling` (already destined for
|
|
327
|
-
|
|
327
|
+
`logged`, never asked).
|
|
328
328
|
- **3 or more** → one skeptic round before anything reaches the user: group them into at most
|
|
329
329
|
`agents.fanout_max` briefs (flow-core §6 ceilings apply; `agents.budget_max` already spent by
|
|
330
330
|
this run → skip the round, say so in one line and apply the bar yourself) with the prompt of
|
|
@@ -354,13 +354,9 @@ phases that parked it asked nothing, deliberately.
|
|
|
354
354
|
entry `accepted`; the record survives either way.
|
|
355
355
|
**Creating an issue is outward-facing: this asks in every `autonomy.mode`, `auto` included.**
|
|
356
356
|
4b. **Logged** — `tooling`, a skeptic's `log`, or anything past the `followup_ask_max` ceiling →
|
|
357
|
-
`status: "logged"` and
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
is a push like any other (flow-core §2, gate 1) — offer it in the same breath as the survey's
|
|
361
|
-
result, one question, and a declined push leaves the commit local for the next one. No issue is
|
|
362
|
-
opened and nothing else is asked: it is a file on the branch, for whoever next works on the
|
|
363
|
-
machinery.
|
|
357
|
+
`status: "logged"` in `meta.json` and nothing else. No file is written, no issue is opened,
|
|
358
|
+
nothing is asked. The entry keeps the record it already has — the `followups[]` row and its
|
|
359
|
+
artifact section — and `status`/`daily`/`next` stop showing it (flow-core §7).
|
|
364
360
|
4c. **A `decision` answered** → write the answer into the artifact that owns it (the brief, the
|
|
365
361
|
ADR-light) and set the entry `done` with the answer in `note`. When the answer changes code that
|
|
366
362
|
has already shipped, that is the moment a real follow-up is born: record it as `out-of-scope` with
|
|
@@ -283,5 +283,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
|
|
|
283
283
|
## 7. Close
|
|
284
284
|
|
|
285
285
|
- Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
|
|
286
|
-
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so
|
|
286
|
+
- Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
|
|
287
287
|
- Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
|
|
@@ -65,7 +65,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
65
65
|
- **The stop is also written to disk**: `.claude/work/<work>/panel.json` ([schema below](#paneljson-schema), flow-core §4), **overwritten whole, never patched**, written **before** a long stretch with an honest `updated_at`.
|
|
66
66
|
- **What is never a question is as binding as what always is**: hard gates stop in **every** mode; in `guided`/`auto` flow mechanics, WIP commits, the train's next MR/PR, size confirmation and anything already decided are never asked (flow-core §2). Only new evidence reopens a decision.
|
|
67
67
|
- **A correction is a convention, and a convention is written down**: when the user overrides something a phase proposed and the same correction would apply to an unrelated ticket in this repo, it becomes a `meta.json.conventions_candidates[]` row and a `## Conventions learned` line in the phase artifact, asking nothing (flow-core §8). `review`'s idiom audit reads them in the same work; `ship` offers them to `FLOW.md` once, at Close, in every mode. What is about *this* ticket stays in the artifact and goes no further.
|
|
68
|
-
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap
|
|
68
|
+
- **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap is recorded with no question at all and never goes to the tracker.
|
|
69
69
|
- **The agent proves what it can before asking you to**: `/flow-*-validate` drives the running app over every `needs-manual` criterion first (`quality.functional_check`, or whatever `/flow-doctor` detects) and only hands over what it genuinely could not — recording the reason. A criterion is **never** marked proven on reasoning alone; reading the code and concluding it must work is `needs-manual`. What it observed is captured under `evidence/` and attached to the MR/PR.
|
|
70
70
|
- **Code review is mandatory**: `/flow-feat-ship` is not run and `/flow-bug-postmortem` is not closed without passing through `/*:review`.
|
|
71
71
|
- **Existing sub-agents**: commands delegate to the project's agents and skills; work is never duplicated.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flow-workflows",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.0",
|
|
4
4
|
"description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "flow",
|
|
4
4
|
"displayName": "Flow — guided dev workflows",
|
|
5
5
|
"description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.64.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,57 @@ plugin and is what `/flow:news` reads to show you what changed since your previo
|
|
|
5
5
|
|
|
6
6
|
The canonical, richest notes live in the [GitHub Releases](https://github.com/mashware/flow-workflows/releases).
|
|
7
7
|
|
|
8
|
+
## v0.64.0 — Announcing the next step was how the run ended · 2026-09-16
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **A phase that chains no longer reports.** In `guided`/`auto` the turn opens with the call that starts the next command; the summary it used to print goes to the phase artifact.
|
|
12
|
+
- **`I need: nothing, continuing with X` is gone.** That line now names the decision or action being waited on — nothing else.
|
|
13
|
+
- **Progress lines belong to `panel.json`** (`Now`, `Next`): whoever is watching sees the run advance without it costing a turn or a stop.
|
|
14
|
+
- **Nothing changes for `manual`, for blockers, or for `ship`** — those are real stops and still open with the full header.
|
|
15
|
+
|
|
16
|
+
The stop header exists because the user comes back to a screen they walked away from. It is the
|
|
17
|
+
shape of a goodbye — ticket, plan, what just finished, what is needed — and a model that has just
|
|
18
|
+
written a goodbye stops. That is what `"nothing, continuing with X"` asked for: render the
|
|
19
|
+
farewell, then keep working. In practice the run ended there, having just promised it would not,
|
|
20
|
+
and the user found a pane sitting idle under a sentence saying it was busy.
|
|
21
|
+
|
|
22
|
+
The promise was not merely unlikely, it was unkeepable on some harnesses. A turn ends when the
|
|
23
|
+
model emits text with no tool call behind it: emitting the text *is* handing control back. Claude
|
|
24
|
+
Code allows text and a tool call in the same message, so there the failure is a habit; on an
|
|
25
|
+
OpenAI-shaped API, where a message carrying content and no `tool_calls` is terminal by
|
|
26
|
+
construction, there was never a way for the sentence to come true.
|
|
27
|
+
|
|
28
|
+
So the contract is now ordered rather than intended. `flow-core §3` opens by defining a stop — a
|
|
29
|
+
question, a hard gate, the end of the flow — and says that everything else, however much has just
|
|
30
|
+
finished, is not one. When the next command runs anyway, the continuing call goes **first** and no
|
|
31
|
+
report precedes it. `feat:start`, `feat:build`, `feat:review` and `bug:fix` say the same at their
|
|
32
|
+
own `## Close`, where the temptation actually lives, and `feat:review`'s `Cost:` line travels to
|
|
33
|
+
the stop the run does reach instead of being announced at a juncture that is not one.
|
|
34
|
+
|
|
35
|
+
## v0.63.0 — A file collected everything nobody was going to do · 2026-09-16
|
|
36
|
+
|
|
37
|
+
**In short**
|
|
38
|
+
- **`docs/DEBT.md` is gone.** `ship` no longer writes a debt log, and `tracker.debt_log` is no longer a FLOW.md key.
|
|
39
|
+
- **Nothing is lost**: what used to be copied there already lived — and still lives — in the work's own `meta.json` and in the artifact section that explains it in context.
|
|
40
|
+
- **`tooling` gaps behave exactly as before**: recorded when a phase notices them, never a question, never a tracker issue. Only the file at the end disappeared.
|
|
41
|
+
- **Existing `DEBT.md` files are yours to keep or delete.** Nothing reads them, and nothing will delete them for you.
|
|
42
|
+
|
|
43
|
+
The debt log was meant for the findings that are real and nobody's next task — a test that does not
|
|
44
|
+
bind, a lint floor with slack in it, prose that drifted from the code. Sending those to the tracker
|
|
45
|
+
buries the product's actual defects, so they went to a versioned Markdown file instead, one per
|
|
46
|
+
repo, appended to at every ship.
|
|
47
|
+
|
|
48
|
+
No command ever read it. `status`, `daily` and `next` excluded `logged` entries deliberately, which
|
|
49
|
+
is the whole file. And every line in it duplicated a record the work already keeps for ever: the
|
|
50
|
+
`followups[]` row in `meta.json` and the artifact section beside it, both of which survive
|
|
51
|
+
archiving. So the file only ever grew, was never triaged, and told a reader arriving at it nothing
|
|
52
|
+
the work folder did not already say.
|
|
53
|
+
|
|
54
|
+
A note nobody reads is not a lighter obligation than a ticket. It is the same obligation with the
|
|
55
|
+
reader removed — and a repo that accumulates those is worse off than one that admitted the finding
|
|
56
|
+
was not worth anyone's time. `logged` is now what it always was in practice: a status meaning *this
|
|
57
|
+
was seen, judged, and is not going any further*.
|
|
58
|
+
|
|
8
59
|
## v0.62.0 — Three harnesses could be installed but never updated · 2026-09-16
|
|
9
60
|
|
|
10
61
|
**In short**
|
|
@@ -48,12 +48,10 @@ How tickets are identified and read.
|
|
|
48
48
|
# they are asked before running in `autonomy.mode: manual` and run automatically in `guided`/`auto`;
|
|
49
49
|
# a failure or an already-in-state ticket warns and continues, never blocks. They run only in
|
|
50
50
|
# ticket mode with a real tracker id (skipped for ticket-less / local-only works).
|
|
51
|
-
- `debt_log:` # optional. Versioned Markdown file where `ship` appends the follow-ups that are recorded but never asked about (flow-core §7): `tooling` gaps in the repo's own
|
|
52
|
-
# machinery — a test that does not bind, a guard with slack, stale prose — plus whatever the skeptic ruled real-but-nobody's-next-task and whatever sat above
|
|
53
|
-
# `followup_ask_max`. Empty = `docs/DEBT.md`, created on first use. One file per repo.
|
|
54
51
|
- `followup_ask_max:` # how many parked findings one finished work may turn into questions at `ship`'s Close (flow-core §7). Empty = 2. `0` = never ask, log everything. A ticket where
|
|
55
52
|
# seven phases each notice something is not seven problems: with 3+ candidates a skeptic tries to refute each one (burden of proof on the finding), the ones
|
|
56
53
|
# without a named subject are dropped, and only the strongest survivors up to this number are put to you. Raise it if you would rather triage than be handed a log.
|
|
54
|
+
# What is not asked about stays `logged` in the work's own `meta.json` — no file is written, and nothing carries it forward.
|
|
57
55
|
|
|
58
56
|
## git
|
|
59
57
|
Branch and Pull/Merge Request conventions.
|