MADD. MULTI-AGENT
DRIVEN DEVELOPMENT
Français

A specification with checkable claims.

JSON fragments, stable requirements and one check registry. Separate what is valid, what is bound and what has delivery evidence.

Method · CLI 0.2.0 / contract format 0.2.0 stable · Markdown ↗ · Source

Two versions, explicit compatibility

CLI 0.2.0 ships the stable contract format 0.2.0 through init --contract-only. Optional agent adapters retain the legacy contract and its permissive schema; they do not certify completeness or delivery. Existing contracts are never silently migrated. The RC schema identity remains accepted; the stable schema has an immutable versioned URL.

Legacy schema · Stable schema · Synthetic example

Four files to start

.madd/contract.d/
  00-meta.json         identity, owner, format version
  10-intention.json    context, objectives, limits
  20-functional.json   requirements and acceptance
  40-tasks.json        tasks and checks

Technical decisions, operations, audit fractions and retrospective sections are optional until the work needs them. The local editor schema is included by contract-only initialization.

Three different assertions

AssertionWhat it meansWhat it does not prove
Structurally validTypes, required sections, IDs, references and dependency graph passCode meets the requirement
Checks boundSelected requirements refer to local acceptance check filesThose checks ran or passed
Delivery verifiedTrusted CI and independent review receipts match the exact revision, specification and fractionAbsence of every possible defect

Editing status to done, passing or verified never manufactures evidence. A required check that was skipped, failed, is missing or refers to an older revision cannot satisfy delivery.

Start with a contract

These commands pin the stable 0.2.0 CLI:

mkdir -p /tmp/my-madd-change
npx --yes @madd-sh/[email protected] init --contract-only /tmp/my-madd-change
npx --yes @madd-sh/[email protected] validate /tmp/my-madd-change --json

Replace the starter requirement, task and check with your own. A planned check is deliberately unbound. Set binding to bound and ref to a relative, existing check file; use --require-bound to make that a gate. Add a fraction before using --fraction FRAC-001.

Safe input boundaries

Validation loads only the bundled schema. It refuses duplicate JSON properties or sections, unsupported versions, broken IDs, cycles, path escapes, nested symlinks and oversized input. It does not download schemas or run commands found in a specification. Read the format and evidence policy.

Find a page

↑ ↓ choose a page · Enter follows · Esc closes · Tab moves focus. Open with Ctrl/Cmd+K outside editable fields.