Skip to content

v0.3.0 — Style Intelligence & Art Memory 2.0

Choose a tag to compare

@dyCuong03 dyCuong03 released this 23 Aug 17:37
· 3 commits to main since this release

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 constraints
  • art.style.check — run consistency check on canvas
  • art.style.repair — generate repair plan
  • art.style.bootstrap — get session bootstrap context
  • art.ref.retrieve — smart reference retrieval
  • art.ref.pack — build reference pack
  • art.ref.canonical — get canonical assets
  • art.memory.signature — compute visual signature
  • art.memory.insights — get style insights
  • art.memory.negative — get negative patterns

Extended Existing Systems

  • StyleLoader — now loads materials.yaml as 8th style file
  • ArtMemoryService — added updateAnchor(), updateReference(), updateRejection() methods
  • ResolvedStyle — extended with optional materials field
  • 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.