agent-file-tools 0.50.0

Agent File Tools — tree-sitter powered code analysis for AI agents
Documentation
{
  "schema_version": 1,
  "oracle": {
    "repository": "oh-my-pi",
    "package": "packages/hashline",
    "revision": "45e12e5bb758198a920c6070e7e64cb33b21beac",
    "revision_source": "pinned semantic oracle revision"
  },
  "generator": {
    "path": "regenerate.py",
    "runtime": "Python 3 standard library only",
    "command": "python3 crates/aft/src/hashline/oracle/regenerate.py --check",
    "uses_aft_crates": false
  },
  "fixtures": {
    "path": "fixtures.jsonl",
    "format": "one canonical JSON object per line, sorted keys",
    "count": 128,
    "sha256": "b1ce3a86f913a0346ba985c822577244a344ec35d8f2fae4f0d391e01227bf7d"
  },
  "vectors": {
    "xxhash32_seed_zero": {
      "path": "xxhash32_seed_zero.json",
      "count": 21,
      "sha256": "2dce5a981cb52a0bbaefac8785279ba6d0d443fadc28eb6d573ce761d8e9641b"
    },
    "tag_normalization": {
      "path": "tag_normalization.json",
      "count": 12,
      "sha256": "830d1ee5a2553f7a3de34029efc1742e59fd1558a51afcb59ca5535d6b5494d5"
    },
    "rust_source": {
      "path": "xxhash32_vectors.rs",
      "sha256": "6e1cbb629615b4a7171312b0ab4e9d8bcf90389f4c89b3cf8ce00931c8d866c2"
    }
  },
  "deviation_categories": [
    {
      "id": "block-resolver-span",
      "justification": "The native BlockResolver can use a span different from the oracle's JSX repair span.",
      "control_rule": "A deviation-control fixture must fail if the native span becomes oracle-identical without review."
    },
    {
      "id": "strict-exact-byte-verification",
      "justification": "AFT exact-compares raw addressed bytes and terminators even where the oracle accepts normalized text.",
      "control_rule": "A deviation-control fixture must fail if trailing-byte drift is accepted by the native verifier."
    }
  ],
  "coverage": {
    "operations": [
      "CUT",
      "MV",
      "PUT",
      "REM"
    ],
    "outcomes": [
      "accepted",
      "rejected"
    ],
    "fixture_categories": [
      "anonymous-register",
      "block",
      "block-rejection",
      "bof",
      "bof-rejection",
      "bom",
      "bom-rejection",
      "crlf",
      "crlf-rejection",
      "cross-file-register",
      "empty",
      "empty-boundary",
      "empty-boundary-rejection",
      "empty-rejection",
      "eof",
      "eof-rejection",
      "eof-relative",
      "eof-relative-rejection",
      "lf",
      "lf-rejection",
      "missing-final-newline",
      "missing-final-newline-rejection",
      "mixed-terminators",
      "mixed-terminators-rejection",
      "named-register",
      "one-line",
      "one-line-rejection",
      "register-overflow",
      "registered-deviation",
      "registered-deviation-negative-control",
      "repair",
      "repair-negative-control",
      "trailing-whitespace",
      "trailing-whitespace-rejection",
      "unicode",
      "unicode-rejection"
    ],
    "addresses": [
      "$",
      "block",
      "eof",
      "gap",
      "line",
      "range"
    ],
    "repairs": [
      "boundary-echo",
      "exact-verbatim-remap",
      "indent",
      "replacement-coalescing"
    ]
  },
  "deviation_control": {
    "registered_category_count": 2,
    "observed_category_count": 2,
    "control_rows": [
      "oracle-121",
      "oracle-122",
      "oracle-123",
      "oracle-124"
    ],
    "requires_exactly_two_categories": true
  }
}