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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |