Member Junction
    Preparing search index...

    Type Alias MemoryWriteDisposition

    MemoryWriteDisposition:
        | "written"
        | "superseded-own"
        | "deduped"
        | "skipped-duplicate"
        | "skipped-cap"
        | "rejected-type"
        | "error"

    Outcome category for a single memory write. Every request gets exactly one disposition:

    • written — a new provisional note was persisted
    • superseded-own — the request near-duplicated a note written earlier in THIS run; that note's text was updated in place (last-write-wins within a run)
    • deduped — the request EXACTLY restated a pre-existing note (after trim/lowercase/whitespace-collapse normalization); its AccessCount/LastAccessedAt were bumped instead of inserting. Near-but-textually-different matches are NOT deduped — they write a new note so corrections are never silently dropped
    • skipped-duplicate — the exact same note text was already written this run (idempotency hash hit)
    • skipped-cap — the per-run write cap was reached
    • rejected-type — the request failed validation (bad type, empty/oversized note)
    • error — persistence failed