Status: Accepted (in force). Verified live 2026-07-20.
Context
Honest engagement and exit feedback depends on employees trusting that their answers can't be traced to them. That trust is fragile: if anonymity could be toggled off later, or if any report path re-attributed responses, the guarantee would be worthless — and worse, employees who answered candidly would be exposed.
Decision
Make anonymity a single boolean set at creation (Survey.IsAnonymous), chosen before the survey exists (the create form asks "Is this survey anonymous — Yes / No"), and enforce it on every response-read path: an anonymous survey's responses must never join back to Person. For anonymous surveys, the only view is aggregate — there is no per-person breakdown by design.
Consequences
Good:
- A credible promise. Because it's fixed up-front and enforced at read, "anonymous" means anonymous — the basis for candid feedback.
- Aggregate-only reporting for anonymous surveys is simple and safe: there's no attributed view to accidentally leak.
Bad / costs:
- Irreversible. You can't later decide you want to see who said what — nor should you. Admins must choose deliberately at creation, and a wrong choice means re-running the survey. (knowledge-base)
- Enforcement is a distributed invariant. Every code path that surfaces responses — exports, dashboards, APIs — must honour the flag. A single path that joins to
Person is a privacy breach, not a cosmetic bug. (runbook §2)
- Harder to follow up: you can't reach out to a specific respondent about their answer.
Guidance
- Treat
IsAnonymous as a privacy invariant: audit every response-read path against it.
- Never add a feature that de-anonymises an anonymous survey.
- In UI/support copy, make the permanence explicit so admins don't expect to change it.
- Test the anonymity read-path deliberately — it's the module's one high-severity failure mode.
Related
business §4 · technical §5 · runbook §2