1. 🎯 Phase Summary
| Phase | Phase 0 · Foundation |
| Duration | 26 Apr - 10 May 2026 (2 minggu) |
| Goal | Blueprint LIVE · 21-page execution hub · repo + CI/CD scaffolded · staging server up · pilot clinic LOI signed · 4 FTE hire pipeline opened · Q1 Preflight Gate passed |
| Capacity | 2.0 FTE (0.5 BE + 0.5 FE + 0.5 DevOps + 0.5 Founder + 0.5 Doc Zam) |
| Critical milestone | 10 May 2026 · Q1 Preflight Gate |
| Blocks | ALL subsequent sprints (1.1 starts 11 May) |
2. 🎯 Objectives
- Blueprint Hub LIVE: 21 pages on medieco.alesa.my · all 9 sprints documented · pilot + onboarding + audit + production-live planned
- Pitch Page LIVE: medieco.alesa.my/pitch — English, public-shareable, Doc Zam pitching tool
- Repo Scaffolded: Laravel 11 + Filament 3 base · feature flag system · auth/RBAC scaffold · M9 audit middleware stub
- CI/CD Pipeline: GitHub Actions · linting · test scaffold · staging deploy on push to main
- Staging Server: srv151 LSWS subdomain m1-staging.medieco.alesa.my · backup-tested
- Pilot Clinic LOI: Doc Zam's primary clinic + 1 backup · liability insurance · timeline confirmed
- Hiring Pipeline: Job specs published · 2 BE + 1 FE + 1 prompt eng · target hire 11 May
- Tooling Setup: OpenAI key (gpt-4o + mini) · Whisper local on dev GPU · pgvector on staging
- Documentation: RESUME-BRIEF.md in repo · architecture decision records (ADR) folder · runbook stub
3. 📅 Day-by-Day Plan (10 Days)
D1Sun 26 Apr · Doc Zam Approval + Hub Init
Doc Zam ✅ approved blueprint via PPTX walkthrough. medieco.alesa.my hub LIVE with 14 sections. Founder publishes execution narrative.
Doc Zam ✅ approved blueprint via PPTX walkthrough. medieco.alesa.my hub LIVE with 14 sections. Founder publishes execution narrative.
D2Mon 27 Apr · Module Specs Stubs
M1-M9 module pages skeleton · pulled from Doc Zam mock alignment table. Each module page seeded with FR list.
M1-M9 module pages skeleton · pulled from Doc Zam mock alignment table. Each module page seeded with FR list.
D3Tue 28 Apr · Project + Development Blueprints
Full project blueprint (charter · scope · stakeholders · RACI · timeline · gates) + development blueprint (tech stack · API contracts · schema · agent specs).
Full project blueprint (charter · scope · stakeholders · RACI · timeline · gates) + development blueprint (tech stack · API contracts · schema · agent specs).
D4Wed 29 Apr · Sprint Detail Pages
Sprint 1.1-3.3 full pages · pilot · pitch · timeline · risks · budget · CPG · design · onboarding stubs.
Sprint 1.1-3.3 full pages · pilot · pitch · timeline · risks · budget · CPG · design · onboarding stubs.
D5Thu 30 Apr · Repo Scaffold
Laravel 11 + Filament 3 install on dev · auth scaffold · feature flag system · M9 audit middleware skeleton · git push initial.
Laravel 11 + Filament 3 install on dev · auth scaffold · feature flag system · M9 audit middleware skeleton · git push initial.
D6Fri 1 May · CI/CD Pipeline
GitHub Actions: PHP-CS-Fixer · phpstan · phpunit · staging deploy on main push. Slack notification.
GitHub Actions: PHP-CS-Fixer · phpstan · phpunit · staging deploy on main push. Slack notification.
D7Mon 5 May · Staging Server Up
srv151 m1-staging.medieco.alesa.my · LSWS subdomain · MariaDB · backup script · daily snapshot.
srv151 m1-staging.medieco.alesa.my · LSWS subdomain · MariaDB · backup script · daily snapshot.
D8Tue 6 May · Pilot Clinic LOI Signed
Doc Zam clinic agreement signed · liability insurance confirmed · backup clinic identified.
Doc Zam clinic agreement signed · liability insurance confirmed · backup clinic identified.
D9Wed 7 May · Hiring Pipeline
Job specs published (2 BE + 1 FE + 1 prompt eng) · interview pipeline opened · target offer 9 May.
Job specs published (2 BE + 1 FE + 1 prompt eng) · interview pipeline opened · target offer 9 May.
D10Thu 8 May · Tooling + Vendor Setup
OpenAI key (gpt-4o + mini quotas) · Whisper local · pgvector staging · WAHA gateway test.
OpenAI key (gpt-4o + mini quotas) · Whisper local · pgvector staging · WAHA gateway test.
D11Fri 9 May · Hires Confirmed + Q1 Dry Run
2 BE + 1 FE + 1 prompt eng offers signed · Q1 gate dry run · gap fixes.
2 BE + 1 FE + 1 prompt eng offers signed · Q1 gate dry run · gap fixes.
D12Sat 10 May · Q1 Preflight Gate
All 10 gate items reviewed · Doc Zam sign-off · Sprint 1.1 kickoff Mon 11 May 9am.
All 10 gate items reviewed · Doc Zam sign-off · Sprint 1.1 kickoff Mon 11 May 9am.
4. 📦 Deliverables
| Item | Status | URL / Location |
|---|---|---|
| Hub + 21 pages | ✅ LIVE | medieco.alesa.my |
| Pitch page (English) | ✅ LIVE | medieco.alesa.my/pitch |
| Repo (Laravel + Filament) | ✅ LIVE | github.com/alesa/medieco |
| CI/CD pipeline | ✅ LIVE | GitHub Actions |
| Staging server | ✅ LIVE | m1-staging.medieco.alesa.my |
| Pilot clinic LOI | ✅ Signed | repo /docs/legal/loi-pilot.pdf |
| Backup clinic LOI | ⏳ In progress | — |
| Hires (4 FTE) | ⏳ Offers signing | — |
| OpenAI + Whisper + pgvector | ✅ Provisioned | vault |
| RESUME-BRIEF.md | ✅ Committed | repo /docs/RESUME-BRIEF.md |
5. 🗄️ Repo + CI/CD
github.com/alesa/medieco
├── app/
│ ├── Filament/ (admin panels · M7 + M9 · seed for M2-M6)
│ ├── Http/Middleware/ (M9AuditMiddleware · TenantScope stub)
│ ├── Models/ (Patient · Encounter · User · Tenant)
│ ├── Services/ (PIIStrip · CitationEnforcer · FeatureFlag)
├── database/
│ ├── migrations/ (initial schema · 11-section Patient model)
│ ├── seeders/ (DrugMaster stub · CPG corpus stub)
├── docs/
│ ├── ADR/ (Architecture Decision Records)
│ ├── RESUME-BRIEF.md (zero-context-loss insurance)
│ ├── runbook.md
├── routes/
├── tests/
└── .github/workflows/
├── ci.yml (lint · test · phpstan)
└── deploy.yml (staging on push to main)
CI runs:
· PHP-CS-Fixer
· phpstan level 6
· phpunit (target ≥ 75% coverage by Sprint 1.3)
· Filament page render smoke test
· staging deploy on green main
6. 👥 Hiring Pipeline
| Role | Count | Target start | Status |
|---|---|---|---|
| Eng Lead / Senior BE | 1 | 26 Apr (in seat) | ✅ Confirmed |
| Backend Dev (Laravel + Filament) | 2 | 11 May | ⏳ Interview |
| Frontend Dev (Vue/Tailwind) | 1 | 11 May | ⏳ Interview |
| Prompt Engineer (LLM ops) | 1 | 25 May (Sprint 1.2 start) | ⏳ Sourcing |
| QA | 0.5 | 25 May | ⏳ Sourcing |
| DevOps | 0.5 | 11 May | ⏳ Identified |
7. 🏥 Pilot Clinic LOI
- Primary: Doc Zam's clinic — capacity ~80 patients/day · multi-room layout · 2 doctors
- Backup: Identified within 30km · same demographic · willingness confirmed
- Liability insurance: medical indemnity confirmed · MediEco rider in progress
- Site survey scheduled: 16 Jun (during Sprint 1.3) · network · printer · reception layout
- Pilot agreement: 90-day pilot · MediEco bears all software cost · clinic provides space + staff time
- Exit clause: Either party can withdraw with 14-day notice · data migration plan defined
8. 🩺 Doc Zam Sign-off Items
- Blueprint hub content reviewed and approved
- Module M1-M9 spec direction approved
- Pitch page (English) — clinical claims accurate · willing to share publicly
- Pilot clinic agreement signed
- CPG corpus shortlist confirmed (MOH-CPG · which specialties first)
- SOAP template direction approved (locked at Sprint 1.3 prereq)
- Triage decision tree direction approved (locked at Sprint 1.2 prereq)
- Patient consent language reviewed (PDPA bilingual)
- Q1 Preflight gate ✅ before Sprint 1.1 kickoff
9. 🚦 Q1 Preflight Gate (10 May)
All ✓ required to unlock Sprint 1.1 (11 May). Refuse to proceed if any ✗.
- Doc Zam blueprint sign-off in writing (email + repo commit)
- Repo + CI/CD pipeline green for 3 consecutive runs
- Staging server reachable + smoke-tested
- Pilot clinic LOI signed + insurance confirmed
- Backup clinic identified + verbal confirmation
- 4 hires confirmed (Eng Lead in seat · 3 starting 11 May)
- OpenAI quota verified (5M tokens reserved)
- Whisper local working on test 10-min audio
- pgvector seeded with 10 sample CPG passages
- RESUME-BRIEF.md committed + reviewed
- Sprint 1.1 detailed plan published (sprint-1-1 page LIVE)
- Internal team kickoff meeting scheduled 11 May 9am
10. 🛡️ Contingency
| Risk | Trigger | Response |
|---|---|---|
| Hire pipeline slow | < 3 of 4 confirmed by 9 May | Slip Sprint 1.1 by 1 week · or run with 0.5x velocity |
| Pilot clinic delays | LOI not signed by 6 May | Activate backup clinic · adjust pilot dates accordingly |
| OpenAI quota delays | Vendor onboarding slow | Use existing personal API key · upgrade to org account in parallel |
| Staging server unstable | Uptime < 99% on baseline | Migrate to srv187 backup · or use cloud-hosted dev |
| Doc Zam clinical sign-off slip | Personal/clinical conflict | Schedule async written review · accept partial sign-off with deferred items |