Canonical documentation for the People subsystem — the system's understanding of who works for the company and how they fit together — plus the HRIS integration layer (Fusion + generic sync). People is the largest subsystem in PaidHR.
Source of truth: written from the actual code (
PersonService.csand ~40k lines of People services, the entities, and the 328 frontend components) and, for frontend-driven docs, by driving the live product. Unconfirmed product items are marked⚠️ VERIFY.
Start with the surface-map.md — the complete module inventory and coverage checklist.
| Doc | Audience | What it answers | Status |
|---|---|---|---|
| surface-map.md | Everyone | Complete module inventory (328 FE components + backend) + doc coverage | ✅ Done 2026-07-17 |
| business.md | PMs, QA, Support | What People is — person model, org structure, lifecycle, admin tiers | ✅ Verified 2026-07-17 |
| technical.md | Engineers, DBAs | How it's built — PersonService, org-chart trigger, admin tiers, sync |
✅ Verified 2026-07-17 |
| hris-integrations.md | Integration engineers, PMs | Fusion + generic HRIS sync — webhooks, workers, field mapping | ✅ Done 2026-07-17 |
| configuration.md | Admins, Implementation | Add/edit-employee, department, custom-group forms field-by-field + profile switch | ✅ Done 2026-07-17 |
| glossary.md | Everyone | Data dictionary — Person entities, enums, flags | ✅ Done 2026-07-17 |
| api-reference.md | FE + integration engineers | The People endpoint surface (Admin/Employees 103, etc.) | ✅ Done 2026-07-17 |
| user-journey.md | PMs, UX, Support | Persona journeys (new hire, admin, manager, exiting employee) — frontend-driven | ✅ Done 2026-07-17 |
| how-to.md | Admins, Support | Task guides with real screenshots — frontend-driven | ✅ Done 2026-07-17 |
| knowledge-base.md | End users | FAQ — frontend-driven | ✅ Done 2026-07-17 |
| runbook.md | On-call / Ops | Org-chart rebuilds, stuck sync, admin lockouts | ✅ Done 2026-07-17 |
| onboarding.md | New engineers | Ramp into PersonService & the People area |
✅ Done 2026-07-17 |
| rfds/ | Engineers | Design decisions (two-DB identity, org-chart trigger, sync upsert, profile switch) | ✅ Done 2026-07-17 (4 records) |
Legend: ✅ done/verified · 🟡 in progress · ⚪ planned
Method: re-checked concrete claims against current core-backend-service source.
Corrected ❌→✅
| Location | Was | Now | Reason |
|---|---|---|---|
| technical.md §Audience, §Source, §1 (×3) + mermaid | PersonService … 17,812 lines |
16,942 lines | file shrank since the earlier draft; actual wc -l = 16,942 |
| technical.md §1 | vs Payroll's 9,117 |
vs Payroll's 15,266 | stale Payroll cross-ref (Payroll grew) |
| technical.md §Source | ContractorService … 1,823 lines |
1,801 lines | actual wc -l = 1,801 |
| technical.md §31/§32 | Fusion sync worker "disabled (Program.cs:76-78)" | registered & active (Program.cs:99-102) | all 4 Fusion workers now registered as hosted services |
Confirmed accurate ✅: the service inventory, controller/endpoint names (Admin/Employees 103 endpoints, Admin/People 21, Admin/Contractors 19, Admin/Departments 10), the 14 integration sync workers, and the HRIS webhook surface (IntegrationController) all match the code.
Verdict: People business.md + technical.md are substantially accurate; the only drift was stale line-count/cross-reference numbers, now fixed.
People & org structure (+ HRIS) — surface map
People & org structure — business / product documentation
People & org structure — technical / engineering documentation