Skip to content

Commit be3eae1

Browse files
cursoragentjherr
andcommitted
docs: agent writes commit when the collection strategy commits them
Co-authored-by: jherr <jherr@pobox.com>
1 parent 738f6f9 commit be3eae1

3 files changed

Lines changed: 52 additions & 52 deletions

File tree

‎app/prm/bakeoff/latest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"ranAt": "2026-11-03T23:46:43.841Z",
2+
"ranAt": "2026-11-06T00:40:23.147Z",
33
"mode": "fixture",
44
"winner": "exa",
55
"summary": {

‎docs/agents/review-queue.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The rules come from the session's role, so custom roles and collection `access`
4646

4747
## Agent Writes Are Always Staged
4848

49-
Agents work through the [agent tools](../mcp/operations-registry#the-agent-tool-registry-opschemas). The write tools (`create_document`, `update_document`, `delete_document`, `unpublish_document`, `restore_revision`, `schedule_document`) all call `stageWrite()`. No agent tool commits, publishes, or deletes, whatever the role of the user or API key behind it. Proposing a deletion still needs delete rights (`content.delete` and the collection's `delete` rule), and proposing an unpublish needs publish rights, so an author's agent cannot fill the queue with deletions.
49+
Agents work through the [agent tools](../mcp/operations-registry#the-agent-tool-registry-opschemas). The write tools (`create_document`, `update_document`, `delete_document`, `unpublish_document`, `restore_revision`, `schedule_document`) all call `stageWrite()`. No agent tool commits, publishes, or deletes, whatever the role of the user or API key behind it, unless the collection's [strategy](#choosing-the-flow-document-state-strategies) commits staged writes (`review.autoApprove`, `directStrategy()`). Proposing a deletion still needs delete rights (`content.delete` and the collection's `delete` rule), and proposing an unpublish needs publish rights, so an author's agent cannot fill the queue with deletions.
5050

5151
```text
5252
Agent tool call (create / update / delete / unpublish / restore / schedule)

0 commit comments

Comments
 (0)