# Execution Plan: HAD Digital MVP Skeleton

## Phase 0: Survey & Scope Formulation
- [ ] 0.1 Dispatch 3 Explorers / Spec Miners in parallel to survey requirements, architecture, packaging, and test specifications.
- [ ] 0.2 Synthesize survey reports into unified `PROJECT.md` containing Feature Inventory, Milestones, Architecture, Interface Contracts, and Code Layout.
- [ ] 0.3 Verify Feature Inventory cross-check (every feature assigned to a milestone).

## Phase 1: Dual Track Initiation
- [ ] 1.1 Spawn E2E Testing Orchestrator / Workers to develop opaque-box E2E test suite (Tiers 1-4) and `TEST_INFRA.md`.
- [ ] 1.2 Spawn Implementation Track milestones.

## Phase 2: Implementation Track Milestones
- [ ] Milestone M1: Core Server & Database Engine (SQLite, schema, migrations, data access, auth & reporting REST endpoints).
  - Explorer -> Worker -> Reviewers (2) -> Challengers (2) -> Forensic Auditor -> Gate.
- [ ] Milestone M2: Responsive Local-First Frontend (HTML5/CSS3/Vanilla JS, Auth view, Patient Toxicity Reporting Form, Clinician Care Timeline view).
  - Explorer -> Worker -> Reviewers (2) -> Challengers (2) -> Forensic Auditor -> Gate.
- [ ] Milestone M3: Packaging & Build Automation (PyInstaller spec/script, bundling assets + SQLite + server into single standalone .exe).
  - Explorer -> Worker -> Reviewers (2) -> Challengers (2) -> Forensic Auditor -> Gate.

## Phase 3: Verification & Hardening Track (Final Milestone)
- [ ] Milestone M4 - Sub-phase 1: Pass 100% E2E test suite (Tiers 1-4) using programmatic verification script and standalone .exe execution.
- [ ] Milestone M4 - Sub-phase 2: Tier 5 Adversarial Coverage Hardening (Challengers -> Worker -> Reviewer -> Gate).
- [ ] Victory Audit: Full independent integrity audit by Sentinel victory auditor.
- [ ] Final Completion Report to Sentinel.
