Skip to content

A self-organizing Obsidian vault that gives AI coding agents persistent memory.

4.0 KB
Raw Blame

Wrap Up

Full session review before ending. Review context, ways of working, files modified, consistency, and suggest improvements.

Usage

/om-wrap-up

Triggered when the user says "wrap up", "let's wrap", "wrapping up", or similar. The agent should invoke this automatically.

Subagent

  • brag-spotter — run at the end to find uncaptured wins and competency gaps from the session

Workflow

1. Review What Was Done

Scan the conversation for:

  • Notes created or modified (list them all with paths)
  • People notes created or updated
  • Indexes updated
  • Brag doc entries added
  • Brain notes updated (Patterns, Gotchas, Key Decisions, Memories)

2. Verify Note Quality

For each note created or modified this session:

  • Frontmatter complete? (date, quarter, description, tags, type-specific fields)
  • At least one wikilink to another note?
  • In the correct folder? (work/active/ vs work/archive/ vs work/incidents/ etc.)
  • Description accurate and ~150 chars?
  • Status field correct?

3. Check Index Consistency

  • work/Index.md — are new notes linked? Are completed projects in the right section?
  • brain/Memories.md — does Recent Context reflect what happened this session?
  • Auto-memory index — if brain/ notes were added or their descriptions changed, REGENERATE the index instead of hand-editing it: node --experimental-strip-types .claude/scripts/generate-memory-index.ts > <your ~/.claude/projects/<slug>/memory/MEMORY.md path>. MEMORY.md is a derived view (pointers only); hand edits get overwritten by design.
  • org/People & Context.md — any new people or relationship changes to capture?
  • perf/Brag Doc.md — any wins or achievements from this session?
  • Home.md — are embedded Bases still valid?

4. Check for Orphans

  • Any new notes not linked from at least one other note?
  • Any new people not added to People & Context?
  • Any thinking notes that should be promoted or deleted?

5. Status Check

  • Any status fields still active that should be completed? Mark them; step 6's /om-tidy moves completed notes out of work/active/ to work/archive/YYYY/, so do not move them by hand here.

6. Act on Vault Hygiene

Invoke /om-tidy while the conversation and tools are still live. It runs the same vault-hygiene scan the hooks use; if that reports drift, complete its safe mechanical tier now and bring its judgment-tier findings to the user instead of leaving them to a reminder that cannot act on them. Fold the tidy receipt into this wrap-up report; do not create a second report unless the findings need to survive the session.

7. Ways of Working Review

Index-first: read each brain note's headline/one-liner structure, then open ONLY the topics this session actually touched — same knowledge transfer, a fraction of the tokens. Check if this session revealed:

  • A new pattern that should be in brain/Patterns.md?
  • A new gotcha that should be in brain/Gotchas.md?
  • A workflow improvement for brain/Skills.md?
  • An AGENTS.md update needed (new convention, stale reference)?
  • A new or improved slash command?
  • A hook that should be added or modified?

8. Suggest Improvements

Based on how the session went:

  • Were there friction points in the workflow?
  • Did we do something manually that could be automated?
  • Did we repeat a pattern that should be a skill?
  • Are there Bases that should be created or updated?
  • Any frontmatter properties that would help future queries?

9. Report

Present a concise summary:

  • Done: what was captured this session
  • Fixed: issues found and resolved
  • Flagged: things that need user input
  • Suggested: improvements for next time

Important

  • This is a READ + VERIFY pass, not a creation pass. Fix small issues (broken links, missing frontmatter), but flag larger changes for user approval.
  • Be honest about what's missing — the goal is leaving the vault in a better state than you found it.
  • If North Star goals shifted during the session, suggest updating it.