Implements the 074 verification checklist framework. Highlights: - Versioned verification report contract stored in operation_runs.context.verification_report (DB-only viewer). - Strict sanitizer/redaction (evidence pointers only; no tokens/headers/payloads) + schema validation. - Centralized BADGE-001 semantics for check status, severity, and overall report outcome. - Deterministic start (dedupe while active) via shared StartVerification service; capability-first authorization (non-member 404, member missing capability 403). - Completion audit event (verification.completed) with redacted metadata. - Integrations: OperationRun detail viewer, onboarding wizard verification step, provider connection start surfaces. Tests: - vendor/bin/sail artisan test --compact tests/Feature/Verification tests/Unit/Badges/VerificationBadgesTest.php - vendor/bin/sail bin pint --dirty Co-authored-by: Ahmed Darrazi <ahmeddarrazi@MacBookPro.fritz.box> Reviewed-on: #89
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"schema_version": "1.0.0",
|
|
"flow": "provider.connection.check",
|
|
"generated_at": "2026-02-03T22:00:00Z",
|
|
"summary": {
|
|
"overall": "needs_attention",
|
|
"counts": {
|
|
"total": 2,
|
|
"pass": 1,
|
|
"fail": 0,
|
|
"warn": 1,
|
|
"skip": 0,
|
|
"running": 0
|
|
}
|
|
},
|
|
"checks": [
|
|
{
|
|
"key": "provider_connection.optional_metadata",
|
|
"title": "Optional metadata is present",
|
|
"status": "warn",
|
|
"severity": "medium",
|
|
"blocking": false,
|
|
"reason_code": "missing_configuration",
|
|
"message": "Some optional metadata is missing; this may reduce diagnostics quality.",
|
|
"evidence": [],
|
|
"next_steps": [
|
|
{ "label": "Open provider connection settings", "url": "/admin/provider-connections" }
|
|
]
|
|
},
|
|
{
|
|
"key": "provider_connection.health",
|
|
"title": "Provider connection is healthy",
|
|
"status": "pass",
|
|
"severity": "info",
|
|
"blocking": false,
|
|
"reason_code": "ok",
|
|
"message": "The provider connection passed all required health checks.",
|
|
"evidence": [],
|
|
"next_steps": []
|
|
}
|
|
]
|
|
}
|