llm-orchestrator 1.6.0 → 1.7.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.
@@ -9,9 +9,13 @@
9
9
  "order": 1,
10
10
  "scope": "core",
11
11
  "reason": "The orchestration entrypoint/skill must be loaded before any planning or execution, on every task.",
12
- "applies_when": { "always": true },
12
+ "applies_when": {
13
+ "always": true
14
+ },
13
15
  "acceptance": [],
14
- "preferred_implementations": ["using-superpowers"],
16
+ "preferred_implementations": [
17
+ "using-superpowers"
18
+ ],
15
19
  "allowed_alternatives": [],
16
20
  "gap_declared_first": true,
17
21
  "degraded_mode_after_refusal": true
@@ -22,9 +26,13 @@
22
26
  "order": 2,
23
27
  "scope": "core",
24
28
  "reason": "Session/task memory must be recalled before planning so prior findings are not rediscovered.",
25
- "applies_when": { "always": true },
29
+ "applies_when": {
30
+ "always": true
31
+ },
26
32
  "acceptance": [],
27
- "preferred_implementations": ["mempalace"],
33
+ "preferred_implementations": [
34
+ "mempalace"
35
+ ],
28
36
  "allowed_alternatives": [],
29
37
  "gap_declared_first": true,
30
38
  "degraded_mode_after_refusal": true
@@ -35,9 +43,13 @@
35
43
  "order": 3,
36
44
  "scope": "core",
37
45
  "reason": "A memory checkpoint is required at session end and after any non-obvious finding.",
38
- "applies_when": { "always": true },
46
+ "applies_when": {
47
+ "always": true
48
+ },
39
49
  "acceptance": [],
40
- "preferred_implementations": ["mempalace"],
50
+ "preferred_implementations": [
51
+ "mempalace"
52
+ ],
41
53
  "allowed_alternatives": [],
42
54
  "gap_declared_first": true,
43
55
  "degraded_mode_after_refusal": true
@@ -48,9 +60,15 @@
48
60
  "order": 4,
49
61
  "scope": "phase",
50
62
  "reason": "Nontrivial planning, diagnosis, and tradeoffs need concise recorded evidence checkpoints.",
51
- "applies_when": { "nontrivial": true },
52
- "acceptance": ["decision-evidence-checkpoint"],
53
- "preferred_implementations": ["sequential-thinking"],
63
+ "applies_when": {
64
+ "nontrivial": true
65
+ },
66
+ "acceptance": [
67
+ "decision-evidence-checkpoint"
68
+ ],
69
+ "preferred_implementations": [
70
+ "sequential-thinking"
71
+ ],
54
72
  "allowed_alternatives": [],
55
73
  "gap_declared_first": true,
56
74
  "degraded_mode_after_refusal": true,
@@ -63,9 +81,13 @@
63
81
  "order": 5,
64
82
  "scope": "core",
65
83
  "reason": "The portable core communicates concise, complete contracts.",
66
- "applies_when": { "always": true },
84
+ "applies_when": {
85
+ "always": true
86
+ },
67
87
  "acceptance": [],
68
- "preferred_implementations": ["caveman"],
88
+ "preferred_implementations": [
89
+ "caveman"
90
+ ],
69
91
  "allowed_alternatives": [],
70
92
  "gap_declared_first": true,
71
93
  "degraded_mode_after_refusal": true
@@ -76,9 +98,15 @@
76
98
  "order": 6,
77
99
  "scope": "phase",
78
100
  "reason": "Shell phases use the configured output reduction wrapper without changing command semantics.",
79
- "applies_when": { "requires_shell": true },
80
- "acceptance": ["command-exit-status"],
81
- "preferred_implementations": ["rtk"],
101
+ "applies_when": {
102
+ "requires_shell": true
103
+ },
104
+ "acceptance": [
105
+ "command-exit-status"
106
+ ],
107
+ "preferred_implementations": [
108
+ "rtk"
109
+ ],
82
110
  "allowed_alternatives": [],
83
111
  "gap_declared_first": true,
84
112
  "degraded_mode_after_refusal": true
@@ -89,10 +117,23 @@
89
117
  "order": 7,
90
118
  "scope": "phase",
91
119
  "reason": "Any code, fix, update, or correctness/completeness review needs current versioned documentation, even for familiar libraries.",
92
- "applies_when": { "any_task_signals": ["code-change", "version-sensitive", "uncertain-library", "uncertain-platform"] },
93
- "acceptance": ["versioned-source"],
94
- "preferred_implementations": ["context7"],
95
- "allowed_alternatives": ["native-web"],
120
+ "applies_when": {
121
+ "any_task_signals": [
122
+ "code-change",
123
+ "version-sensitive",
124
+ "uncertain-library",
125
+ "uncertain-platform"
126
+ ]
127
+ },
128
+ "acceptance": [
129
+ "versioned-source"
130
+ ],
131
+ "preferred_implementations": [
132
+ "context7"
133
+ ],
134
+ "allowed_alternatives": [
135
+ "native-web"
136
+ ],
96
137
  "gap_declared_first": true,
97
138
  "degraded_mode_after_refusal": true
98
139
  },
@@ -102,10 +143,28 @@
102
143
  "order": 8,
103
144
  "scope": "core",
104
145
  "reason": "External/current facts, library or vendor behavior not in local docs, research-type tasks, and any claim about versions/prices/APIs need retrieved current sources, not recalled ones.",
105
- "applies_when": { "any_task_types": ["research"], "any_task_signals": ["external-facts", "current-facts", "version-sensitive", "uncertain-library", "uncertain-platform", "source-claims"] },
106
- "acceptance": ["source-provenance"],
107
- "preferred_implementations": ["exa-search"],
108
- "allowed_alternatives": ["native-web"],
146
+ "applies_when": {
147
+ "any_task_types": [
148
+ "research"
149
+ ],
150
+ "any_task_signals": [
151
+ "external-facts",
152
+ "current-facts",
153
+ "version-sensitive",
154
+ "uncertain-library",
155
+ "uncertain-platform",
156
+ "source-claims"
157
+ ]
158
+ },
159
+ "acceptance": [
160
+ "source-provenance"
161
+ ],
162
+ "preferred_implementations": [
163
+ "exa-search"
164
+ ],
165
+ "allowed_alternatives": [
166
+ "native-web"
167
+ ],
109
168
  "gap_declared_first": true,
110
169
  "degraded_mode_after_refusal": true
111
170
  },
@@ -115,10 +174,21 @@
115
174
  "order": 9,
116
175
  "scope": "phase",
117
176
  "reason": "Every completion claim needs a verification-before-completion pass.",
118
- "applies_when": { "any_phases": ["verification"] },
119
- "acceptance": ["verification-output"],
120
- "preferred_implementations": ["verification-before-completion"],
121
- "allowed_alternatives": ["superpowers-workflows", "project-test-runner"],
177
+ "applies_when": {
178
+ "any_phases": [
179
+ "verification"
180
+ ]
181
+ },
182
+ "acceptance": [
183
+ "verification-output"
184
+ ],
185
+ "preferred_implementations": [
186
+ "verification-before-completion"
187
+ ],
188
+ "allowed_alternatives": [
189
+ "superpowers-workflows",
190
+ "project-test-runner"
191
+ ],
122
192
  "gap_declared_first": true,
123
193
  "degraded_mode_after_refusal": true
124
194
  },
@@ -128,9 +198,13 @@
128
198
  "order": 10,
129
199
  "scope": "core",
130
200
  "reason": "Before any action, including a clarifying question, check whether an applicable skill already covers it.",
131
- "applies_when": { "always": true },
201
+ "applies_when": {
202
+ "always": true
203
+ },
132
204
  "acceptance": [],
133
- "preferred_implementations": ["skill-discovery"],
205
+ "preferred_implementations": [
206
+ "skill-discovery"
207
+ ],
134
208
  "allowed_alternatives": [],
135
209
  "gap_declared_first": true,
136
210
  "degraded_mode_after_refusal": true
@@ -141,9 +215,13 @@
141
215
  "order": 11,
142
216
  "scope": "core",
143
217
  "reason": "Search before asserting a tool or MCP is unavailable.",
144
- "applies_when": { "always": true },
218
+ "applies_when": {
219
+ "always": true
220
+ },
145
221
  "acceptance": [],
146
- "preferred_implementations": ["tool-search"],
222
+ "preferred_implementations": [
223
+ "tool-search"
224
+ ],
147
225
  "allowed_alternatives": [],
148
226
  "gap_declared_first": true,
149
227
  "degraded_mode_after_refusal": true
@@ -154,10 +232,16 @@
154
232
  "order": 12,
155
233
  "scope": "core",
156
234
  "reason": "Any question to the user goes through the harness's native question mechanism, batched into one question, at the decision point — never free text at the end of a message. Present in every harness; the fallback is a single explicit message with the same structure.",
157
- "applies_when": { "always": true },
235
+ "applies_when": {
236
+ "always": true
237
+ },
158
238
  "acceptance": [],
159
- "preferred_implementations": ["harness-native-question"],
160
- "allowed_alternatives": ["single-explicit-message"],
239
+ "preferred_implementations": [
240
+ "harness-native-question"
241
+ ],
242
+ "allowed_alternatives": [
243
+ "single-explicit-message"
244
+ ],
161
245
  "harness_mechanisms": {
162
246
  "claude": "AskUserQuestion",
163
247
  "codex": "request_user_input, else update_plan + one explicit question",
@@ -178,22 +262,90 @@
178
262
  "reason": "Any task whose domain is FRONTEND, or that creates, changes, reviews or audits UI or visual design, runs Impeccable: shape (or critique) before building, audit and polish before G5. Other design skills complement it; they never substitute for it silently.",
179
263
  "applies_when": {
180
264
  "any_of": [
181
- { "any_task_domains": ["frontend"] },
182
- { "any_task_signals": ["frontend", "ui", "web-ui", "visual-bug", "visual-design", "rendered-behavior", "ui-review", "design-system"] }
265
+ {
266
+ "any_task_domains": [
267
+ "frontend"
268
+ ]
269
+ },
270
+ {
271
+ "any_task_signals": [
272
+ "frontend",
273
+ "ui",
274
+ "web-ui",
275
+ "visual-bug",
276
+ "visual-design",
277
+ "rendered-behavior",
278
+ "ui-review",
279
+ "design-system"
280
+ ]
281
+ }
183
282
  ]
184
283
  },
185
- "acceptance": ["impeccable-pass"],
186
- "preferred_implementations": ["impeccable"],
284
+ "acceptance": [
285
+ "impeccable-pass"
286
+ ],
287
+ "preferred_implementations": [
288
+ "impeccable"
289
+ ],
187
290
  "allowed_alternatives": [],
188
291
  "exclusive_implementations": true,
189
- "complements": ["ui-ux-pro-max", "frontend-design", "design-system", "ui-styling", "web-design-guidelines"],
292
+ "complements": [
293
+ "ui-ux-pro-max",
294
+ "frontend-design",
295
+ "design-system",
296
+ "ui-styling",
297
+ "web-design-guidelines"
298
+ ],
190
299
  "build_note": "Build has no fixed command: after shape it is an ordinary /impeccable new-work request, or the targeted command the plan names (layout, typeset, colorize, animate, adapt, clarify, onboard, ...). craft is a deprecated alias and is not used.",
191
300
  "phase_commands": {
192
- "feature": { "plan": ["init", "shape"], "review": ["critique", "audit"], "verify": ["polish"] },
193
- "bug": { "evidence": ["audit"], "fix": ["harden"], "verify": ["audit"] },
194
- "refactor": { "analyze": ["audit"], "incremental": ["extract"], "review": ["audit", "polish"] },
195
- "review": { "analyze": ["critique", "audit"] },
196
- "investigation": { "evidence": ["critique", "audit"] }
301
+ "feature": {
302
+ "plan": [
303
+ "init",
304
+ "shape"
305
+ ],
306
+ "review": [
307
+ "critique",
308
+ "audit"
309
+ ],
310
+ "verify": [
311
+ "polish"
312
+ ]
313
+ },
314
+ "bug": {
315
+ "evidence": [
316
+ "audit"
317
+ ],
318
+ "fix": [
319
+ "harden"
320
+ ],
321
+ "verify": [
322
+ "audit"
323
+ ]
324
+ },
325
+ "refactor": {
326
+ "analyze": [
327
+ "audit"
328
+ ],
329
+ "incremental": [
330
+ "extract"
331
+ ],
332
+ "review": [
333
+ "audit",
334
+ "polish"
335
+ ]
336
+ },
337
+ "review": {
338
+ "analyze": [
339
+ "critique",
340
+ "audit"
341
+ ]
342
+ },
343
+ "investigation": {
344
+ "evidence": [
345
+ "critique",
346
+ "audit"
347
+ ]
348
+ }
197
349
  },
198
350
  "gap_declared_first": true,
199
351
  "degraded_mode_after_refusal": true
@@ -203,10 +355,67 @@
203
355
  "level": "required",
204
356
  "scope": "core",
205
357
  "reason": "Applicable workflow disciplines must be selected before task work.",
206
- "applies_when": { "any_task_types": ["feature", "bug", "investigation", "incident", "refactor", "review", "deployment", "research", "documentation", "config", "harness"] },
358
+ "applies_when": {
359
+ "any_task_types": [
360
+ "feature",
361
+ "bug",
362
+ "investigation",
363
+ "incident",
364
+ "refactor",
365
+ "review",
366
+ "deployment",
367
+ "research",
368
+ "documentation",
369
+ "config",
370
+ "harness"
371
+ ]
372
+ },
207
373
  "acceptance": [],
208
- "preferred_implementations": ["superpowers-workflows"],
209
- "allowed_alternatives": ["native-workflow-selection"]
374
+ "preferred_implementations": [
375
+ "superpowers-workflows"
376
+ ],
377
+ "allowed_alternatives": [
378
+ "native-workflow-selection"
379
+ ]
380
+ },
381
+ {
382
+ "id": "code.semantic_edit",
383
+ "level": "mandatory",
384
+ "order": 14,
385
+ "scope": "task",
386
+ "domain_conditional": true,
387
+ "reason": "Any task that locates or changes code works by symbol first: an overview of the file, the definition, every reference, and symbol-level edits across files. Reading and patching whole files is the fallback for small files, configuration and prose, not the default.",
388
+ "applies_when": {
389
+ "any_of": [
390
+ {
391
+ "any_task_types": [
392
+ "feature",
393
+ "bug",
394
+ "refactor",
395
+ "investigation",
396
+ "review",
397
+ "incident"
398
+ ]
399
+ },
400
+ {
401
+ "any_task_signals": [
402
+ "code",
403
+ "cross-file-edit",
404
+ "symbol-rename",
405
+ "find-references",
406
+ "code-navigation",
407
+ "large-codebase"
408
+ ]
409
+ }
410
+ ]
411
+ },
412
+ "acceptance": [],
413
+ "preferred_implementations": [
414
+ "serena"
415
+ ],
416
+ "allowed_alternatives": [],
417
+ "gap_declared_first": true,
418
+ "degraded_mode_after_refusal": true
210
419
  }
211
420
  ]
212
421
  }
@@ -136,13 +136,19 @@
136
136
  "id": "serena",
137
137
  "kind": "mcp",
138
138
  "capabilities": [
139
- "code.semantic_edit"
139
+ "code.semantic_edit",
140
+ "code.locate"
140
141
  ],
141
142
  "scope": "user",
142
- "source": "preferred semantic-edit implementation",
143
+ "source": "mandatory semantic code implementation (domain-conditional core)",
143
144
  "display_name": "Serena",
144
145
  "recommendation_kind": "product",
145
- "installable": true
146
+ "installable": true,
147
+ "install": "`uv tool install -p 3.13 serena-agent && serena init`, then `serena setup claude-code` or `serena setup codex`; any other harness: register `serena start-mcp-server` as an MCP server (client list in its docs)",
148
+ "source_url": "https://oraios.github.io/serena",
149
+ "license": "GPL-3.0-or-later (application), MIT (SolidLSP)",
150
+ "agent_note": "call its `initial_instructions` tool once before the first symbol call; then prefer `get_symbols_overview`, `find_symbol` and `find_referencing_symbols` over reading whole files",
151
+ "notes": "Symbol-level code tools over a language server: an overview of a file, a definition, every reference, and rename / replace / insert / safe-delete of a symbol across files. Worth it on a sizeable codebase, for cross-file edits and for \"who calls this\"; plain reads stay right for small files, configuration and prose. Subagents do not inherit its manual: each one calls `initial_instructions` first. Serena also ships optional `serena-hooks` (remind, activate, cleanup); its own docs call them alpha, and this package already sends the reminder from its flow gate, so do not install both."
146
152
  },
147
153
  {
148
154
  "id": "caveman-cavecrew-investigator",
@@ -0,0 +1,230 @@
1
+ {
2
+ "_attribution": "llm-orchestrator · created by Bogdan-Gabriel Torcescu · https://www.linkedin.com/in/bogdantorcescu/ · keep this credit when copying or deriving",
3
+ "version": 1,
4
+ "description": "When the flow gate reminds the orchestrator to use a tool. Each rule names the capability, the preferred tool, the tool or skill names that satisfy it, and the observed facts that make it due. A reminder is sent once per run, never blocks, and stops for a tool the user skipped (`llm-orchestrator tools skip <tool>`). Thresholds are this package's judgment, not a measurement.",
5
+ "rules": [
6
+ {
7
+ "id": "memory.recall",
8
+ "tool": "mempalace",
9
+ "level": "mandatory",
10
+ "satisfied_by": "mempalace.*(search|kg_query|kg_timeline|diary_read|traverse|get_drawer|list_drawers|find_tunnels|follow_tunnels|recall)",
11
+ "triggers": [
12
+ {
13
+ "kind": "work_calls",
14
+ "count": 3
15
+ }
16
+ ],
17
+ "why": "this run is working and memory has not been searched",
18
+ "use": "Search memory for this task before going further (`mempalace_search` with the topic, the project status and the user's preferences), so prior findings are not rediscovered.",
19
+ "per": "session"
20
+ },
21
+ {
22
+ "id": "workflow.systematic_debugging",
23
+ "tool": "superpowers-workflows",
24
+ "level": "mandatory",
25
+ "satisfied_by": "systematic-debugging|incident-(start|evidence)",
26
+ "triggers": [
27
+ {
28
+ "kind": "work_calls",
29
+ "count": 2,
30
+ "task_types": [
31
+ "BUG_FIX",
32
+ "INCIDENT"
33
+ ]
34
+ }
35
+ ],
36
+ "why": "a defect is being worked on",
37
+ "use": "Follow `systematic-debugging` (an incident: the `incident-start` → `-evidence` order): reproduce and collect evidence before any hypothesis, and no fix before the cause is shown."
38
+ },
39
+ {
40
+ "id": "reasoning.checkpoints",
41
+ "tool": "sequential-thinking",
42
+ "level": "mandatory",
43
+ "satisfied_by": "sequential.?thinking",
44
+ "triggers": [
45
+ {
46
+ "kind": "work_calls",
47
+ "count": 8,
48
+ "task_types": [
49
+ "INCIDENT",
50
+ "FEATURE",
51
+ "BUG_FIX",
52
+ "REFACTOR",
53
+ "INVESTIGATION",
54
+ "RESEARCH",
55
+ "REVIEW"
56
+ ]
57
+ }
58
+ ],
59
+ "why": "this run is past its first steps and no decision checkpoint has been recorded",
60
+ "use": "Record the plan, the diagnosis or the tradeoff as a short checkpoint (`sequentialthinking`): the decision, the assumptions and the evidence — a few thoughts, not a transcript."
61
+ },
62
+ {
63
+ "id": "research.retrieve",
64
+ "tool": "exa-search",
65
+ "level": "mandatory",
66
+ "satisfied_by": "(^|[^a-z])exa([^a-z]|$)",
67
+ "triggers": [
68
+ {
69
+ "kind": "tool",
70
+ "tools": [
71
+ "websearch",
72
+ "webfetch",
73
+ "web_search",
74
+ "web_fetch"
75
+ ]
76
+ },
77
+ {
78
+ "kind": "work_calls",
79
+ "count": 2,
80
+ "task_types": [
81
+ "RESEARCH"
82
+ ]
83
+ }
84
+ ],
85
+ "why": "this run rests on external or current facts",
86
+ "use": "Retrieve them with `exa` (and the `search` skill) and keep the source and its date for every claim; a native web search is the declared fallback, not the default."
87
+ },
88
+ {
89
+ "id": "docs.current",
90
+ "tool": "context7",
91
+ "level": "mandatory",
92
+ "satisfied_by": "context7(?!.*resolve)",
93
+ "triggers": [
94
+ {
95
+ "kind": "edit_path",
96
+ "pattern": "(^|/)(package\\.json|composer\\.json|requirements[^/]*\\.txt|pyproject\\.toml|go\\.mod|Cargo\\.toml|Gemfile|pubspec\\.yaml|Podfile|build\\.gradle(\\.kts)?|pom\\.xml)$"
97
+ },
98
+ {
99
+ "kind": "command",
100
+ "pattern": "(^|[\\s;&|])(npm|pnpm|yarn|bun)\\s+(install|add|i|upgrade|update)\\s+(-\\S+\\s+)*[^-\\s]|(^|[\\s;&|])(composer\\s+(require|update)|pip3?\\s+install|uv\\s+add|cargo\\s+add|go\\s+get|gem\\s+install|flutter\\s+pub\\s+add)\\s+(-\\S+\\s+)*[^-\\s]"
101
+ }
102
+ ],
103
+ "why": "a dependency is being added or changed",
104
+ "use": "Read the current documentation of that library version with `context7` before writing against its API — familiar libraries included."
105
+ },
106
+ {
107
+ "id": "ui.design_system",
108
+ "tool": "impeccable",
109
+ "level": "mandatory",
110
+ "satisfied_by": "impeccable",
111
+ "triggers": [
112
+ {
113
+ "kind": "edit_path",
114
+ "pattern": "\\.(tsx|jsx|vue|svelte|astro|css|scss|sass|less|html|htm|twig|erb)$|\\.blade\\.php$|\\.(storyboard|xib)$|(^|/)(components|screens|views|pages|layouts)/[^/]+\\.(swift|kt|dart)$",
115
+ "except": "[._-](test|spec|stories)\\.[a-z]+$|(^|/)(docs?|__tests__|tests?)/"
116
+ }
117
+ ],
118
+ "why": "this run edits interface code",
119
+ "use": "Run `/impeccable shape` (or `critique`) before building and `audit` + `polish` before review; other design skills complement it, never replace it."
120
+ },
121
+ {
122
+ "id": "workflow.tdd",
123
+ "tool": "superpowers-workflows",
124
+ "level": "mandatory",
125
+ "satisfied_by": "test-driven-development",
126
+ "triggers": [
127
+ {
128
+ "kind": "edit_path",
129
+ "pattern": "\\.(m?[jt]sx?|py|rb|go|rs|php|java|kt|swift|cs|dart)$",
130
+ "except": "[._-](test|spec)\\.[a-z]+$|(^|/)(tests?|__tests__|specs?)/|(^|/)test_[^/]+$|_test\\.[a-z]+$",
131
+ "task_types": [
132
+ "FEATURE",
133
+ "BUG_FIX"
134
+ ]
135
+ }
136
+ ],
137
+ "why": "production code is being edited in a feature or bug-fix run",
138
+ "use": "Follow `test-driven-development`: the failing test (the regression test, for a bug) exists and has been seen to fail before the change that makes it pass."
139
+ },
140
+ {
141
+ "id": "code.semantic_edit",
142
+ "tool": "serena",
143
+ "level": "mandatory",
144
+ "satisfied_by": "serena.*(symbol|find_declaration|find_implementations|replace_content|replace_in_files|get_diagnostics)",
145
+ "triggers": [
146
+ {
147
+ "kind": "code_searches",
148
+ "count": 6
149
+ },
150
+ {
151
+ "kind": "work_calls",
152
+ "count": 3,
153
+ "task_types": [
154
+ "REFACTOR"
155
+ ]
156
+ }
157
+ ],
158
+ "why": "this run is locating code by reading and searching whole files",
159
+ "use": "Use the symbol tools instead: `get_symbols_overview` for a file, `find_symbol` for a definition, `find_referencing_symbols` for every caller, and `rename_symbol` / `replace_symbol_body` for a change that crosses files. Call `initial_instructions` once first. Plain reads stay right for small files, configuration and prose."
160
+ },
161
+ {
162
+ "id": "browser.inspect",
163
+ "tool": "playwright",
164
+ "level": "recommended",
165
+ "satisfied_by": "playwright|browser_(navigate|snapshot|click|take_screenshot)|chrome-devtools",
166
+ "triggers": [
167
+ {
168
+ "kind": "edit_path",
169
+ "pattern": "\\.(tsx|jsx|vue|svelte|astro|css|scss|html)$",
170
+ "except": "[._-](test|spec|stories)\\.[a-z]+$",
171
+ "task_types": [
172
+ "BUG_FIX"
173
+ ]
174
+ }
175
+ ],
176
+ "why": "a defect in interface code is being fixed",
177
+ "use": "Reproduce it and confirm the fix in a real browser (`playwright`): a screenshot or a snapshot of the rendered state is the evidence, not the diff."
178
+ },
179
+ {
180
+ "id": "content.copywriting",
181
+ "tool": "copywriting",
182
+ "level": "recommended",
183
+ "satisfied_by": "copywriting|copy-editing|humanizer|product-marketing",
184
+ "triggers": [
185
+ {
186
+ "kind": "edit_path",
187
+ "pattern": "(^|/)(README|CHANGELOG|RELEASE[_-]?NOTES)[^/]*\\.(md|mdx|txt)$|(^|/)(docs?|content|blog|emails?|marketing|landing|locales?|i18n|fastlane/metadata)/.*\\.(md|mdx|txt|html)$"
188
+ }
189
+ ],
190
+ "why": "this run edits text people will read",
191
+ "use": "Use `copywriting` for new or rewritten text and `copy-editing` for existing text: diagnose first, no invented proof, keep the language and voice, a point edit stays a point edit."
192
+ },
193
+ {
194
+ "id": "verification.checks",
195
+ "tool": "verification-before-completion",
196
+ "level": "mandatory",
197
+ "satisfied_by": "verification-before-completion",
198
+ "triggers": [
199
+ {
200
+ "kind": "run_close",
201
+ "min_work_calls": 6,
202
+ "task_types": [
203
+ "FEATURE",
204
+ "BUG_FIX",
205
+ "REFACTOR",
206
+ "CONFIG",
207
+ "DEPLOY",
208
+ "INCIDENT"
209
+ ]
210
+ }
211
+ ],
212
+ "why": "this run is closing without a verification pass",
213
+ "use": "Run `verification-before-completion` before any claim of done: the command you ran, its exit status and the output that shows it."
214
+ },
215
+ {
216
+ "id": "memory.checkpoint",
217
+ "tool": "mempalace",
218
+ "level": "mandatory",
219
+ "satisfied_by": "mempalace.*(add_drawer|update_drawer|diary_write|checkpoint|kg_add|artifact_put|task_create)",
220
+ "triggers": [
221
+ {
222
+ "kind": "run_close",
223
+ "min_work_calls": 10
224
+ }
225
+ ],
226
+ "why": "this run is closing with no memory checkpoint",
227
+ "use": "Before the turn ends, file what the next session needs (`mempalace_add_drawer`): the decision, the non-obvious finding and what is left to do — never credentials or raw logs."
228
+ }
229
+ ]
230
+ }