GCC Build OSv0
/api

PackUninstalledevent type

Pack was uninstalled. Nodes/edges instantiated from pack templates are archived, never deleted (I2 + I14 replay-safe). Reason recorded for audit.

Full spec

{
  "name": "PackUninstalled",
  "description": "Pack was uninstalled. Nodes/edges instantiated from pack templates are archived, never deleted (I2 + I14 replay-safe). Reason recorded for audit.",
  "current_version": 1,
  "actor_type_allowed": [
    "human"
  ],
  "object_type": "WorkstreamPack",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "pack_id",
        "reason",
        "uninstalled_by"
      ],
      "properties": {
        "pack_id": {
          "type": "string",
          "format": "uuid"
        },
        "reason": {
          "type": "string",
          "minLength": 1
        },
        "archived_node_count": {
          "type": "integer",
          "minimum": 0,
          "description": "Count of nodes archived in this uninstall (informational; replay reconstructs the exact set)."
        },
        "uninstalled_by": {
          "type": "string",
          "format": "uuid"
        }
      }
    }
  },
  "projections_consuming": [
    "installed_packs_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/pack_uninstalled.ts"
}