@rune-kit/rune 2.3.0 → 2.3.1
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 +395 -389
- package/compiler/__tests__/tier-override.test.js +158 -0
- package/compiler/adapters/antigravity.js +3 -8
- package/compiler/adapters/codex.js +3 -8
- package/compiler/adapters/cursor.js +3 -8
- package/compiler/adapters/generic.js +3 -8
- package/compiler/adapters/openclaw.js +4 -9
- package/compiler/adapters/opencode.js +3 -8
- package/compiler/adapters/windsurf.js +3 -8
- package/compiler/bin/rune.js +34 -1
- package/compiler/emitter.js +94 -5
- package/compiler/transforms/branding.js +10 -3
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/VISION.md +3 -3
- package/docs/guides/index.html +14 -14
- package/docs/index.html +7 -7
- package/docs/skills/index.html +832 -832
- package/extensions/ai-ml/PACK.md +7 -0
- package/extensions/content/PACK.md +7 -0
- package/extensions/mobile/PACK.md +9 -9
- package/extensions/zalo/PACK.md +9 -0
- package/package.json +2 -2
- package/skills/audit/SKILL.md +526 -529
- package/skills/ba/SKILL.md +349 -351
- package/skills/completion-gate/SKILL.md +260 -263
- package/skills/context-engine/SKILL.md +0 -6
- package/skills/cook/SKILL.md +2 -11
- package/skills/debug/SKILL.md +392 -394
- package/skills/deploy/references/post-deploy-integration.md +192 -0
- package/skills/fix/SKILL.md +281 -282
- package/skills/onboard/SKILL.md +0 -4
- package/skills/plan/references/completeness-scoring.md +0 -1
- package/skills/plan/references/outcome-block.md +0 -1
- package/skills/plan/references/workflow-registry.md +0 -1
- package/skills/preflight/SKILL.md +360 -365
- package/skills/rescue/SKILL.md +1 -0
- package/skills/research/SKILL.md +149 -150
- package/skills/review/SKILL.md +489 -495
- package/skills/sentinel/SKILL.md +0 -11
- package/skills/sentinel/references/destructive-commands.md +0 -1
- package/skills/sentinel/references/skill-content-guard.md +0 -1
- package/skills/session-bridge/SKILL.md +0 -4
- package/skills/skill-router/{SKILL.md → skill.md} +446 -397
- package/skills/team/SKILL.md +1 -2
- package/skills/test/SKILL.md +585 -593
- package/skills/watchdog/references/webhook-health-checks.md +243 -0
package/skills/rescue/SKILL.md
CHANGED
|
@@ -40,6 +40,7 @@ Legacy refactoring orchestrator for safely modernizing messy codebases. Rescue r
|
|
|
40
40
|
- `session-bridge` (L3): save rescue state between sessions
|
|
41
41
|
- `onboard` (L2): generate context for unfamiliar legacy project
|
|
42
42
|
- `dependency-doctor` (L3): audit dependencies in legacy project
|
|
43
|
+
- `context-pack` (L3): create structured handoff briefings before spawning subagents
|
|
43
44
|
- `neural-memory` | Phase start + phase end | Recall past refactoring patterns, capture new ones
|
|
44
45
|
|
|
45
46
|
## Called By (inbound)
|
package/skills/research/SKILL.md
CHANGED
|
@@ -1,150 +1,149 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: research
|
|
3
|
-
description: Web search and external knowledge lookup. Gathers data on technologies, libraries, best practices, and competitor solutions.
|
|
4
|
-
metadata:
|
|
5
|
-
author: runedev
|
|
6
|
-
version: "0.3.0"
|
|
7
|
-
layer: L3
|
|
8
|
-
model: haiku
|
|
9
|
-
group: knowledge
|
|
10
|
-
tools: "Read, Glob, Grep, WebFetch, WebSearch"
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# research
|
|
14
|
-
|
|
15
|
-
## Purpose
|
|
16
|
-
|
|
17
|
-
Web research utility. Receives a research question, executes targeted searches, deep-dives into top results, and returns structured findings with sources. Stateless — no memory between calls.
|
|
18
|
-
|
|
19
|
-
## Calls (outbound)
|
|
20
|
-
|
|
21
|
-
None — pure L3 utility using `WebSearch` and `WebFetch` tools directly.
|
|
22
|
-
|
|
23
|
-
## Called By (inbound)
|
|
24
|
-
|
|
25
|
-
- `plan` (L2): external knowledge for architecture decisions
|
|
26
|
-
- `brainstorm` (L2): data for informed ideation
|
|
27
|
-
- `marketing` (L2): competitor analysis, SEO data
|
|
28
|
-
- `hallucination-guard` (L3): verify package existence on npm/pypi
|
|
29
|
-
- `autopsy` (L2): research best practices for legacy patterns
|
|
30
|
-
|
|
31
|
-
## Execution
|
|
32
|
-
|
|
33
|
-
### Input
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
research_question: string — what to research
|
|
37
|
-
focus: string (optional) — narrow the scope (e.g., "security", "performance")
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Step 1 — Formulate Queries
|
|
41
|
-
|
|
42
|
-
Generate 2-3 targeted search queries from the research question. Vary phrasing to cover different angles:
|
|
43
|
-
- Primary: direct question as search terms
|
|
44
|
-
- Secondary: "[topic] best practices 2026" or "[topic] vs alternatives"
|
|
45
|
-
- Tertiary: "[topic] example" or "[topic] tutorial" if implementation detail needed
|
|
46
|
-
|
|
47
|
-
### Step 2 — Search (Minimum 3 Complementary Sources)
|
|
48
|
-
|
|
49
|
-
<HARD-GATE>
|
|
50
|
-
Every research conclusion MUST be backed by at minimum 3 complementary sources from DIFFERENT source types.
|
|
51
|
-
Single-source conclusions are flagged as `low` confidence regardless of source authority.
|
|
52
|
-
</HARD-GATE>
|
|
53
|
-
|
|
54
|
-
Call `WebSearch` for each query. Collect result titles, URLs, and snippets. Identify the top 3-5 most relevant URLs prioritizing **source diversity**:
|
|
55
|
-
|
|
56
|
-
| Source Type | Examples | Why |
|
|
57
|
-
|-------------|----------|-----|
|
|
58
|
-
| **Official docs** | Framework docs, API reference, RFC | Authoritative but may lag behind reality |
|
|
59
|
-
| **Community** | Stack Overflow, GitHub Issues, Reddit | Real-world pain points, edge cases |
|
|
60
|
-
| **Technical blogs** | Dev.to, Medium engineering blogs, personal blogs | Practical experience, tutorials |
|
|
61
|
-
| **Repositories** | GitHub repos, npm packages, example code | Working implementations |
|
|
62
|
-
|
|
63
|
-
**Selection rules:**
|
|
64
|
-
- Source authority (official docs > major blogs > personal blogs)
|
|
65
|
-
- Recency (prefer 2025-2026)
|
|
66
|
-
- Relevance to the query
|
|
67
|
-
- **Diversity: never select 3+ URLs from the same domain** — spread across source types
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
| `
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
- **
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- [finding] — [source URL]
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
|
134
|
-
|
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
~300-800 tokens input, ~200-500 tokens output. Haiku. Fast and cheap.
|
|
1
|
+
---
|
|
2
|
+
name: research
|
|
3
|
+
description: Web search and external knowledge lookup. Gathers data on technologies, libraries, best practices, and competitor solutions.
|
|
4
|
+
metadata:
|
|
5
|
+
author: runedev
|
|
6
|
+
version: "0.3.0"
|
|
7
|
+
layer: L3
|
|
8
|
+
model: haiku
|
|
9
|
+
group: knowledge
|
|
10
|
+
tools: "Read, Glob, Grep, WebFetch, WebSearch"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# research
|
|
14
|
+
|
|
15
|
+
## Purpose
|
|
16
|
+
|
|
17
|
+
Web research utility. Receives a research question, executes targeted searches, deep-dives into top results, and returns structured findings with sources. Stateless — no memory between calls.
|
|
18
|
+
|
|
19
|
+
## Calls (outbound)
|
|
20
|
+
|
|
21
|
+
None — pure L3 utility using `WebSearch` and `WebFetch` tools directly.
|
|
22
|
+
|
|
23
|
+
## Called By (inbound)
|
|
24
|
+
|
|
25
|
+
- `plan` (L2): external knowledge for architecture decisions
|
|
26
|
+
- `brainstorm` (L2): data for informed ideation
|
|
27
|
+
- `marketing` (L2): competitor analysis, SEO data
|
|
28
|
+
- `hallucination-guard` (L3): verify package existence on npm/pypi
|
|
29
|
+
- `autopsy` (L2): research best practices for legacy patterns
|
|
30
|
+
|
|
31
|
+
## Execution
|
|
32
|
+
|
|
33
|
+
### Input
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
research_question: string — what to research
|
|
37
|
+
focus: string (optional) — narrow the scope (e.g., "security", "performance")
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Step 1 — Formulate Queries
|
|
41
|
+
|
|
42
|
+
Generate 2-3 targeted search queries from the research question. Vary phrasing to cover different angles:
|
|
43
|
+
- Primary: direct question as search terms
|
|
44
|
+
- Secondary: "[topic] best practices 2026" or "[topic] vs alternatives"
|
|
45
|
+
- Tertiary: "[topic] example" or "[topic] tutorial" if implementation detail needed
|
|
46
|
+
|
|
47
|
+
### Step 2 — Search (Minimum 3 Complementary Sources)
|
|
48
|
+
|
|
49
|
+
<HARD-GATE>
|
|
50
|
+
Every research conclusion MUST be backed by at minimum 3 complementary sources from DIFFERENT source types.
|
|
51
|
+
Single-source conclusions are flagged as `low` confidence regardless of source authority.
|
|
52
|
+
</HARD-GATE>
|
|
53
|
+
|
|
54
|
+
Call `WebSearch` for each query. Collect result titles, URLs, and snippets. Identify the top 3-5 most relevant URLs prioritizing **source diversity**:
|
|
55
|
+
|
|
56
|
+
| Source Type | Examples | Why |
|
|
57
|
+
|-------------|----------|-----|
|
|
58
|
+
| **Official docs** | Framework docs, API reference, RFC | Authoritative but may lag behind reality |
|
|
59
|
+
| **Community** | Stack Overflow, GitHub Issues, Reddit | Real-world pain points, edge cases |
|
|
60
|
+
| **Technical blogs** | Dev.to, Medium engineering blogs, personal blogs | Practical experience, tutorials |
|
|
61
|
+
| **Repositories** | GitHub repos, npm packages, example code | Working implementations |
|
|
62
|
+
|
|
63
|
+
**Selection rules:**
|
|
64
|
+
- Source authority (official docs > major blogs > personal blogs)
|
|
65
|
+
- Recency (prefer 2025-2026)
|
|
66
|
+
- Relevance to the query
|
|
67
|
+
- **Diversity: never select 3+ URLs from the same domain** — spread across source types
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Step 3 — Deep Dive
|
|
71
|
+
|
|
72
|
+
Call `WebFetch` on the top 3-5 URLs identified in Step 2. Hard limit: **max 5 WebFetch calls** per research invocation. For each fetched page:
|
|
73
|
+
- Extract key facts, API signatures, code examples
|
|
74
|
+
- Note the source URL and publication date if visible
|
|
75
|
+
- Tag the source type (official/community/blog/repo) for Step 4 triangulation
|
|
76
|
+
|
|
77
|
+
### Step 4 — Synthesize (Triangulation)
|
|
78
|
+
|
|
79
|
+
Across all fetched content, **triangulate** — don't just aggregate:
|
|
80
|
+
- Identify points of consensus across sources (≥3 sources = strong signal)
|
|
81
|
+
- Flag any conflicting information explicitly (e.g., "Source A says X, Source B says Y")
|
|
82
|
+
- Check if conflicts are temporal (old vs new info) or genuine disagreement
|
|
83
|
+
- Assign confidence using source diversity:
|
|
84
|
+
|
|
85
|
+
| Confidence | Criteria |
|
|
86
|
+
|------------|----------|
|
|
87
|
+
| `high` | 3+ sources from different types agree |
|
|
88
|
+
| `medium` | 2 sources agree, or 3+ from same type |
|
|
89
|
+
| `low` | Single source, or sources conflict without resolution |
|
|
90
|
+
| `unverified` | No sources found — report this explicitly, NEVER fabricate |
|
|
91
|
+
|
|
92
|
+
### Step 5 — Report
|
|
93
|
+
|
|
94
|
+
Return structured findings in the output format below.
|
|
95
|
+
|
|
96
|
+
## Constraints
|
|
97
|
+
|
|
98
|
+
- Always cite source URL for every finding
|
|
99
|
+
- Flag conflicting information — never silently pick one side
|
|
100
|
+
- Max 5 WebFetch calls per invocation
|
|
101
|
+
- If no useful results found, report that explicitly rather than fabricating
|
|
102
|
+
|
|
103
|
+
## Output Format
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
## Research Results: [Query]
|
|
107
|
+
- **Sources fetched**: [n]
|
|
108
|
+
- **Confidence**: high | medium | low
|
|
109
|
+
|
|
110
|
+
### Key Findings
|
|
111
|
+
- [finding] — [source URL]
|
|
112
|
+
- [finding] — [source URL]
|
|
113
|
+
|
|
114
|
+
### Conflicts / Caveats
|
|
115
|
+
- [Source A] says X. [Source B] says Y. Recommend verifying against [authority].
|
|
116
|
+
|
|
117
|
+
### Code Examples
|
|
118
|
+
```[lang]
|
|
119
|
+
[relevant snippet]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Recommendations
|
|
123
|
+
- [actionable suggestion based on findings]
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Sharp Edges
|
|
127
|
+
|
|
128
|
+
Known failure modes for this skill. Check these before declaring done.
|
|
129
|
+
|
|
130
|
+
| Failure Mode | Severity | Mitigation |
|
|
131
|
+
|---|---|---|
|
|
132
|
+
| Fabricating findings when no useful results found | CRITICAL | Constraint: report "no useful results found" explicitly — never invent citations |
|
|
133
|
+
| Reporting conflicting sources without flagging the conflict | HIGH | Constraint: flag conflicting information explicitly, never silently pick one side |
|
|
134
|
+
| Assigning "high" confidence from a single source | MEDIUM | High = 3+ sources agree; 1-2 sources = medium confidence |
|
|
135
|
+
| Exceeding 5 WebFetch calls per invocation | MEDIUM | Hard limit: prioritize top 3-5 URLs from search, fetch only the most relevant |
|
|
136
|
+
| Single-source conclusions presented as fact | HIGH | HARD-GATE: minimum 3 complementary sources from different source types. Single source = `low` confidence |
|
|
137
|
+
| All sources from same domain (e.g., 3 Stack Overflow links) | MEDIUM | Source diversity rule: never 3+ URLs from the same domain. Spread across official/community/blog/repo |
|
|
138
|
+
|
|
139
|
+
## Done When
|
|
140
|
+
|
|
141
|
+
- 2-3 search queries formulated and executed
|
|
142
|
+
- Top 3-5 URLs identified and fetched (max 5 WebFetch calls)
|
|
143
|
+
- Conflicting information between sources explicitly flagged
|
|
144
|
+
- Confidence level assigned (high/medium/low) with rationale
|
|
145
|
+
- Research Results emitted with source URLs for every key finding
|
|
146
|
+
|
|
147
|
+
## Cost Profile
|
|
148
|
+
|
|
149
|
+
~300-800 tokens input, ~200-500 tokens output. Haiku. Fast and cheap.
|