feat: add ontology material ingestion

This commit is contained in:
user
2026-04-26 17:49:35 +09:00
parent a413f1ef15
commit 4936cdf4c9
19 changed files with 766 additions and 13 deletions

View File

@@ -0,0 +1,37 @@
# Phase 5 Context: Ontology and Learning Materials
**Status:** Ready for execution
**Started:** 2026-04-26
## Goal
Accept learning material input and produce source-backed ontology candidates.
## Inputs
- OpenSpec `learning-ontology` requirements.
- Existing workflow contracts for `OntologyGap`.
- Backend Developer Interview seed concepts.
## Decisions
- Use an in-memory ontology store for MVP proof.
- Accept JSON material ingestion before multipart file upload.
- Mark all generated nodes, edges, and gaps as `candidate`.
- Preserve source evidence for every supported ontology candidate.
## Boundaries
In scope:
- Material ingestion API.
- Source-backed ontology candidate nodes and edges.
- Gap detection for missing prerequisites and weak evidence.
- Ontology snapshot API.
Out of scope:
- File storage.
- PDF/PPT parsing.
- Human review UI.
- Canonical promotion workflow.