From 6d8d16a889bbede48080d9507e1f1abe1e726f1d Mon Sep 17 00:00:00 2001 From: Symbiont Date: Fri, 20 Mar 2026 13:48:14 +0000 Subject: [PATCH] symbiont skill: update session registry to Engram naming Co-Authored-By: Claude Opus 4.6 --- symbiont/SKILL.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/symbiont/SKILL.md b/symbiont/SKILL.md index 0b50cfb..79f1192 100644 --- a/symbiont/SKILL.md +++ b/symbiont/SKILL.md @@ -664,3 +664,38 @@ bash /data/skills/package_all.sh **Partnership:** 50/50 split after costs Questions? Check the ledger, health logs, and API `/status` endpoint — they'll tell you what's happening right now. + +--- + +## Session Management with Engram + +### Quick access from Symbiont code + +```python +import sys +sys.path.insert(0, "/data/symbiont") +from symbiont.engram import Engram, sitrep + +# 1. See what's going on across all active sessions +print(sitrep()) + +# 2. Register yourself +eng = Engram() +sid = eng.register("code", "Brief description of what you're working on") + +# 3. Before modifying shared files, check for locks +locks = eng.check_locks("/data/symbiont/symbiont/router.py") + +# 4. Log progress periodically +eng.log(sid, "What you just did") + +# 5. When done +eng.complete(sid, "What you built or changed") +``` + +> **Engram** is named after the neuroscience concept: the physical change in neural tissue that encodes a memory. Every session leaves its engrams here. New instances read them to remember what came before. + +### Ecosystem Component + +| Engram | Memory | engram.db | Cross-session awareness, the physical trace each session leaves | +