trw_checkpoint
Appends a progress snapshot to preserve work across context compactions. Allows another agent to resume safely after interruptions or milestone completions.
Instructions
Append a progress snapshot so work survives context compaction.
Use when:
You complete a milestone or before context compaction/interruption.
After each meaningful work batch so another agent can resume safely.
Input: optional run_path plus required message. Optional shard_id and wave_id annotate delegated or wave-aware progress.
Output: dict with status, run_path, checkpoint path, and message metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| wave_id | No | ||
| run_path | No | ||
| shard_id | No |