share_intent
Broadcast your in-progress work to other agents on the workspace, giving them an advisory heads-up so they avoid touching the same files.
Instructions
Broadcast what you are working on to other agents active on this workspace RIGHT NOW, so they can steer around your in-progress work instead of colliding with it (e.g. "refactoring the rate limiter — avoid internal/tools/ratelimit*").
This is ADVISORY and a CLAIM, not a lock: it never blocks anyone's write, and what you say you are doing is not the same as what the daemon observes you did (that is workspace_sessions' recent_writes). Peers see your intent in workspace_sessions, and a peer whose write touches a path matching your path_globs gets a bounded advisory hint labelled as an unverified claim.
You have at most ONE live intent — calling this again replaces it. The intent expires after ttl_minutes (default from [collab] intent_ttl_minutes) and is cleared automatically when your session ends. Delivery is by polling and hint injection only; plumb does not push to another agent.
Requires [collab] intents = true; otherwise the call is refused. Strictly per-workspace; the body is secret-scrubbed before storage.
Parameters: body — what you are doing (required, free text). path_globs — optional workspace-relative globs for the area you are working on (e.g. ["internal/tools/ratelimit*"]); drives peer write hints. ttl_minutes — optional expiry override; defaults to [collab] intent_ttl_minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | What you are working on (free text). Rendered to peers as an unverified claim. | |
| path_globs | No | Optional workspace-relative globs for the area being worked on; a peer write matching one gets an advisory hint. | |
| ttl_minutes | No | Optional expiry in minutes; defaults to [collab] intent_ttl_minutes. |