cos_digest_regenerate
Refresh the rolling digest snapshot to update active beliefs, fading patterns, and recent breakthroughs, ensuring your agent starts with a coherent memory anchor at session startup.
Instructions
Refresh .coding-os/digest.md from current memory state.
The digest is a ≤ 2.4 KB rolling snapshot of the agent's identity: active beliefs, fading patterns, recent breakthroughs, preferences. Session-startup reads this file to give the agent a coherent memory anchor before any retrieval fires.
Args: project_root: Override project root. Empty (default) uses cwd.
Returns:
{path, size_chars, truncated, status} envelope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cos_digest_regenerate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |