# Dag Build

> Decomposable coding task as a DAG: conductor plans, agent leaves build files concurrently, a deterministic oracle command gates, a heal fixpoint retries with failure context, halt-judge stops unproductive loops, checkpoints make runs resumable. Trigger: build this module across N files / 实装这个可分解任务 / parallel implementation with a test gate / dag-build. Skip: small single-file change (edit directl…

- **Type:** Skill
- **Install:** `agentstack add skill-abysscn-oh-my-dag-dag-build`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AbyssCN](https://agentstack.voostack.com/s/abysscn)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AbyssCN](https://github.com/AbyssCN)
- **Source:** https://github.com/AbyssCN/oh-my-dag/tree/main/skills/dag-build

## Install

```sh
agentstack add skill-abysscn-oh-my-dag-dag-build
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# /dag-build — parallel build with a hard oracle

For coding tasks that decompose into independently-buildable pieces **and** have a
deterministic pass/fail command. The conductor plans the DAG, agent leaves edit files
concurrently, the oracle command gates the result; on red, a heal round re-plans with
the failure output injected; a halt-judge kills unproductive loops; node checkpoints
make interrupted runs resumable.

## Usage

```bash
bun run dag-build "" \
  [--cwd ]              # where the build happens
  [--oracle-cmd "bun run typecheck"] # deterministic gate; exit 0 = pass
  [--context ""|--context-file p]  # spec/contract fed to the conductor
  [--test | --test-glob ""]   # run tests as part of the oracle
  [--conductor-model M] [--agent-model M] [--leaf-model M]
  [--agent-thinking off|low|medium|high|xhigh] [--leaf-ponytail]
  [--max-fanout 8] [--heal N]        # heal rounds on red oracle (default 1)
  [--review|--no-review] [--review-gate G2|G3]  # embedded dag-review before finish
  [--resume ]                 # resume from checkpoints
  [--allow-dirty] [--no-judge] [--judge-cap N]
```

Exit code = oracle ∧ judge — safe to chain in CI.

## Discipline

- **No oracle, no dag-build.** If you can't state a deterministic pass command, the
  task isn't ready for parallel dispatch — tighten the contract first.
- Requires a clean git tree by default (`--allow-dirty` to override) so a failed run
  is trivially revertible.
- Small, already-loaded single-file edits are cheaper done directly — dispatch has
  fixed overhead; use this where width pays.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AbyssCN](https://github.com/AbyssCN)
- **Source:** [AbyssCN/oh-my-dag](https://github.com/AbyssCN/oh-my-dag)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-abysscn-oh-my-dag-dag-build
- Seller: https://agentstack.voostack.com/s/abysscn
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
