changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "LineStats": {
+ "additionalProperties": true,
+ "properties": {
+ "agents": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "AI agent -> lines it wrote.",
+ "title": "Agents",
+ "type": "object"
+ },
+ "ai": {
+ "description": "Lines written by AI coding agents.",
+ "title": "Ai",
+ "type": "integer"
+ },
+ "ai_pct": {
+ "description": "Share of lines written by AI, in percent.",
+ "title": "Ai Pct",
+ "type": "number"
+ },
+ "debt_lines": {
+ "description": "unread + half of skimmed and fading.",
+ "title": "Debt Lines",
+ "type": "number"
+ },
+ "debt_pct": {
+ "description": "Comprehension debt: debt_lines as a percentage of all lines.",
+ "title": "Debt Pct",
+ "type": "number"
+ },
+ "fading": {
+ "description": "AI-written lines understood more than 180 days ago.",
+ "title": "Fading",
+ "type": "integer"
+ },
+ "human": {
+ "description": "Lines written by people.",
+ "title": "Human",
+ "type": "integer"
+ },
+ "lines": {
+ "description": "Meaningful lines scanned.",
+ "title": "Lines",
+ "type": "integer"
+ },
+ "skimmed": {
+ "description": "AI-written lines only reviewed, or quizzed with a low score.",
+ "title": "Skimmed",
+ "type": "integer"
+ },
+ "understood": {
+ "description": "AI-written lines someone has shown they understand.",
+ "title": "Understood",
+ "type": "integer"
+ },
+ "understood_by": {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "description": "Person (git email) -> AI-written lines they understand.",
+ "title": "Understood By",
+ "type": "object"
+ },
+ "unread": {
+ "description": "AI-written lines nobody has checked.",
+ "title": "Unread",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "lines",
+ "human",
+ "ai",
+ "understood",
+ "fading",
+ "skimmed",
+ "unread",
+ "debt_lines",
+ "debt_pct",
+ "ai_pct",
+ "understood_by",
+ "agents"
+ ],
+ "title": "LineStats",
+ "type": "object"
+ },
+ "RiskyFile": {
+ "additionalProperties": true,
+ "properties": {
+ "ai_lines": {
+ "title": "Ai Lines",
+ "type": "integer"
+ },
+ "critical": {
+ "description": "Matches a critical path in .grokmap.toml.",
+ "title": "Critical",
+ "type": "boolean"
+ },
+ "debt_pct": {
+ "title": "Debt Pct",
+ "type": "number"
+ },
+ "lines": {
+ "title": "Lines",
+ "type": "integer"
+ },
+ "path": {
+ "title": "Path",
+ "type": "string"
+ },
+ "unread": {
+ "title": "Unread",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "path",
+ "lines",
+ "ai_lines",
+ "unread",
+ "debt_pct",
+ "critical"
+ ],
+ "title": "RiskyFile",
+ "type": "object"
+ }
+ },
+ "additionalProperties": true,
+ "properties": {
+ "critical_paths": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/LineStats"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Same numbers for critical paths only; null if none are configured."
+ },
+ "head": {
+ "description": "Commit scanned (short SHA).",
+ "title": "Head",
+ "type": "string"
+ },
+ "repo": {
+ "description": "Repository folder name.",
+ "title": "Repo",
+ "type": "string"
+ },
+ "risk": {
+ "description": "Overall risk level for the repository.",
+ "enum": [
+ "none",
+ "low",
+ "medium",
+ "high",
+ "very high"
+ ],
+ "title": "Risk",
+ "type": "string"
+ },
+ "riskiest_files": {
+ "description": "Files with the most comprehension debt, worst first.",
+ "items": {
+ "$ref": "#/$defs/RiskyFile"
+ },
+ "title": "Riskiest Files",
+ "type": "array"
+ },
+ "total": {
+ "$ref": "#/$defs/LineStats"
+ }
+ },
+ "required": [
+ "repo",
+ "head",
+ "risk",
+ "total",
+ "critical_paths",
+ "riskiest_files"
+ ],
+ "title": "RepoStatus",
+ "type": "object"
+}