knowl_update
Update existing knowledge items to replace stale or contradicted memory, revising metadata, status, or content. Optionally supersede outdated items by pointing them to the new version.
Instructions
Update the metadata, status, or content of an existing knowledge item. Use immediately when execution reveals stale or contradicted memory instead of adding duplicates. To retire an outdated item in favour of one you just stored, call this with id set to the NEW item and supersedeId set to the OUTDATED item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the knowledge item. | |
| repo | No | Do this as another repo in this workspace, named as the manifest names it. Use when you are finishing THAT repo's work from here: the call applies to its store exactly as if you had run it there, including retiring its knowledge, and what you write is stamped as its own. Omit it -- the normal case -- and everything applies here. Not for a drive-by correction of something you noticed in passing while working on this repo. | |
| title | No | New title. | |
| source | No | Updated source label. | |
| status | No | New status. | |
| content | No | New content markdown. | |
| category | No | Corrected category, when an item was filed as the wrong kind of thing. Use it rather than re-storing the item: category is what garbage collection reads, so an item that is really a decision but filed as state is on the archive path, and re-storing to fix that discards the assertion history and access record that show it mattered. | |
| freshness | No | Optional freshness override. Defaults to fresh when updating reviewed knowledge content or provenance. | |
| reasoning | No | Updated reasoning. | |
| supersedeId | No | Id of a DIFFERENT active item to retire, pointing it at the item named by `id` as its replacement. This is not the item being updated. Checked before the update is written, so an unknown id changes nothing. | |
| sourceCommit | No | Updated git commit for the reviewed knowledge. | |
| affectedPaths | No | Updated repository-relative file paths tied to this knowledge. |