[E15-S01] Complete ThemeRegistry #106

Open
opened 2026-08-27 00:02:56 +00:00 by kpcto · 0 comments
Owner

Parent epic: [E15] Theme runtime (#43)

Intent

Complete the ThemeRegistry so the runtime can register, list, and resolve themes under the ThemeDefinitionV1 contract, including the site default and the emergency fallback.

Acceptance criteria

  • registerTheme accepts a valid ThemeDefinitionV1 and adds it to the registry
  • listThemes returns every registered theme definition by its ID
  • getTheme returns a registered theme or a controlled fallback
  • getSiteDefaultTheme returns the configured site default theme
  • resolveTheme applies visitor preference, then site default, then core fallback

Explicitly out of scope

  • Amber extraction audit and theme settings (E15-S02, E15-S03)
  • Theme component gallery and failure scenarios (E16-S01, E16-S03)

Test plan

  • Unit-test each registry operation against the ThemeDefinitionV1 contract

Rollback note

  • Revert the registry implementation; no data migration is involved

Owning stream

platform

Risk quadrant

agent-full

> Parent epic: [E15] Theme runtime (#43) ## Intent Complete the ThemeRegistry so the runtime can register, list, and resolve themes under the ThemeDefinitionV1 contract, including the site default and the emergency fallback. ## Acceptance criteria - registerTheme accepts a valid ThemeDefinitionV1 and adds it to the registry - listThemes returns every registered theme definition by its ID - getTheme returns a registered theme or a controlled fallback - getSiteDefaultTheme returns the configured site default theme - resolveTheme applies visitor preference, then site default, then core fallback ## Explicitly out of scope - Amber extraction audit and theme settings (E15-S02, E15-S03) - Theme component gallery and failure scenarios (E16-S01, E16-S03) ## Test plan - Unit-test each registry operation against the ThemeDefinitionV1 contract ## Rollback note - Revert the registry implementation; no data migration is involved ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint 4 milestone 2026-08-27 00:02:56 +00:00
kpcto added the
status
proposed
kind
story
labels 2026-08-27 00:02:56 +00:00
Sign in to join this conversation.