record_source
Cache a source file's content hash and summary, allowing future sessions to reuse the conclusion until the file changes.
Instructions
Record a durable conclusion about a source file in the Source Cache: stores the file's current content hash with your summary so future sessions can reuse the conclusion until the file changes. Call after inspecting an important file when the conclusion is reusable; do not record every file read, and re-record only when the conclusion itself changed. Writes under .agentpack/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Repo-relative path of the inspected file. | |
| snippet | No | Optional short excerpt worth keeping with the conclusion. | |
| summary | No | Durable conclusion about the file. Always provide one; the fallback is a generic 'Reviewed source.' |