Canonical documentation for the Surveys subsystem — templated, typed, optionally-anonymous questionnaires you assign to employees to gather feedback — plus a cross-reference to Conversations (a Performance feature Task.md groups here).

Source of truth: core-backend-service source (SurveyService.cs 1,649 lines + 32 endpoints) plus a live pass (Playwright, "Pade Demo" tenant, 2026-07-20; screenshots).

⚠️ Two things to know before reading

  1. "AI conversation rounds" (Task.md's parenthetical) is not implemented. There is no AI/LLM code anywhere in the backend — verified by exhaustive search. Conversations use human-authored prompts. (RFD-003)
  2. Conversations belong to Performance, not Surveys. They're driven by _performanceService; documented in Performance Legacy. This set is primarily about Surveys. (RFD-002)

Start with surface-map.md.


The documents

Doc Audience What it answers Status
surface-map.md Everyone Inventory, model, routes, the two scope clarifications ✅ Done 2026-07-20
business.md PMs, QA, Support, HR What surveys are — types, anonymity, templates ✅ Done 2026-07-20
technical.md Engineers The model, templates, response types ✅ Done 2026-07-20
configuration.md Admins, HR Build a survey/template, assign, anonymity ✅ Done 2026-07-20
glossary.md Everyone Data dictionary ✅ Done 2026-07-20
api-reference.md Engineers The endpoint surface ✅ Done 2026-07-20
user-journey.md PMs, UX, Support Build, assign, take, analyse journeys ✅ Done 2026-07-20
how-to.md Admins Create, template, assign, view responses ✅ Done 2026-07-20
knowledge-base.md End users FAQ — anonymity, types, responses ✅ Done 2026-07-20
runbook.md On-call / Ops Missing surveys, response issues ✅ Done 2026-07-20
onboarding.md New engineers Ramp into SurveyService ✅ Done 2026-07-20
rfds/ Engineers Design decisions ✅ Done 2026-07-20 (3 records)

The one-paragraph model

A Survey is a questionnaire with a type (General engagement, Confirmation end-of-probation, or Exit), a status (New → Ready), and an anonymity flag. It's built from questions (each with a response type shared with Reviews) — either authored directly or auto-populated from a template. Templates come in two flavours: Custom (the company's own) and Default (platform-provided, stored in MembershipDb). A finished survey is assigned to employees (creating an EmployeeSurvey they advance Not started → In progress → Completed), and their answers land as SurveyResponses — attributed, or not, per the anonymity flag. Admins then view responses. Separately, Conversations (structured 1:1s with human-authored prompts) are a Performance feature grouped here by Task.md but documented with Performance; the "AI conversation rounds" the task name promises do not exist in code.


Verification log

2026-07-20 — Code inventory + live pass (live pass ran first)

Verified live: the route (/dashboard/survey, create at /dashboard/survey/new), the Surveys / Templates tabs, the Custom / Default template sub-tabs, statuses New/Ready, and the create form — Survey title, Survey type (dropdown options General / Confirmation / Exit, matching the code exactly), template auto-population copy, and the anonymous Yes/No toggle.

Two scope findings established:

Service note: the survey list loaded from middleware-dev.paidhr.com/admin/surveys/select; core-backend also exposes Admin/Surveys/*. Split not fully mapped.