ÆtherOracle is a hermetic cascade: a project-native corpus graph at the base, durable notes and transient fragments above it, and a token substrate underneath that lets every layer resonate with every query. This page documents the whole vertical.
Four strata, one memory. Each stratum feeds the token substrate; each recall blends them by resonance — content, tags, paths, scope distance and freshness.
flowchart TD
subgraph S0[Stufe 0 — Corpus Graph]
SOUND["corpus_sound / project_sync (git-track)"] --> NODES["corpus_nodes + corpus_edges (files, symbols, imports)"]
NODES --> SIGHT["corpus_sightings (mtime:size fingerprints)"]
end
subgraph S1[Stufe 1 — Notes]
NOTES["project_notes (context-scoped, durable)"]
MAPS["map notes (Atlas)"]
end
subgraph S2[Stufe 2 — Fragments]
FRAGS["fragments (TTL + decay)"]
DELTA["corpus-delta + sync-marker (Atlas)"]
end
subgraph S3[Stufe 3 — Token Substrate]
TOK["memory_tokens (content / tag / path channels)"]
end
SOUND --> DELTA
DELTA --> FRAGS
NOTES --> TOK
MAPS --> TOK
FRAGS --> TOK
NODES --> TOK
TOK --> RECALL["recall_notes / recall_fragments / recall_corpus / ouroboros_recall"]
An Argonaut sounding scans every source file into corpus_nodes (files +
symbols) and corpus_edges (imports / nesting / references). The graph is the
project's skeleton; every node is indexed into the token substrate.
Durable, context-scoped knowledge (project_notes). Notes carry content,
tags, links and a scope path; recall applies cascade resonance — the local scope
outranks ancestors, siblings whisper nothing upward.
Transient cognition with a TTL. Fresh fragments glow in recall (freshness
weighting); expired ones decay and are purged lazily. The project's living change lives
here: every touched file mints a corpus-delta fragment.
memory_tokens is the polymorphic vector base under notes, fragments and
corpus nodes. Three channels — content (tf), tags (semantic anchors), paths (structure)
— plus cosine similarity over the shared space.
Complete project mapping, woven into the cascade. The cartographer sounds the repo, remembers every file's fingerprint, and re-sounds only what actually changed. Changes glows as fragments; structure persists as map notes.
Full idempotent rescan: rebuilds the graph, re-seeds the delta memory
(corpus_sightings — mtime + size per file) and mints the map notes.
Happens automatically on first contact.
Incremental rite: compares the repo against the fingerprints and
git status. Only added/changed files are re-sounded, deleted ones excised,
imports re-wired. Catches edits invisible to fingerprints — same-size same-second
edits, external tools, concurrent workers.
Every create_file / patch_file / rename_file
re-sights the touched path automatically (cartography.observe_edits) — the
agent's own edits become memory the moment they happen. mnemosyne_observe
covers edits made outside the tool loop.
One compact overview note plus one note per project area (files, symbols, sample
files, one-line description — written by the fast model when a distinct one exists,
else heuristically). Tagged map, re-minted idempotently.
A flash turn is only worth spending when a distinct fast model exists
(fast-model != model) — otherwise every rite falls back silently to the old
behaviour. One runtime gate, Mnemosyne.flash_available?(rite), per-rite flags
in the flash: config section.
Keeps the Ægis orientation alive. post_turn_sediment (on) lets the fast
model distill each turn into a summary + tags and weave them into the current Ægis —
the oracle re-orients itself after every prompt without the deep mind lifting a finger.
pre_turn_intent (off) would read intent before the turn.
Intelligent recall (ouroboros_recall): the fast model digests the
top recall hits into one current-state digest, so the deep mind navigates a distilled
map instead of raw notes.
Writes the map notes' one-line area descriptions
(cartography.map-flash). Pure kartierung — never touches recall.
Multiple ÆtherOracle instances may share one project and one memory db. The cartography layer is built for this: every rite is idempotent, the db waits politely on contention, and deltas whisper across instances.
Fingerprints (corpus_sightings) live in the shared db — a worker that
synced after another worker's edits sees a clean tree, never re-sounds blindly.
Every sync with a delta mints a transient marker
(worker@time: +added/changed/-removed). A sibling instance's recall
surfaces "something changed over there" through normal fragment glow — no
polling, no re-scanning.
git status --porcelain is unioned with the fingerprints, so content
changes that mtime+size cannot see (same-size same-second edits, external tools) are
still captured.
The memory db waits politely (busy_timeout = 5000) instead of dying on
SQLITE_BUSY when two workers write at the same moment.
The cartography and recall instruments — the full set lives in
instrumenta.rb.
| Tool | Rite |
|---|---|
corpus_sound | Full rescan: graph + sightings + map notes |
project_sync | Incremental sync: fingerprints + git union, delta fragments + sync-marker + maps |
project_map | Re-mint map notes from the current graph |
mnemosyne_observe | Re-sight one edited file (auto after every write tool) |
recall_corpus | Recall graph nodes by channel-blended cosine |
recall_notes | Recall durable notes (cascade resonance + scoring) |
recall_fragments | Recall transient fragments (freshness glow) |
ouroboros_recall | Flash-digested recall: one current-state digest |
file_overview | Symbolic file navigation (token-slim, scaling-configurable) |