{
  "schema": "fak.tokendemo.served-read-cache.v1",
  "surface": "http+mcp",
  "endpoints": [
    "/v1/fak/syscall",
    "/mcp"
  ],
  "tool": "Read",
  "engine": "fakread",
  "calls_per_surface": 4,
  "calls": 8,
  "file_bytes": 8448,
  "raw_engine_calls": 8,
  "fak_engine_calls": 1,
  "vdso_hits": 7,
  "roundtrips_collapsed": 7,
  "engine_calls_avoided": 7,
  "raw_total_ns": 107531,
  "fak_total_ns": 12205478,
  "raw_minus_fak_ns": -12097947,
  "raw_p50_ns": 13020,
  "raw_p95_ns": 20050,
  "fak_p50_ns": 706206,
  "fak_p95_ns": 911934,
  "honesty_scope": "tool-side only: cached bytes are still returned to the caller; this proof does not claim model-context token savings or native Claude Code tool routing",
  "calls_detail": [
    {
      "index": 1,
      "surface": "http",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 23660,
      "fak_http_time_ns": 7078216,
      "fak_source": "engine",
      "engine": "fakread",
      "engine_ran_fak": true,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 2,
      "surface": "http",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 13120,
      "fak_http_time_ns": 911934,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 3,
      "surface": "http",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 14931,
      "fak_http_time_ns": 689699,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 4,
      "surface": "http",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 20050,
      "fak_http_time_ns": 741808,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 5,
      "surface": "mcp",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 13020,
      "fak_http_time_ns": 862415,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 6,
      "surface": "mcp",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 6040,
      "fak_http_time_ns": 706206,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 7,
      "surface": "mcp",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 6800,
      "fak_http_time_ns": 624658,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    },
    {
      "index": 8,
      "surface": "mcp",
      "tool": "Read",
      "resource": "same-read-cache-proof.txt",
      "args_hash": "f601ffb3f4b5",
      "http_status": 200,
      "verdict": "ALLOW",
      "result_status": "OK",
      "raw_read_time_ns": 9910,
      "fak_http_time_ns": 590542,
      "fak_source": "vdso_tier2",
      "served_by": "vdso",
      "tier": "2",
      "engine_ran_fak": false,
      "result_bytes": 117,
      "trace_id": "tokendemo-served-read",
      "response_meta_ok": true
    }
  ],
  "gateway_metric_evidence": {
    "kernel_submits": 8,
    "kernel_vdso_hits": 7,
    "kernel_engine_calls": 1,
    "gateway_http_post_syscall_200": 4,
    "gateway_mcp_post_200": 4,
    "gateway_syscall_allow_engine": 1,
    "gateway_syscall_allow_vdso": 7,
    "gateway_vdso_hit_ratio": 0.875,
    "rows": {
      "gateway_http_post_syscall_200": "fak_gateway_http_requests_total{route=\"/v1/fak/syscall\",method=\"POST\",status=\"200\"} 4",
      "gateway_mcp_post_200": "fak_gateway_http_requests_total{route=\"/mcp\",method=\"POST\",status=\"200\"} 4",
      "gateway_syscall_allow_engine": "fak_gateway_operations_total{operation=\"syscall\",verdict=\"ALLOW\",reason=\"\",disposition=\"\",by=\"monitor\"} 1",
      "gateway_syscall_allow_vdso": "fak_gateway_operations_total{operation=\"syscall\",verdict=\"ALLOW\",reason=\"\",disposition=\"\",by=\"vdso\"} 7",
      "gateway_vdso_hit_ratio": "fak_gateway_vdso_hit_ratio 0.875",
      "kernel_engine_calls": "fak_kernel_engine_calls_total 1",
      "kernel_submits": "fak_kernel_submits_total 8",
      "kernel_vdso_hits": "fak_kernel_vdso_hits_total 7"
    }
  }
}
