aiworkhub_manager_session_write
MANAGER WRITE: append one audited canonical Session Manager event, or edit one existing event.
Instructions
MANAGER WRITE: append one audited canonical Session Manager event, or edit one existing event.
Append actions: start, event, checkpoint, state, handoff, close (no
document_id). Edit actions: amend rewrites the
content of one exact existing document (FTS rebuilt, audit row recorded,
context-graph mirror rewritten); redact deletes that document, its
FTS row and its graph mirror (audit keeps the fact of the redaction,
never the content). Both require document_id and leave the document
count/id audit trail truthful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| action | Yes | ||
| content | Yes | ||
| provenance | Yes | ||
| document_id | No | ||
| idempotency_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||