[E17-S01-T06] Corrupt/unknown token ignored safely #323

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

Parent story: [E17-S01] Anonymous preference identity (#123)

Intent

Ignore corrupt or unknown tokens safely, treating them as an absent identity without an error.

Acceptance criteria

  • A corrupt token is ignored without throwing.
  • An unknown token is ignored without throwing.
  • Resolution proceeds as if no identity existed.

Explicitly out of scope

  • Lazy creation, token generation, hashing, expiration and cookie contents (sibling tasks T01-T05).

Test plan

  • Assert a corrupt cookie value yields no identity and no error.
  • Assert an unknown hash yields no identity and no error.

Rollback note

  • Revert the commit. No data changes.

Owning stream

platform

Risk quadrant

agent-full

> Parent story: [E17-S01] Anonymous preference identity (#123) ## Intent Ignore corrupt or unknown tokens safely, treating them as an absent identity without an error. ## Acceptance criteria - A corrupt token is ignored without throwing. - An unknown token is ignored without throwing. - Resolution proceeds as if no identity existed. ## Explicitly out of scope - Lazy creation, token generation, hashing, expiration and cookie contents (sibling tasks T01-T05). ## Test plan - Assert a corrupt cookie value yields no identity and no error. - Assert an unknown hash yields no identity and no error. ## Rollback note - Revert the commit. No data changes. ### Owning stream platform ### Risk quadrant agent-full
kpcto added this to the Sprint 5 milestone 2026-08-27 08:05:48 +00:00
kpcto added the
kind
task
status
proposed
labels 2026-08-27 08:05:48 +00:00
Sign in to join this conversation.