{
  "runId": "E2E-AI-20260901-C",
  "environment": "dev2/ou00 via local ngrok",
  "verdict": "PASS",
  "schemaPrerequisites": {
    "scheduleAvailability.recurrenceWeeks": "present",
    "scheduleAvailability.weekIndex": "present",
    "migrationScope": "ou00 only",
    "controlStoreUnchanged": "pc00"
  },
  "fixture": {
    "shiftId": 2991,
    "marker": "E2E-AI-20260901-C",
    "availabilityId": 699,
    "employeeId": 48,
    "weekStart": "2027-03-15",
    "positionId": 4,
    "openDraftShift": true
  },
  "dispatch": {
    "endpoint": "POST /api/ou00/schedule/ai/generate",
    "solverType": "math",
    "status": 200,
    "jobId": "989e90b0-fe81-4bc4-ad0b-3db1c6fcf364",
    "observedStatuses": ["processing", "completed"]
  },
  "suggestion": {
    "suggestionId": 771,
    "jobId": "989e90b0-fe81-4bc4-ad0b-3db1c6fcf364",
    "jobLinkMatches": true,
    "solverStatus": "OPTIMAL",
    "assignmentCount": 1,
    "matchingAssignment": {"shiftId": 2991, "employeeId": 48},
    "summary": {"filledCount": 1, "unfilledCount": 0, "totalHours": 8, "overtimeHours": 0}
  },
  "application": {
    "status": 200,
    "success": true,
    "appliedCount": 1,
    "rejectedCount": 0,
    "databaseReadBack": {
      "employeeId": 48,
      "publishedAt": null,
      "aiSuggestionId": 771,
      "suggestionStatus": "applied",
      "jobStatus": "completed",
      "verified": true
    }
  },
  "defectRemediation": {
    "issue": "Persisted suggestions generated a new UUID instead of retaining the dispatched jobId",
    "tdd": "RED/GREEN suggestion-job linkage contract",
    "workerReload": "Queue was idle before four local workers were terminated and automatically respawned with current code",
    "liveRegression": "job and suggestion both persisted the dispatched jobId"
  },
  "deterministicCoverage": {
    "focusedResult": "PASS_WITH_2_DEPRECATIONS",
    "focusedTests": 443,
    "focusedAssertions": 1998,
    "priorBroaderTests": 556,
    "priorBroaderAssertions": 2673
  },
  "independentReview": {
    "passed": true,
    "securityConcerns": [],
    "logicErrors": [],
    "focusedTests": 80,
    "focusedAssertions": 289,
    "raceLinkageTests": 4,
    "raceLinkageAssertions": 14,
    "phpstan": "PASS"
  },
  "cleanup": {
    "dryRunFirst": true,
    "shift": {"deleted": 1, "remaining": 0, "verified": true},
    "availability": {"deleted": 1, "remaining": 0, "verified": true},
    "job": {"deleted": 1, "remaining": 0, "verified": true},
    "suggestion": {"deleted": 1, "remaining": 0, "verified": true},
    "browserProcessStopped": true,
    "independentExactReadBack": {"jobs": 0, "suggestions": 0, "shifts": 0, "availability": 0}
  }
}
