Skip to content
C.W.K.
Stream
Lesson 02 of 04 · published

The Index Has an Owner

~12 min · ownership, index, rag, rebuild

Level 0Trace
0 XP0/36 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

A vector store is not generic plumbing

Putting every embedding into an existing database looks convenient. An index, however, is defined before its model by keys, lifecycle, authority, and consumers. Conversation RAG and vault management differ on all four.

A conversation store chunks chats for answer retrieval and follows conversation lifecycle. Vestige keys by vault, path, and mirror content hash, serves curation plus authorized brain context, and reindexes from ledger commits. Shared vector shape is not a reason to share a table.

The boundary differs from Lantern too

Lantern is a corpus retrieval sibling; Vestige is a memory management surface. Turning the vault into a Lantern corpus exposes identity memory to general retrieval and creates results with no clear editing owner.

Vestige search finds source and surfaces related, duplicate, and orphan candidates for curation. Gathering context for answer generation is not its center. Similar query shape does not erase product purpose.

Mirror keys determine rebuilding

An index row needs the mirror content hash, not only a live path. A ledger commit naming a new hash triggers targeted re-embedding, while corruption permits purge and full ingest from mirror.

On rename, compare path and content identity. Distinguishing moved identical content from replacement reduces embedding spend and stale rows.

Ownership is operating responsibility

Owning an index is not preference for another database. It assigns schema migration, model version, rebuild command, health, permission filtering, and recovery.

Even separate namespaces may share credentials, retention, and destructive administration. Logical separation and ownership separation are not synonyms.

An index is not a container of vectors; it is a derived contract between a source and consumers. Different purpose, key, invalidation, and permission require a distinct owner.

Code

Build mirror-keyed index identity·python
from hashlib import sha256

def index_key(vault, path, content):
    digest = sha256(content.encode()).hexdigest()
    return (vault, path, digest)

old = index_key("pippa", "memory/a.md", "first")
new = index_key("pippa", "memory/a.md", "second")
assert old != new
assert old[:2] == new[:2]

External links

Exercise

For each vector store, list source key, consumer, invalidation trigger, rebuild command, and permission owner. Do not merge stores that share only a model.
Hint
Look beyond collection names to shared admin credentials and destructive operations.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.