045 - mpc-dev docs library + Summary hub
- Tanggal: 2026-08-21
- Chat/topik: Docs hub in-app; PRD diganti Summary; MD wiki + Mermaid
Ringkasan perubahan
- Docs tree di
mpc-dev/docs/; Cursor rules baca/tulis path itu. - File-driven wiki
/docs/[...slug]; link relatif.md; render Mermaid (tema kontras tinggi). - PRD → Summary (
summary.md): overview, actors, diagram, features, backlog, changelog index. - Applications hub (
docs/applications/): nested nav, per-app MD (published URL, fitur, latest version/changes); rules sync Applications saat bump versi. - Admin push langsung: tidak lagi bridge ke
mpc-be; FCM + Prismadevice_tokens/notifications. Diagram Summary: Admin →mpcdb.
Impact bisnis
Internal docs hub; admin broadcast tidak butuh BE jalan untuk push.
Epic / User stories
- Epic: Developer docs hub + ops independence
- US: Sebagai admin ops, saya ingin broadcast push tanpa menjalankan mpc-be.
- US: Sebagai product/eng, saya ingin Summary akurat soal hubungan antar app.
User terdampak
Developer / product; ops admin (push).
Aplikasi terdampak
- mpc-dev: PERLU — Summary, Applications hub, Mermaid, deploy
- mpc-admin: PERLU — push register/broadcast langsung
- mpc-be: TIDAK — endpoint broadcast tetap ada; admin tidak memanggilnya lagi
- Cursor rules: PERLU — app-versioning + -changelog sync applications MD
- Lainnya: TIDAK
Perubahan schema
Tidak ada DDL baru (pakai migration 023 yang sudah ada). Prisma admin: DeviceToken + Notification.category/data.
Perubahan kode
mpc-dev: summary diagrams, Mermaid; Applications menu +docs/applications/*; standalone + deploy https://mpc-dev.glenrh.com- Perf:
MarkdownViewServer Component; Mermaid lazy (IntersectionObserver);revalidate=60pada/docs/[...slug] .cursor/rules:app-versioning+ semua*-changelog*+ customer/parity sync Applications hubdeploy-mpc-dev.shmpc-admin-site:lib/push.ts, rewrite/api/push/*, hapusMPC_BE_URL/ADMIN_API_KEYuntuk push- Changelog admin v0.15, mpc-dev v0.2 bullets