# Changelog

## 0.9.0 — Phase 2: Judgment-Driven Artifacts and Products

**2026-06-08**

Phase 2 extends KDNA from "judgment asset protocol" to "judgment-driven artifact and product protocol." Seven new components span four layers — Protocol, SDK, Infrastructure, and Product — forming a complete chain from judgment loading to trusted, measurable, long-running delivery.

### Protocol

- **RFC-0009: Artifact Contract** — Standard envelope for KDNA-governed artifacts (identity, provenance, quality, trace, review lifecycle). Defines Stage Definition contract for multi-stage pipeline declaration. ([#68](https://github.com/aikdna/kdna/pull/68))
- **RFC-0010: Fidelity Protocol** — Measures whether domain judgment transferred into generated output. Three axes (triggered, changed, reached artifact). Blind A/B/C comparison with calibration anchors. Five-level per-axiom transfer classification. ([#69](https://github.com/aikdna/kdna/pull/69))
- **RFC-0011: Product Runtime** — Six-phase cycle for long-running product relationships: Schedule → Select → Generate → Deliver → Observe → Adapt. Preserves Human Judgment Lock boundary (operational changes only, never judgment changes). ([#71](https://github.com/aikdna/kdna/pull/71))

### SDK

- **@aikdna/kdna-artifact-engine** — TypeScript reference SDK for RFC-0009. ArtifactEnvelope (Zod), StageDefinition, StorageAdapter interface, HumanReviewGate. 5 tests. ([#70](https://github.com/aikdna/kdna/pull/70))
- **@aikdna/kdna-fidelity-core** — TypeScript reference SDK for RFC-0010. Pure functions (zero LLM dependencies): classifyVerdict, computeStats (CI95), normalizeGap, classifyCalibrationQuality, classifyTransferLevel. 18 tests. ([#70](https://github.com/aikdna/kdna/pull/70))

### Infrastructure

- **WorkPack Pipeline** — Multi-stage orchestration manifest for kdna-workpack. DAG dependencies, parallel execution, artifact flow between stages, per-stage KDNA overrides, human review gates. ([kdna-workpack#1](https://github.com/aikdna/kdna-workpack/pull/1))
- **Registry Fidelity Gate** — Fidelity evidence as a requirement for validated+ quality badges. Trust gate enforces score ≥ 0.70, public report URL, calibration validity, and positive blind delta. ([kdna-registry#4](https://github.com/aikdna/kdna-registry/pull/4))

### CLI

- **kdna protocol validate** — Validate JSON files against RFC-0009/0010/0011 schemas. Supports artifact-envelope, stage-definition, fidelity-result, and product-runtime schemas. ([kdna-cli#2](https://github.com/aikdna/kdna-cli/pull/2))
- **kdna protocol inspect** — Summarize protocol artifacts with structured output. ([kdna-cli#2](https://github.com/aikdna/kdna-cli/pull/2))

### Demo & Docs

- **E2E Coaching Demo** — Zero-dependency Node.js demo showing full protocol chain: KDNA load → 3-stage pipeline → ArtifactEnvelope → fidelity measure → FidelityResult. Per-axiom transfer levels with CI95 confidence intervals. ([kdna-lab#2](https://github.com/aikdna/kdna-lab/pull/2))
- **Phase 2 Architecture** — Integration matrix, data flow diagram, and non-goals for all seven components. ([#74](https://github.com/aikdna/kdna/pull/74))
- **RFC Status Tracking** — Five-level lifecycle: Draft → Accepted → Implemented → Stable → Deprecated. ([#74](https://github.com/aikdna/kdna/pull/74))

### Fixes

- P0: Lockfile regenerated with new SDK packages, fixing root `npm ci` ([#73](https://github.com/aikdna/kdna/pull/73))
- P0: SDK packages renamed to `@aikdna/` scope convention ([#73](https://github.com/aikdna/kdna/pull/73))
- P0: CI workflow references updated to new package names ([#72](https://github.com/aikdna/kdna/pull/72), [#73](https://github.com/aikdna/kdna/pull/73))

---

## 0.7.0 — v1.0-rc: Open Judgment Protocol

**2026-05-13**

Initial public release of the KDNA Protocol v1.0-rc. Core specification, CLI runtime, domain assets, agent integrations, and registry infrastructure.
