Wrapped retained rewind reports with completion guidance so the post-rewind turn knows the checkpoint is closed. Added repeat-rewind recovery errors and regression coverage for both the retained context and no-active-checkpoint path. Fixes #4187
724 B
724 B
End an active checkpoint. Rewind context to it, replacing intermediate exploration with your report.
Call immediately after checkpoint-started investigative work.
Requirements:
reportMUST be concise, factual, and actionable.- Include key findings, decisions, and any unresolved risks.
- AVOID raw scratch logs unless essential.
- You MUST call this before yielding if a checkpoint is active.
Behavior:
- If no checkpoint is active, this tool errors. If the checkpoint already rewound, continue from the retained report instead of retrying.
- On success, the session rewinds, keeps your report as retained context, and closes the checkpoint.
- A successful rewind is final for that checkpoint; repeat calls error.