| 44 | } |
| 45 | |
| 46 | int cbm_cypher_max_depth(void) { |
| 47 | /* 10 — generous for a code call/def graph; an explicit `*1..N` above this is |
| 48 | * WARN-capped, never an unbounded (cyclic-graph DoS) traversal. */ |
| 49 | return env_positive_int("CBM_CYPHER_MAX_DEPTH", 10); |
| 50 | } |
| 51 | |
| 52 | int cbm_mcp_max_depth(void) { |
| 53 | /* 15 — ceiling for client-driven MCP graph traversals (trace_call_path, |
no test coverage detected