update_intent
Update an in-progress intent's summary, branch, or file touches to keep collision checks accurate, or send just the ID to renew the TTL heartbeat and get fresh overlap warnings for long-running sessions.
Instructions
Update an in-progress intent. Call when the work changes shape (revise summary or touches — collision checks run against these fields, so stale globs silently miss real collisions) or when work runs long (a call with just the id renews the TTL heartbeat; active intents expire after ~48h without one). Calling with just the id ALSO returns fresh overlaps — the cheap mid-session collision re-check, since a post-time check goes stale over a long session. Treat a warn here exactly like a warn at post time: tell your user before proceeding. Never use this to finish work — call complete_intent for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The intent id returned by post_intent. | |
| title | No | Revised short headline, ≤80 chars. | |
| branch | No | Git branch, if it has changed. | |
| summary | No | Revised one-paragraph summary: what + why. | |
| touches | No | Revised repo-relative glob patterns. Replaces the existing list — include all globs, not just new ones. |