Memory Update
Purpose: Update branch memory files after completing work this session.
Execution
- Read
.trinity/passport.json first — re-absorb your identity, role, and principles before writing memories
- Review what was done this session (context, recent changes, key decisions)
- Update each file below as needed
- Confirm completion — list files updated
What to Update
Always
- .trinity/local.json — Add new session entry to
sessions if significant work was done. Add new key_learnings for facts you'd need next time.
- .trinity/observations.json — Add notable collaboration insights: breakthrough moments, pattern corrections, flow states, friction points, preference discoveries. Skip if nothing notable this session.
Entry shape — one rule for all four types
key_learnings, sessions, todos (local.json) and observations (observations.json) all share ONE shape: a list of objects, newest at the top (index 0). Every entry carries a number (monotonic int per type — highest = newest, never reused; new = current max + 1) and a date (ISO), plus its text field + extras: key_learnings {number, date, key, value} · sessions {number, date, summary, status, tags} · todos {number, date, task, priority, status} · observations {number, date, note, tags}.
When adding: stamp number + date, then prepend (newest on top). Don't hand-trim — rollover archives the oldest by number to @memory automatically.
If Relevant
- .trinity/passport.json — Evolve identity when the branch's role, capabilities, or principles have genuinely changed. Don't update just to update — but don't leave placeholders forever either.
- README.md — Does it reflect current state? Update if stale.
Source: AIOSAI/AIPass — distributed by TomeVault.
1---2name: memo3description: Update branch memory files after completing work. Saves session history, key learnings, and collaboration observations to .trinity/ files. Use when this capability is needed.4---56# Memory Update78Purpose: Update branch memory files after completing work this session.910## Execution11121. Read `.trinity/passport.json` first — re-absorb your identity, role, and principles before writing memories132. Review what was done this session (context, recent changes, key decisions)143. Update each file below as needed154. Confirm completion — list files updated1617## What to Update1819### Always2021- **.trinity/local.json** — Add new session entry to `sessions` if significant work was done. Add new `key_learnings` for facts you'd need next time.22- **.trinity/observations.json** — Add notable collaboration insights: breakthrough moments, pattern corrections, flow states, friction points, preference discoveries. Skip if nothing notable this session.2324### Entry shape — one rule for all four types2526`key_learnings`, `sessions`, `todos` (local.json) and `observations` (observations.json) all share ONE shape: a **list of objects, newest at the top (index 0)**. Every entry carries a **`number`** (monotonic int per type — highest = newest, never reused; new = current max + 1) and a **`date`** (ISO), plus its text field + extras: key_learnings `{number, date, key, value}` · sessions `{number, date, summary, status, tags}` · todos `{number, date, task, priority, status}` · observations `{number, date, note, tags}`.2728**When adding:** stamp `number` + `date`, then **prepend** (newest on top). **Don't hand-trim** — rollover archives the oldest *by number* to @memory automatically.2930### If Relevant3132- **.trinity/passport.json** — Evolve identity when the branch's role, capabilities, or principles have genuinely changed. Don't update just to update — but don't leave placeholders forever either.33- **README.md** — Does it reflect current state? Update if stale.3435---36> Source: [AIOSAI/AIPass](https://github.com/AIOSAI/AIPass) — distributed by [TomeVault](https://tomevault.io).37<!-- tomevault:4.0:skill_md:2026-07-02 -->