GCC Build OSv0
/api

MemoryEventRecordedevent type

Programme Memory Event captured. Type taxonomy per build plan section 3.6. References to operational objects let memory surface alongside them; visibility_tier respects per-type defaults (Q3) and may be widened by the capturer.

Full spec

{
  "name": "MemoryEventRecorded",
  "description": "Programme Memory Event captured. Type taxonomy per build plan section 3.6. References to operational objects let memory surface alongside them; visibility_tier respects per-type defaults (Q3) and may be widened by the capturer.",
  "current_version": 1,
  "actor_type_allowed": [
    "human"
  ],
  "object_type": "ProgrammeMemoryEvent",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "memory_event_id",
        "type",
        "narrative",
        "target_object_refs",
        "captured_by",
        "visibility_tier"
      ],
      "properties": {
        "memory_event_id": {
          "type": "string",
          "format": "uuid"
        },
        "type": {
          "type": "string",
          "enum": [
            "opposition",
            "assumption",
            "invalidation",
            "similar_pattern",
            "reversal_reason",
            "off_record_context",
            "escalation_history",
            "lessons_learned"
          ]
        },
        "narrative": {
          "type": "string",
          "minLength": 1
        },
        "target_object_refs": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "object_type",
              "object_id"
            ],
            "properties": {
              "object_type": {
                "type": "string"
              },
              "object_id": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          "minItems": 1
        },
        "captured_by": {
          "type": "string",
          "format": "uuid"
        },
        "visibility_tier": {
          "type": "string",
          "enum": [
            "advisor_only",
            "decision_maker_plus_advisor",
            "executive_viewer_and_above",
            "tenant_all"
          ],
          "description": "Q3: defaults derive from memory_event.type, capturer may widen, Tenant Admin may raise globally; never narrows below type minimum."
        },
        "prior_memory_event_id_ref": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "description": "If this event amends/links a prior memory event (corrections are new events; we never edit the original)."
        }
      }
    }
  },
  "projections_consuming": [
    "programme_memory_view",
    "decisions_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/memory_event_recorded.ts"
}