v0.5.0 — design-intelligence upgrade
v0.5.0 - 2026-05-30
The Design step gets a design-intelligence upgrade: the analyzer commits to a
variance-handling pattern up front, auto-emits the matching decision-table
sidecars, validates each design against the DisC plugin before you save, and
surfaces AC-coverage gaps inline — so under-specified designs are caught at
authoring time, not at codegen. Also lowers the minimum JDK to 17.
Added
- Variance-handling pattern selection. The analyzer picks one of four patterns
(rule-table / resolver / sealed-polymorphism / pattern-matching) per variance
axis and records it in a top-levelvariancePlan, with an exhaustivemapping[]
for rule-table and resolver axes. - Auto-emitted decision-table sidecars. Pure-function leaves and rule-table
appliers get their.decision.mdsidecars generated from per-AC-row examples —
one row per acceptance criterion — feeding the plugin's filled-mode codegen. - Plugin validate-and-retry. Step 2 runs the design through the DisC plugin's
--validate-onlymode and shows refusals inline, so contract problems are fixed
before saving. - AC coverage on Step 2. AC ↔ participant coverage plus a per-participant
variance-axis-count chip, so under-specified or overloaded participants are
visible while you design. - Model picker for the Claude CLI calls.
- Polymorphic-entity callees —
interface/sealed-interfaceentities with
behaviors can be called directly in the sequence, plus a resolvermapping[]schema. - OS-native folder browser on Step 1 for connecting a project.
Changed
- Wizard reflow into Connect / Design / Sign-off / Generate, with AC rows,
per-card purpose, auto-compose, and "Connect project" moved into Step 1. - Codebase-grounded analyzer — fed the connected project's packages, glossary,
and most-relevant existing types so it reuses them (existingFqn) instead of
re-proposing. - Abstraction discipline baked into the analyzer prompt (invariance,
purpose-specificity, leaf freestandingness, feature-envy, composition-over-
inheritance) plusinterface/sealed-interfaceentity kinds. - Callee-anchored
@packagerecommendation on Step 4; plugin integration
refactored behind aCodeGeneratorabstraction. - Minimum JDK lowered to 17 (was 21). DisC Studio now builds and runs on Java 17 LTS.
Removed
- Multi-level design recursion parked for MVP (single-level compose;
defer-designtrees documented but not auto-walked). - The two "Load demo" buttons and their seeded data.