Summary
When a course is deleted in Core, all related data in Question Maker and AI Tutor must be cleaned up automatically. Core is the SSOT for courses, so deletions should propagate through the API to both extensions — no orphaned records.
Scope
- Core → QM: When a course is deleted in Core, trigger deletion (or deactivation) of all QM data tied to that course (question banks, questions, modules, topics linked to that course)
- Core → AI Tutor: When a course is deleted in Core, remove all AI Tutor data tied to that course (session history, vector embeddings, topic/module mappings for that course)
- Extensions should handle the delete event via the Core API (webhook, event, or explicit API call — follow the existing integration pattern)
- Validate that no orphaned records remain in QM or AI Tutor after a course is deleted from Core
Acceptance Criteria
Part of: #58
EPIC: #58
Summary
When a course is deleted in Core, all related data in Question Maker and AI Tutor must be cleaned up automatically. Core is the SSOT for courses, so deletions should propagate through the API to both extensions — no orphaned records.
Scope
Acceptance Criteria
Part of: #58
EPIC: #58