fleet-memory/hindsight-docs/static
Nicolò Boschi 1b4ad7f435
feat: change tags for a document (#517)
* feat: add update document tags endpoint with observation invalidation

Adds PATCH /v1/default/banks/{bank_id}/documents/{document_id} to change
tags on a document without re-processing content.

- Updates tags on the document and all associated memory units atomically
- Invalidates observations derived from the document's memory units
- Resets consolidated_at on the document's own units for re-consolidation
- Also resets consolidated_at on co-source memories from other documents
  that shared those observations (matching delete_document behavior)
- Triggers async consolidation when observations are invalidated
- 9 new tests covering all invalidation scenarios

UI: adds inline tag editor to the document detail panel in the control plane
Docs: new "Update Document Tags" section in documents.mdx with Python/JS examples

* refactor: simplify UpdateDocumentTagsResponse to {success: true}

* refactor: make PATCH /documents generic update_document endpoint

Renames update_document_tags → update_document (engine + HTTP + clients + UI).
Currently only tags are supported; the structure is open for future fields.
Tags are the only field with side effects (observation invalidation + re-consolidation).
2026-03-07 09:00:13 +01:00
..
img doc: Upgrading OpenClaw's Memory with Hindsight (#515) 2026-03-06 12:35:12 -05:00
.nojekyll rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
get-cli fix: openclaw binds embed versioning (#256) 2026-01-30 17:23:52 +01:00
get-mcp feat: simplify mcp installation + ui standalone (#41) 2025-12-18 10:24:56 +01:00
get-skill Fix skill installer test examples to use meaningful content (#160) 2026-01-14 18:41:04 +01:00
llms.txt improve llms.txt 2025-12-10 13:55:55 +01:00
openapi.json feat: change tags for a document (#517) 2026-03-07 09:00:13 +01:00