{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://unpkg.com/vigiles/dist/vigilesrc.schema.json",
  "title": "vigiles configuration (.vigilesrc.json)",
  "type": "object",
  "properties": {
    "ruleMarkers": {
      "default": [
        "headings",
        "checkboxes"
      ],
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "headings",
          "checkboxes"
        ]
      }
    },
    "rules": {
      "default": {},
      "type": "object",
      "properties": {
        "spec-refs": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "orphan-docs": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "duplicate-rules": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "require-instructions-spec": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "require-skill-spec": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "integrity": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "coverage": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "linterRules": {
                      "type": "number"
                    },
                    "scripts": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "linterRules": {
                      "type": "number"
                    },
                    "scripts": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "untested-skill": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "untested-subagent": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "untested-hook": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "untested-output-style": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "include": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      ]
                    },
                    "testExtension": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "unmarked-refs": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "subagent-tool-contract": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "hook-events": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "subagent-frontmatter": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "mcp-config": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "skill-frontmatter": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "mcp-tool-resolves": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "hook-script-exists": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "hand-written-hook": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "disallowed-tools-contract": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "description-overlap": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "skill-description-budget": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "compile-budget": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "maxEntryChars": {
                      "type": "number"
                    },
                    "maxSectionChars": {
                      "type": "number"
                    },
                    "maxRulesChars": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "maxEntryChars": {
                      "type": "number"
                    },
                    "maxSectionChars": {
                      "type": "number"
                    },
                    "maxRulesChars": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "frontmatter-valid": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "mcp-hook-target-resolves": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "lethal-trifecta": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "skill-resource-resolves": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "skill-missing-fence": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "plugin-dir-layout": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "delegation-trifecta": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "hook-block-ineffective": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "hook-matcher": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "doc-refs": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        },
        "instruction-weight": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "boolean",
                  "const": false
                },
                {
                  "type": "string",
                  "const": "off"
                },
                {
                  "type": "number",
                  "const": 0
                },
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "boolean",
                  "const": true
                }
              ]
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "warn"
                },
                {
                  "type": "object",
                  "properties": {
                    "max": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            },
            {
              "type": "array",
              "prefixItems": [
                {
                  "type": "string",
                  "const": "error"
                },
                {
                  "type": "object",
                  "properties": {
                    "max": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "additionalProperties": false
                }
              ],
              "items": false,
              "minItems": 2,
              "maxItems": 2
            }
          ]
        },
        "deprecated-key-files": {
          "anyOf": [
            {
              "type": "string",
              "const": "warn"
            },
            {
              "type": "string",
              "const": "error"
            },
            {
              "type": "boolean",
              "const": false
            },
            {
              "type": "string",
              "const": "off"
            },
            {
              "type": "number",
              "const": 0
            },
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "boolean",
              "const": true
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "files": {
      "default": [
        "CLAUDE.md"
      ],
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "maxRules": {
      "type": "number"
    },
    "maxTokens": {
      "type": "number"
    },
    "maxSectionLines": {
      "type": "number"
    },
    "catalogOnly": {
      "type": "boolean"
    },
    "linters": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "rulesDir": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "bundles": {
      "type": "string",
      "enum": [
        "root",
        "all"
      ]
    },
    "orphans": {
      "type": "object",
      "properties": {
        "include": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "exclude": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "overrides": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "files": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "rules": {
            "type": "object",
            "properties": {
              "spec-refs": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "orphan-docs": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "duplicate-rules": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "require-instructions-spec": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "require-skill-spec": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "integrity": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "coverage": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "untested-skill": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "untested-subagent": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "untested-hook": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "untested-output-style": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "unmarked-refs": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "subagent-tool-contract": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "hook-events": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "subagent-frontmatter": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "mcp-config": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "skill-frontmatter": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "mcp-tool-resolves": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "hook-script-exists": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "hand-written-hook": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "disallowed-tools-contract": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "description-overlap": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "skill-description-budget": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "compile-budget": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "frontmatter-valid": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "mcp-hook-target-resolves": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "lethal-trifecta": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "skill-resource-resolves": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "skill-missing-fence": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "plugin-dir-layout": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "delegation-trifecta": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "hook-block-ineffective": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "hook-matcher": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "doc-refs": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "instruction-weight": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              },
              "deprecated-key-files": {
                "anyOf": [
                  {
                    "type": "string",
                    "const": "warn"
                  },
                  {
                    "type": "string",
                    "const": "error"
                  },
                  {
                    "type": "boolean",
                    "const": false
                  },
                  {
                    "type": "string",
                    "const": "off"
                  },
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "boolean",
                    "const": true
                  }
                ]
              }
            },
            "additionalProperties": false
          }
        },
        "required": [
          "files",
          "rules"
        ],
        "additionalProperties": false
      }
    },
    "sharedDirs": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "harnesses": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "object",
        "properties": {
          "roots": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "audit": {
      "type": "object",
      "properties": {
        "measure": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "eval": {
      "type": "object",
      "properties": {
        "apiVersion": {
          "type": "number"
        }
      },
      "additionalProperties": false
    },
    "nudge": {
      "type": "string",
      "const": "dismissed"
    },
    "extends": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "vigiles:recommended",
            "vigiles:experimental"
          ]
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "vigiles:recommended",
              "vigiles:experimental"
            ]
          }
        }
      ]
    },
    "$schema": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
