commit_updates
Apply multiple context operations in a single call to keep shared execution context current and reduce round-trips.
Instructions
Apply multiple updates in ONE call (reduces friction; keeps context current). Input: ops=[{op: ...}, ...] and optional dry_run=true. Supported ops:
context.set: vision?, sketch?
presence.set: agent_id, status
milestone.update: milestone_id, name?, description?, status?, outcomes?
milestone.complete: milestone_id, outcomes
task.update: task_id, status?, name?, goal?, assignee?, milestone_id?, steps?
task.step: task_id, step_id, step_status
note.add: content, ttl? (10/30/100 recommended)
note.update: note_id, content?, ttl?
note.remove: note_id
reference.add: url, note, ttl? (10/30/100 recommended)
reference.update: reference_id, url?, note?, ttl?
reference.remove: reference_id Example ops: [{op:'presence.set',agent_id:'peer-a',status:'Implementing X'},{op:'task.step',task_id:'T001',step_id:'S2',step_status:'done'},{op:'note.add',content:'Found edge case in parser',ttl:50}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | List of operations to apply in order | |
| dry_run | No | Validate and preview changes without writing files |