[E18-S02-T01] Preference mutation endpoint #329

Open
opened 2026-08-27 08:05:52 +00:00 by kpcto · 0 comments
Owner

Parent story: [E18-S02] Preference mutation endpoint (#127)

Intent

Implement the endpoint that persists a visitor's theme choice after validating the requested theme.

Acceptance criteria

  • The endpoint rejects uninstalled, disabled and unpermitted themes.
  • A valid choice persists under the visitor's identity.
  • The cookie remains free of theme data.

Explicitly out of scope

  • The client island (E18-S01), SSR resolution (E18-S03) and the disable fallback (E18-S04).

Test plan

  • API tests for each rejection path.
  • API test that a valid theme persists.
  • Assert no theme data appears in the cookie.

Rollback note

  • Additive endpoint; revert the commit. Stored preferences remain but are ignored.

Owning stream

platform

Risk quadrant

agent-full

> Parent story: [E18-S02] Preference mutation endpoint (#127) ## Intent Implement the endpoint that persists a visitor's theme choice after validating the requested theme. ## Acceptance criteria - The endpoint rejects uninstalled, disabled and unpermitted themes. - A valid choice persists under the visitor's identity. - The cookie remains free of theme data. ## Explicitly out of scope - The client island (E18-S01), SSR resolution (E18-S03) and the disable fallback (E18-S04). ## Test plan - API tests for each rejection path. - API test that a valid theme persists. - Assert no theme data appears in the cookie. ## Rollback note - Additive endpoint; revert the commit. Stored preferences remain but are ignored. ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint 5 milestone 2026-08-27 08:05:52 +00:00
kpcto added the
kind
task
status
proposed
labels 2026-08-27 08:05:52 +00:00
Sign in to join this conversation.