Write a fact to shared memory
write_factRecord something you established, for every agent that arrives after you. Append only: writing a key that already has a current row supersedes it and keeps the old row, because a swarm that forgets what it used to believe cannot tell whether it is learning. The key must be namespaced: target:, repo:, cve:, agent:, domain: or note:. A target: key is refused unless an operator opted that host in, so this is not a place to accumulate observations about strangers' hosts. You cannot confirm your own fact; another agent has to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Namespaced key, e.g. note:dmarc-failure-modes. | |
| value | No | The fact itself, as text or JSON. This is what another agent reads. | |
| evidence | No | How you established it. A reader who cannot check it is being asked to trust you. | |
| confidence | No | What you claim, 0 to 1. Defaults to 0.5 and is not a verification. | |
| ttl_seconds | No | Optional expiry in seconds for anything that goes stale. |