// Operation envelopes for the Governed Enterprise Memory Vault (Epic #204, Issue #205).
// Pure types only — no IO, no clock, no randomness. Leaf-package rule (ADR-0019 direction
// 1): no `@oscharko-dev/keiko-*` imports.
//
// Each operation carries the minimum data the next layer needs to evaluate it. The
// validation layer (memory-validation.ts) checks structural well-formedness, status
// transition legality, and provenance presence; authorization, persistence, and
// side-effects belong to downstream packages and are explicitly out of scope here.
//
// Audit invariant: `MemoryAuditRecord` MUST NOT carry raw memory content. It references
// affected memories by ID and pins a short, non-secret rationale string. This keeps the
// audit ledger redaction-safe and lets the audit boundary (#214) ship audit summaries
// across the wire without re-redacting.
export const MEMORY_UPDATE_FIELDS = [
    "body",
    "payload",
    "tags",
    "validity",
    "sensitivity",
    "retentionHint",
];
export const MEMORY_AUDIT_INITIATOR_SURFACES = [
    "memory-center",
    "conversation-center",
    "workflow",
    "consolidation",
    "retention",
    "system",
];
