feat: add production assurance dashboard flow

This commit is contained in:
thanhnv
2026-07-28 21:49:15 +07:00
parent ee5d1f7af5
commit cce3cbfd42
39 changed files with 1873 additions and 91 deletions
@@ -182,6 +182,31 @@
},
"reason": { "type": ["string", "null"] },
"warnings": { "type": "array", "items": { "type": "string" } },
"report_url": { "type": ["string", "null"], "format": "uri" },
"receipt": {
"type": "object",
"description": "Non-sensitive materialized pointer for CLI and dashboard discovery.",
"properties": {
"schema_version": { "const": 1 },
"trace_id": { "type": ["string", "null"] },
"project_id": { "type": ["string", "null"] },
"decision": { "type": "string" },
"certified": { "type": "boolean" },
"certification_strength": { "type": ["string", "null"] },
"telemetry_quality": { "type": ["string", "null"] },
"telemetry_warnings": { "type": "array", "items": { "type": "string" } },
"duration_ms": { "type": ["number", "null"] },
"tool_calls": { "type": "integer" },
"failures": { "type": "integer" },
"finalized_at": { "type": ["string", "null"] },
"report_url": { "type": ["string", "null"] },
"trace_path": { "type": "string" },
"delivery": {
"type": "string",
"enum": ["local_spool", "async_delivery_started"]
}
}
},
"context": {
"type": ["string", "null"],
"description": "Optional additional context the adapter may inject into the turn (e.g. certification banner)."