memory_commit_lookup
Look up stored commit-to-session links for a full git commit SHA and return recorded commit metadata plus session records; unrecorded SHAs return empty results.
Instructions
Read the stored commit/session link for one full git commit SHA. Returns {commit,sessions}, where commit contains recorded metadata and visible sessionIds, and sessions contains their stored session records. Missing or excluded ambient sessions are omitted. An unrecorded SHA returns {commit:null,sessions:[]}; a missing or empty sha returns an error. This read does not scan Git repositories or prove who authored a commit. Use memory_commits to discover recorded links by branch or remote repo URL, or memory_timeline to read a linked session's observations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | Yes | Full git commit SHA |