1 Commits

Author SHA1 Message Date
wangdl
0f1f2e5123 feat(M-AI-02-03,02-04): identity/routing + lifecycle/execution fields
- M-AI-02-03: 10 fields (triggerType, queueName, priority, targetType, targetId,
  parentJobId, idempotencyKey, retriedFromJobId, inputRef, inputSchemaVersion)
  + jobType VARCHAR(32→64) + 4 indexes + self-referencing FK
- M-AI-02-04: 20 fields (lifecycleStatus, lockedBy/At/Until, cancelRequestedAt,
  attemptCount/maxAttempts/timeoutMs, credentialMode/Id, modelTier/Provider/Name,
  promptKey/Version, outputSchemaVersion/Hash, validatedOutput, errorCode,
  publicErrorMessage) + 2 column renames (completedAt→finishedAt,
  errorMessage→internalErrorMessage) + 2 indexes

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-20 12:24:21 +08:00