repair-dependency
Resolve missing input dependencies by finding upstream producers
- License 许可
- MIT
- 最近更新
- 2026-06-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- repair-dependency
- tags
- [ "repair", "gap:blocker", "gap:input", "gap:missing-intermediate" ]
- context
- [ { "type": "gap", "fields": [ "gapKind", "inputPattern", "taskTitle", "taskId", "suggestedUpstreamTask" ] }, { "cmd": "find .converge/epics -name 'SKILL.md' -exec grep -l 'outputs:' {} \\; 2>/dev/null | head -20", "type": "cmd", "label": "tasks-with-outputs" }, { "cmd": "find . -maxdepth 4 -name '*.html' -o -name '*.json' -o -name '*.md' -o -name '*.png' 2>/dev/null | head -30", "type": "cmd", "label": "existing-files-sample" }, { "type": "ai", "label": "producer-analysis", "tools": [ "Read", "Glob", "Grep" ], "prompt": "A task needs the input file matching pattern `{inputPattern}` but it doesn't exist.\nRead these SKILL.md files to find which task should produce it: {attemptDir}/../../../tasks/*/SKILL.md\nFor each task found, check its `outputs:` field. If a task's outputs match or could produce `{inputPattern}`, report: 1. The task ID and its SKILL.md path 2. Whether it has already run (check for checkpoint.json in its journal dir) 3. If it ran, why it might have failed to produce the file\nIf no task produces this file, say so clearly. Be concise — 5-10 lines max.\n", "timeoutMs": 45000 }, { "path": "{attemptDir}/NEEDS.result.md", "type": "file", "label": "needs-status", "optional": true } ]
- description
- Resolve missing input dependencies by finding upstream producers
- allowed-tools
- [ "Read", "Glob", "Bash", "Grep" ]
03 SKILL.md 正文
Repair Dependency
A task is blocked because required input files are missing.
Step 1: Read Context
- Read
repair-context/gap.md— which input is missing - Read
repair-context/producer-analysis.md— AI analysis of which task should produce it - Read
repair-context/existing-files-sample.txt— what files actually exist on disk - Read
repair-context/history.md(if exists) — DO NOT repeat failed approaches
Step 2: Act on AI Analysis
The producer-analysis.md file tells you which upstream task should produce the missing file.
| Finding | Action |
|---|---|
| Producer found, hasn't run | Write LEARN.md: "run {producer} first" |
| Producer found, ran but failed | Write LEARN.md: why it failed + what to fix |
| No producer found | Write LEARN.md: "no task produces {pattern} — need new task" |
| Files exist at different path | Fix the input glob pattern in the task's SKILL.md |
Step 3: Check Pattern Mismatch
Compare repair-context/existing-files-sample.txt with the missing pattern.
If similar files exist at a slightly different path, that's a pattern mismatch — fix the glob.
Step 4: Write LEARN.md
Document findings so the framework can take action.
04 同仓库更多 Skills
hello-checker
Use this skill when asked to "verify", "check", or "validate" a file's existence and content. It provides a reliable workflow for confirming files meet their spec.
ask-skill
暂无简介
html-review-artifact
Framework-wide guidance for crafting polished human-review artifacts as markdown or HTML
converge-planning
Design a Converge playbook end-to-end. Use when the user says "plan a project", "design a playbook", "decompose into tasks", "scaffold a Converge workflow", "onboard to Converge", or asks how to write TASK.md / playbook.yml. Two entry points: plan a new playbook or update an existing one. Hand off to `/converge-control` after producing the playbook structure.
converge-control
Operate a Converge playbook end-to-end — start runs, monitor progress, narrow failures with `--select`, inspect runtime state, validate definitions, surgically reset subtrees, and stop stuck or orphaned runs. Use this skill whenever the user says "run my playbook", "execute this", "monitor the run", "converge failed", "the run is stuck", "retry failures", "babysit this playbook", "what's the status?", "show me the gantt", or asks how to use `converge run` / `--select` / `inspect` / `doctor` / `clean` / `stop`. Also use it for `HTTP 401` / `Invalid API key` failures on the first task — those are environment-not-playbook problems — and for any post-run cleanup work. Hand off to `converge-planning` if the user wants to design or restructure the playbook itself.
repair-taskts
Fix task.ts definition issues — Seed syntax, missing .build(), empty checks, import errors, TypeScript errors