wrap_check
Check accumulated state-changing work since the last wrap and decide if a wrap is recommended. Read-only, returns unwrapped count and affected projects.
Instructions
Check how much state-changing work has accumulated since the last wrap. Read-only — never mutates. Tier 1 of auto-wrap: call this when the user signals they are wrapping up or ending a session, or periodically during a long session, to decide whether to proactively offer a /wrap before context is lost to compaction or session end. Returns unwrapped_count, the projects touched, and recommend_wrap. When recommend_wrap is true, offer to wrap; do not auto-wrap silently from this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Unwrapped-mutation count at/above which a wrap is recommended. Default 5. | |
| session_id | No | Scope the check to one session's activity. Omit to check the whole audit tail. |