A distributed workflow needs a localized repair without weakening observability or rollback safety. The affected area is API transaction.
Repair the API transaction update stream implementation so it keeps the latest valid version and reports stale conflicts.
Evidence
- Affected surface: Full-stack backend focus / API transaction.
- Observed failure family: resolve duplicate updates.
- Scope policy: tenantId must equal tenant-primary.