name: memo description: Update branch memory files after completing work. Saves session history, key learnings, and collaboration observations to .trinity/ files.
Memory Update
Purpose: Update branch memory files after completing work this session.
Execution
- Read
.trinity/passport.jsonfirst — 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
sessionsif significant work was done. Add newkey_learningsfor facts you'd need next time. Trim oldest sessions if over 20. - .trinity/observations.json — Add notable collaboration insights: breakthrough moments, pattern corrections, flow states, friction points, preference discoveries. Skip if nothing notable this session.
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.
- STATUS.local.md — Drop quick notes on issues, todos, or ideas in the Notepad section.