Set lifecycle frontmatter
set_frontmatterUpdate a memory note's frontmatter to record fact lifecycle changes such as verification, supersession, or invalidation. Modifies only metadata, preserving the Markdown body.
Instructions
Use this when a fact's lifecycle changes: verified today, superseded by a newer note, or confidence raised or lowered. Prefer invalidating an outdated fact (invalid_at + invalidated_by) over deleting or rewriting it: history stays queryable. Use rejected entries in 'option -- reason' format to record discarded options so a future agent does not propose them again. Update frontmatter fields on an existing memory note. This write operation only changes origin, confidence, last_verified, supersedes, rejected, valid_from, invalid_at, invalidated_by, and the automatic updated timestamp; the Markdown body is preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| rejected | No | ||
| rel_path | Yes | ||
| confidence | No | ||
| invalid_at | No | ||
| supersedes | No | ||
| valid_from | No | ||
| expected_hash | No | ||
| last_verified | No | ||
| invalidated_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indexed | Yes | ||
| updated | Yes | ||
| content_hash | Yes |