v0.3.0 — Style Intelligence & Art Memory 2.0
What's New — Phase 8E
Style Intelligence (src/intelligence/)
- StyleCompiler — Compiles style+material+detail into flat
StyleConstraints(palette limits, outline rules, cluster grammar, texture density, forbidden patterns) - VisualSignatureEngine — Deterministic visual fingerprint from canvas: palette distribution, cluster stats, edge/silhouette complexity, shadow/highlight ratios, texture density. Similarity scoring between signatures
- StyleConsistencyChecker — 7-dimension post-generation check (palette, outline, lighting, clusters, material, texture, detail) against compiled constraints
- StyleRepairPlanner — Generate prioritized repair actions from failed consistency checks
- StyleInsightEngine — Detect recurring patterns in approved assets with confidence scoring. Analyze rejection patterns for anti-pattern detection
Smart Reference Retrieval
- ReferenceRetriever — Ranked retrieval by canonical>approved>style match>material>type>recency. Budget-capped (default 5 refs)
- ReferencePackBuilder — Compact reference pack: style constraints + 3-5 canonical refs + 1-2 negative examples + material palette
- SessionBootstrapService — Dynamic session context generator: current style summary, canonical assets, anti-patterns, recent decisions. A new Claude session can reconstruct the style without conversation history
10 New MCP Tools (117 total)
art.style.compile— compile style constraintsart.style.check— run consistency check on canvasart.style.repair— generate repair planart.style.bootstrap— get session bootstrap contextart.ref.retrieve— smart reference retrievalart.ref.pack— build reference packart.ref.canonical— get canonical assetsart.memory.signature— compute visual signatureart.memory.insights— get style insightsart.memory.negative— get negative patterns
Extended Existing Systems
- StyleLoader — now loads
materials.yamlas 8th style file - ArtMemoryService — added
updateAnchor(),updateReference(),updateRejection()methods - ResolvedStyle — extended with optional
materialsfield - Studio API — 3 new endpoints: bootstrap, insights, consistency
Rejection Taxonomy
18 structured rejection categories: STYLE_MISMATCH, PALETTE_MISMATCH, TOO_NOISY, OVERDETAILED, BAD_CLUSTERING, etc.
Canonical Promotion Flow
draft → approved → candidate_canonical → canonical
Stats
- 117 MCP tools total (107 + 10 new)
- ~2,700 lines new code in
src/intelligence/ - 10 new files, 8 modified files
- Zero system duplication — extends existing style/memory/detail
Breaking Changes
None — fully backward compatible.