memory_check_record_tool
Record observed verification checks—command, exit code, output hash, commit, and timestamp—against a memory item to preserve test evidence and support staleness detection.
Instructions
Record an observed check (command, exit code, output hash) for a memory.
Args: id: The memory item the check supports name: Short check name, e.g. "pytest tests/test_auth.py" command: The command that was run cwd: Working directory the command ran in exit_code: Observed exit code (0 is a pass) output: Optional captured output (hashed, not stored verbatim) output_hash: Pre-computed SHA256 of the output evidence_hash: Evidence digest the check ran against (defaults to now) commit: Git commit the check ran at (defaults to HEAD) ran_at: ISO timestamp of the run project: Optional project root path. Auto-detected from git root if omitted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"name": "<name>"
},
"name": "memory_check_record_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| cwd | No | ||
| name | Yes | ||
| commit | No | ||
| output | No | ||
| ran_at | No | ||
| command | No | ||
| project | No | ||
| exit_code | No | ||
| output_hash | No | ||
| evidence_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |