Event Service Agent Kata

ADR-0005: Schema & Indexing

Status: Proposed

Problem

Context

Options

  1. Normalized tags: service_call_tags(tenantId, serviceCallId, tag); domain table leads with tenantId; targeted composite indexes.
  2. JSON/BLOB tags: array/JSON in service_calls with DB-specific indexing (e.g., GIN). Less portable.

Decision (TBD)

Consequences (TBD)