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,36 @@
# Phase 5 Summary
**Status:** Complete
**Completed:** 2026-04-26
## Delivered
- Added `internal/ontology` for materials, concept candidates, edge candidates,
gaps, and snapshots.
- Added deterministic MVP analyzer for known backend interview concepts.
- Added source evidence to every supported concept and edge candidate.
- Added candidate-only gap records for missing prerequisites and weak evidence.
- Added HTTP endpoints:
- `POST /api/v1/materials`
- `GET /api/v1/ontology`
- Added ontology unit tests and HTTP flow tests.
## Verification
```powershell
gofmt -w cmd internal
go test ./...
openspec validate bootstrap-job-tutor-platform --strict
```
Additional smoke check:
- Material ingestion followed by ontology snapshot returned candidate concepts,
edges, and gaps.
## Deferred
- Multipart uploads.
- PPT/PDF/document parsing.
- Human review and canonical promotion.
- Graph database persistence.