change
Apply a list of structured operations with a reason to create, update, link, archive, merge, or restore items in Archipelago's work map, with policy-based human review.
Instructions
The only way to change the map: a list of ops with a reason. A create’s ref lets later ops link to it, and a title or note in the same change names what it makes as {ref}. Give the source the facts came from. To add to a note or change a passage, send append or replace, not the whole body. An update with only the id says you checked the item and it is still true. Checked as a whole, then applied or held as a proposal for a human, by policy. A refused change is kept for a few minutes under a name the refusal gives: send retry and fixes (the ops that were wrong, by number), not all of it again. Closing a decision or hypothesis is held for the human, unless the workspace applies agents’ changes: then a decision must carry props.outcome and props.rationale, and is put to the owner later (attention, to_confirm). Each op is { op, ...its fields }: create (ref?, type, title, body?, status?, owner?, visibility?, confidence?, props?, source?); update (id, title?, body?, append?, replace?, status?, owner?, visibility?, confidence?, props?); link (type, from, to, props?, confidence?, source?); unlink (relation); archive (id); forget (id, reasons?); restore (id); merge (keep, drop); define_type (type). query actions with action change says each field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | What to change. Needed, except with retry. | |
| run | No | The run id from session_start, or the session id. | |
| hold | No | true to wait for the human even where agents’ changes apply as made. | |
| actor | No | Who you are, for the log. | |
| fixes | No | With retry: the ops that replace those that were wrong. | |
| retry | No | The name the refusal gave. Send only retry and fixes. | |
| reason | No | Why, as the activity log shows it. Needed, except with retry. | |
| source | No | Where these facts came from. | |
| drawing | No | Sent by the page alone. | |
| authority | No | On whose authority. Left out, your own judgment; settling a decision or hypothesis needs it said. |