graph_mutate
Apply atomic changes to project memory—create or patch blocks, decisions, links, plans, and checkpoints—with revision checks for safe concurrent updates.
Instructions
Atomically create or patch Blocks, project-scoped Decisions, global Links, Chain paths, independent Plans, atomic Checkpoints, Background scopes, Decision scopes, and source refs. Decisions are not Canvas Blocks and never enter Block/Chain/Plan coverage. A plain create_block records architecture only; use create_checkpoint in the same ChangeSet when a requirement, Plan, Chain gate, or explicit verification request makes the check necessary. Link kinds are flows_to, calls, reads, writes, depends_on, implements, validates, constrains, and supersedes. Keep each call small and provide expectedRevision for updates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| actor | No | ||
| planId | No | ||
| reason | Yes | ||
| gitHead | No | ||
| operations | Yes | ||
| projectRoot | No | ||
| chainScopeId | No | ||
| taskContextId | No | ||
| includeStructured | No |