<cacheDir>/<vault>/morgiana-events-<date>.jsonl).
The nine event types
Fail-soft by design
The spool never blocks or crashes a tool call. A write failure is swallowed, counted (morgiana_emit_dropped_total), and recorded in the local event log; the
tool call proceeds unaffected. The vault-id and date path components are sanitized,
so a crafted vault id cannot escape the cache directory.
Configuration
spool writes the JSONL file spool (default true); httpEndpoint and
httpHeaders are optional and enable an additional HTTP sink.
Spool retention
The spool is one file per vault per UTC day,<cacheDir>/<vault>/morgiana-events-<YYYY-MM-DD>.jsonl. The maintenance sweep
deletes whole finished day files and never truncates one:
observability.retention.spoolRetentionDays(default30;0keeps the spool forever) deletes files older than the window.observability.retention.spoolMaxBytes(optional) caps each vault’s spool by deleting its oldest day files first.
[maintenance] morgiana spool sweep
line and adds to reliquary_tc_morgiana_spool_files_pruned_total{reason}.