KB_RLPD_PHASE2¶
Knowledge Base — โครงการพัฒนาและปรับปรุงระบบสารสนเทศกรมคุ้มครองสิทธิและเสรีภาพ ระยะที่ 2
Single source of truth สำหรับทีม Fragment Lab และผู้รับเหมาช่วง
Documentation Site: https://kb-rlpd-phase2.pages.dev/
Quick Reference¶
| Item | Detail |
|---|---|
| Customer | กรมคุ้มครองสิทธิและเสรีภาพ (RLPD) |
| Project Sponsor (เจ้าภาพ) | กองส่งเสริมการระงับข้อพิพาท (กสร.) — เจ้าของระบบ S4 |
| Project | พัฒนาและปรับปรุงระบบสารสนเทศ ระยะที่ 2 |
| Contract | 270 days from signing |
| Scope | 9 systems (3 new + 6 improvement) |
| Go-live | Before September 2026 (min 5-7 systems) |
| Architecture | Micro Service + API + Single Database (MSSQL) |
| Stack | C# .NET, IIS, MSSQL |
| Accessibility | WCAG 2.2 Level AA |
| Auth | ThaiD / Digital ID SSO, RBAC |
Systems¶
| # | System | Type | Effort | Dept | TOR |
|---|---|---|---|---|---|
| S1 | Legal Consultation | New | Medium | กพส. | 7.11 |
| S2 | Proactive Justice (PJOS) | New | Medium | กพส. | 7.12 |
| S3 | Activity Report + Courses | New | Medium | กสส. | 7.13 |
| S4 | Mediation | Improvement | High | กสร. | 7.14 |
| S5 | Lawyer Compensation (134/1) | Improvement | Medium | กพส. | 7.15 |
| S6 | OCIPA | Improvement | High | สชง. | 7.16 |
| S7 | Witness Protection | Improvement | Low | สคพ. | 7.17 |
| S8 | RLPD Website | Improvement | Low | IT | 7.18 |
| S9 | Web Portal | Improvement | Low | IT | 7.19 |
Delivery Waves¶
| Wave | Timeline | Systems | Strategy |
|---|---|---|---|
| Wave 1 | Month 1–3 | S7, S8, S9 | Quick wins — prove delivery capability |
| Wave 2 | Month 3–6 | S1, S2, S3, S5 | Standard effort — predictable scope |
| Wave 3 | Month 6–9 | S4, S6 | High risk — legacy complexity |
Contract Milestones¶
| Milestone | Day | Deliverable |
|---|---|---|
| M1 | 45 | Requirements & Architecture |
| M2 | 90 | Source code + Unit tests |
| M3 | 240 | UAT + Go-live + Training |
| M4 | 270 | VA Scan + Pentest + Sign-off |
Repository Structure¶
KB_RLPD_PHASE2/
├── README.md ← You are here
├── CLAUDE.md ← AI assistant context
├── SYSTEM_OVERVIEW.md ← Architecture & system summaries
├── TIMELINE_AND_PRIORITIES.md ← Delivery schedule & priorities
├── mkdocs.yml ← MkDocs Material config
├── requirements.txt ← Python dependencies
├── systems/
│ ├── S1_legal_consultation.md
│ ├── S2_PJOS.md
│ ├── S3_activity_report.md
│ ├── S4_mediation.md
│ ├── S5_lawyer_compensation.md
│ ├── S6_OCIPA.md
│ ├── S7_witness_protection.md
│ ├── S8_website.md
│ └── S9_web_portal.md
├── infrastructure/
│ ├── ENVIRONMENTS.md ← Server, DB, deployment
│ ├── NETWORK_AND_ACCESS.md ← VPN, firewall, credentials
│ └── SECURITY_AND_COMPLIANCE.md ← VA Scan, Pentest, WCAG
├── meetings/
│ └── 2026-03-24_pre_kickoff.md
├── references/
│ └── TOR_PHASE_2_SUMMARY.md
├── docs/ ← MkDocs source (symlinks)
│ ├── index.md → ../README.md
│ └── stylesheets/extra.css
└── .github/workflows/
└── deploy-docs.yml ← Auto-deploy to Cloudflare Pages
Documentation Site¶
Built with MkDocs Material and deployed to Cloudflare Pages.
```bash
Setup¶
python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt
Local development¶
mkdocs serve # http://127.0.0.1:8000
Build¶
mkdocs build # Output → site/
Manual deploy¶
npx wrangler pages deploy site --project-name kb-rlpd-phase2 ```
Auto-deploys to Cloudflare Pages on every push to main via GitHub Actions.
Department Map¶
| Abbr | Full Name | Systems |
|---|---|---|
| กพส. | กองพิทักษ์สิทธิและเสรีภาพ | S1, S2, S5 |
| กสส. | กองส่งเสริมสิทธิและเสรีภาพ | S3 |
| กสร. | กองส่งเสริมการระงับข้อพิพาท | S4 |
| สชง. | สำนักชดเชยค่าสินไหม | S6 |
| สคพ. | สำนักงานคุ้มครองพยาน | S7 |
| IT | ศูนย์เทคโนโลยีสารสนเทศ | S8, S9 |
Communication & Document Management¶
| Item | Detail |
|---|---|
| Weekly Update | Every Wednesday 10:00–11:00 (Online) |
| External Meeting | Weekly / Monthly / Onsite — TBD with customer |
| Kickoff | April 9, 2026, 13:00–16:30 |
| SharePoint | RLPD-P2 Shared Documents |
| File Naming | RLPD-Dev-P2_<name>_v.<major>.<minor>.<patch> |
| MFEC Review | All documents must be sent to MFEC 3 working days before final |
Contributing¶
- Always reference TOR section numbers (e.g., "TOR 7.11.1")
- Tag open questions with
<!-- TODO: -->or> **[OPEN]** - Update the relevant system file, not meeting notes
- Credentials go in
infrastructure/NETWORK_AND_ACCESS.mdonly — never commit secrets - When adding new docs, update the
navsection inmkdocs.yml