@softure-ai/skills 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +4 -0
  2. package/WORKFLOW.md +30 -3
  3. package/package.json +1 -1
  4. package/skills/softure-archive/SKILL.md +76 -24
  5. package/skills/softure-archive/references/example-archive.md +106 -0
  6. package/skills/softure-code-review/SKILL.md +68 -18
  7. package/skills/softure-code-review/references/example-review.md +108 -0
  8. package/skills/softure-frame/SKILL.md +129 -40
  9. package/skills/softure-frame/references/diagnostic-lens.md +85 -0
  10. package/skills/softure-frame/references/examples.md +111 -0
  11. package/skills/softure-frame/references/pushback.md +38 -0
  12. package/skills/softure-impl-review/SKILL.md +138 -76
  13. package/skills/softure-impl-review/references/example-review.md +127 -0
  14. package/skills/softure-impl-review/references/rubric.md +120 -0
  15. package/skills/softure-impl-review/references/triage.md +124 -0
  16. package/skills/softure-implement/SKILL.md +116 -49
  17. package/skills/softure-implement/references/phase-commit.md +214 -0
  18. package/skills/softure-implement/references/worked-example.md +201 -0
  19. package/skills/softure-init/SKILL.md +59 -41
  20. package/skills/softure-init/references/example.md +96 -0
  21. package/skills/softure-init/references/templates.md +73 -0
  22. package/skills/softure-lesson/SKILL.md +47 -19
  23. package/skills/softure-lesson/references/examples.md +65 -0
  24. package/skills/softure-new/SKILL.md +100 -43
  25. package/skills/softure-new/references/example-change.md +149 -0
  26. package/skills/softure-new/references/placement.md +60 -0
  27. package/skills/softure-plan/SKILL.md +182 -50
  28. package/skills/softure-plan/references/plan-example.md +206 -0
  29. package/skills/softure-plan/references/progress-format.md +56 -2
  30. package/skills/softure-plan/references/questioning.md +162 -0
  31. package/skills/softure-plan-review/SKILL.md +211 -83
  32. package/skills/softure-plan-review/references/lenses.md +121 -0
  33. package/skills/softure-plan-review/references/review-example.md +184 -0
  34. package/skills/softure-prd/SKILL.md +130 -71
  35. package/skills/softure-prd/references/example-prd.md +233 -0
  36. package/skills/softure-prd/references/leak-lint.md +43 -0
  37. package/skills/softure-prd/references/prd-template.md +219 -0
  38. package/skills/softure-research/SKILL.md +73 -33
  39. package/skills/softure-research/references/example-research.md +106 -0
  40. package/skills/softure-research/references/fan-out.md +61 -0
  41. package/skills/softure-roadmap/SKILL.md +215 -65
  42. package/skills/softure-roadmap/references/example-roadmap.md +203 -0
  43. package/skills/softure-roadmap/references/interview.md +132 -0
  44. package/skills/softure-roadmap/references/slicing.md +118 -0
  45. package/skills/softure-rule-review/SKILL.md +83 -19
  46. package/skills/softure-rule-review/references/example-report.md +73 -0
  47. package/skills/softure-rule-review/references/scorecard.md +129 -0
  48. package/skills/softure-shape/SKILL.md +163 -53
  49. package/skills/softure-shape/references/example-shape-notes.md +192 -0
  50. package/skills/softure-shape/references/question-bank.md +248 -0
  51. package/skills/softure-worktree/SKILL.md +11 -3
  52. package/skills/softure-worktree/scripts/wt-integration.sh +27 -3
  53. package/skills/softure-worktree-manager/SKILL.md +24 -4
@@ -0,0 +1,248 @@
1
+ # Shape interview: question bank, pushback patterns and anti-patterns
2
+
3
+ Read this before the interview. It holds what to ask in each phase (greenfield and brownfield
4
+ variants), the option sets to offer, how to push back, and the two anti-pattern scripts. The
5
+ questions are starting points: rephrase them in the user's domain and in `language`. Never
6
+ paste a whole phase at once; one question per message.
7
+
8
+ ## The loop inside every phase
9
+
10
+ 1. **Open** with one sentence saying what this phase produces, then one open question. Let the
11
+ user make the first attempt in their own words.
12
+ 2. **Echo back** what you heard, split into labelled parts (see each phase). Missing or vague
13
+ parts become the next question.
14
+ 3. **Offer positions** where the answer is a choice: 2 to 4 real options, each with its
15
+ trade-off in a few words. Put the recommended one first and mark it "(Recommended)", with
16
+ the one-line reason. Add "Not decided yet" as the last option; picking it sends the point
17
+ to `## Open questions` with an owner.
18
+ 4. **Lock** the phase: a one-line summary per section, "Correct?". Write only after a yes.
19
+ 5. **Write** the sections of this phase into `shape-notes.md` and move on.
20
+
21
+ With a question tool (AskUserQuestion or similar), use it for step 3. Without one, number the
22
+ options in plain text so the user can answer "1".
23
+
24
+ `--auto`: there is no loop. For each phase, take what the inputs say, apply the same echo
25
+ split to find the gaps, and write `UNKNOWN: <what would answer it>` for each gap. A
26
+ recommended option may be written only when the inputs support it; record it under
27
+ `## Decisions (auto)`.
28
+
29
+ ## Phase 1: Problem and who
30
+
31
+ **Produces:** `## Problem`, `## Who it is for`; brownfield also `## Current system`.
32
+
33
+ Greenfield opener: "Let's start with the pain, not the product. Who has it, in what moment do
34
+ they feel it, and what does it cost them today?"
35
+
36
+ Echo split:
37
+ ```
38
+ Pain: <the problem in the user's words>
39
+ Person: <a role or a named person, never "users">
40
+ Moment: <the situation that triggers it>
41
+ Cost today: <time, money, errors, or stress, with a number if there is one>
42
+ Evidence: <quote, number, incident; or "none yet">
43
+ ```
44
+
45
+ Brownfield opener: "What exists today, who uses it, and what is missing or broken that makes
46
+ you want to change it?"
47
+
48
+ Echo split:
49
+ ```
50
+ Current system: <product or module, in one line>
51
+ Users today: <roles and rough count>
52
+ Gap: <what is wrong or missing>
53
+ Must preserve: <behaviour, data or integrations that must not break>
54
+ Evidence: <ticket, quote, metric; or "none yet">
55
+ ```
56
+
57
+ Option sets (offer when the first answer is fuzzy):
58
+ - *Kind of pain:* workflow friction / missing capability / data stuck in the wrong place /
59
+ decisions made blind / coordination overhead between people.
60
+ - *Kind of change (brownfield):* new capability / change to existing behaviour / replacing a
61
+ manual step / integration / performance or reliability.
62
+ - *Primary person:* one role inside one organisation / the same role across many
63
+ organisations / one named person (often the user) / a hobby niche.
64
+
65
+ Pushback prompts:
66
+ - Vague scope words ("everyone", "always", "a lot"): "Who specifically ran into this in the
67
+ last month, and what did they do?"
68
+ - No evidence: "How do we know? A quote, a support ticket, a number, or your own last week?"
69
+ "None yet" is an acceptable answer; record it as such.
70
+ - Premise check: "What would have to be true for this to be the wrong problem?"
71
+ - Insight: "If this is obvious, why does nobody solve it well today?" The answer is the
72
+ insight the PRD summary needs.
73
+ - Brownfield, no "must preserve": "If this shipped tomorrow and broke something, what would
74
+ you hear about first?"
75
+
76
+ ## Phase 2: Today and why now
77
+
78
+ **Produces:** `## Today`, `## Why now`.
79
+
80
+ - "Walk me through the last time this happened. What did you do, step by step?"
81
+ - "What do people use instead? Include a spreadsheet, a chat group, or doing nothing."
82
+ - "What changed recently that makes this worth doing now? What does waiting three months
83
+ cost?"
84
+
85
+ Pushback: if the workaround is cheap and painless, say so and ask whether the problem is big
86
+ enough. A real problem has a workaround that hurts.
87
+
88
+ ## Phase 3: Access
89
+
90
+ **Produces:** `## Access`. Every product has an access model, even "one person, one device".
91
+
92
+ Greenfield: "How does this person get in, and does anyone else see their data?" Options:
93
+ - account with sign-in (Recommended for anything multi-user or shared);
94
+ - local only, data stays on the device (Recommended for single-user, privacy-first tools);
95
+ - link or code, no account;
96
+ - none: single user, single device.
97
+
98
+ Follow-up when there is more than one person: "Does everyone see and do the same things, or
99
+ are there roles (for example owner, member, guest)?" Pushback: "What is the smallest access
100
+ model that still makes the first version useful?"
101
+
102
+ Brownfield: "How do people get in today, and which roles exist? Does this change touch
103
+ either?" When nothing changes, write "No change: current model preserved."
104
+
105
+ ## Phase 4: Appetite and the first flow
106
+
107
+ **Produces:** `## Appetite` and the `First flow` part of `## Solution sketch`.
108
+
109
+ - Appetite: "How much time is this worth to you? A fixed budget (days or weeks), not a
110
+ guess at how long it takes." Also ask about a hard deadline and whether this is full-time
111
+ or side work. Record all three.
112
+ - First flow (greenfield): "Describe the first session of a new user, step by step, until
113
+ they get the value."
114
+ - First flow (brownfield): "Describe how one existing user's day changes after this ships.
115
+ What do they do differently?"
116
+
117
+ Echo the flow as numbered steps. Then run the **scope-cost check** below.
118
+
119
+ ## Phase 5: Solution sketch and the core rule
120
+
121
+ **Produces:** the rest of `## Solution sketch`, `## Core rule`.
122
+
123
+ - Sketch: "What are the few elements this needs? Think boxes and arrows, not screens."
124
+ - Modules: when an element is generic (sign-in, mail, waitlist, billing, consent, feature
125
+ switches…), note "use `@softure-ai/<module>`" next to it.
126
+ - Core rule (greenfield): "In one sentence: what does the product decide or compute for the
127
+ user that a spreadsheet would not?"
128
+ - Core rule (brownfield): "What rule does the current system apply here, and does this change
129
+ add a rule, modify it, or leave rules alone (pure infrastructure)?" For a modification,
130
+ write the current rule first, then the change. For infrastructure work, write "No domain
131
+ rule change."
132
+
133
+ Run the **empty-CRUD check** below when the answer is only "users can add, edit and delete
134
+ things".
135
+
136
+ ## Phase 6: Rabbit holes, constraints and no-gos
137
+
138
+ **Produces:** `## Rabbit holes`, `## No-gos`; brownfield also
139
+ `## Constraints and preserved behaviour`.
140
+
141
+ - Rabbit holes: "Which part could quietly eat the whole budget?" For each, get a decision:
142
+ cut it, fake it (manual or hardcoded first), time-box it, or accept the risk.
143
+ - Constraints (brownfield): "Which integrations, exports or contracts must keep working?
144
+ What happens to existing data? Who relies on the current behaviour?" Record outcomes ("old
145
+ invoices keep their numbers"), not mechanisms.
146
+ - No-gos: offer 3 to 5 options **drawn from this domain** (multi-select), covering both kinds:
147
+ - capabilities we will not build now (for example: "no team workspaces", "no own payment
148
+ processing");
149
+ - quality levels we will not aim for now (for example: "no offline use", "no multi-region
150
+ availability");
151
+ - brownfield: parts of the existing system we will not touch ("no change to sign-in").
152
+
153
+ Technology choices ("no PHP", "avoid a monorepo") are **not** no-gos. Put them under
154
+ `## Forward notes`.
155
+
156
+ ## Phase 7: Success signals and guardrails
157
+
158
+ **Produces:** `## Success signals`.
159
+
160
+ - "What would you see, a month after release, that tells you it worked?" Turn the answer into
161
+ signal → threshold → how measured.
162
+ - "What must not get worse while we do this?" These are guardrails (privacy, response time a
163
+ user would notice, an existing flow). Brownfield guardrails always include the preserved
164
+ behaviour from phase 6.
165
+ - Scale probe: "Roughly how many people will use it in the first months: a handful, dozens,
166
+ thousands?" Then: "Does the core rule still hold at a hundred times that?" Record a
167
+ surprise as an open question or rabbit hole.
168
+
169
+ ## Scope-cost check (phase 4)
170
+
171
+ Run it when any of these is true:
172
+ - the first flow has more than about six user actions before the first value;
173
+ - it needs two or more external services or integrations before anything works;
174
+ - the user's own estimate, or yours, is larger than the appetite.
175
+
176
+ Name the expensive pieces. Never say only "this is big". Then offer:
177
+
178
+ 1. **Scope down (Recommended)**, with 2 or 3 concrete moves for this idea:
179
+ - greenfield: drop <piece> from the first version; replace <integration> with a manual
180
+ step; serve one user (often the user themselves) first;
181
+ - brownfield: one role or one use case first; keep the old path as a fallback and add the
182
+ new one beside it; leave <integration> for a later round.
183
+
184
+ The brownfield trap to name: a large change left half-done in an existing system is worse
185
+ than no change.
186
+ 2. **Keep the scope, grow the appetite.** Allowed, but only knowingly. Record one line under
187
+ `## Appetite`: `Accepted on <date>: <scope> needs about <N> weeks; owner accepted the
188
+ longer budget.` Do not repeat the warning after that.
189
+ 3. **Re-sketch the first flow** from scratch.
190
+
191
+ `--auto`: never grow the appetite. Record the expensive pieces and the scope-down moves under
192
+ `## Decisions (auto)` and leave the choice to the owner as an open question.
193
+
194
+ ## Empty-CRUD check (phase 5)
195
+
196
+ When the "core rule" is only storing and listing records, name it: a product that only
197
+ stores and lists what the user typed gives nothing a spreadsheet or a notes app would not.
198
+ Then offer the common shapes of a real rule, asking which one this product applies:
199
+
200
+ | Shape | The product… |
201
+ |---|---|
202
+ | Recommendation | suggests items from the user's state |
203
+ | Prioritisation | orders items by urgency or importance it infers |
204
+ | Classification | tags items by type, quality or risk |
205
+ | Validation | checks items against a rule and flags problems |
206
+ | Scoring | rates items so they can be compared |
207
+ | Workflow | moves items through states with rules for each transition |
208
+ | Calculation | derives a value from the user's inputs |
209
+ | Allocation | hands out a limited resource (slots, seats, stock) by a rule |
210
+
211
+ Options: one of the shapes (then return to the one-sentence question) / "Give me a moment" /
212
+ "It really is a plain list; record that". The last one is allowed: write
213
+ `UNKNOWN: core rule` and add a **blocking** open question. Brownfield infrastructure work
214
+ skips this check.
215
+
216
+ ## Reframing quality wishes (any phase)
217
+
218
+ Users often state a quality as a mechanism. Reflect it back as something an outside observer
219
+ could measure, and keep the mechanism under `## Forward notes`:
220
+
221
+ | User says | Write in shape notes |
222
+ |---|---|
223
+ | "cache the dashboard in Redis" | the dashboard shows within 1 s for a typical account |
224
+ | "add a spinner while it loads" | any wait over 2 s shows visible progress |
225
+ | "rate-limit the login per IP" | repeated wrong passwords from a script are stopped; a person who mistypes three times is not locked out |
226
+ | "store everything in Postgres" | (nothing: this is a stack choice, goes to `## Forward notes`) |
227
+
228
+ ## Sample exchange
229
+
230
+ How one turn should look: one question, a recommendation with its reason, and a pushback
231
+ that parks the solution instead of dropping it.
232
+
233
+ > **Agent:** Who feels this most: the studio manager who fixes the double bookings, or the
234
+ > members who turn up to a taken wheel?
235
+ > 1. The manager (Recommended: she spends the time, and she decides whether to adopt a tool)
236
+ > 2. The members
237
+ > 3. Both equally
238
+ > 4. Not decided yet
239
+ >
240
+ > **User:** 1. Honestly we just need an app with a calendar and push notifications.
241
+ >
242
+ > **Agent:** Noted under *Solution sketch*: calendar and notifications; we will come back to
243
+ > them. Before that: the last time a double booking happened, what exactly did the manager
244
+ > do, and how long did it take?
245
+
246
+ Bad turn, for contrast: "Tell me about the users, their goals, the main features, your
247
+ timeline and how you will measure success." Five questions at once, no recommendation, and
248
+ it invites a feature list before the problem is clear.
@@ -192,7 +192,9 @@ branch at least at READY (`git push -u origin HEAD`) — the container is
192
192
  reclaimed after inactivity, and a pushed branch is the copy that survives it.
193
193
  `<main>` still changes only by the merge on the owner's signal (point 7). The
194
194
  first push of a ref without an upstream may run the pre-push hook's full suite
195
- — minutes of silence, expected; never bypass it.
195
+ — minutes of silence, expected; never bypass it. Every push may also start the
196
+ project's CI on origin: push at READY and to sync before the merge, **never per
197
+ phase or per commit** (WORKFLOW §2, CI minutes).
196
198
 
197
199
  **6. READY.** A3.8 runs before A4, as locally (unless the cadence defers it).
198
200
  A5 merges `origin/<main>` (after `git fetch origin <main>`), not the local one.
@@ -674,7 +676,9 @@ the review file with every finding decided.
674
676
  #### A3.8 — Full integration suite
675
677
 
676
678
  **`integration.cadence: "roadmap"`** → skip this step: no stage `integration`,
677
- no run. READY says `integration: deferred to the roadmap run (cadence:
679
+ no run — a "finish" item (the roadmap's last, cross-item one) included: the
680
+ coordinator's M7 run, or the release when it covers the roadmap, is the
681
+ measurement. READY says `integration: deferred to the roadmap run (cadence:
678
682
  roadmap)`. The touched files' own integration tests still run if the project
679
683
  can run them cheaply; their result goes into READY as `own tests:`.
680
684
 
@@ -695,9 +699,13 @@ first). Output lines and exit codes:
695
699
  | --- | --- | --- |
696
700
  | `0` | green (flaky tests that passed on retry are listed as `flaky:`) | on to A3.9. A flaky test in a file your change touched is yours: remove the cause, don't raise retries |
697
701
  | `1` | red — or the run could not start | **`new-red:` lines are yours** (reds absent from `<main>`'s latest result). Fix them before READY (see it red first — the run itself is the red), commit `fix(<change-id>): integration — <what>` after full gates, run A3.8 again with the same name. **Reds already on `<main>`** (`red:` but not `new-red:`) are not the item's to fix: report them in READY; the coordinator queues them as their own row. When the command cannot tell new from old, treat every red as yours unless you show it red on `<main>` (scratchpad worktree detached at `origin/<main>`, the same script with name `<change-id>-baseline`) |
698
- | `75` | no result in time | nothing is lost — the run continues. Follow the printed link, wait for it to finish, read its result. Running A3.8 again starts a **new** run — do that only when the run itself failed to start or died. Never report READY without a result |
702
+ | `75` | no result in time | nothing is lost — the run continues. Follow the printed link, wait for it to finish, read its result. Running A3.8 again starts a **new** run — do that only when the run itself failed to start or died (`--fresh`). Never report READY without a result |
699
703
  | `78` | integration not configured | READY says `integration: not configured`; suggest configuring it in the report |
700
704
 
705
+ With `integration.lookup` configured, a green result already stored for the
706
+ same HEAD is reused (`stored green result reused`): the same commit is the
707
+ same code, so it is never tested twice.
708
+
701
709
  **Only documentation in the whole change** (the docs-only case, no test gate
702
710
  either) → no integration run; READY says `integration: n/a — documentation
703
711
  only`.
@@ -2,10 +2,15 @@
2
2
  # Run the project's full integration suite for the current HEAD, as configured in
3
3
  # context/workflow.json (`integration.remote`, else `integration.local`).
4
4
  #
5
- # wt-integration.sh <name> [--wait <minutes>] # default 30
5
+ # wt-integration.sh <name> [--wait <minutes>] [--fresh] # wait default 30
6
6
  #
7
7
  # Run it from inside the tree to test (cd <WT> && bash …/wt-integration.sh <change-id>).
8
8
  #
9
+ # `integration.lookup` (optional) — a project command that prints the stored result for
10
+ # INTEGRATION_SHA (same stdout lines as below) and exits 0 green · 1 red · 3 no result.
11
+ # A stored green result for the very commit is reused: no new run (the same commit is the
12
+ # same code). `--fresh` skips the lookup — for a run that died or could not start.
13
+ #
9
14
  # `integration.remote` — a project command that runs the suite elsewhere (CI) for the
10
15
  # committed HEAD and waits for the result. It receives INTEGRATION_NAME, INTEGRATION_SHA and
11
16
  # INTEGRATION_WAIT_MINUTES in the environment and must follow this contract:
@@ -25,20 +30,39 @@ SCRIPTS="$(cd "$(dirname "$0")" && pwd)"
25
30
  CFG() { python3 "$SCRIPTS/wt_config.py" "$@"; }
26
31
 
27
32
  NAME="${1:-}"
28
- [ -n "$NAME" ] || { sed -n '2,24p' "$0"; exit 2; }
33
+ [ -n "$NAME" ] || { sed -n '2,26p' "$0"; exit 2; }
29
34
  shift
30
35
  WAIT=30
31
- [ "${1:-}" = "--wait" ] && { WAIT="$2"; shift 2; }
36
+ FRESH=0
37
+ while [ $# -gt 0 ]; do
38
+ case "$1" in
39
+ --wait) WAIT="${2:-}"; shift 2 ;;
40
+ --fresh) FRESH=1; shift ;;
41
+ *) echo "unknown argument: $1" >&2; exit 2 ;;
42
+ esac
43
+ done
44
+ case "$WAIT" in ''|*[!0-9]*) echo "--wait: minutes as a number" >&2; exit 2 ;; esac
32
45
  case "$NAME" in *[!a-zA-Z0-9._/-]*) echo "name: letters, digits, . _ - / only" >&2; exit 2 ;; esac
33
46
 
34
47
  ROOT="$(git rev-parse --show-toplevel)"
35
48
  SHA="$(git rev-parse HEAD)"
36
49
  REMOTE="$(CFG integration.remote)"
37
50
  LOCAL="$(CFG integration.local)"
51
+ LOOKUP="$(CFG integration.lookup)"
38
52
 
39
53
  [ -z "$(git status --porcelain --untracked-files=no)" ] \
40
54
  || echo "⚠ uncommitted changes are NOT part of the run — commit ${SHA:0:8} is what gets tested" >&2
41
55
 
56
+ if [ -n "$LOOKUP" ] && [ "$FRESH" = 0 ] && { [ -n "$REMOTE" ] || [ -n "$LOCAL" ]; }; then
57
+ STORED="$( cd "$ROOT" && INTEGRATION_NAME="$NAME" INTEGRATION_SHA="$SHA" bash -c "$LOOKUP" 2>/dev/null )"
58
+ if [ $? = 0 ]; then
59
+ echo "▸ integration for ${SHA:0:8}: stored green result reused, no new run (integration.lookup)"
60
+ printf '%s\n' "$STORED"
61
+ echo "commit: $SHA"
62
+ exit 0
63
+ fi
64
+ fi
65
+
42
66
  if [ -n "$REMOTE" ]; then
43
67
  echo "▸ integration (remote) for ${SHA:0:8} as '$NAME': $REMOTE"
44
68
  ( cd "$ROOT" && INTEGRATION_NAME="$NAME" INTEGRATION_SHA="$SHA" INTEGRATION_WAIT_MINUTES="$WAIT" bash -c "$REMOTE" )
@@ -354,7 +354,7 @@ job), then:
354
354
  CronCreate(
355
355
  cron: "4,19,34,49 * * * *", # every 15 min, off the :00/:30 marks
356
356
  recurring: true,
357
- prompt: "Status for the owner + loop heartbeat (/softure-worktree-manager). If several of these fired while busy, do one. 1) bash <M>/wm-resume.sh + the latest commits of the worker branches. 2) Report as the status table (format under 'The report itself'); nothing moved → one line. 3) Resume the loop by the wm-resume actions (M0.1 table): MERGE → M5 and M6; NUDGE → SendMessage 'continue' (usage limit: after its reset time); RELAUNCH → claude stop + wm-launch.sh; wm-watch Monitor expired → re-arm with the IDs in flight; free slot and a ready item without collision → M1–M3. Work until the roadmap is done / done_code. 4) End → M7 (integration suite on <main>; close the roadmap and push <main> only if the roadmap header orders it; tag, release and deploy never — those are the owner's) and CronDelete this job. Write the report in the language and the times in the timezone from context/workflow.json.")
357
+ prompt: "Status for the owner + loop heartbeat (/softure-worktree-manager). If several of these fired while busy, do one. 1) bash <M>/wm-resume.sh + the latest commits of the worker branches. 2) Report as the status table (format under 'The report itself'); nothing moved → one line. 3) Resume the loop by the wm-resume actions (M0.1 table): MERGE → M5 and M6; NUDGE → SendMessage 'continue' (usage limit: after its reset time); RELAUNCH → claude stop + wm-launch.sh; wm-watch Monitor expired → re-arm with the IDs in flight; free slot and a ready item without collision → M1–M3. Work until the roadmap is done / done_code. 4) End → M7 (integration suite on <main>, unless the release covers it; close the roadmap and push <main> only if the roadmap header orders it; tag, release and deploy never — those are the owner's) and CronDelete this job. Write the report in the language and the times in the timezone from context/workflow.json.")
358
358
  ```
359
359
 
360
360
  This prompt is also the run's **heartbeat**: a worker stuck on a usage limit
@@ -516,8 +516,27 @@ don't start a new run over a moving one. With `integration.cadence:
516
516
  "roadmap"` this is the roadmap's only full run, so its reds are measured
517
517
  against the previous result on `<main>`, not per change.
518
518
 
519
+ **One run per commit, not more.** With `integration.lookup` configured, the
520
+ script reuses a green result already stored for the same `<main>` commit (for
521
+ example a run a worker or the release made on it) instead of starting a new
522
+ one — the same commit is the same code. `--fresh` only when a run died or
523
+ could not start.
524
+
525
+ **Covered by the release** — `integration.coveredByRelease: true` **and** the
526
+ header orders "Release: at the end" (the owner's approval, quoted): the
527
+ release pipeline runs the same full suite on the released commit, so a run
528
+ here would test that commit twice. Skip the run and write in the report:
529
+ `integration <main>: covered by the release pipeline on <sha>
530
+ (coveredByRelease)`. The release itself is still the owner's (or follows the
531
+ project's own rules) — this skill never starts it. Its red result is handled
532
+ as above: each red becomes a row and a worker. Without that header order, run
533
+ the suite here as usual.
534
+
519
535
  **Then close the roadmap — only when the header orders it** ("Archive roadmap:
520
- at the end") and the run above is green: `/softure-roadmap --close --auto`
536
+ at the end") and the run above is green (covered by the release → the gate
537
+ reads the release's stored green result for the final `<main>` commit,
538
+ WORKFLOW §5.2; no result yet → leave the close as the step after the release
539
+ and say so): `/softure-roadmap --close --auto`
521
540
  (WORKFLOW §5.2). A failing gate (a leftover folder in `context/changes/`, a
522
541
  row not settled) is fixed first — leftovers are archived, unsettled rows go to
523
542
  a worker — never forced. The close is a documents-only commit on `<main>`; if a
@@ -576,5 +595,6 @@ Everything else is decided and written into the report.
576
595
  anything is in flight (unless `--status-every 0`) and deleted at M7.
577
596
  - **No tag, no release, no deploy, ever** (while `release.owner` is true).
578
597
  **No push of `<main>`** — except the single push at M7 that the roadmap
579
- header orders; the full integration suite on `<main>` follows it and goes
580
- into the final report.
598
+ header orders; the full integration suite on `<main>` follows it (or the
599
+ release covers it, `integration.coveredByRelease`) and goes into the final
600
+ report.