[E04-S02-T02] Slug uniqueness enforced at DB and application layers #219

Open
opened 2026-08-27 00:12:31 +00:00 by kpcto · 0 comments
Owner

Parent story: [E04-S02] Content repository/application commands (#69)

Intent

Enforce slug uniqueness at both the DB and application layers.

Acceptance criteria

  • Slug uniqueness is enforced at the application layer.
  • Slug uniqueness is enforced at the DB layer.

Explicitly out of scope

  • Publish state transition validation (E04-S02-T04).

Test plan

  • A test asserts duplicate slugs are rejected at both layers.

Rollback note

  • Unique constraint/index; revert drops the constraint.

Owning stream

platform

Risk quadrant

agent-full

> Parent story: [E04-S02] Content repository/application commands (#69) ## Intent Enforce slug uniqueness at both the DB and application layers. ## Acceptance criteria - Slug uniqueness is enforced at the application layer. - Slug uniqueness is enforced at the DB layer. ## Explicitly out of scope - Publish state transition validation (E04-S02-T04). ## Test plan - A test asserts duplicate slugs are rejected at both layers. ## Rollback note - Unique constraint/index; revert drops the constraint. ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint 1 milestone 2026-08-27 00:12:31 +00:00
kpcto added the
kind
task
status
proposed
labels 2026-08-27 00:12:31 +00:00
Sign in to join this conversation.