PRD.md
The master product requirements: problem, personas, TPA taxonomy, journey, gamification, MVP cut, and 23 sections in all.
Planning, not yet built
A planning hub for a Tes Potensi Akademik study tool for FK UI specialist (PPDS) preparation. It does not just score: it diagnoses weak subskills, explains step by step, confirms understanding, then drills until mastery rises. Built Cloudflare-free-tier-first, secure by design.
Deliverables
Each lives in the repository as markdown. The repo is private; the owner can open any file from the list below.
PRD.mdThe master product requirements: problem, personas, TPA taxonomy, journey, gamification, MVP cut, and 23 sections in all.
FREE_TIER_ASSESSMENT.mdHonest Cloudflare free-tier limits and the real edges (KV write cap, Queues not free) with cost-risk triggers. No overclaiming.
TECHNICAL_PLAN.mdArchitecture, the auth decision (Cloudflare Access for MVP), pluggable AI and OCR providers, config, and deploy.
DATABASE_SCHEMA.sqlD1 schema: 19 tables with indexes, CHECK enums, privacy notes, migration order, and cascade delete and takedown.
API_CONTRACT.mdEvery endpoint with method, path, auth, input and output, validation, rate limit, and error cases. Correctness is server-side.
SECURITY_PLAN.mdThreat model and a secure-by-design checklist. No system is 100% unbreakable; residual risk is stated honestly.
LEARNING_ENGINE_SPEC.mdThe adaptive math: mastery formula, careless-vs-concept, spaced repetition, promotion and demotion, next best question.
OCR_PROVIDER_BENCHMARK_PLAN.mdPluggable OCR with a golden set and a measurable decision rule. PaddleOCR baseline, Tesseract fallback, others on merit.
DESIGN_SYSTEM.mdA mature academic design system (this page dogfoods it): teal accent, off-white and off-black, color-blind-aware mastery scale.
IMPLEMENTATION_ROADMAP.mdPhases 0 to 10, each with tasks, files, acceptance criteria, test commands, and a rollback plan.
TEST_PLAN.mdUnit, integration, e2e, security, migration, OCR golden-sample, engine, accessibility, mobile, and free-tier load tests.
CLAUDE_IMPLEMENTATION_PROMPTS.mdReady-to-paste prompts to build each phase with an agent, wired to the skills and these docs.
Architecture decisions
Needs your decision