{
  "version": "0.2.3",
  "mode": "audit-only",
  "parserPolicy": {
    "inspectEverySegment": true,
    "inspectScriptBodies": true,
    "rejectUnknownExecutables": true,
    "rejectShellWrappers": true,
    "rejectHeredocs": true,
    "rejectRedirection": true,
    "providerSpecificNpx": true,
    "authenticatedCurlRequiresApproval": true,
    "boundedReadsRequired": true,
    "allowedComposition": "read-only"
  },
  "allowedFamilies": [
    {
      "name": "bounded-route-inspection",
      "executables": ["pwd", "ls", "rg", "find", "sed", "head"],
      "argumentPolicy": {
        "strategy": "pattern",
        "allowedPatterns": ["bounded repository-local static route inspection"],
        "deniedPatterns": ["absolute home paths, secret files, app execution, and unbounded traversal"]
      },
      "constraints": [
        "Remain inside the declared project scope.",
        "Bound traversal depth and output.",
        "Exclude secret-bearing, generated, dependency, build, and runtime-output paths."
      ]
    },
    {
      "name": "git-identity-inspection",
      "executables": ["git"],
      "argumentPolicy": {
        "strategy": "exact",
        "allowedPatterns": ["rev-parse and status --short --branch"],
        "deniedPatterns": ["all Git mutation and publication subcommands"]
      },
      "constraints": [
        "Allow only read-only repository identity and branch-state inspection."
      ]
    },
    {
      "name": "route-trace-renderer",
      "executables": ["node", "coding-agent-skills"],
      "argumentPolicy": {
        "strategy": "exact",
        "allowedPatterns": ["node scripts/render-route-trace.mjs <project-root>; coding-agent-skills route-trace <project-root>"],
        "deniedPatterns": ["builds, tests, dev servers, URL probing, app execution, deployment, migration, and package installation"]
      },
      "constraints": [
        "The renderer must remain static and read-only.",
        "Do not treat renderer output as runtime availability evidence."
      ]
    }
  ],
  "restrictedCategories": [
    "file-write",
    "package-install",
    "deployment",
    "git-mutation",
    "unrestricted-scan",
    "secret-read",
    "process-mutation",
    "service-mutation",
    "migration-apply",
    "privileged-api"
  ],
  "approvalExceptions": [
    "A named-file approval may permit one otherwise excluded non-mutating static read when the file is not secret-bearing."
  ]
}
