{
  "id": "context-graph",
  "name": "Context Graph — Verifiable Agent Provenance",
  "version": "0.4.4",
  "description": "Captures agent execution traces as PROV-O context graphs with hash chain integrity and signed submissions.",
  "configSchema": {
    "type": "object",
    "properties": {
      "enabled": { "type": "boolean", "default": true },
      "autoCapture": { "type": "boolean", "default": true },
      "policyPath": { "type": "string" },
      "agentId": { "type": "string" },
      "contextGraphRoot": {
        "type": "string",
        "default": ".context-graph",
        "description": "Path to context-graph storage directory"
      },
      "detectTests": { "type": "boolean", "default": true },
      "detectBuilds": { "type": "boolean", "default": true },
      "detectHttp": {
        "type": "boolean",
        "default": true,
        "description": "Detect HTTP requests (curl, wget, httpie) in shell commands"
      },
      "signingKeyPath": {
        "type": "string",
        "description": "Path to Ed25519 signing key (auto-generated if missing)"
      },
      "submitUrl": {
        "type": "string",
        "description": "ClawTrail API endpoint for submitting signed context graphs"
      },
      "apiKey": {
        "type": "string",
        "description": "ClawTrail agent API key for authentication"
      },
      "autoSubmit": {
        "type": "boolean",
        "default": true,
        "description": "Automatically submit signed context graph after each session ends"
      },
      "environment": {
        "type": "string",
        "enum": ["staging", "production"],
        "default": "production",
        "description": "ClawTrail environment"
      }
    }
  },
  "uiHints": {
    "apiKey": { "label": "ClawTrail API Key", "sensitive": true }
  },
  "skills": ["skills"]
}
