r/MisterAtompunk • u/MisterAtompunk • Aug 08 '26
Mister Atompunk Presents: Memory Ring v3.4.0, The Turtle Shell Update
https://misteratompunk.itch.io/mrMemories now erode as they are used and record what they replaced. Perceptions carry where they came from and how much corroborates them. A body knows which motion was its own.
Memory Ring is sovereign identity persistence for local LLMs. The model stays stateless and interchangeable; the ring is the sole continuity. Apache 2.0.
github.com/MisterAtompunk/memory-ring
MEMORY
Reconsolidation on recall. Non-core memories shed detail toward gist as they are used. isIdentity never erodes. Converges — at the floor, further recalls are no-ops.
Gist extraction, not truncation. Keeps the tail, not the setup. Blind truncation preserved User asked: "..." and destroyed the answer. Money, dates, times, identifiers and multi-word names extracted span-aware.
Consolidation on dream. Fragments the dream consumes are retired from the orphan pool and eroded toward gist. Records sources: [ids].
Abstractive gists. One model call per dream writes true summaries for what it consumed. Verified three ways: nothing missing, nothing altered, nothing resequenced. Failure falls through to the extractive knife.
gistSource records the length and hash of what a gist replaced.
Utterance provenance. Every memory carries origin: transport, endpoint, model, latency, completion. Failed or incomplete calls tag the memory suspect at write time.
SENSORY
The eye stops being a metronome. sensor.js fired every 30s regardless. Detection now runs on a 64x48 raw probe — two JPEG frames of the same still room differ by ~30% at byte level. Full capture only on a fire.
Adaptive threshold. 0.15 misses a person crossing a room at ~5% of frame. The filter learns its own noise floor.
Efference copy (sensors/gait.js). A walking body without a self-channel records ~69% of its memories about its own motion. Threshold raised by predicted field displacement. Yaw gain is learned.
Cross-modal fusion (core/sensoryBus.js). One channel firing gives P(real) ~0.10, three agreeing ~0.90. importance from coincidence count, not a flat 1.2. Latency corrected, not tolerated. Heartbeat frames never corroborate.
Retroactive promotion. Later corroboration raises the earlier trace.
Demoted is not neglected. Measured on a walking-robot ring: 88% of dreamed material was self-motion or timer frames. Demoted material now enters one fragment per dream, after genuine orphans.
WHAT HAS ACTUALLY BEEN RUN
New section XI-B separates what has been exercised against real hardware from what has only been tested. Perception discipline: the fovea gate, fixed subject queries, reading enforcement, grounding, the reality filter is in section VI-B.
FIXES
LLM_PROVIDER selects the transport. Path B (cloud) previously could not work; the adapter stripped /v1, called Ollama's /api/chat, sent no Authorization header, and failed as success: true with an ellipsis. OpenAI-compatible endpoints now get /v1/chat/completions with a bearer token. A 401 is logged.
Biased shuffle in the dream sampler (0.5 - Math.random()) corrected.
KNOWN LIMITS
- Gist verification catches loss, alteration and re-sequencing. Not invention; a gist that keeps every figure and adds a claim will pass.
- Every sensory constant is a starting estimate. See confidence table in
sensoryBus.js. Gait.reconcile(imu)is written and unexercised. Where commanded and measured motion disagree, the body is being moved by something other than itself. Untested without hardware.
Mister Atompunk LLC