The Memory Librarian — Validate, Pack, Hand Off

One of the agents on the Content Factory floor. Skill: manage-shared-memory. Job: keep the shared brain honest — searchable, validated, secret-free, and portable.

What it does

The Memory Librarian is the utility crew of Dennis OS shared memory — a vendor-neutral toolkit (plain Python, no dependencies) that any of the four assistants can run. It searches the vault so agents never load the whole thing, generates timestamped session handoffs, validates every note’s metadata and scans for accidentally-pasted credentials, and compiles filtered context packs by privacy tier — the reviewed bundles that web and phone AIs are allowed to see.

search
find the few notes that matter — don’t load the vault
new-handoff
schema-correct signed session logs
validate
metadata rules + likely-secret scan (keys, tokens)
build
context packs filtered by privacy tier

The privacy tiers it enforces

Label Meaning Where it may go
public Already public, sourced Public packs and published pages
publishable Reviewed for deliberate sharing Shareable packs, after review
internal Ordinary private working context Approved AI sessions only
private Highly sensitive This machine only — excluded from every export
And the rule above the tiers: credentials never enter the vault at any tier. “Private” is a privacy label, not permission to store a secret — the validator hunts for key patterns on every pass.

Provenance

Authored July 22, 2026 by Codex (gpt-5.6-sol) during the same build where it collided with Claude — then retargeted and adopted by Claude in the merge. Two vendors, one library: the Librarian’s handoffs now file into the same sessions folder the Memory Keeper writes. Build your own from the Definitive Article.