Automatic Staleness Tracker (Lineage)
Tracks what was derived from what, so editing one source automatically purges every stale summary.
You update your pricing sheet, but outdated summaries written last month keep giving customers wrong prices.
Updating the pricing sheet automatically invalidates every downstream summary derived from it.
What It Does (In Plain English)
Lineage maintains a cycle-safe dependency map between source documents and derived summaries/knowledge items. The moment a source document changes or gets deleted (source.changed), Lineage emits derived.invalidated across the whole downstream chain — leaving unrelated knowledge untouched.
Real-World Example
- 1Policy Doc v1 is summarized into a quick-reference note.
- 2Legal uploads Policy Doc v2 → Ingestion emits
source.changed. - 3Lineage traces the dependency and automatically invalidates the outdated v1 summary and search cache.
When Should You Turn It On?
Enterprise Edition. Add when policies or source documents change frequently and stale answers are dangerous.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
# Enterprise Edition (@neusym/kit-lineage)
kits:
- "@neusym/kit-lineage@0.1.0"Kits It Works With
Technical Details & Configuration Options (0 settings)
| Package | @neusym/kit-lineage |
|---|---|
| Provides Ports | lineage@1 |
| Requires Ports | None |
| Optional Ports | None |
| Publishes Events | derived.invalidated |
| Owned DB Collections | lineage_edges |
This kit requires zero custom configuration options.