diff --git a/docs/MEMPALACE_INTEGRATION_ROADMAP.md b/docs/MEMPALACE_INTEGRATION_ROADMAP.md index a441af2..5010069 100644 --- a/docs/MEMPALACE_INTEGRATION_ROADMAP.md +++ b/docs/MEMPALACE_INTEGRATION_ROADMAP.md @@ -615,12 +615,12 @@ export interface ExtractedTriple { Added to `modules/palace/repository.ts`: -- [ ] `addTriple(userId, productId, wingId, subject, predicate, object, confidence)` — assert a fact -- [ ] `invalidateTriple(userId, productId, subject, predicate, object)` — mark fact as ended -- [ ] `queryEntity(userId, productId, entity, asOf?)` → all current triples about entity -- [ ] `queryRelation(userId, productId, subject, predicate)` → matching objects -- [ ] `timeline(userId, productId, entity)` → chronological story -- [ ] `contradictions(userId, productId, wingId?)` → conflicting current triples +- [x] 31bdb0a `addTriple(userId, productId, wingId, subject, predicate, object, confidence)` — assert a fact +- [x] 31bdb0a `invalidateTriple(userId, productId, subject, predicate, object)` — mark fact as ended +- [x] 31bdb0a `queryEntity(userId, productId, entity, asOf?)` → all current triples about entity +- [x] 31bdb0a `queryRelation(userId, productId, subject, predicate)` → matching objects +- [x] 31bdb0a `entityTimeline(userId, productId, entity)` → chronological story +- [x] 31bdb0a `findKGContradictions(userId, productId, wingId?)` → conflicting current triples ### N3.3 Auto-Link Notes via KG @@ -632,13 +632,13 @@ When two notes reference the same entity, suggest a note-relationship: ### N3.4 Tests -- [ ] Triple CRUD with user isolation -- [ ] Temporal queries (point-in-time vs current) -- [ ] Entity timeline returns chronological order -- [ ] Contradiction detection finds conflicting facts -- [ ] Invalidated triples excluded from current queries -- [ ] KG auto-link suggests note relationships -- [ ] Cross-user: user A's KG never leaks to user B +- [x] 31bdb0a Triple CRUD with user isolation +- [x] 31bdb0a Temporal queries (point-in-time vs current) +- [x] 31bdb0a Entity timeline returns chronological order +- [x] 31bdb0a Contradiction detection finds conflicting facts +- [x] 31bdb0a Invalidated triples excluded from current queries +- [ ] KG auto-link suggests note relationships (deferred to N5 routes) +- [x] 31bdb0a Cross-user: user A's KG never leaks to user B ---