cabinet_refresh
Persists session state and commits context when usage reaches ~70%, enabling clean restarts without losing workflow progress.
Instructions
Executes the Refresh Protocol (RP) when context hits ~70%.
Writes last_session.md, updates status_block.md, commits state, and confirms
KV-cache is ready for a clean restart.
Optionally records new or retired workflow heuristics discovered during the session.
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": {
"summary": "<summary>",
"next_move": "<next_move>"
},
"name": "cabinet_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | ||
| entity_id | No | MadBrad-AG-01 | |
| next_move | Yes | ||
| files_touched | No | ||
| stale_workflow_ids | No | ||
| proposed_workflow_move | No | ||
| proposed_workflow_title | No | ||
| proposed_workflow_trigger | No | ||
| proposed_workflow_category | No | protocol |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |