GCC Build OSv0
/api

PackCollisionDetectedevent type

Two or more installed packs declared conflicting default values for the same attribute. Resolved deterministically by the priority field per Q10 with install order as tiebreaker; emitted for audit and authoring feedback.

Full spec

{
  "name": "PackCollisionDetected",
  "description": "Two or more installed packs declared conflicting default values for the same attribute. Resolved deterministically by the priority field per Q10 with install order as tiebreaker; emitted for audit and authoring feedback.",
  "current_version": 1,
  "actor_type_allowed": [
    "system"
  ],
  "object_type": null,
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "pack_ids",
        "attribute_path",
        "resolved_value",
        "resolved_by_priority_field",
        "candidates"
      ],
      "properties": {
        "pack_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "minItems": 2
        },
        "attribute_path": {
          "type": "string",
          "minLength": 1,
          "description": "Dotted path to the colliding attribute (e.g., 'workstream:IT-Identity.priority_tier')."
        },
        "resolved_value": {
          "description": "The value chosen by the resolver; any JSON scalar/object/array."
        },
        "resolved_by_priority_field": {
          "type": "boolean",
          "description": "True if the priority field broke the tie; false if priority was equal and install order was used."
        },
        "candidates": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "pack_id",
              "priority",
              "candidate_value"
            ],
            "properties": {
              "pack_id": {
                "type": "string",
                "format": "uuid"
              },
              "priority": {
                "type": "integer"
              },
              "candidate_value": {
                "description": "Any JSON value."
              },
              "installed_at_sequence_no": {
                "type": "integer",
                "minimum": 0
              }
            }
          },
          "minItems": 2
        }
      }
    }
  },
  "projections_consuming": [
    "pack_collisions_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/pack_collision_detected.ts"
}