← Back to project

Implementation Plan: Engineering Backlog & Schedule



This report translates the MVP architecture into concrete engineering tasks, grouped by milestone, with clear acceptance criteria and difficulty estimates. It also provides a realistic 60‑day schedule assuming a small team (1–2 engineers).

---

Backlog by Milestone



Milestone 1: CDC Ingestion (Days 1–10)



Goal: Establish raw change capture from MySQL and verify delivery to overlay.

Tasks:

1. Set up MySQL test instance (S)


2. Install Debezium Server (HTTP sink) (M)

3. Implement `/ingest` HTTP endpoint in Go (S)

4. End‑to‑end connectivity test (S)

---


Milestone 2: Normalization & Storage (Days 5–12)



Goal: Persist canonical events with deduplication and transaction support.

Tasks:

5. Define CanonicalChangeEvent and conversion (M)


6. SQLite schema and repository (S)

7. Idempotent ingestion (S)

8. Transaction atomicity (M)

---


Milestone 3: Inference Engine (Days 10–20)



Goal: Produce BusinessEvents from canonical changes.

Tasks:

9. Rule engine core (M)


10. Sale completion inference (S)

11. Inventory adjustment inference (S)

12. User role change inference (S)

13. Unit test suite (M)

---


Milestone 4: AI Layer (Days 15–30)



Goal: Add summaries, anomaly detection, and LLM‑based explanations.

Tasks:

14. Ollama client integration (S)


15. Daily summary batch job (M)

16. Heuristic anomaly detection (M)

17. LLM‑based anomaly explanations (M)

18. Caching layer (S)

---


Milestone 5: Interfaces (Days 25–35)



Goal: Provide usable CLI and MCP access.

Tasks:

19. CLI `auditctl` – summary (S)


20. CLI – anomalies (S)

21. CLI – trace (S)

22. CLI – export (S)

23. MCP server implementation (M)

24. (Stretch) Web UI (L)

---


Milestone 6: Security & Polish (Days 30–40)



Goal: Harden installation and meet enterprise concerns.

Tasks:

25. Data masking config (S)


26. Secrets management (S)

27. Self‑audit logging (S)

28. Docker Compose bundle (M)

29. Installation guide (M)

---


Milestone 7: Synthetic Data & Demo (Days 35–50)



Goal: Deliver a compelling demo out of the box.

Tasks:

30. Synthetic data generator development (M)


31. Integrate generator into Docker Compose (S)

32. Demo script and slide notes (S)

---


Milestone 8: Pilot Prep & Documentation (Days 45–60)



Goal: Finalize package for customer pilot.

Tasks:

33. End‑to‑end testing & tuning (M)


34. Operator’s manual (M)

35. Pilot proposal template (S)

36. Code cleanup & release tagging (M)

---


Summary Statistics



---


60‑Day Schedule



| Week | Focus | Deliverables |
|------|-------|--------------|
| Days 1‑10 | Ingestion & connectivity | Tasks 1–4; raw events flowing into Go service. |
| Days 11‑20 | Normalization + inference core | Tasks 5–13; BusinessEvents stored; unit tests. |
| Days 21‑30 | AI layer + basic CLI | Tasks 14–18; daily summary + anomaly detection; CLI summary/ anomalies/ trace commands working. |
| Days 31‑40 | MCP + security hardening | Tasks 19–29; MCP server; Docker Compose; data masking; logging. |
| Days 41‑50 | Synthetic data + demo | Tasks 30–32; generator integrated; demo script. |
| Days 51‑60 | Polishing + pilot kit | Tasks 33–36; final testing; operator manual; release. |


Critical path: Ingestion → Normalization → Inference → AI → CLI. Parallelizable: security, docs, generator.

---

Risks & Mitigations



---


Conclusion



This plan provides a realistic path to a working MVP by Day 60. The backlog is broken into small, testable increments, and the schedule builds in slack for iteration. Success depends on maintaining the architecture boundaries (canonical events, rule engine, AI abstraction) so that improvements can be made post‑MVP without rewrites.

---

Word count: ~1,150