kg_add_fact
Record a temporal fact assertion with subject, predicate, and object. Supersedes prior matching assertions while preserving full history for evolving architectural decisions.
Instructions
Record a temporal fact assertion (subject, predicate, object). Supersedes any prior assertion with same (s,p) and different object — full history is preserved. Use for evolving architectural decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object | Yes | ||
| context | No | ||
| project | No | general | |
| subject | Yes | ||
| predicate | Yes | ||
| confidence | No | ||
| valid_from | No | ISO 8601 time the fact became true; default now. Back-dated facts close and are closed by their neighbours. | |
| invalidate_previous | No |