iranti_write
Store confirmed facts in shared memory for AI agents to retain knowledge across sessions, using entity/key/value triples with conflict detection.
Instructions
Write one durable fact to shared memory for a specific entity. TIMING: Call IMMEDIATELY when a fact is confirmed — do not batch or defer to end of turn. One call per finding. If you edited a file, write before the next action. If you ran a command and got a result, write before the next action. If you got a search result, write before moving on. Use this when you learned something concrete that future turns, agents, or sessions should retain. Requires: entity ("type/id"), key, value JSON, and summary. Confidence is optional and defaults to 85. Conflicts on the same entity+key are detected automatically and may be resolved or escalated. Personal-memory keys honor the configured canonical personal entity for this project/session. Use properties JSON when you need structured issue or workflow metadata such as issueStatus=open|resolved, severity, or resolution notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity in entityType/entityId format. | |
| key | Yes | Fact key. | |
| valueJson | Yes | JSON-serialized fact value. | |
| summary | Yes | Short retrieval-safe summary. | |
| confidence | No | Raw confidence score. | |
| source | No | Source label for provenance. | |
| propertiesJson | No | Optional JSON-serialized fact properties for metadata such as issueStatus or severity. | |
| validFrom | No | Optional ISO timestamp for when the fact became true/current. | |
| requestId | No | Optional idempotency key. | |
| agent | No | Override the default agent id. | |
| agentId | No | Alias for agent. Override the default agent id. |