changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "at": {
+ "description": "ISO timestamp of the diagnosis.",
+ "type": "string"
+ },
+ "cleaned_context": {
+ "description": "Redacted, deduplicated context safe to carry forward.",
+ "type": "string"
+ },
+ "clinic": {
+ "description": "Clinic engine version.",
+ "type": "string"
+ },
+ "counts": {
+ "properties": {
+ "by_severity": {
+ "properties": {
+ "high": {
+ "type": "integer"
+ },
+ "info": {
+ "type": "integer"
+ },
+ "warn": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "by_type": {
+ "description": "Finding counts keyed by condition type.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "findings": {
+ "items": {
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "detail": {
+ "type": "string"
+ },
+ "evidence": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "high",
+ "warn",
+ "info"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "description": "Condition type, e.g. prompt_injection_indicator, possible_contradiction, loop, context_bloat, secret_or_pii_exposure, duplicated_content.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "input": {
+ "properties": {
+ "chars": {
+ "type": "integer"
+ },
+ "est_tokens": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "stats_note": {
+ "type": "string"
+ },
+ "suggested_next_steps": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "description": "Human-readable finding count by severity.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}