events.iterate.com

Event type

events.iterate.com/agents/context-rewritten

Deliberate HISTORY REWRITING — rare, audited, named to discourage casual use: it changes what PAST render positions contain, busting the provider cache from the standing document down, and a replaced covered behavioral rule leaves visible history contradicting the instruction (the scenario-3a anti-pattern in docs/prompt-sections-demo.html). For redaction (the author supplies the replacement text) and un-saying; the everyday update is re-adding the key on agents/context-added. `key: "*"` with delete removes EVERYTHING — standing document and timeline both — (guidance: don't, unless you want a lobotomised agent; the event's audit trail is the safeguard). Never triggers a turn by itself.

Payload schema

op"replace" | "delete"

The operation.

keystring

The section to rewrite, or "*" (delete only) for everything.

contentstringoptional

Replacement content (replace only).

Raw JSON schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "op": {
      "type": "string",
      "enum": [
        "replace",
        "delete"
      ],
      "description": "The operation."
    },
    "key": {
      "type": "string",
      "minLength": 1,
      "description": "The section to rewrite, or \"*\" (delete only) for everything."
    },
    "content": {
      "description": "Replacement content (replace only).",
      "type": "string"
    }
  },
  "required": [
    "op",
    "key"
  ],
  "additionalProperties": false
}