Interface MechanismMetadata

Optional metadata fields added to MemoryTrace.structuredData by mechanisms.

interface MechanismMetadata {
    cumulativeDrift?: number;
    driftHistory?: DriftEvent[];
    gisted?: boolean;
    originalContentHash?: string;
    schemaCongruent?: boolean;
    schemaViolating?: boolean;
    schemaClusterId?: string;
    lastSourceDecayAt?: number;
    reappraisalHistory?: {
        reappraisedAt: number;
        previousValence: number;
        previousArousal: number;
    }[];
}

Properties

cumulativeDrift?: number

Reconsolidation: cumulative absolute PAD drift.

driftHistory?: DriftEvent[]

Reconsolidation: audit trail of drift events.

gisted?: boolean

Temporal Gist: whether content has been compressed.

originalContentHash?: string

Temporal Gist: SHA-256 of original content before gisting.

schemaCongruent?: boolean

Schema Encoding: trace matched an existing schema cluster.

schemaViolating?: boolean

Schema Encoding: trace violated all existing schemas (novel).

schemaClusterId?: string

Schema Encoding: ID of the matched cluster.

lastSourceDecayAt?: number

Source Confidence Decay: timestamp of last decay application.

reappraisalHistory?: {
    reappraisedAt: number;
    previousValence: number;
    previousArousal: number;
}[]

Emotion Regulation: audit trail of reappraisal events.

Type declaration

  • reappraisedAt: number
  • previousValence: number
  • previousArousal: number