一键导入
dge-execute-graph
Drive the ready queue end to end - implement each ready node, gate it on evidence, and stop on the first failure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Drive the ready queue end to end - implement each ready node, gate it on evidence, and stop on the first failure.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Capture reusable learning from completed Delivery Graph nodes, tracks, or demands.
Drive a raw demand all the way to done from a single command - design, plan, and evidence-gated execution - stopping only at two judgment gates and on genuine failure or ambiguity.
Design a structured demand from a raw request, including its gap register, requirements, and acceptance criteria for Delivery Graph Engineering.
Convert DGE requirements into tracks, dependency nodes, and validation contracts.
Independently verify a Delivery Graph node against its validation contract and block completion until evidence and verifier independence exist.
Execute one ready Delivery Graph node while preserving its validation contract and dependency boundaries.
| name | dge-execute-graph |
| description | Drive the ready queue end to end - implement each ready node, gate it on evidence, and stop on the first failure. |
| argument-hint | [optional graph path] [--max N] [--max-retries N] |
Use this skill to autonomously execute a planned delivery graph one ready node at a time.
Walk the dependency-aware ready queue, implement each ready node with /dge-work-node discipline, and close it through the evidence-gated dge done gate. Completing a node can unblock its dependents, so the queue is re-queried after every node.
done or blocked.dge done pass.blocked with npx dge transition NODE-### blocked, report the reason, and halt the loop.
4b. On an AMBIGUOUS outcome (see "Failure classification"), pause once for that node, ask the user exactly one question, apply the answer, and resume the loop. Never self-certify a weak or judgment-call pass — an unresolved judgment call is recorded with dge evidence add --result ambiguous, which the done gate treats as unsatisfied, so the node cannot silently close.graph.json directly; move state only through the CLI.done, re-query npx dge next because a completed node may have unblocked others.--max N cap on how many nodes to execute per run, and a --max-retries N cap on transient retries per node (default 1). Always stop when the queue is dry./dge-verify in a fresh agent context. Standard-risk nodes may reuse the builder harness in a fresh run; high-risk nodes require a different harness. A verifier failure returns the node for repair and cannot flow to done.Classify every dge done / dge evidence run failure by the CLI error text before deciding whether to retry:
Transient (retry-eligible): Command failed with exit code N or Command failed to start from dge evidence run. These come from the validation command itself — a flaky test, a race, a timing issue, or a real code defect you can fix. Re-attempt: fix the obvious cause or re-run the command, capture fresh evidence, and try dge done again, up to --max-retries (default 1).
Structural (never retry, stop immediately): Review blockers prevent done: ..., is missing validation evidence: ..., or cannot be done; incomplete dependencies: .... These require a human decision (resolve a blocker gap, add missing evidence the agent cannot produce, or finish an upstream node). Do not retry; mark the node blocked and halt.
Ambiguous (pause once, ask once, resume): a genuine fork the agent must not resolve on the user's behalf. Two kinds:
dge evidence add --result ambiguous; the done gate leaves the item unsatisfied. Ask the user to adjudicate. Evidence is append-only, and an unresolved ambiguous item keeps its contract key unsatisfied even after a pass is added — so when the user resolves it, remove the ambiguous record (dge evidence remove NODE-### EVD-###) and then capture the corrected passing evidence. Never leave a stale ambiguous marker on a satisfied key.A node whose validation contract is missing or non-executable, or that carries an unresolved blocker GAP on one of its requirements, is also ambiguous — pause rather than guessing. Everything not on this list that is a clean pass flows silently to done; ambiguity pauses at most once per node.
A retry means re-doing the work/evidence step, not re-issuing the same failed dge done verbatim.
Repeat this loop until next is null or the --max cap is reached:
npx dge next --json.
next is null, stop. Report completion using ready_count, done_count, and remaining_count./dge-work-node rules: read the node, its requirements, and its validation contract; implement the smallest change that satisfies it; write delivery-graph/evidence/NODE-###/summary.md.npx dge evidence run NODE-### --satisfies "<contract item>" -- <validation command>npx dge evidence playwright NODE-### ... for browser or UX validation.npx dge done NODE-###.
npx dge transition NODE-### blocked, surface the CLI error and the review report path, and STOP.--max-retries, default 1): diagnose and fix the cause, re-run step 2-3 to produce fresh evidence, and try dge done again. If retries are exhausted, treat it as blocked: npx dge transition NODE-### blocked, report the last error, and STOP./dge-deliver)When the conductor drives this loop, run quiet: the user has already approved the graph and does not want per-node narration. Quiet changes only what is reported, never what is gated — every rule above still holds, especially the evidence gate.
NODE-023 ✓ (1 evidence) · ready: 4 · done: 3/9. Do not narrate the intra-node
build/validate steps.npx dge status so the
user always sees current graph.json state (the board is a projection of the canonical
graph, never a separate log that could drift).dge done error and the review
report path, and STOP (stop-on-failure is unchanged).Quiet mode has no path to done that skips evidence or independent verification.
Suppressing narration must never suppress either gate: dge done still requires real evidence
on disk, and the verifier still runs in a fresh scoped context. Weakening a contract or adding a
failure/ambiguous note to force a pass is forbidden (rules 2 and 4b).
Report a final summary when the queue is dry, following the shared output
convention (see skills/README.md):
skills/README.md).dge done failure reason, whether it was transient or structural, and how many
retries were spent; remaining ready count and remaining not-done count.## Next block: /dge-review, /dge-compound, or re-run this
skill after resolving the blocker.When local tooling is available, use:
npx dge next --json
npx dge evidence run NODE-### --satisfies "..." -- <validation-command>
npx dge done NODE-###
npx dge transition NODE-### blocked
npx dge status --save
dge next selects the node; it never implements work. The agent implements each node, and dge done is the only path to completion. Do not mark a node done or verified by editing graph.json.