Hierarchical task-structuring methodology, LLM agent skill, and live browser visualizer for complex multi-module software projects.
This example was rendered by the MNM DAG viewer from the live status markdown file that your agent will update as it builds your system: examples/sample_plan_dag.md.
make-no-mistakes organizes large engineering efforts upfront across three planning levels before implementation starts — strictly nested architectural layers/rings (## Rings), an audited goal-level milestone DAG (## Items by level), and fine-grained task/module sub-DAGs for every goal (## Module sub-DAGs, refined as code unfolds) — giving you real-time oversight as agents build, verify, and land each wave.
This tool and methodology were created as the live engineering progress tracker for the development of the Zed programming language, and are packaged here (https://github.com/zedlanguage/make-no-mistakes) as a standalone, project-agnostic viewer and reusable LLM skill.
- Deep Three-Level Upfront Task Structuring (Planned Before Implementation):
- 1. Outer Level — Nested Architectural Layers / Rings (
## Rings/## Layers/## Phases): Partition a large project into strictly nested architectural layers (R0–R9,P0–P4, or any custom layer scheme) from innermost core to outermost phase, where every inner layer forms a complete, verified working system that outer layers extend without breaking. - 2. Goal Level — Audited Milestone DAG (
## Items by level): Plan every goal-level milestone across every ring as a strictly acyclic, transitively reduced dependency graph with exact longest-path levels and disjoint file-ownership boundaries so parallel workers never collide. - 3. Task Level — Fine-Grained Sub-DAGs for Every Goal (
## Module sub-DAGs): Build out a fine-grained internal task/module sub-DAG for every goal-level item (zero unrefined goals) before writing implementation code — surfacing blind spots and hidden dependency cycles early while remaining easy to refine and adapt as implementation unfolds (switchable on the fly viaSub-DAGs: On / Compact).
- 1. Outer Level — Nested Architectural Layers / Rings (
- Real-Time Oversight as Implementation Unfolds:
- Live Status Box (
## Status) & Reverse-Chronological Completion Log (## Completion log): Renders an optional## StatusMarkdown section directly above Live queue, and displays timestamped completion status updates (tests written/passing, coverage,1x -> 8xscaling factors, and issues solved) inside vertically expanding Completed cards sorted newest-first, plus a content-hugging detail inspector when any item is selected. - Live Execution State Tracking: Watch in real time what agents are actively building (
Active [worker]), what is currently under independent review (Verifying [auditor]), what has passed verification and is queued to land (Verified, with no stale owner pill), what is automatically unblocked next (Ready), what is committed (Done), and what isWaiting,Deferred, orBlocked. - Live Reload & Dependency Cones: Watches
plan_dag.mdviafs.watchplus a 2-second mtime fallback and SSE push. Hover or click any macro milestone or internal module to trace its full upstream prerequisites and downstream dependents, inspect owned files and statuses, filter by ring or state, or search across IDs, modules, owners, and paths.
- Live Status Box (
- Built-in Structural Validation & Mandatory Dependency Auditing:
- Automatically checks acyclicity, exact longest-path
Levelmonotonicity, no ring-skipping edges (ring_index(B) <= ring_index(A) + 1when## Ringsis declared), strict iterative transitive reduction (zero redundant direct edges), valid parent/sub-node references, andDone:/Verified:status consistency on every load and live edit. - Pairs automated structural validation with
SKILL.md's mandatory line-by-line semantic dependency audit and two-rule iterative DAG simplification (funneling cross-ring dependencies into an upper-bound task in the next ring, then removing implied direct edges until stabilized) so graphs stay clean and no downstream consumer ever bypasses an essential upstream prerequisite.
- Automatically checks acyclicity, exact longest-path
- V-Model Engineering, Near-Perfect Coverage,
O(n log n)Scaling & Merge-and-Seal Rule:- Guides projects with V-model rigor tailored to what is being architected — pairing each decomposition level with matching verification, requiring correctness and completeness tests targeting near-perfect to perfect coverage, and enforcing separate-tree
1x -> 8xscaling benchmarks (<= 9x, or<= 10.5xonly in extraneous cases) so each layer runs inO(1),O(n), orO(n log n)and composing layers preserves roughlyO(n log n)end-to-end scaling. - Enforces a strict Merge-and-Seal Rule: code must pass both its full test suite and its separate-tree scaling benchmarks before it can be merged, and downstream DAG items may only depend on code that is already verified, merged, and sealed.
- Guides projects with V-model rigor tailored to what is being architected — pairing each decomposition level with matching verification, requiring correctness and completeness tests targeting near-perfect to perfect coverage, and enforcing separate-tree
- Zero Build Step: Runs directly on Node.js >= 22.6 using native TypeScript type stripping (
d3-dagis the sole runtime dependency) and stores layout caches outside the target repository.
Clone the repository and run ./install.sh to install the make-no-mistakes skill into Claude Code, Codex, and Antigravity and install the live viewer dependencies (Node.js >= 22.6 required):
git clone https://github.com/zedlanguage/make-no-mistakes.git
cd make-no-mistakes
./install.shBy default, ./install.sh runs npm install (when node_modules is not yet present) and symlinks this checkout into all three standard skill directories so git pull keeps every tool up to date:
| Tool | Skill discovery directory |
|---|---|
| Claude Code | ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/skills/make-no-mistakes |
| Codex | ${CODEX_HOME:-$HOME/.codex}/skills/make-no-mistakes |
| Antigravity | ${GEMINI_HOME:-$HOME/.gemini}/skills/make-no-mistakes |
# Install into specific tools only:
./install.sh --claude
./install.sh --codex --antigravity
# Copy files instead of symlinking, or overwrite an existing non-symlink directory:
./install.sh --copy --force
# Skip `npm install` (skill files only):
./install.sh --no-npm
# Uninstall from all (or selected) tools:
./install.sh --uninstall
./install.sh --codex --uninstall# Try the bundled sample project right away:
npm start
# Or point the live viewer at any project's plan_dag.md:
node src/server.ts \
--plan /path/to/your-project/docs/plan_dag.md \
--repo /path/to/your-project \
--port 4317Open http://127.0.0.1:4317/ in your browser.
To run detached in the background:
setsid -f node src/server.ts \
--plan /path/to/your-project/docs/plan_dag.md \
--repo /path/to/your-project \
--port 4317 > /tmp/make-no-mistakes.log 2>&1| Flag | Environment Variable | Default | Description |
|---|---|---|---|
--plan <path> |
DAG_PLAN |
./docs/plan_dag.md or examples/sample_plan_dag.md |
Path to the Markdown plan DAG file |
--repo <path> |
DAG_REPO |
(none) | Optional git repository root for live HEAD / origin status badge |
--port <num> |
PORT |
4317 |
HTTP listen port |
--host <addr> |
HOST |
127.0.0.1 |
HTTP bind address |
--title <text> |
DAG_TITLE |
First # Heading in plan_dag.md |
Optional header and HTML title override |
--cache <path> |
DAG_CACHE |
Per-plan file in OS temp dir | Optional JSON path for cached layouts |
See examples/sample_plan_dag.md (rendered in examples/sample_plan_dag.png) for a complete working example.
# My Project Plan DAG
Current wave: Wave 2 (R1 Core Engine)
## Status
### Wave 2 Focus
- `R1-01` **verified** and queued to land; `R1-02` actively in progress.
## Rings
| Ring | Title |
|---|---|
| R0 | Foundation & Primitives |
| R1 | Core Engine |
## Items by level
| Level | Id | Title | Size | Hard | Needs | Files |
|---|---|---|---|---|---|---|
| 0 | R0-01 | Done: Workspace setup | S | no | none | `config/build` |
| 1 | R1-01 | Verified: Core storage | L | yes | R0-01 | `modules/storage/` |
| 1 | R1-02 | Active [worker-a]: Query API | M | no | R0-01 | `modules/query/` |
## Module sub-DAGs
| Parent | Id | Title | Needs | Files |
|---|---|---|---|---|
| R1-01 | memtable | Done: Ordered memtable | none | `modules/storage/memtable` |
| R1-01 | reader | Verified: Block reader | memtable | `modules/storage/reader` |
## Completion log
### R0-01 — 2026-11-28T18:00Z
Workspace layout and CI checks sealed (`14/14` tests passing, `98.1%` lines, `1x -> 8x` scaling `7.6x`). Fixed non-deterministic path ordering in clean checkouts.This repository includes a self-contained SKILL.md following the standard YAML-frontmatter agent skill format (name: make-no-mistakes).
To install globally for Claude Code, Codex, and Antigravity, run ./install.sh (see Installation). For a single repository, symlink or copy this directory into your workspace skills folder (for example .agents/skills/make-no-mistakes/). Any agent activating make-no-mistakes receives the complete nested architectural layers methodology, plan_dag.md schema (including ## Status and ## Completion log), mandatory structural and semantic dependency audit checklist, V-model verification and O(n log n) scaling discipline, wave-batched multi-agent workflow, and live viewer commands without needing any prior project context.
npm test
# or directly:
node --test src/*.test.tsLicensed under the MIT License.

