← Agent MemoryCONTENT HISTORY

Update to Agent Memory

Snapshot Oct 29, 2026 · 12:08 UTC · version 0.9.30

Collection source: downloaded plugin package.

WHAT CHANGED

First saved snapshot

No earlier snapshot is available to establish a change.

Save Agent Memory and check future changes in Following.

Up to 10 plugins free · no card required.

Compare saved observations

Download comparison JSON
Full technical diff · 0 changed fields
Full snapshot data
{
  "description": "Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks \"why is this code here\", \"what was the agent doing when this changed\", \"who wrote this\", or wants context on a specific location in the codebase.",
  "included_files": [
    {
      "relative_path": "EXAMPLES.md",
      "size_in_bytes": 1640
    }
  ],
  "name": "commit-context",
  "skill_md_contents": "---\nname: commit-context\ndescription: Trace a file, function, or line back to the agent session that produced its current commit. Use when the user asks \"why is this code here\", \"what was the agent doing when this changed\", \"who wrote this\", or wants context on a specific location in the codebase.\nargument-hint: \"[file, function, or line]\"\nuser-invocable: true\n---\n\nThe user wants commit context for: $ARGUMENTS\n\n## Quick start\n\n```bash\ngit blame -L 40,52 src/auth/refresh.ts   # -> SHA 9a1b2c3d\n```\n\n```json\nmemory_commit_lookup { \"sha\": \"9a1b2c3d4e5f60718293a4b5c6d7e8f901234567\" }\n```\n\nExpected output:\n\n```text\n9a1b2c3 on main by dev: \"rotate refresh tokens\"\nLinked session 7f3a9c2 \"Auth refresh rework\", 14 obs.\n```\n\n## Why\n\nReport only what git and the lookup return. When the lookup gives `commit: null`,\nthe commit predates session linking; do not invent intent.\n\n## Workflow\n\n1. Find the SHA: `git blame -L <start>,<end> <file>` for a line range;\n   `git log -L :<function>:<file>` for a function; `git log -n 1 -- <file>` for a\n   bare path.\n2. Look it up: `memory_commit_lookup { \"sha\": \"<full-sha>\" }`.\n3. Present the commit (sha, short sha, branch, author, message), the linked\n   session(s) (id, project, started/ended, observation count, summary), and the\n   importance >= 7 observations via `memory_recall` when available.\n\n## Anti-patterns\n\nWRONG: lookup returns `{ \"commit\": null }`, you narrate \"the agent was\nrefactoring auth\" from the diff alone.\n\nRIGHT: \"This commit predates session linking, so there is no recorded agent\nsession. From `git show`: it changed token rotation in refresh.ts.\"\n\n## Checklist\n\n- SHA came from git blame/log, not a guess.\n- `commit: null` reported as \"predates linking\", no fabricated session.\n- Session details quote the lookup response verbatim.\n- No intent claimed beyond what observations state.\n\n## See also\n\n- `commit-history`: list many agent-linked commits at once.\n- `recall`: dig deeper into the linked session's observations.\n\n## Troubleshooting\n\nSee ../_shared/TROUBLESHOOTING.md if `memory_commit_lookup` is not available.\n"
}

SHA-256 of public snapshot: cb499a7e2d7d2e9b0378f29288b5a71ea4bc376853a9dc27b8d1e7ed7dffd02d