@rune-kit/rune 2.4.0 → 2.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.
Files changed (49) hide show
  1. package/README.md +47 -17
  2. package/compiler/__tests__/executive-dashboards.test.js +285 -0
  3. package/compiler/__tests__/inject.test.js +128 -0
  4. package/compiler/__tests__/orchestrators.test.js +151 -0
  5. package/compiler/__tests__/org-templates.test.js +447 -0
  6. package/compiler/__tests__/pack-split.test.js +141 -1
  7. package/compiler/__tests__/parser.test.js +147 -1
  8. package/compiler/__tests__/scripts-bundling.test.js +10 -11
  9. package/compiler/__tests__/skill-index.test.js +218 -0
  10. package/compiler/__tests__/status.test.js +336 -0
  11. package/compiler/__tests__/templates.test.js +245 -0
  12. package/compiler/__tests__/visualizer.test.js +325 -0
  13. package/compiler/adapters/antigravity.js +18 -4
  14. package/compiler/bin/rune.js +90 -1
  15. package/compiler/doctor.js +283 -2
  16. package/compiler/emitter.js +490 -17
  17. package/compiler/parser.js +255 -4
  18. package/compiler/status.js +342 -0
  19. package/compiler/visualizer.js +622 -0
  20. package/hooks/hooks.json +12 -0
  21. package/hooks/intent-router/index.cjs +108 -0
  22. package/hooks/pre-tool-guard/index.cjs +177 -68
  23. package/package.json +63 -63
  24. package/skills/autopsy/SKILL.md +48 -1
  25. package/skills/brainstorm/SKILL.md +2 -0
  26. package/skills/completion-gate/SKILL.md +26 -1
  27. package/skills/context-engine/SKILL.md +93 -2
  28. package/skills/cook/SKILL.md +794 -648
  29. package/skills/debug/SKILL.md +409 -392
  30. package/skills/deploy/SKILL.md +2 -0
  31. package/skills/docs/SKILL.md +28 -3
  32. package/skills/fix/SKILL.md +284 -281
  33. package/skills/mcp-builder/SKILL.md +53 -1
  34. package/skills/onboard/SKILL.md +58 -1
  35. package/skills/perf/SKILL.md +34 -1
  36. package/skills/plan/SKILL.md +372 -342
  37. package/skills/preflight/SKILL.md +396 -360
  38. package/skills/retro/SKILL.md +95 -1
  39. package/skills/review/SKILL.md +535 -489
  40. package/skills/scope-guard/SKILL.md +1 -0
  41. package/skills/scout/SKILL.md +1 -0
  42. package/skills/sentinel/SKILL.md +353 -299
  43. package/skills/sentinel/references/policy-driven-constraints.md +424 -0
  44. package/skills/session-bridge/SKILL.md +58 -2
  45. package/skills/session-bridge/references/evolutionary-memory-patterns.md +312 -0
  46. package/skills/team/SKILL.md +16 -1
  47. package/skills/test/SKILL.md +587 -585
  48. package/skills/verification/SKILL.md +1 -0
  49. package/skills/watchdog/SKILL.md +2 -0
@@ -9,6 +9,8 @@ metadata:
9
9
  model: sonnet
10
10
  group: delivery
11
11
  tools: "Read, Write, Edit, Bash, Glob, Grep"
12
+ emit: deploy.complete
13
+ listen: security.passed, tests.passed
12
14
  ---
13
15
 
14
16
  # deploy
@@ -3,7 +3,7 @@ name: docs
3
3
  description: Auto-generate and maintain project documentation. Creates README, API docs, architecture docs, changelogs, and keeps them in sync with code changes. The "docs are never outdated" skill.
4
4
  metadata:
5
5
  author: runedev
6
- version: "0.2.0"
6
+ version: "0.3.0"
7
7
  layer: L2
8
8
  model: sonnet
9
9
  group: delivery
@@ -174,9 +174,32 @@ Never silently remove doc content. If code was deleted, mark the doc section as
174
174
 
175
175
  Delegate to `rune:git changelog` to produce a changelog entry from commits since last docs update.
176
176
 
177
- #### Step 4 — Report
177
+ #### Step 4 — Cross-Doc Consistency Pass
178
178
 
179
- Show user: what was updated, what was added, what was flagged for review.
179
+ > From gstack (garrytan/gstack, 50.9k★): "Cross-document consistency prevents the #2 docs problem: docs that exist but contradict each other."
180
+
181
+ After updating any doc, verify consistency across all project documentation:
182
+
183
+ | Check | Files | What to Compare |
184
+ |-------|-------|----------------|
185
+ | **Version numbers** | README, CLAUDE.md, package.json, CHANGELOG | Must all match current version |
186
+ | **Feature lists** | README, landing page, CLAUDE.md | Same features listed (may differ in detail level) |
187
+ | **Stats** | README, CLAUDE.md, landing page, dashboard | Skill count, test count, signal count must match |
188
+ | **Commands** | README, CLAUDE.md, docs/ | Same commands with same flags |
189
+ | **Tech stack** | README, ARCHITECTURE.md, CLAUDE.md | Consistent framework/library references |
190
+
191
+ ```
192
+ Cross-Doc Consistency:
193
+ - [x] README.md ↔ CLAUDE.md: versions match, commands match
194
+ - [x] README.md ↔ docs/index.html: stats match, features match
195
+ - [ ] README.md says "61 skills" but CLAUDE.md says "59" → FIX CLAUDE.md
196
+ ```
197
+
198
+ **Fix inconsistencies immediately** — don't just report them. Update the stale doc to match the source of truth (usually the code or the most recently updated doc).
199
+
200
+ #### Step 5 — Report
201
+
202
+ Show user: what was updated, what was added, what was flagged for review. Include Cross-Doc Consistency results.
180
203
 
181
204
  ### API Mode
182
205
 
@@ -316,6 +339,8 @@ Docs Update Report:
316
339
  | API docs with wrong request/response shapes | HIGH | Extract from Zod/Pydantic/TypeScript types, not from memory |
317
340
  | Missing Quick Start section | MEDIUM | Constraint 4: every README has Quick Start |
318
341
  | Changelog with orphan PR links | LOW | Validate PR numbers exist before linking |
342
+ | Cross-document inconsistency (README says X, CLAUDE.md says Y) | HIGH | Step 7: Cross-Doc Consistency Pass — verify stats, versions, and feature lists match across all docs |
343
+ | Updating one doc but not others (stats drift) | HIGH | After any doc update, sweep all related docs for stale stats — especially README ↔ CLAUDE.md ↔ landing page |
319
344
 
320
345
  ## Done When
321
346