@seanyao/roll 3.610.1 → 3.610.2

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 (73) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +5 -5
  3. package/dist/roll.mjs +9115 -11282
  4. package/package.json +3 -1
  5. package/skills/README.md +14 -1
  6. package/skills/docs/skill-authoring.md +66 -0
  7. package/skills/reports/skill-audit-summary.md +53 -0
  8. package/skills/roll-.changelog/SKILL.md +25 -443
  9. package/skills/roll-.changelog/references/full-contract.md +462 -0
  10. package/skills/roll-.clarify/SKILL.md +6 -4
  11. package/skills/roll-.dream/SKILL.md +26 -353
  12. package/skills/roll-.dream/references/full-contract.md +365 -0
  13. package/skills/roll-.echo/SKILL.md +6 -4
  14. package/skills/roll-.qa/SKILL.md +25 -236
  15. package/skills/roll-.qa/references/full-contract.md +256 -0
  16. package/skills/roll-.review/SKILL.md +6 -2
  17. package/skills/roll-brief/SKILL.md +6 -8
  18. package/skills/roll-build/SKILL.md +28 -864
  19. package/skills/roll-build/references/full-contract.md +883 -0
  20. package/skills/roll-debug/SKILL.md +26 -585
  21. package/skills/roll-debug/references/full-contract.md +607 -0
  22. package/skills/roll-design/SKILL.md +28 -903
  23. package/skills/roll-design/references/full-contract.md +923 -0
  24. package/skills/roll-doc/SKILL.md +25 -574
  25. package/skills/roll-doc/references/full-contract.md +594 -0
  26. package/skills/roll-doctor/SKILL.md +21 -2
  27. package/skills/roll-fix/SKILL.md +28 -621
  28. package/skills/roll-fix/references/full-contract.md +640 -0
  29. package/skills/roll-idea/SKILL.md +6 -2
  30. package/skills/roll-loop/SKILL.md +27 -543
  31. package/skills/roll-loop/references/full-contract.md +555 -0
  32. package/skills/roll-notes/SKILL.md +6 -2
  33. package/skills/roll-onboard/SKILL.md +6 -2
  34. package/skills/roll-peer/SKILL.md +27 -316
  35. package/skills/roll-peer/references/full-contract.md +329 -0
  36. package/skills/roll-propose/SKILL.md +6 -8
  37. package/skills/roll-review-pr/SKILL.md +6 -2
  38. package/skills/roll-sentinel/SKILL.md +26 -344
  39. package/skills/roll-sentinel/references/full-contract.md +363 -0
  40. package/skills/roll-spar/SKILL.md +27 -269
  41. package/skills/roll-spar/references/full-contract.md +288 -0
  42. package/skills/route-cases/skills.json +235 -0
  43. package/skills/scripts/audit-skills.mjs +272 -0
  44. package/skills/scripts/test-audit-skills.mjs +39 -0
  45. package/skills/tests/fixtures/skill-audit/block-skill/SKILL.md +12 -0
  46. package/skills/tests/fixtures/skill-audit/minimal-skill/SKILL.md +8 -0
  47. package/skills/tests/fixtures/skill-audit/quoted-skill/SKILL.md +10 -0
  48. package/skills/tests/fixtures/skill-audit/route-cases.json +21 -0
  49. package/skills/tests/fixtures/skill-audit/spoke-skill/SKILL.md +12 -0
  50. package/skills/tests/fixtures/skill-audit/spoke-skill/references/runbook.md +3 -0
  51. package/lib/i18n/slides.sh +0 -3
  52. package/lib/i18n/slides_build.sh +0 -38
  53. package/lib/i18n/slides_delete.sh +0 -19
  54. package/lib/i18n/slides_list.sh +0 -14
  55. package/lib/i18n/slides_logs.sh +0 -12
  56. package/lib/i18n/slides_new.sh +0 -15
  57. package/lib/i18n/slides_preview.sh +0 -14
  58. package/lib/i18n/slides_templates.sh +0 -7
  59. package/lib/slides/components/README.md +0 -123
  60. package/lib/slides/components/cards-2.html +0 -9
  61. package/lib/slides/components/cards-3.html +0 -9
  62. package/lib/slides/components/cards-4.html +0 -9
  63. package/lib/slides/components/compare.html +0 -22
  64. package/lib/slides/components/highlight.html +0 -9
  65. package/lib/slides/components/pipeline.html +0 -12
  66. package/lib/slides/components/plain.html +0 -7
  67. package/lib/slides/components/quote.html +0 -4
  68. package/lib/slides/components/timeline.html +0 -9
  69. package/lib/slides/templates/introduction-v3.html +0 -571
  70. package/lib/slides/templates/pitch.html +0 -0
  71. package/skills/roll-deck/SKILL.md +0 -296
  72. /package/skills/roll-debug/{injectable-bb.js → assets/injectable-bb.js} +0 -0
  73. /package/skills/roll-design/{ENGINEERING_CHECKLIST.md → references/engineering-checklist.md} +0 -0
@@ -3,372 +3,45 @@ hidden: true
3
3
  name: roll-.dream
4
4
  license: MIT
5
5
  allowed-tools: "Read, Glob, Grep, Bash(git:*, curl:*, claude:*), Write, Edit"
6
- description: |
7
- Nightly code and architecture health scan. Passively triggered by scheduler
8
- (cron or GitHub Actions), not invoked by users directly. Detects dead code,
9
- architectural drift from domain model, pruning candidates, emerging patterns,
10
- doc coverage gaps, and doc staleness (文档新鲜度).
11
- Outputs REFACTOR entries to .roll/backlog.md and a daily log to .roll/dream/.
12
- Distinct from roll-sentinel: sentinel monitors runtime behavior; dream reviews
13
- code structure and architectural health.
6
+ description: "Load when a scheduled or manual nightly architecture health scan should inspect code structure, dead code, doc staleness, and refactor candidates."
14
7
  ---
8
+ # Roll Dream
15
9
 
16
- # Roll Dream (Nightly Code Health Scan)
10
+ This hub keeps the routing boundary, hard gates, and execution skeleton in the initial context. Load the heavier runbook only when the task actually needs the detailed contract.
17
11
 
18
- > Follows the Architecture Constraints, Development Discipline, and Engineering
19
- > Common Sense defined in the project AGENTS.md.
12
+ ## Load
20
13
 
21
- **Passively triggered do not invoke manually.** Runs nightly via scheduler.
22
- Consolidates structural signals accumulated during the day, surfaces technical
23
- debt, and writes REFACTOR entries to BACKLOG. The human reviews the dream log
24
- in the morning brief.
14
+ Load when a scheduled or manual nightly architecture health scan should inspect code structure, dead code, doc staleness, and refactor candidates.
25
15
 
26
- ## Distinction from roll-sentinel
16
+ ## When Not to Use
27
17
 
28
- | | roll-sentinel | roll-.dream |
29
- |--|--------------|------------|
30
- | **Trigger** | Post-deploy, scheduled patrol | Nightly, fixed schedule |
31
- | **Target** | Runtime behavior (production) | Code structure (codebase) |
32
- | **Output** | FIX entries | REFACTOR entries + dream log |
33
- | **Question** | "Is the product working?" | "Is the code healthy?" |
18
+ - Runtime patrols; load roll-sentinel.
19
+ - Local web debugging; load roll-debug.
34
20
 
35
- ## Scan Logic
21
+ ## Read On Demand
36
22
 
37
- Run all scans every night. Each scan is independent.
23
+ - Read [the full contract](references/full-contract.md) before executing the workflow end to end, recovering from failures, or checking exact output templates.
24
+ - Keep this hub in context for trigger boundaries and hard gates.
38
25
 
39
- ### Scan 1 — Dead Code
26
+ ## Workflow Skeleton
40
27
 
41
- Find code that is defined but never referenced:
28
+ 1. Scan structure, dead code, drift, and docs.
29
+ 2. Classify findings as refactor/doc candidates.
30
+ 3. Write daily dream log and backlog candidates.
31
+ 4. Keep recommendations human-reviewed.
42
32
 
43
- ```bash
44
- # Unused exports (TypeScript/JS)
45
- grep -r "^export " src/ --include="*.ts" -l | while read f; do
46
- symbol=$(grep -o "export \(function\|const\|class\|type\|interface\) [A-Za-z]*" "$f" | awk '{print $NF}')
47
- # check if symbol appears anywhere else in the codebase
48
- done
33
+ ## Hard Gates
49
34
 
50
- # Unused files (no imports pointing to them)
51
- # Git: files not touched in 90+ days and not imported anywhere
52
- git log --since="90 days ago" --name-only --format="" | sort -u > /tmp/recently_touched
53
- ```
35
+ - Do not auto-activate scored findings.
36
+ - Fail loud if the dream skill or project context is missing.
54
37
 
55
- Flag: files or exports with zero references outside their own file.
38
+ ## Gotchas
56
39
 
57
- ### Scan 2 Architectural Drift
40
+ - Dream reviews code and architecture health, not live production behavior; use roll-sentinel for runtime patrols.
41
+ - Findings become human-reviewed backlog candidates; do not auto-activate refactors from scoring signals.
58
42
 
59
- Compare current code structure against the domain model in `.roll/domain/`:
43
+ ## Maintenance
60
44
 
61
- ```bash
62
- # Read context-map.md and ubiquitous-language.md if they exist
63
- # Check: do module/directory names match Bounded Context names?
64
- # Check: do cross-module imports respect Context boundaries?
65
- # Check: do any modules import directly across Context lines without ACL?
66
- ```
67
-
68
- Flag: modules that import directly from a different Bounded Context without
69
- an Anti-Corruption Layer, or module names that have diverged from the
70
- Ubiquitous Language.
71
-
72
- **Distinction from Scan 6C**: Scan 2 flags *import boundary violations* (cross-context coupling). Scan 6C flags *missing documentation entries* (module exists but has no entry in `.roll/domain/*.md`). Never double-flag — Scan 2 and Scan 6C are orthogonal checks.
73
-
74
- ### Scan 3 — Pruning Candidates
75
-
76
- Find over-engineering that can be simplified:
77
-
78
- ```bash
79
- # Abstractions with only one implementation
80
- grep -r "interface \|abstract class " src/ --include="*.ts" -l
81
-
82
- # Wrapper functions that do nothing but delegate
83
- # Config flags that are never toggled (always true or always false)
84
- # Error handling for paths that cannot occur
85
- ```
86
-
87
- Flag: interfaces with exactly one implementor, feature flags frozen to one
88
- value, wrapper layers with no logic.
89
-
90
- ### Scan 4 — Emerging Patterns
91
-
92
- Find repeated structures that warrant extraction:
93
-
94
- ```bash
95
- # Duplicated code blocks (>10 lines, similar structure)
96
- # Similar file structures across multiple modules
97
- # Repeated try/catch patterns with identical handling
98
- ```
99
-
100
- Flag: any pattern appearing 3+ times that could be extracted into a shared
101
- utility or convention.
102
-
103
- ### Scan 5 — Doc Coverage Check
104
-
105
- Check documentation structure against the conventions in `AGENTS.md § Documentation Conventions`.
106
-
107
- **Check A — BACKLOG Done stories missing guide/en/ docs:**
108
-
109
- Scan .roll/backlog.md for features with multiple ✅ Done stories. For each feature epic, check whether a corresponding `guide/en/<topic>.md` exists. If a feature has ≥3 Done stories and no guide doc, flag it.
110
-
111
- **Check B — guide/en/ files missing guide/zh/ translations:**
112
-
113
- ```bash
114
- for f in guide/en/*.md; do
115
- base=$(basename "$f")
116
- [ ! -f "guide/zh/$base" ] && echo "missing ZH: $base"
117
- done
118
- ```
119
-
120
- Flag any `guide/en/<topic>.md` that has no matching `guide/zh/<topic>.md`, provided the EN file has existed since before the most recent git tag (i.e., at least one release cycle old).
121
-
122
- **Check C — stray files in docs/ root (根目录散落文件):**
123
-
124
- ```bash
125
- find docs/ -maxdepth 1 -name '*.md' 2>/dev/null
126
- ```
127
-
128
- Flag any `.md` file directly in `docs/` root (allowed subdirs: `guide/`, `domain/`, `features/`, `practices/`, `briefs/`, `dream/`).
129
-
130
- **Check D — features.md Feature Coverage (US-DOC-009):**
131
-
132
- Dependency gate: skip when `.roll/features.md` does not exist.
133
-
134
- Parse .roll/backlog.md for all `### Feature: <name>` groups that contain ≥1 ✅ Done story. Parse `.roll/features.md` for Feature names. If any Feature group with Done stories is absent from `.roll/features.md`, the catalog is stale — flag as REFACTOR:
135
-
136
- ```markdown
137
- | REFACTOR-XXX | features.md 功能目录落后于 BACKLOG,N 个已完成功能区未收录,用户无法通过产品目录发现这些功能 — flagged by dream YYYY-MM-DD | 📋 Todo |
138
- ```
139
-
140
- The catalog is auto-updated by the release script (maintainer-private at `roll-meta/ops/release.sh`) at release time (Section 8 of roll-.changelog). Between releases, this check surfaces the coverage gap so it isn't silently skipped.
141
-
142
- **REFACTOR entry format for doc findings:**
143
-
144
- ```markdown
145
- | REFACTOR-XXX | docs: {具体缺口描述} — flagged by dream {YYYY-MM-DD} | 📋 Todo |
146
- ```
147
-
148
- **Dream log section** — add after existing sections:
149
-
150
- ```markdown
151
- ## 文档覆盖度
152
- - features.md 功能区覆盖:{N}/{M} 个已完成功能区已收录(缺失:{列表 或 "无"})
153
- {其他发现内容 或 "文档结构符合规范,无缺口。"}
154
- ```
155
-
156
- ### Scan 6 — 文档新鲜度 (Doc Freshness)
157
-
158
- **Dependency gate**: Skip Scan 6 entirely when `$roll-doc` (US-SKILL-008) is not yet deployed.
159
- Check: `[ -f "$ROLL_HOME/skills/roll-doc/SKILL.md" ]`. If absent, log "Scan 6 skipped — roll-doc not deployed" in the dream log and stop. No fallback.
160
-
161
- When deployed, each finding produces a REFACTOR entry with `$roll-doc` as execution hint:
162
- ```markdown
163
- | REFACTOR-XXX | docs: <description> — flagged by dream <date> (hint: $roll-doc) | 📋 Todo |
164
- ```
165
-
166
- #### Check A — Stale Docs
167
-
168
- Flag source files whose owning doc is >30 days stale:
169
-
170
- ```bash
171
- # For each file listed in .roll/features/*.md or README.md "## Files:" sections:
172
- # owner_doc_commit = git log -1 --format="%ci" -- <doc_file>
173
- # source_commit = git log -1 --format="%ci" -- <source_file>
174
- # lag_days = (source_commit - owner_doc_commit) in days
175
- # if lag_days > 30 AND doc contains at least one specific file path reference → flag
176
- ```
177
-
178
- The "owner doc" for a source file is the nearest `README.md` or `.roll/features/*.md` that lists the file path in a `## Files:` section. Skip docs that contain only conceptual descriptions (no specific file path references) — they cannot be objectively stale.
179
-
180
- #### Check B — Undocumented ENV Vars
181
-
182
- Flag environment variables that appear frequently in source but have no documentation:
183
-
184
- ```bash
185
- # Detect ENV var patterns in non-test source files:
186
- patterns=(
187
- 'process\.env\.[A-Z_]+' # Node.js
188
- 'os\.getenv\("[A-Z_]+"\)' # Python
189
- 'ENV\["[A-Z_]+"\]' # Ruby
190
- )
191
- # For each matched variable name:
192
- # count occurrences across all source files
193
- # if count >= 5 AND zero mentions in any .md file → flag
194
- ```
195
-
196
- Flag variables appearing ≥5× in source with zero mentions in any `.md`.
197
- "Other convention signals" (comment clusters, module structure templates) are explicitly deferred — too vague for deterministic detection.
198
-
199
- #### Check C — Existence Drift
200
-
201
- Find module directories that exist in code but are absent from architecture docs.
202
- This is distinct from Scan 2 (which checks *import violations*) — Scan 6C checks *documentation existence*:
203
-
204
- ```bash
205
- # Walk all non-excluded directories
206
- # For each dir with >= 3 non-hidden, non-.md source files:
207
- # check if any .roll/domain/*.md contains the directory name
208
- # if not found → flag as "existence drift"
209
- ```
210
-
211
- Exclusions: `node_modules/`, `.git/`, `dist/`, `build/`, `.shared/`, `docs/`, `tests/`.
212
-
213
- Flag directories with ≥3 source files and zero name-match in `.roll/domain/*.md`.
214
-
215
- #### Dream Log Section
216
-
217
- Add after `## 文档覆盖度` section:
218
-
219
- ```markdown
220
- ## 文档新鲜度
221
- - 滞后文档:{N} 个(超过 30 天未更新但绑定了代码文件)
222
- - 未记录 ENV 变量:{N} 个(出现 ≥5 次但无文档)
223
- - 架构文档缺失模块:{N} 个(≥3 个源文件的目录未出现在 .roll/domain/)
224
- {发现内容列表 或 "文档新鲜度良好,无滞后或缺失项。"}
225
- ```
226
-
227
- ### Scan 7 — Test Quality (rubric-driven)
228
-
229
- Apply the test-quality rubric at [guide/en/testing/quality-rubric.md](../../guide/en/testing/quality-rubric.md)
230
- (Chinese: [quality-rubric.zh.md](../../guide/zh/testing/quality-rubric.md)) against every file under
231
- `tests/`. The rubric publishes six anti-pattern categories (❶..❻); each has a
232
- **Signals** subsection that lists the matching heuristics. Scan 7 is purely a
233
- mechanical apply-the-rubric step — no new logic.
234
-
235
- **Per-category signals** — read from the rubric, summarized here:
236
-
237
- | Marker | Anti-pattern | Cheapest signal |
238
- |--------|--------------|-----------------|
239
- | ❶ | Hardcoded business data | Bare numeric / version / pricing literal inside `[[ "$output" == *"..."*` that matches a value also defined in `lib/` |
240
- | ❷ | Over-mocking real boundaries | `function git() {` / `function gh() {` overrides at the top of a unit test |
241
- | ❸ | Asserting implementation details | `grep '_internal_helper'` against output; assertions on `.roll/internal/*` paths |
242
- | ❹ | Fixture order coupling | `setup_file` writes shared mutable state without per-test reset |
243
- | ❺ | Testing private functions | Test sources a `lib/` file and calls a `_underscore_prefixed` helper directly |
244
- | ❻ | Asserting framework behavior | References to `$BATS_TEST_NUMBER`, `$BATS_SUITE_NAME` in assertions |
245
-
246
- **Rate cap — 每轮 ≤ 5 条 test-quality REFACTOR entries**. Same dream cycle may
247
- emit more than 5 findings; the dream scan must rank by severity (❶ > ❷ > ❸ > ❹ > ❺ > ❻
248
- and within a class, by occurrence count) and only persist the top 5 to BACKLOG.
249
- Remaining findings go into the dream log under `## 测试质量` but are not made
250
- into REFACTOR rows — this prevents the backlog from being drowned in test-debt
251
- on the first scan after rubric publication.
252
-
253
- **REFACTOR entry format** — same as other scans, but tagged with category:
254
-
255
- ```markdown
256
- | REFACTOR-XXX | docs: <one-line description> [test-quality:❶] — flagged by dream YYYY-MM-DD | 📋 Todo |
257
- ```
258
-
259
- The `[test-quality:❶]` (through `❻`) tag is **required** so downstream filtering
260
- (e.g. "show me all ❶ items still open") is mechanical. The marker character must
261
- match the rubric exactly.
262
-
263
- **Optional helper** — `bin/dream-test-quality-scan` is a thin shell script
264
- maintainers can invoke ad-hoc to dry-run the ❶ detector against a single file
265
- or directory (see `bin/dream-test-quality-scan --help`). The dream skill itself
266
- does **not** depend on the helper — Scan 7 is the AI agent applying the rubric.
267
- The helper just exists so a maintainer (or this skill's smoke test) can confirm
268
- the ❶ heuristic still finds known instances.
269
-
270
- #### Dream Log Section (Scan 7)
271
-
272
- Add after `## 文档新鲜度` section:
273
-
274
- ```markdown
275
- ## 测试质量
276
- - 本轮发现 {N} 项(写入 BACKLOG 的前 5 项见下;剩余 {M} 项仅记录于本日志)
277
- - ❶ 硬编码业务数据:{count}
278
- - ❷ 过度 mock:{count}
279
- - ❸ 断言实现细节:{count}
280
- - ❹ Fixture 顺序耦合:{count}
281
- - ❺ 测私有函数:{count}
282
- - ❻ 断言框架行为:{count}
283
- {命中文件列表 或 "未发现可治理的测试反模式。"}
284
- ```
285
-
286
- ## Output
287
-
288
- ### REFACTOR Entry (.roll/backlog.md)
289
-
290
- For each finding that warrants action, append one row to the `## ♻️ Refactor`
291
- section of .roll/backlog.md:
292
-
293
- ```markdown
294
- | REFACTOR-XXX | {one-line description} — flagged by dream {YYYY-MM-DD} | 📋 Todo |
295
- ```
296
-
297
- `{one-line description}` 写法:一句人话说清楚"什么地方需要改"以及"不改会怎样"。不写函数名、文件路径、技术方案。例:`loop 状态读取逻辑分散在多处,修一处容易遗漏另一处`。
298
-
299
- **Threshold**: only flag items where the fix would meaningfully reduce
300
- complexity or prevent future bugs. Ignore cosmetic issues.
301
-
302
- ### Dream Log (.roll/dream/YYYY-MM-DD.md)
303
-
304
- Always write a log, even when no REFACTOR entries are created. Output uses
305
- Chinese to align with roll-brief style — easier for the morning reader to scan
306
- without context switching:
307
-
308
- ```markdown
309
- # Dream Log {YYYY-MM-DD}
310
-
311
- ## 概要
312
- - 扫描项:死代码 / 架构漂移 / 裁剪候选 / 新兴模式 / 文档覆盖度 / 文档新鲜度
313
- - 发现:{N} 项标记,{M} 个 REFACTOR 条目已创建
314
-
315
- ## 死代码
316
- {发现内容 或 "未发现死代码。"}
317
-
318
- ## 架构漂移
319
- {发现内容 或 "未发现架构漂移。"}
320
-
321
- ## 裁剪候选
322
- {发现内容 或 "未发现可裁剪项。"}
323
-
324
- ## 新兴模式
325
- {发现内容 或 "未发现可提取的重复模式。"}
326
-
327
- ## 文档覆盖度
328
- {发现内容 或 "文档结构符合规范,无缺口。"}
329
-
330
- ## 文档新鲜度
331
- - 滞后文档:{N} 个
332
- - 未记录 ENV 变量:{N} 个
333
- - 架构文档缺失模块:{N} 个
334
- {发现内容 或 "文档新鲜度良好,无滞后或缺失项。"}
335
-
336
- ## 创建的 REFACTOR 条目
337
- {列表 或 "无。"}
338
- ```
339
-
340
- ### Commit
341
-
342
- 扫描完成后立即提交,把 dream 发现纳入 git 历史,便于晨报追溯:
343
-
344
- ```bash
345
- git add .roll/backlog.md .roll/dream/YYYY-MM-DD.md
346
- # 有 REFACTOR 条目时:
347
- git commit -m "chore: dream scan YYYY-MM-DD — {N} REFACTOR entries"
348
- # 无发现时:
349
- git commit -m "chore: dream scan YYYY-MM-DD — no findings"
350
- git push origin main
351
- ```
352
-
353
- - .roll/backlog.md 和 dream 日志必须在**同一个 commit** 里入库,避免出现"REFACTOR 已加但日志找不到"或反过来的撕裂状态
354
- - 写文件失败时不要执行 commit;保持工作区干净,由调度器负责重试
355
- - 仅 `.roll/backlog.md` 和 `.roll/dream/YYYY-MM-DD.md` 入 commit,不要顺带带入其他无关变更
356
-
357
- ## Scheduler Configuration
358
-
359
- roll-.dream runs **locally** — it reads the local codebase directly.
360
-
361
- ### Local cron (default)
362
-
363
- Installed automatically via `roll loop on` alongside roll-loop and roll-brief.
364
- The cron entry is generated using the configured agent — no manual cron editing needed.
365
-
366
- ## Failure Handling
367
-
368
- If the scan fails partway through:
369
-
370
- 1. Write partial results to `.roll/dream/YYYY-MM-DD.md` with a `## 状态:部分完成` header
371
- 2. Do not write incomplete REFACTOR entries to BACKLOG
372
- 3. Log the error to `~/.shared/roll/dream/error.log`
373
-
374
- The scheduler (not this skill) is responsible for retry and human notification.
45
+ - Description changes require updates in `route-cases/skills.json`.
46
+ - New observed failures should add a gotcha and the matching positive or negative route case.
47
+ - Heavy examples, templates, recovery paths, and deterministic snippets belong in `references/`, `assets/`, or `scripts/`, not in this hub.