wrap_auto
Automatically persist a session wrap without review when context is lost, applying low-risk fields immediately and staging high-risk changes for later confirmation.
Instructions
Tier 2 of auto-wrap: persist a session wrap WITHOUT interactive review, when context is about to be lost (compaction, session end) or the user declined to review. Use the normal interactive /wrap when the user is present and reviewing — only reach for this as a safety net. The agent supplies the synthesized wrap; this tool applies LOW-RISK fields (next_move, open_questions, evidence_of_progress) immediately and STAGES high-risk changes (status, mode, blocked, decisions) as an unconfirmed record for /start to surface and the user to confirm. Always logs a session_wrapped marker. Never put a status change or a decision in pending_review expecting it to take effect now — staged items are proposals, not writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | One-line synthesized summary of what happened this session. | |
| trigger | No | What triggered it: precompact | sessionend | manual-no-review. | |
| entity_id | Yes | Entity being wrapped. | |
| next_move | No | LOW-RISK, applied now — the concrete next action. | |
| session_id | No | Host session id, when known. | |
| open_questions | No | LOW-RISK, merged now — unresolved threads. | |
| pending_review | No | HIGH-RISK — staged for review, NOT applied. Surfaced at next /start for confirm/edit/discard. | |
| evidence_of_progress | No | LOW-RISK, appended now — what actually shipped or moved. |