APDD KIT  ·  governance evaluation
Framework review · for human reviewers

An operating system for
agentic product development.

The APDD Kit turns "an AI agent editing files" into "an agent operating inside guard-rails" — four governance layers, two standing rules, and a design-governance track, all copy-in and stack-agnostic. This page reviews what it does and how it fits IronClaw.

Source apdd-kit @ 61daaa2 Scope UI / front-end software Form guides · templates · rules · skills · enforcement Evaluated for IronClaw
Verdict — adopt selectively

IronClaw has already independently built the kit's backend & enforcement half — path-scoped agent rules, CI-enforced regression tests, a rich skills library. The kit's net-new value is its Design/UX governance track (absent today) and a living docs-first feature workflow — and both land on a React/Vite/Tailwind frontend that fits them with unusually low friction. Skip the kit's backend MVVM rules; IronClaw's crate-architecture rules already own that ground.

Effort ~1–2 weeks
Most value in Phases 0–2 · ~1 wk
Reversibility Fully additive
Runtime risk Near-zero (docs + rules)
01 · The framework

Four governance layers, held together by two rules

The kit's core idea: any single artifact may reach the agent as the only governance in context, so each is self-sufficient — and a deterministic enforcement layer binds even when the prose is ignored. Below is the control plane the layers form.

FIG.1  ·  Governance control plane — plan & guide & protect converge on the code the agent writes; enforcement gates the merge.
① PLAN

Docs-first workflow

docs/<slug>/ SPEC · PLAN · TEST + registry
What is this feature meant to do — and is my change in scope?
② GUIDE

Auto-loading rules

.claude/rules/*.md · paths: globs
What conventions govern the exact file I'm touching now?
③ PROTECT

Critical journeys

CRITICAL_FLOWS.md + hot-path rule
Did my local change break a flow two layers away?
converge on

Write the code

agent + human, inside the guard-rails above
④ ENFORCE

Hooks + CI

pre-commit → pre-push → CI · self-skipping · one aggregate gate → merge
Rule 1 — the spine

Docs are the source of truth

Read a feature's spec + plan before editing its code. Add uncovered behavior → update the spec in the same change. Spec and code disagree → stop and reconcile.

Rule 2 — the spine

Critical fixes update docs + add a test

Same diff: log it in the spec's Critical Bug Fix Log, revise the plan, and add a regression test that fails-before / passes-after. Incomplete without all three.

FIG.1b  ·  Review gate & role routing — inside layer ①, a change's blast radius is declared, a hard team-review gate resolves, and (proposed for IronClaw) the change is routed to the reviewer role that owns the ground it touches.
Declare — spec §5 / plan §4

Impact & dependency, up front

Architecture Impact (which boundaries a change crosses) and Dependencies & Sequencing are written into the spec/plan before code — blast radius is explicit, not discovered mid-review.

Gate — spec §8 (hard)

Team review resolves first

The implementation plan may not begin until the spec's Feedback & Decisions gate is resolved. Kit-native; IronClaw strengthens the generic gate with the role routing below.

▸ Cross-functional trigger — a boundary-crossing diff names the owning reviewer role (checks come from review-discipline.md + the trust-boundary checklist, which name what to inspect, not who); role → person mapping stays in CODEOWNERS.
ENGINEERING

Runtime & data

trust · persistence · capability · runtime boundaries
PRODUCT

Behavior & surface

user-facing behavior · product-surface contract
DESIGN

UI & system

UI · design system (DESIGN.md · tokens · a11y · taxonomy)
02 · Why it exists

What the kit buys you

Two priorities drive every artifact: minimize regression and raise product design & development quality when the author is an AI coding agent.

discoverable

Guidance finds the agent

Path-scoped rules inject themselves the moment a matching file is edited — the agent doesn't have to know they exist.

deterministic

The machine is the backstop

Hooks + CI bind regardless of which tool wrote the code or whether it read the prose. Non-compliance is assumed.

portable

Tool-agnostic by design

Ships in Claude Code conventions, but maps cleanly to Cursor, Antigravity, and root-file-only tools.

grounded

Agents stop guessing UI

A Storybook MCP lets the agent read real component props instead of hallucinating them — the single biggest UI-quality win.

living

Docs that don't rot

Specs are the working reference, not creation stubs — every critical fix drags the docs forward with the code.

additive

Adopt only what applies

A UI-focused core plus opt-in modules; nothing in core depends on a module. Copy in, fill placeholders, done.

03 · The design track

A design constitution, wired into the build

Treated as core, not an add-on. A single root DESIGN.md governs everything below it; every step conforms to it or bounces back.

FIG.2  ·  Design-to-code pipeline — one governing constitution, a do-not-skip handoff, and a workbench that doubles as the test harness.
DESIGN.md ▸ constitution principles · theming · typography · a11y governance · component taxonomy · a hard REJECT list
①

Handoff

context → metadata → screenshot → translate → validate 1:1
②

Tokens

no raw hex · light + dark · semantic tokens only
③

Taxonomy

5 tiers · 2–3 stay pure · only tier 4 binds state
④

Storybook

workbench + MCP + stories-as-tests
⑤

Perf

transform/opacity · render-gated · capped FPS
⑥

Gate

validation checklist + REJECT rules → done / back
↩ reverse handoff — Storybook → design tool extraction keeps design ↔ code in sync
04 · Opt-in modules

Capabilities only some products have

Include a module only if it applies. For IronClaw, one is directly on-point — it ships LLM agents inside the product.

realtime-media

Live audio/video — encode, codec, simulcast, frame callbacks.

rich-view

Canvas / 3D / embedded-webview GPU surface with its own render loop.

multitenant-isolation

One deployment, many customers; real-time broadcast / fan-out.

embedded-ai-agents

Ships LLM agents inside the product — keys encrypted at rest, per-agent DB config, tenant-scoped context on every call.

Applies to IronClaw
05 · The fit

Overlap & gap map — kit vs. IronClaw today

The honest baseline. IronClaw isn't a greenfield adopter; it has already converged on much of the kit's backend model. This map shows where.

Have — same mechanism today Partial — exists, but informal / different shape Gap — absent
Backend & enforcement — largely solved
Path-scoped auto-loading rules.claude/rules/ · 15 rules present
Have
Regression test + doc update per critical fixcommit-msg hook + regression-test-check.yml
Have
Enforcement: hooks + CI, path-filtered, aggregate gate~30 workflows
Have
Reusable, user-invocable skillsreborn-feature, testing, review…
Have
Embedded-AI-agent invariantsencoded, but scattered across CLAUDE.md + safety rules
Partial
Feature workflow — net-new structure
Rule 1 — read-spec-before-edit disciplinereborn-feature skill covers wiring, not living specs
Partial
docs/<slug>/ SPEC·PLAN·TEST + registryonly flat, dated docs/internal/plans/*.md today
Gap
Critical User Journey registry + hot-path rulee2e/Playwright exist; no CUJ catalog
Gap
Impact + dependency spec sections (§5 / plan §4)architecture.md + graph blast-radius; no per-feature field
Partial
Cross-functional-partner review triggerroute by area → engineering / product / design; kit has only a generic team gate, IronClaw has review-discipline + trust-boundary checklist but no auto-route — opportunity for both
Gap
Design / UX track — the headline gap
DESIGN.md design constitutionnone today
Gap
Design-scoped rules (styling · a11y · taxonomy)none scoped to the frontend
Gap
Storybook workbench + MCP + stories-as-testsnot a declared dep — a small, pinned pnpm install away
Gap
Design tokens governancesrc/design-system/ ships ~15 primitives, ungoverned
Partial
Accessibility gate (contrast · focus · semantics)no formal gate
Gap
4 / 5

Backend & enforcement rows already Have — IronClaw is ahead of the kit here, with a knowledge graph it lacks entirely.

◑

Invariants & Rule 1 are Partial — present but scattered; the kit's value is consolidating them.

7

Gaps — nearly all in the design track & feature-doc structure. That's precisely the kit's net-new value.

06 · The plan

A phased, reversible rollout

Each phase is independently shippable and gated by review. Phases 0–2 deliver most of the value; 3–4 are follow-on. Bars show relative value.

PHASE 0

Foundations & decisions

½ day · enablingLocations, prefixes, skip list
PHASE 1

DESIGN.md + design rules

1–2 days · high valueHighest-leverage gap
PHASE 2

Storybook + stories-as-tests

2–4 days · high valueProp-grounding + a11y
PHASE 3

Docs-first (scoped)

1–2 days · mediumWebUI features only
PHASE 4

Critical journeys + visual regression

2–3 days · med–highName the must-not-break flows
▸ Ship order: Phase 0's enabling decisions first, then Phase 1 (pure governance, near-zero risk). Phases 1 & 3 are docs-and-rules only; Phases 2 & 4 touch the frontend toolchain / CI and warrant the most testing. Rollback = delete the added files and revert every existing file in the phase rollback manifest.