◆ KDD

Knowledge-Driven Development

Keep project decisions and rules alongside the code. People and AI agents use them to prepare tasks, agree on tests, and leave results the team can review.

Checking an international payment

  1. Save the rule. Each country has its own limit. The recipient must be verified.
  2. Prepare the task. Give the developer or agent the rules and the scope of the change.
  3. Agree on the tests before coding. An otherwise valid payment at the limit passes. Above the limit, it fails.
  4. Review the result. Run those tests and keep the result so the team can decide whether to accept the change.
Read the payment task
Exhibit B

How knowledge becomes a task

The payment rules belong in the project knowledge. The task points to those rules and specifies how the team will check the change.

OKF

Open Knowledge Format. Your project's data models, decisions, and architecture live as versioned markdown nodes an agent can traverse — not prose it has to guess at.

CCDD

The frozen contract. A task carries a signature, invariants, and a test file. The tests are hash-sealed before any agent touches the target — edit them, and the seal breaks the build.

Exhibit C

How a contract moves through the file

Automated checks report whether the change passes the agreed tests. The team reviews that evidence before accepting it.

1
Explore
2
Define
🔒
Seal the tests
3
Delegate
4
Verify
VERDICT: PASS
Exhibit D

The orchestrator trusts no one's fixtures but its own

The gate passes clean.
Six skills, zero errors — the developer's work looks done.
So the reviewer breaks it.
On a throwaway copy, with its own fixture — never the developer's — to see if the gate actually notices.
It does.
Only then does the verdict stand.
Exhibit E

By the numbers, from the latest successful CI run

Figures come from the current repository and its CI run.

34historical project reports
19deterministic Level 1 gates, zero LLM calls
13declarative rule families
2782test cases in the CI inventory
5boundary classes mapped, honestly

View the CI evidence

Why historical reports remain SKIP

Exhibit F

What gets sealed, what stays out

The honest boundary is part of the method, not a gap in it.

Can be sealed

  • Pure functions, verified against tests no one can quietly edit
  • Business rules as declarative data — a payment limit is a table, not a prompt
  • Which skills and MCP servers an agent is wired to, and whether those wires point at something real
  • Whether your changelog tells the truth about your own history

Stays out, declared

  • What a live server does over the network — that needs a running system, not a hash
  • Whether an edit "reads well" — tone and judgment stay a human's call
  • The agent itself. KDD contracts the artifact an agent produces, never the agent's behavior.
Exhibit G

Domains sealed so far

Payment compliancePer-country limits, beneficiary checks
Border controlCross-field rules, proven on a second domain
Workflow policyPer-node rules over automation graphs
Message routingA decision, contracted two ways at once
Editorial styleStructure sealed, judgment left out
MCP registryNo secret ever committed in the clear
Agent wiringEvery reference resolves, or it fails loud
Agent skillsThe first gate over the repo's own real assets
Web page UXContrast, i18n and motion, calibrated against a real 25k-star linter
Commit messagesConventional Commits grammar, opt-in by design
Security findingsA vendored, model-agnostic scanner sealer — Codex not required
Compliance findingsLicense-compatibility sealer — no vendoring needed
Privacy findingsPersonal-data and legal-basis sealer — no vendoring needed
Accessibility findingsWCAG audit sealer — complements the static UX page linter
Dependency EOL findingsMaintenance-health sealer — distinct from license compliance
Observability findingsLogging/alerting/tracing gap sealer
Test-coverage findingsCoverage-gap sealer — complements, not duplicates, the frozen oracle

Read the file yourself

MIT-licensed. Every claim on this page is checked into the repository that makes it.

KDD on Product HuntKDD on Product Hunt
— Mauricio Perera