{
  "name": "StatusChip & IncidentRow",
  "version": "0.1.0",
  "status": "Proposed contract example. No production backend or historical team approval.",
  "fields": {
    "id": "Stable incident identifier",
    "severity": "urgent | attention | ambient; authoritative service policy",
    "observedAt": "UTC ISO timestamp or null",
    "ttlMs": "Positive freshness budget supplied by the service policy",
    "tenantId": "Authorized tenant; enforced by backend",
    "scope": "Authorized service and resource boundary",
    "canAcknowledge": "Capability hint only; backend authorizes each request",
    "acknowledgedAt": "UTC ISO timestamp or null; requires server receipt",
    "resolvedAt": "UTC ISO timestamp or null; independent of acknowledgement",
    "correlationKey": "Server-confirmed cause within tenant and scope",
    "sequence": "Monotonically increasing within incident stream",
    "firstObservedAt": "UTC ISO timestamp",
    "lastObservedAt": "UTC ISO timestamp",
    "eventCount": "Raw event count preserved after correlation"
  },
  "rules": [
    "Missing or expired evidence displays Unknown; retain last known incident severity separately.",
    "Acknowledgement never resolves or demotes an incident.",
    "Show pending until an authorized server receipt; denied and timeout preserve unresolved state.",
    "Acknowledgement requests use an idempotency key; a retry must not create duplicate actions.",
    "Ignore older sequence numbers; reconcile gaps with authoritative service state.",
    "Clear old tenant records before rendering a newly authorized scope.",
    "Group only within authorized tenant, service and confirmed cause.",
    "Maintenance suppression has a scoped owner and expiry; unrelated security incidents bypass it."
  ],
  "acknowledgementStates": [
    "unacknowledged",
    "pending",
    "acknowledged",
    "denied",
    "retry-needed"
  ],
  "demoBoundary": "The browser demo changes local state synchronously. It does not implement authorization, event streaming, request receipts, or retries."
}
