{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"OAuthClientProvider._auth_flow (cyclomatic 33): OAuthClientProvider._auth_flow has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"8befdcf67a38b84a3fb6325141904dab267d203b809167fcd86ed7ebae3bd717"}},{"ruleId":"D1","level":"warning","message":{"text":"func_metadata.func_metadata (cyclomatic 33): func_metadata.func_metadata has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f7afff47355bf2f78d58abe9dec52c33f727de17e3dfa22b0c85700e6644a7"}},{"ruleId":"D1","level":"warning","message":{"text":"TokenHandler.handle (cyclomatic 28): TokenHandler.handle has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/token.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5be1bd832555979a56103f4c06b86dda7077da99197c01d3d11670a74c220f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Connection.check_capability (cyclomatic 23): Connection.check_capability has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/connection.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4a2cb14dd20c3cf5742bda3cb87387529309ab6bd5cc4c03718957ca0023fa"}},{"ruleId":"D1","level":"warning","message":{"text":"JSONRPCDispatcher.send_raw_request (cyclomatic 23): JSONRPCDispatcher.send_raw_request has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e7081c5c80c6871df2e544d3d7c15134ba3d0560545ebd96ccbd776356d69e"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPServer.__init__ (cyclomatic 22): MCPServer.__init__ has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11cb9dccbf3e4d9fc975bb0e8857fb09a6188ef092c667248d5b555ed783151"}},{"ruleId":"D1","level":"warning","message":{"text":"translations.command_translate (cyclomatic 21): translations.command_translate has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/translations.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"840b0bb89f80899204e3f5cf1ca0f93cfddfa9784ad4ea9dc655ac1574f1755c"}},{"ruleId":"D1","level":"warning","message":{"text":"_streamable_http_modern.handle_modern_request (cyclomatic 21): _streamable_http_modern.handle_modern_request has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/_streamable_http_modern.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d67d2365e55d9fab3ebfb351979f5bc65dd3986c1e6b3ddbcd4393ae2a53786"}},{"ruleId":"D1","level":"warning","message":{"text":"gen_ref_pages._compact_index (cyclomatic 20): gen_ref_pages._compact_index has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/gen_ref_pages.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea87652e7592c3065329909d6f6de333cb7fc779df827fdac95aab6bf3cf82"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamableHTTPServerTransport._handle_post_request (cyclomatic 20): StreamableHTTPServerTransport._handle_post_request has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada89585d01d403b349bc9f0e57431914e9ae396ecf06cbb11499725c7dad684"}},{"ruleId":"D1","level":"warning","message":{"text":"uri_template._scan_suffix (cyclomatic 20): uri_template._scan_suffix has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/uri_template.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"347cdf13246f98cbbcdf7c27ed22646105ddd36143fc012b55f77623c6c2ca67"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestStateBoundary._unseal (cyclomatic 19): RequestStateBoundary._unseal has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/request_state.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5e3a517500a8e52e32f1b6fc63ab313d6d430a82e1ed7c4dba162261938129"}},{"ruleId":"D1","level":"warning","message":{"text":"_probe.negotiate_auto (cyclomatic 18): _probe.negotiate_auto has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/_probe.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5951b0ab2bdea421de23d9c0945e6e4d990e6d47289ab6e9d40988cd1ff71f41"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamableHTTPTransport._handle_post_request (cyclomatic 18): StreamableHTTPTransport._handle_post_request has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8ff4611e11c4c40e3ed85dc5ed3cf49f44fce24663efe2ae556a09a1264a33"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientAuthenticator.authenticate_request (cyclomatic 18): ClientAuthenticator.authenticate_request has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/middleware/client_auth.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"086f824ef02363a7a34ffaa17574e076ab842e899ccd47327b2b41943997b8ca"}},{"ruleId":"D1","level":"warning","message":{"text":"claude.update_claude_config (cyclomatic 17): claude.update_claude_config has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/cli/claude.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef150f3d8238dba1e5f52543b434cb19035fc3abb726131392d785ea92fc859"}},{"ruleId":"D1","level":"warning","message":{"text":"IdentityAssertionOAuthProvider._auth_flow (cyclomatic 17): IdentityAssertionOAuthProvider._auth_flow has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/extensions/identity_assertion.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6331351e07cf2182a0ab4d8b4b91dcd537867a655bbb2e9666deafa65d8dc276"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve._fulfil (cyclomatic 17): resolve._fulfil has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resolve.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"245c6dd493f137263c6e580320d5766729146a5882ff940eff78d6907183ac82"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientSession.send_request (cyclomatic 16): ClientSession.send_request has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"96efccb8f52592ca8b5ab830ba2db988f9be176803743310d58f937f32ec1a04"}},{"ruleId":"D1","level":"warning","message":{"text":"RegistrationHandler.handle (cyclomatic 16): RegistrationHandler.handle has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/register.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ef4801b5cae2013d52cb4d5f1e39051981bcda2cda12bf223615b5d734ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthClientProvider._auth_flow (cognitive 74): OAuthClientProvider._auth_flow has cognitive complexity 74 (threshold 15). Drivers by points: if/else 21 (51 pts), boolean chains 10, loops 2 (6 pts), ternaries 2 (5 pts), error handling 1 (2 pts) (nesting depth added 38). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a983a89f7fdf014bab574e2622ef55ddb1a6cf780ce6d701709ce3a14e94a94"}},{"ruleId":"D2","level":"warning","message":{"text":"func_metadata.func_metadata (cognitive 53): func_metadata.func_metadata has cognitive complexity 53 (threshold 15). Drivers by points: if/else 24 (37 pts), boolean chains 6, ternaries 2 (5 pts), error handling 3 (4 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8366220c37347a54efdd9a65ee2e22d61682efb902d42f229cf587eedf6dc2"}},{"ruleId":"D2","level":"warning","message":{"text":"TokenHandler.handle (cognitive 45): TokenHandler.handle has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (23 pts), error handling 5 (8 pts), ternaries 4 (8 pts), boolean chains 3, loops 1 (2 pts), match/switch 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/token.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"00677708fbf3e07c2f7d5f30bb44b31d0efc5569cfa6588a4c6bd0cbfe099195"}},{"ruleId":"D2","level":"warning","message":{"text":"uri_template._expand_expression (cognitive 45): uri_template._expand_expression has cognitive complexity 45 (threshold 15). Drivers by points: if/else 14 (29 pts), ternaries 3 (14 pts), boolean chains 1, loops 1 (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/uri_template.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df53667e6283527af42ed9c351191f3c297aac4d56a8856a69ea0a45c40dd9c"}},{"ruleId":"D2","level":"warning","message":{"text":"_probe.negotiate_auto (cognitive 42): _probe.negotiate_auto has cognitive complexity 42 (threshold 15). Drivers by points: if/else 8 (29 pts), error handling 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/_probe.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c002bd30048f4577932d7801cbfb292ecfe9132610093b2a7e3b2b5d50f07c6c"}},{"ruleId":"D2","level":"warning","message":{"text":"uri_template._scan_suffix (cognitive 42): uri_template._scan_suffix has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (28 pts), boolean chains 6, loops 3 (6 pts), ternaries 1 (2 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/uri_template.py"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d50ecdb8b863e2b0b79c0323e5d70a9e3f65a950c4c3e2530e631db7452243"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHTTPTransport._handle_post_request (cognitive 36): StreamableHTTPTransport._handle_post_request has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), error handling 1 (4 pts), boolean chains 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd96a7f94cc4d252ad51dd79beb7dcbeba1e3afd0f944e20577ae049dacc072"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.check_capability (cognitive 35): Connection.check_capability has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 5, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/connection.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6689b9832fb29044d7fea5a61fa9e9fba9da080fadc219aba8633545c9bc2584"}},{"ruleId":"D2","level":"warning","message":{"text":"gen_ref_pages._compact_index (cognitive 31): gen_ref_pages._compact_index has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 5 (6 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/gen_ref_pages.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc976fc8d0099b57189539c05ee04f9a4e512fc3b3db520347e21361b4887afd"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONRPCDispatcher.send_raw_request (cognitive 30): JSONRPCDispatcher.send_raw_request has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 4, error handling 3, loops 1 (2 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89a2dbf35bf7c26541b9f2c5c9b7b031c3a7011531a2ec75285339cb36a9978"}},{"ruleId":"D2","level":"warning","message":{"text":"client._fold_extensions (cognitive 29): client._fold_extensions has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (8 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae3ce50f8c289008507c0bc0e9750ce96c3025c9ea018327551614ed6262125"}},{"ruleId":"D2","level":"warning","message":{"text":"translations.command_translate (cognitive 27): translations.command_translate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 4 (6 pts), ternaries 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/translations.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e290433a87c411b5bade5b9bcc9f4ec7c5a78a9f90488eb5db6b3f34b746ea"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.install (cognitive 27): cli.install has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 2 (6 pts), loops 1 (2 pts), ternaries 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/cli/cli.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7510f063aa72a03fc928820d2480f3e57a1eba94355a302096068d4e2604d8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"gen_ref_pages.generate (cognitive 26): gen_ref_pages.generate has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 6 (9 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/gen_ref_pages.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1742d8443386ccb3c8f0013218590d7a3ef2a28cd312b6aeb1a3ee1eb8c8d6c3"}},{"ruleId":"D2","level":"warning","message":{"text":"IdentityAssertionOAuthProvider._auth_flow (cognitive 26): IdentityAssertionOAuthProvider._auth_flow has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/extensions/identity_assertion.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5247ab46c844c4510c251f26c8d240ac5abf823a81b09d56fcad568956ce82"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve._fulfil (cognitive 26): resolve._fulfil has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 3 (7 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resolve.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d03333ef027b8002c483d2c5897a357792745460141f660f9a408dd2e49c4"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHTTPServerTransport._handle_post_request (cognitive 25): StreamableHTTPServerTransport._handle_post_request has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 5 (7 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9c86be541d2366620851b235c62fa670a5d9750d9c77bbc5a1f353e0c29e95"}},{"ruleId":"D2","level":"warning","message":{"text":"build_config.build_config (cognitive 24): build_config.build_config has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/build_config.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fef6c75a7e30fa7b3f31d491f9b75ad96eb452848dbbcd8e6d3a0e1569be545"}},{"ruleId":"D2","level":"warning","message":{"text":"_streamable_http_modern.handle_modern_request (cognitive 24): _streamable_http_modern.handle_modern_request has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11, error handling 4 (6 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/_streamable_http_modern.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03cce4100a0b3f320697b23721726174733e99fc4ba098c249cf8a9f45c07e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientAuthenticator.authenticate_request (cognitive 24): ClientAuthenticator.authenticate_request has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/middleware/client_auth.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5055ac6a92c7404b4f82fd148cebb6c74faff7fa4b2eaf8cf21d1558575ba11"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPServer.__init__ (cognitive 24): MCPServer.__init__ has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 7 (10 pts), ternaries 3, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a769ae576a30259d6280007bbc5d1c13000e2fc111cf3ac16c0a1b3cd217358"}},{"ruleId":"D2","level":"warning","message":{"text":"inbound.validate_mcp_param_headers (cognitive 24): inbound.validate_mcp_param_headers has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 2, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/inbound.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba7522c1fba036821a1e557fc04609a367189e590f444069471a5b614422f4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientSessionGroup.disconnect_from_server (cognitive 22): ClientSessionGroup.disconnect_from_server has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session_group.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf6983bf986cd07502313ffadec56094056f3dda5910695289b80024f880e40"}},{"ruleId":"D2","level":"warning","message":{"text":"uri_template._scan_prefix (cognitive 22): uri_template._scan_prefix has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/uri_template.py"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dabbbe7a383fb0a640cb35ddf30e17cdc0e778d732cb97d9b33c919c301652"}},{"ruleId":"D2","level":"warning","message":{"text":"claude.update_claude_config (cognitive 21): claude.update_claude_config has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (14 pts), error handling 2 (3 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/cli/claude.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"72391dbd943f370daa84dd4150b8c29db545a487c33e09947cb963086adaa3f8"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHTTPTransport.handle_get_stream (cognitive 21): StreamableHTTPTransport.handle_get_stream has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"be80c7f3fb874af0f2fc745db545c82184fcb1273e12387657e82aa4309cc944"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve._require_capability (cognitive 21): resolve._require_capability has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 4 (8 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resolve.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fa5bf11628033816142c1af9ccec4b77cc344fe6fa447237845340660c2e2c"}},{"ruleId":"D2","level":"warning","message":{"text":"inbound._walk_schema_positions (cognitive 20): inbound._walk_schema_positions has cognitive complexity 20 (threshold 15). Drivers by points: loops 3 (7 pts), if/else 2 (5 pts), ternaries 1 (5 pts), boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/inbound.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"86990853c748163c9b55870ac7518da4d651dfba5484441bb916efb057518b92"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONRPCDispatcher._dispatch_notification (cognitive 20): JSONRPCDispatcher._dispatch_notification has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (6 pts), boolean chains 2, match/switch 1 (2 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca944a3bd97fc0d7a18613075d426d9c3eff34e031749f0bf73a4e4c981b3274"}},{"ruleId":"D2","level":"warning","message":{"text":"check_crossrefs.main (cognitive 19): check_crossrefs.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/check_crossrefs.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d961214c70437b3e16b44040e1c20522fc8c7f01d3eb6aa5095f2c8d3261df3"}},{"ruleId":"D2","level":"warning","message":{"text":"cli._import_server (cognitive 19): cli._import_server has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (2 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/cli/cli.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd8a722cd02c17fe60412f74a85f0044782cc7bd126941c0b07779ccb2c5f05"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.__post_init__ (cognitive 19): Client.__post_init__ has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7f1aa3152ae9a949499f05a4eaf53f83a444975c8b6b84e1a6e0d62f19d96"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientSession.send_request (cognitive 19): ClientSession.send_request has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe2ffab98a0ab34a2e7b47f7ee6c70ed673ffa5f875b39995e0d33c17d2191b"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHTTPTransport._handle_sse_event (cognitive 19): StreamableHTTPTransport._handle_sse_event has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"658740ad00c56823d7818052bf1691894b6b52ac4cbe2d9fc28a3ec1e739f592"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.streamable_http_app (cognitive 19): Server.streamable_http_app has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/lowlevel/server.py"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb074e61576ca0893c3db776e77c2e558d838975b5587425a03fd90370baf5e"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceSecurity.validate (cognitive 19): ResourceSecurity.validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resources/templates.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3695ae96f8784e7a3beb05755bcb3e06705ae6352ee430ae99619d26c6dcb2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestStateBoundary._unseal (cognitive 19): RequestStateBoundary._unseal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, error handling 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/request_state.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc6bbaf94d317eb6fbd5979e5664f43738c0a6d14868a0db0e6403c7cb14bc9"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientSession.__init__ (cognitive 18): ClientSession.__init__ has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5 (8 pts), ternaries 1 (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc95ccffe82413338033d3c21df029a095ef6743db5a20711ad219d421fae812"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPServer.sse_app (cognitive 18): MCPServer.sse_app has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, ternaries 1 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5408adc67b913947e0dc616079f7a2cb8f64e62ab5319fcdae4d3f99e2929c"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validate_tool_use_result_messages (cognitive 18): validation.validate_tool_use_result_messages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/validation.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab72a3c5b2b8d0371baa5f846652503f0423f64adfc02c787d06fe8478cdc43"}},{"ruleId":"D2","level":"warning","message":{"text":"inbound.classify_inbound_request (cognitive 18): inbound.classify_inbound_request has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/inbound.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e441d45406484b36de24739e17739c5114a0c0b9571dcb035dd3f081fbf7e6e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConformanceOAuthCallbackHandler.handle_redirect (cognitive 17): ConformanceOAuthCallbackHandler.handle_redirect has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (8 pts) (nesting depth added 9). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/actions/conformance/client.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2915a60562acdf546a8b354939e338620400aa5340f671ebe834491bc3274aef"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientSession._absorb_tool_listing (cognitive 17): ClientSession._absorb_tool_listing has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe8706d221fa2aaf0b67763c07943e1cd5ce69a8b7fe2ae5f7dbece7dcc5829"}},{"ruleId":"D2","level":"warning","message":{"text":"Prompt.render (cognitive 17): Prompt.render has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, error handling 2, loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/prompts/base.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"07bfcc8ac03c4a20510d381e8a3f380cd402ff42c8582c95651650e9583764c7"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve._resolve (cognitive 17): resolve._resolve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resolve.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e99314d1fcbc4f1ff086373cbfc7c6183600db2b45724288b030ae9771e7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Tool.run (cognitive 17): Tool.run has cognitive complexity 17 (threshold 15). Drivers by points: error handling 7, if/else 5 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/tools/base.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e85d375e151b4d0e05e53d9fc439c535f675a74c1cbd6838f222e65c403d087"}},{"ruleId":"D2","level":"warning","message":{"text":"JSONRPCDispatcher._handle_request (cognitive 17): JSONRPCDispatcher._handle_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 2, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"170439f28c44f783c658bc4aff340ff37edd07f2284125e8498c4f2c41ca34c2"}},{"ruleId":"D2","level":"warning","message":{"text":"uri_template._flatten (cognitive 17): uri_template._flatten has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/uri_template.py"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb70f330f9fa84e04df9cbc01090d103a4cbf8203eda28846cd9ebb4a0b734ff"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamableHTTPTransport._handle_reconnection (cognitive 16): StreamableHTTPTransport._handle_reconnection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (3 pts), error handling 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d608ec6dac533475201c6eb637a89b39e93de211aa97bdb906cc2ba4ad5e5ae"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistrationHandler.handle (cognitive 16): RegistrationHandler.handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 2, error handling 2, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/register.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94443ab6c8140abaa6d92150d95433aaf66aba0dca60909ad6db010a2dcd2bc"}},{"ruleId":"D2","level":"warning","message":{"text":"func_metadata._create_output_model (cognitive 16): func_metadata._create_output_model has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f63a760a9919256cd051b9b78cc7edfb25c0dea64d146c5c7552479213e287a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/session.py: FileTooLong \u2014 980 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 480 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc2986b7490f9c453774ca3c75566769c6faa2813c41546f47cf2c3aa9cd9ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcpserver/server.py: FileTooLong \u2014 847 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 347 over it, 1.69\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eccdd04259cf25ea45bf350feb337e438dca688a6e771635711d3b85ff565de8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: docs/translations.py: FileTooLong \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 239 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/docs/translations.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bec2ac5182c7bed6125f48ea5a2baf5676ea4cd11d2c2261a7389a3790a92f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientSession: TooManyMethods \u2014 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fbbb1eeed565fef553f636cbf8f2d99e5e0d8e666164f20a85e27a7353ba7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/streamable_http.py: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e709d9408be880ed451dd1dc7a2c79981acb1de095625d5fca79bcb43d04867"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPServer: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba1c5569e4f41b46697e50ed55cc1ff526e99e053f3c6a92698aa6ac1c56d05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp_types/_types.py: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp-types/mcp_types/_types.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7eea7d1ba1ae47ffbd72043a4613b25afc8b5048899945d1e6383579572636"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/client.py: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b88ea2b7415c6366d1ad2485f6667982a7d5aec266b02c66c2909fcca0a53a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared/jsonrpc_dispatcher.py: FileTooLong \u2014 558 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 58 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"284744002202508d3a1ba8f3265f6ce48045cdc34e8b1c536cd957148ba4aa22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lowlevel/server.py: FileTooLong \u2014 546 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 46 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/lowlevel/server.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8fcbb01bf85f9e3c5ddff59c86b821c6694bd1a10d2ea8adad3a9dff2cfd03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/runner.py: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/runner.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31654fdd1483c575318ae925cca3e97ba0a27f6b614a3c221413ff76d4d33326"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/streamable_http.py: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e65509d2a55360e2e3344a59eb76c8dce1f8eeecf073849987edb3f96c7f987"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): docs_src/identity_assertion/tutorial002.py:51-66 | examples/stories/identity_assertion/server.py:57-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/identity_assertion/tutorial002.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef03736381d7fdd7f1cf1368bc81c41597046198fb71fa8edfb7c89f60e5228d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/mcp/server/mcpserver/server.py:1097-1111 | src/mcp/server/mcpserver/server.py:1137-1151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/mcp/server/mcpserver/server.py:1097\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a1a0d93def00bb83b1821f1a048a26f2e210be0f3715fa05e37e27ec0cfda8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): docs_src/deploy/tutorial002.py:16-26 | docs_src/deploy/tutorial003.py:16-26 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/deploy/tutorial002.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce7a13da028fed1690936c436a7a4114f0008beced6d3605cded569a00b2e46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/mcp/client/auth/extensions/client_credentials.py:160-167 | src/mcp/client/auth/extensions/client_credentials.py:409-416 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/extensions/client_credentials.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba9415ab9da1e0c49b6cc40b91981570e3516febafa2e676232e25cf2cad6b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/mcp/client/auth/oauth2.py:470-477 | src/mcp/client/auth/oauth2.py:524-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca5cc540ceb57b9fce432aa8d818a85be1a0c55964e06f4fc77719eaa082cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/mcp/server/mcpserver/utilities/types.py:45-52 | src/mcp/server/mcpserver/utilities/types.py:92-99 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/types.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af015eac31463136ca97fcd3776de75bff0d9ac998ab2d451385b8944f15852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): docs_src/legacy_clients/tutorial001.py:16-25 | docs_src/legacy_clients/tutorial002.py:16-25 \u2014 before extracting anything, compare \u0060docs_src/legacy_clients/tutorial001.py\u0060 and \u0060docs_src/legacy_clients/tutorial002.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/legacy_clients/tutorial001.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f0e86b813c4033c6abfdbe874e2647181966f828441329bb0d683545597cc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): docs_src/lowlevel/tutorial001.py:23-29 | docs_src/lowlevel/tutorial006.py:26-44 \u2014 before extracting anything, compare \u0060docs_src/lowlevel/tutorial001.py\u0060 and \u0060docs_src/lowlevel/tutorial006.py\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/lowlevel/tutorial001.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3393dbdf71b384e007885f607a2a4ae5ac06398841d9d35f27ef6b8fef27222f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): docs_src/identity_assertion/tutorial001.py:17-69 | docs_src/oauth_clients/tutorial001.py:14-62 | docs_src/oauth_clients/tutorial002.py:11-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/identity_assertion/tutorial001.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"29af3536de021f8f02cf32ab37c1874382fabbec6fe791adfe0755992c5e7251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): docs_src/client_callbacks/tutorial001.py:15-19 | docs_src/client_callbacks/tutorial003.py:16-20 \u2014 before extracting anything, compare \u0060docs_src/client_callbacks/tutorial001.py\u0060 and \u0060docs_src/client_callbacks/tutorial003.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/client_callbacks/tutorial001.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"26032d694ade3a5da06c253c0ab90817ed3dfc24f8e9d790fc52337910b319d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): docs_src/troubleshooting/tutorial006.py:15-19 | docs_src/troubleshooting/tutorial008.py:15-19 \u2014 before extracting anything, compare \u0060docs_src/troubleshooting/tutorial006.py\u0060 and \u0060docs_src/troubleshooting/tutorial008.py\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/troubleshooting/tutorial006.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4495e1eb0700379207485e541642a68580164a4e5aa527941956834aabed90c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): examples/servers/simple-pagination/mcp_simple_pagination/server.py:153-176 | examples/servers/simple-prompt/mcp_simple_prompt/server.py:79-98 | examples/servers/simple-resource/mcp_simple_resource/server.py:72-91 | examples/servers/simple-tool/mcp_simple_tool/server.py:62-81 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-pagination/mcp_simple_pagination/server.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ad6d0a05f937a6b14df2e96e982523f7a10547865ea47903b0cd30cefcd360"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201324 lines \u00D7 2): examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py:48-66 | examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py:48-71 \u2014 before extracting anything, compare \u0060examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py\u0060 and \u0060examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"18511f8f3de47e73db5ad1771db5383fe3860bf492c69bcb5ab1eae122569f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py:73-93 | examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py:78-98 \u2014 before extracting anything, compare \u0060examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py\u0060 and \u0060examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"009f9d2be1478bbe36b0a7c0adb0d6cae36c721bf5870f15b1f9797cd0283a55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201319 lines \u00D7 10): examples/stories/bearer_auth/server_lowlevel.py:19-33 | examples/stories/dual_era/server_lowlevel.py:19-32 | examples/stories/identity_assertion/server_lowlevel.py:32-47 | examples/stories/json_response/server_lowlevel.py:20-33 | examples/stories/middleware/server.py:26-40 | examples/stories/oauth/server_lowlevel.py:25-40 | examples/stories/roots/server_lowlevel.py:12-26 | examples/stories/sampling/server_lowlevel.py:12-30 | examples/stories/stateless_legacy/server_lowlevel.py:20-29 | examples/stories/streaming/server_lowlevel.py:20-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 10 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 10 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060examples/stories/identity_assertion/server_lowlevel.py:30\u0060 calls \u0060IdentityAssertionAuthorizationServer\u0060 and \u0060examples/stories/json_response/server_lowlevel.py:19\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/bearer_auth/server_lowlevel.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"633729fc5a456715c1ddffd13ca97e3971e5427d79c1e1896a8b7f928af29012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): examples/servers/simple-pagination/mcp_simple_pagination/server.py:161-176 | examples/servers/simple-prompt/mcp_simple_prompt/server.py:83-98 | examples/servers/simple-resource/mcp_simple_resource/server.py:76-91 | examples/servers/simple-tool/mcp_simple_tool/server.py:66-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/servers/simple-pagination/mcp_simple_pagination/server.py:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-pagination/mcp_simple_pagination/server.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e1209ff64651d2687d7b9a9ca4cd6f5859b2d1733038d741bf6a98d90123f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): examples/servers/simple-auth/mcp_simple_auth/auth_server.py:57-69 | examples/servers/simple-auth/mcp_simple_auth/legacy_as_server.py:49-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/servers/simple-auth/mcp_simple_auth/auth_server.py:57\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060server_settings\u0060 to \u0060AuthServerSettings\u0060 in one and \u0060ServerSettings\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-auth/mcp_simple_auth/auth_server.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"841ebd37ff14a8006062569ddccd1732d2876e514b320df80eed6f3da75a5c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/stories/oauth_client_credentials/server.py:66-78 | examples/stories/oauth_client_credentials/server_lowlevel.py:63-75 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/oauth_client_credentials/server.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e3256040029cff01f69478e5b513543480053ae5f31588d6b7b8f3fc545678"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): examples/stories/bearer_auth/client.py:34-44 | examples/stories/identity_assertion/client.py:55-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/bearer_auth/client.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eff3201acef137df84955479fb0652f0c681311451fbfb7c04399a2e263954d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/stories/oauth_client_credentials/server.py:49-58 | examples/stories/oauth_client_credentials/server_lowlevel.py:47-56 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060examples/stories/oauth_client_credentials/server.py:60\u0060 calls \u0060custom_route\u0060 and \u0060examples/stories/oauth_client_credentials/server_lowlevel.py:58\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/oauth_client_credentials/server.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"af88cc43c1b6dce9d7f294efbb03768f419a50e8f283ace28b45f0b34814ef0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): examples/stories/middleware/client.py:8-13 | examples/stories/oauth_client_credentials/client.py:35-41 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/middleware/client.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc001b23c83477265afc4c1294d731b4b03ea2f93fcbfd69906574dc2e18f45a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): examples/stories/oauth/server_lowlevel.py:36-43 | examples/stories/oauth_client_credentials/server_lowlevel.py:38-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060examples/stories/oauth/server_lowlevel.py:36\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060params\u0060 to \u0060types.PaginatedRequestParams | None\u0060 in one and \u0060types.CallToolRequestParams\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/oauth/server_lowlevel.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd58bf972ae8c7fbccbfb809bfd071c706b7242ca3984278911716ed10a893b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py:36-45 | examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py:36-45 \u2014 before extracting anything, compare \u0060examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py\u0060 and \u0060examples/servers/sse-polling-demo/mcp_sse_polling_demo/event_store.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-streamablehttp/mcp_simple_streamablehttp/event_store.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a333380bf36d775acdb3f32b887d257a5a72d3538d25bb31c970558a88ad7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): examples/servers/structured-output-lowlevel/mcp_structured_output_lowlevel/__main__.py:79-85 | examples/snippets/servers/lowlevel/basic.py:53-59 | examples/snippets/servers/lowlevel/direct_call_tool_result.py:52-58 | examples/snippets/servers/lowlevel/lifespan.py:89-95 | examples/snippets/servers/lowlevel/structured_output.py:70-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/structured-output-lowlevel/mcp_structured_output_lowlevel/__main__.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6dc4035a8d9c42310a42ecc6fb159884d02b6684a700ea2f94d7f53147d012"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/stories/_harness.py:42-48 | examples/stories/_hosting.py:32-38 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/stories/_harness.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e117e95a3799c27b490a6f7701cd85e891e2f019ea812a7b731debef802e19"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: mcp-types: mcp-types: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ac5ab107ba40f11fce75682ab86294c66d72ab0d54da25c23e2b57baf39992b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/mcpserver/server.py: src/mcp/server/mcpserver/server.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in MCPServer.__init__ at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/mcpserver/server.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e250262983f40239eb769da64eee8bab07d59ebf542a97abc20916aadcb9b61"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/mcpserver/utilities/func_metadata.py: src/mcp/server/mcpserver/utilities/func_metadata.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in func_metadata.func_metadata at line 275. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/mcpserver/utilities/func_metadata.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a22f948a97e89a336f4a48b41817e235d43fee29779da2564b7659b6d3911dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/client/auth/oauth2.py: src/mcp/client/auth/oauth2.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in OAuthClientProvider._auth_flow at line 604. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/client/auth/oauth2.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd783bab2ade46dc74ac199003af4da78560c1435b7293060c8890c55aaf6dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/shared/jsonrpc_dispatcher.py: src/mcp/shared/jsonrpc_dispatcher.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in JSONRPCDispatcher.send_raw_request at line 319. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/shared/jsonrpc_dispatcher.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"df61fed15abc61f163f1062c6ed34a7de815b5649f152d6c3b96ce9041ac141a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/client/session.py: src/mcp/client/session.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in ClientSession.__init__ at line 404. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/client/session.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7268f52afc52b600606fa2ffe7c2b61a29de3c1cda65e7be38539fb6e23f5c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/client/client.py: src/mcp/client/client.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Client.__post_init__ at line 382. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/client/client.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a54c01b47a5ce88b533430510c63c62dc847589df49affff7032125bedb69a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/_streamable_http_modern.py: src/mcp/server/_streamable_http_modern.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in _streamable_http_modern.handle_modern_request at line 365. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/_streamable_http_modern.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/_streamable_http_modern.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7785c909d6605c8c19fc6530c0bd5f6e1a89de5a521920e1abf5194932b8d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/streamable_http.py: src/mcp/server/streamable_http.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in StreamableHTTPServerTransport._handle_post_request at line 558. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/streamable_http.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea801ff53312162a1dd81f299fa9834742672b20cb3a0ad1de4d3ce33eecdac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/mcpserver/prompts/base.py: src/mcp/server/mcpserver/prompts/base.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 15 in Prompt.render at line 158. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/mcpserver/prompts/base.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/prompts/base.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9aa12f9b72b1a4454d0eecb31a4f7d614972e79c1b709661f06008ef23a7df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/mcp/server/auth/handlers/register.py: src/mcp/server/auth/handlers/register.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in RegistrationHandler.handle at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-07-19..2026-10-17, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-19 15:54:35 \u002B02:00\u0027 --until=\u00272026-10-17 15:54:35 \u002B02:00\u0027 --full-history --no-merges -- src/mcp/server/auth/handlers/register.py\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/register.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67c2078353079dd010b7794c703641aee7233824140a95ea53ee013623e6f9f"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 7 significant file(s) lose their only recent owner: src/mcp-types/mcp_types/methods.py, src/mcp/shared/direct_dispatcher.py, src/mcp/server/subscriptions.py, src/mcp/shared/path_security.py, docs_src/identity_assertion/tutorial002.py, src/mcp/shared/subscriptions.py, src/mcp/server/caching.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"68ab19fb1e41d4102e897377c6c826b145ede67198b8f2b3b0aec8c452b8e2fd"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (8 single-owned of 88 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 88 of the 353 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: src/mcp/server/_otel.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(felix): replace with a public input_schema= override once MCPServer.tool() grows one. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/everything-server/mcp_everything_server/server.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"315b98d43f914bcffc76a683fb7c4c8ed96955b1202227fad4e6ab7cf703a009"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(felix): Add public APIs to MCPServer for subscribe_resource, unsubscribe_resource, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/everything-server/mcp_everything_server/server.py"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3e9d999ee6c3e96d9dadbd0fde19ab4a549100d57a4841835aa4706a9fb1ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): The type hint is wrong. We need to fix, and test to check if it works. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/servers/simple-auth/mcp_simple_auth/simple_auth_provider.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dacf277700f7986fae261c423b265f9e6cd9e923a7a2219148e6fad014e953"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: drop once modelcontextprotocol/modelcontextprotocol fixes the schema.ts -\u003E schema.json number rendering. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/gen_surface_types.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70108531ba4875668522b4e40eb4c20148e74aec23f60e8ba63bdac3aac38d2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): Put the TransportStreams in a module under shared, so we can import here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ee20595764bd52a914921e21bfe3606022776cbf757dbb2caac78f36a9b138"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L78): this leaves a bound-method ref on the dispatcher after the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e17d1fba0d82ee8131cbf91081df5dd583fa64552179287bc2572ab96c68bd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should this be based on whether we \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abed0328ada3cdcd5b468b3577fa5205ba8d17fdeba5b75d5b840876090b4a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): When do \u0060raise_exceptions=True\u0060 actually raises? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8ab01079dc4a8aa3ccf922c3251f9711d622c4da4842f3213d1f7280b57a9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): Why do we have both \u0022callback\u0022 and \u0022handler\u0022? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c2b01bbeff0a5811fcbc2933acc09b811b168400cc72c51b11d8e82e7ace92"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): the by-construction shape is for __aenter__ to return a connected-view \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/client.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"80623b779c45fb37745d032564f7c9c2fb53e82cf1fb2b7e56fcbbe991eaa08f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): Make \u0060lowlevel_server\u0060 public. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/_memory.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb61fae6393a125c76b3dd8d147323dd9db6d44b766953521d430523d5ac1eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): We should flatten these settings. To be fair, I don\u0027t think we should even have this middleware. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/transport_security.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"04618374c889f214cd26934ea61d29813cb82f47740adac81e075fa04edaca6d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): This should be a proper ASGI middleware. I\u0027m sad to see this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/transport_security.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa192cb083eff5643dd8e494aeab475dde01e3dee0b936a085a29d83b0c2c0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L49): header-only era-routing for now; body-primary classification \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcb4803b179455216ced7c30654a297237fce02f0e2469245e98050dff3a54e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L62): Align error code once spec clarifies \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7a458a5b13d2af8e7773cc0975d8d6a22ffb395fadc1ee6ce3c4a92ef7b303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L29): the 2026-07-28 spec drops the handshake; this branch and \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/runner.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb46c5a2aa9c27cb9e001cdb137d940be8de8cf075bd2f58b189815f908947e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: this re-reads the wire \u0060params\u0060, so a middleware that rewrote \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/runner.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d40a3229ec941822a8c06950b9b4374ab8cd597078713ae9edb19809498be4d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L54): remove for Context rework. Reads the SHTTP per-request \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/runner.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e466679aac2715650486805b8bc025f1dbdb60913a263ffbf592436d87886bc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L56): reject extension resultType values unless the corresponding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/runner.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"024d0313a20d9fe0907850c3173720b1f75a5a89cf59cf574d1d8f9621d11b4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): once \u0060_make_context\u0060 returns the (covariant) \u0060Context[L]\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/context.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7a95f2f96991266e039d3bd2f9c400e9fdd5ab9d06b5476274d211272483b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L53): redesign - mirrors v1 ServerSession.check_client_capability \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/connection.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"34046106c0cdf85e740241addac6be18c69ccd687224d34491caef1602865d86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): Can someone check if this \u0060dict()\u0060 wrapper is necessary? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/token.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f643040259f71db48aae8635d2fce8bc0c4f8fbc993c3de2ff6d53f154a20e24"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L54): provisional - signature and semantics may change in a 2.x \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/lowlevel/server.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d94100f1b44ae2c21ef843868af58e22c5d5542e543e8f11f78f160f7b5f853"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L53): Rethink capabilities API. Currently capabilities are derived from registered \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/lowlevel/server.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f028370510e90dd8974c24fe3f17dc9f9f0147fffc70ffb451b3183c25b78bae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): It seems there\u0027s a type mismatch between the lifespan type from an MCPServer and Server. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/server.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a05cfb0c5218315cef45e76b88af95da5b9014f14782569c014f69ea34a3b7f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): Consider making request_context/mcp_server required, or refactor Context entirely. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/context.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"83492a1231da2e30b4892279a67a6a77ae36d622b1862a839bfe2c9075de2dd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): We should drop this kwargs parameter. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/context.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7f1aff838af4837841757368f8e19a6a609ceeb1939a2992bae5369fa72c29"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: should we use the original annotation? We are losing any potential \u0060Annotated\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37c506dd0ed7a8c8abfded373176ef254224e42e74a0b283aaa6afe3e17541c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): remove for Context rework \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9214e767af1db1e3880e832215dc997b2f54778eb418aa59bff0cf7aa4afec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): remove for Context rework \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/direct_dispatcher.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe00d900c8a5caaa65a9aeccf452910629784e8db62d8d381b088a348a14c2e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): move the otel span \u002B inject into an outbound \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"698d5118c46c58491f89c4b4f38ce6075be753cd7aba6a9fa9c8740badf445de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): duplicate ids blind-overwrite (v1/TS parity); revisit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0eee980db383206b0375f7386c9284ce10f86c53c09b19ee733ab33baed06f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(L58): code=0 pins existing-server compat; JSON-RPC says \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/jsonrpc_dispatcher.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed1ac63c797c7af04630c82b5269525d0d358ca1c74cb3513a84ee9b663ec74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # -32603, and whether handler-origin errors get 5xx is an open S4 question \u2014 see TODO(L66). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/inbound.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"401b3bbb626f54bcb62ef2b8f204129f0f4dcd228cdf21a37e0a80dd7e545a7c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(maxisbey): remove for context rework \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/dispatcher.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21815849d25185763e402bcfa702b063ba6dcbe984de3e391b00fc88a472641"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): The \u0060examples\u0060 directory needs to be importable as a package. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/test_examples.py"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e079d2615f259cf35cf73b1f1bf28518d43bd41a9bfaab5d5f474cf26f87f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): This is horrible. We should drop this test. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/client/test_session_group.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafd90bfa541cecef2a8ef112d1981a548fd8c6d9787eac10cf6f532586e5307"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO(Marcelo): The \u0060examples\u0060 package is not being imported as package. We need to solve this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/server/mcpserver/test_integration.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ac9af93ccfc5650ab0e5a2dff78618981926e51f5ae081654cb95245d90f85"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D22","level":"warning","message":{"text":"Duplicate intent with inconsistent signatures. \u0060send_discover\u0060 exposes the raw protocol method and returns a generic dict, while \u0060discover\u0060 is a typed wrapper returning \u0060DiscoverResult\u0060. The presence of \u0060send_discover\u0060 suggests a lower-level transport method that duplicates the higher-level \u0060discover\u0060 functionality, potentially confusing users about which to use for standard discovery.: Deprecate \u0060send_discover\u0060 in favor of \u0060discover\u0060. If \u0060send_discover\u0060 is needed for internal transport routing, it should be private or strictly internal, as the public API should expose the typed \u0060DiscoverResult\u0060. (signatures: ClientSession.send_discover(self, version: str): dict[str, Any] | ClientSession.discover(self): DiscoverResult)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2388ba05f65d5b90c7da72f742d18efbb7a993eeff389b4bd2e991eab6b0c4da"}},{"ruleId":"D22","level":"warning","message":{"text":"Inconsistent parameter sets for the same logical operation. \u0060Client.read_resource\u0060 includes a \u0060cache_mode\u0060 argument, while \u0060ClientSession.read_resource\u0060 does not. This forces users to know whether they are using the high-level \u0060Client\u0060 or low-level \u0060Session\u0060 to understand caching behavior, and makes the signatures non-interchangeable even though \u0060Client\u0060 delegates to \u0060Session\u0060.: Align signatures. Either add \u0060cache_mode\u0060 to \u0060ClientSession.read_resource\u0060 (if caching is a session concern) or remove it from \u0060Client.read_resource\u0060 (if caching is handled internally by the Client wrapper). Ideally, the Session should not expose caching details if the Client manages them. (signatures: ClientSession.read_resource(self, uri: str, input_responses: InputResponses | None, request_state: str | None, meta: RequestParamsMeta | None, allow_input_requi\u2026) | Client.read_resource(self, uri: str, input_responses: InputResponses | None, request_state: str | None, meta: RequestParamsMeta | None, cache_mode: CacheMode): \u2026)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9e18b5fbddcbada445b8abc4992d95d81d3bff79cb30ed7743816c14367279f"}},{"ruleId":"D22","level":"warning","message":{"text":"Signature drift between Client and ClientSession. The listing shows multiple overloaded signatures for \u0060call_tool\u0060 in \u0060ClientSession\u0060 (likely due to overloads for different input/response handling), but the \u0060Client\u0060 wrapper signature appears to differ slightly in parameter handling (e.g., \u0060cache_mode\u0060 or \u0060input_responses\u0060 handling). This creates confusion about the exact contract when switching between the high-level Client and low-level Session.: Ensure \u0060Client.call_tool\u0060 is a thin, consistent wrapper that explicitly maps to a single, clear \u0060ClientSession.call_tool\u0060 signature, or unify the signatures so they are identical. (signatures: ClientSession.call_tool(self, name: str, arguments: dict[str, Any] | None, read_timeout_seconds: float | None, progress_callback: ProgressFnT | None, input_resp\u2026) | Client.call_tool(self, name: str, arguments: dict[str, Any] | None, read_timeout_seconds: float | None, progress_callback: ProgressFnT | None, input_responses: \u2026)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a802955049e0566313701181d4c6571b269f4b496733bf441511270b2f265125"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (29562 LoC, 573 module-visible types across 67 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"53084f02ef96743db786e00e8206a0697ac370b2910aef8100d1f413744fa8dd"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"85d0c970b2a0ed665e55ce1e2dceae6b95dbaf1cf9a50ff20d82eec0b0f9b26b"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1093c981c006837568a155fed0a8d33885863fa13b9918d90a90e4b1e6fc3f61"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"517a4f26b5dc69489fbe2011fdfa9b191a17c4ec24adde3647308879fc4d1008"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b0998a4a1f783d336169a86febfa47b11a653c511d807d07d78e6873cb5825d"},"taxa":[{"id":"CWE-942","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eadc367cef312a1dceea79bb4eee564e475f695bcda0e9b097fbf63bcfce5b42"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 3 of 88 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 88 of the 353 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/mcp/server/auth/middleware/client_auth.py, src/mcp/server/auth/handlers/revoke.py, src/mcp/shared/auth_utils.py. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/middleware/client_auth.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1affd1de3b305965a21d6cfac86cdbedd980924b8542a845d0943c5ba20e8bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/auth/handlers/revoke.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a420f33ed1b5f3465a834140f65cc8c84483246ca2e9ba2e1644a2c693a183"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/auth_utils.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2121a8436c1b57518b13f04c8338f68931e5bd3984bf63e1c9e9f864336a45b1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: sse.py \u2194 stdio.py: \u0060src/mcp/server/sse.py\u0060 and \u0060src/mcp/server/stdio.py\u0060 change together 60% of the time (9 of the 15 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060cb07adec\u0060 docs: add code fences to \u0060Example:\u0060 docstring blocks (#2104); \u0060705497a5\u0060 fix: allow null id in JSONRPCError per JSON-RPC 2.0 spec (#2056); \u0060f4672c50\u0060 Drop \u0060RootModel\u0060 from \u0060JSONRPCMessage\u0060 (#1908) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c98d25472befbc73fb66e70916860cdc7a189e52bf11351a01abbe72a173df"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) \u2014 this is NOT a claim that endpoints are unprotected. What\u0027s missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can\u0027t be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/protocol-versions.md names \u0060server/discover\u0060, but no file or folder \u0060server/discover\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/protocol-versions.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc26d1f4289d801af9138f16365b53b4e456a78aae3bdc28872d90e29d97ac2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/troubleshooting.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/troubleshooting.md"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f29eee1786cd44093e70ebbb56129fdb31b27788317c974ac126578d51021fd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/troubleshooting.md names \u0060prompts/get\u0060, but no file or folder \u0060prompts/get\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/troubleshooting.md"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aad8a9d0c01e761d5c729193f1f8291fdb126f836ce7fdc04f5da4612d31e04"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/troubleshooting.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/troubleshooting.md"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa200dfed8b27bc70ff615519dfa54589fc8773cecbf738cf6f4090604f5e46f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/apps.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/apps.md"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9858958e49c5926068d51656983534dcc578679f180714e4a7d483ad0507cdb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/extensions.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/extensions.md"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"342d1e4d268fbd24299d0a14eb76eb7eeb7cc37c3adafe1949804afa618d004e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/extensions.md names \u0060server/discover\u0060, but no file or folder \u0060server/discover\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/extensions.md"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d8088cb6d983fcf418e26b296644888a2c2ce33cdfa1ec788c4db132c11fd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/extensions.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/extensions.md"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"97991423644e0d3585c2944e6359cd604e0d9734a608dae2e7f27c70d9806d8e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/middleware.md names \u0060server/discover\u0060, but no file or folder \u0060server/discover\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/middleware.md"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde88b1401466919a0e3687113e0646991d121a48773d3ec67734c8d53423408"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/middleware.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/middleware.md"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfacc44c9cbcd6117d60df0e69ceb21659650081f4bea4d183fd472513a249b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/middleware.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/middleware.md"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1833b1e7df01c28d3938fa6c5851c4c0234a161d881392bd090ecc792425154d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/middleware.md names \u0060subscriptions/listen\u0060, but no file or folder \u0060subscriptions/listen\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/middleware.md"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2db21dfd1650746dcb396e61526ec02e2760b48787c0419bae58d778158557"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/pagination.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/pagination.md"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe42c82bd6d0141b545ad74129bf9552257bde83d8ba0810120622866fcd43d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060SKILL.md\u0060, but no file or folder \u0060SKILL.md\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f94fa45dbad36f61a9bf2f50227db5529604dfef2ab63df1d5140ba62e04c70"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060skills/list\u0060, but no file or folder \u0060skills/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"192ba032a5cdcf97d65bb3c706252991fe5a226c86a951356d80db4c41287822"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060skills/get\u0060, but no file or folder \u0060skills/get\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"928a3ebe85c50be44882124d05e719e585a484b253651408b17331517b2c39d2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060resources/directory/read\u0060, but no file or folder \u0060resources/directory/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3b46e806a400f0e3d97ff2c4b527338f7e0a3a26bfbb8c8290c91bed001ed0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9021a674ff4137df886d3b46e151c5c9982d915c7de93e75dc3d497a2898219b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d416efc6b6eab9c8f6891ced3b32e8776546366e29bb8d97f4427f06ce2c0a8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/advanced/skills.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/advanced/skills.md"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b11856dc0bfe00e87da7ecbc504a7a5706d703c3c653e8699c6f187ca99fb19"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e454dceda00d450ac043feac199903f0204a7b308e0bc2279e89c693587964"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060prompts/list\u0060, but no file or folder \u0060prompts/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb9dd79f48b83e2d23bb43b9135f89773ed267bdc81e5882c7cba718006cfb5"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"564aff65e6ada9cf393423170020401a2e0b4c1ccc476b96ed2aa6652828a85b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060resources/templates/list\u0060, but no file or folder \u0060resources/templates/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb5e592bc9032cd8d32e9b6cc85e8fe1eb5bc42f71b3a5aae2c01b30d63eba0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bda70bc83dadc09801c71be9437d948440e2198cfac23caa7ad70772a44b024"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/caching.md names \u0060server/discover\u0060, but no file or folder \u0060server/discover\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/caching.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f1cc2dd06f1e2971b6216c746771e24ebe0d03f3b926af962b9ca6d308e604"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/session-groups.md names \u0060server/discover\u0060, but no file or folder \u0060server/discover\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/session-groups.md"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6bb753c8a4ce6fe81ea849307bf1786fa966fdc4e6fe2ef5b93e2bfc6f5d41"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/client/subscriptions.md names \u0060subscriptions/listen\u0060, but no file or folder \u0060subscriptions/listen\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/client/subscriptions.md"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"950451c0e9acc937d41ec615def909d43e072dbf976b8c81e5b10fabd77d5353"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3ad0d21ea213252cf0a0960c8fadd4ec6f02b61495323102157a2efc69490c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abcb9c65d4ab9f3d86f48705e2e891dc94775e328b8b8cb6597bc73c1bef43f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c456be3d235257c6710d021f4ec27171868777a5bc923b2258d4a294c2dd2358"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060resources/templates/list\u0060, but no file or folder \u0060resources/templates/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"905b7dedd2c67ee13a63cbb4a5cc7f70af8f206898e082e4878b03aa889b31d2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf66f0cdd0e543e7a1418075cd444b7ae2f7f13e1c6f663126fd18cdb02b4cb0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060prompts/list\u0060, but no file or folder \u0060prompts/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4698a0a10f46d410744385ba8ff718d55c2f46fbb9f3123fdae235c1bfccd081"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/first-steps.md names \u0060prompts/get\u0060, but no file or folder \u0060prompts/get\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/first-steps.md"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"556c88439e188098b4c9c51598a681403ae75376cff5ba496f0218a7291a6a06"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/get-started/real-host.md names \u0060claude_desktop_config.json\u0060, but no file or folder \u0060claude_desktop_config.json\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/get-started/real-host.md"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3eecd051df20ff6748190eeed84c4369a4cc62119affe74891c23199448eba"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/context.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/context.md"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"de45dc42b70612d80b12ac3f26160eb100382956bbaf7ba3d6c72cce5a9e113b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/context.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/context.md"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae863c98171163ef9a42e777d253850d88e882399a13261f0ad9ccd2912cc7f6"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/dependencies.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/dependencies.md"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac25ef4115362bcdaf777056d14d438f1a546d484f05f77277da970fd67d738"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/dependencies.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/dependencies.md"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21396c01663a283dfcd01f3cd1de0c385df3f447ebc51c67636d66bcf3b937a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/multi-round-trip.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/multi-round-trip.md"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"831c9018458157473a7e00465d24b933a1b2df9792b3085a74ad2443b451c9b8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/multi-round-trip.md names \u0060prompts/get\u0060, but no file or folder \u0060prompts/get\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/multi-round-trip.md"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"91650a919cbc8c0d95ea9d6d0830fdde20221171bce8344af324a33010e09cd0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/multi-round-trip.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/multi-round-trip.md"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb47aaba64dc5b47b6bd4fa3f11dfcbc3bd2c589f4b4801ae46e1461a72d13"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/subscriptions.md names \u0060subscriptions/listen\u0060, but no file or folder \u0060subscriptions/listen\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/subscriptions.md"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7162a4ee0462fc60269ce45c99db9f3818cce432f76d59c7bf9a49c03ec0eae3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/subscriptions.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/subscriptions.md"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5b3aefef802dfacfce08ab8b6314a9784d682336e3ed399b9914471c7dfa41"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/handlers/subscriptions.md names \u0060resources/subscribe\u0060, but no file or folder \u0060resources/subscribe\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/handlers/subscriptions.md"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30d1f08ddc17066e30618b45c97ea4abf148682bde109fdfa0148d1ecd9cc99"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/run/deploy.md names \u0060roots/list\u0060, but no file or folder \u0060roots/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/run/deploy.md"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"682ea9d7c58112e67730583cd2a334e9cbba774cbebf558f9c4f51bbd6694b56"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/run/deploy.md names \u0060subscriptions/listen\u0060, but no file or folder \u0060subscriptions/listen\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/run/deploy.md"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed0ddd599b9ac314b33c33ce77272f5a5c5ae66b9f920e26f8d802fdfec3e82"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/run/opentelemetry.md names \u0060tools/call\u0060, but no file or folder \u0060tools/call\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/run/opentelemetry.md"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd5a2e16d3ccf88df300769ce267922746a5e8c3c898ae1aa6d1bd7e4b9a28f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/run/opentelemetry.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/run/opentelemetry.md"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb77722826e63aebf5d6c1128e32d19fa96bdedf6710b79508d6388d35bffb1f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/run/opentelemetry.md names \u0060prompts/get\u0060, but no file or folder \u0060prompts/get\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/run/opentelemetry.md"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a731c19e6c3b4e169bebbd7e1d574b94a09eff0cea75c3d5ec30b4382f02b8a6"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/media.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/media.md"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4dc914d41853bd07f06830def5beb49fd39db8cf4e88a4f7b004df0b5da3a1"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/media.md names \u0060tools/list\u0060, but no file or folder \u0060tools/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/media.md"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2169ba514408d4f6cc96bd54e0cbb65082130b0c1778fae5ad9bfd2a29fe74"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/media.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/media.md"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e2ccba3d706c8129c75ec03a54995834e2097e4474f263796db90fa0210b5d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/media.md names \u0060prompts/list\u0060, but no file or folder \u0060prompts/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/media.md"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b07bad687fc54debbe703d8e485758df5cd72c7c340a78ded726a5f06c6891"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/prompts.md names \u0060prompts/list\u0060, but no file or folder \u0060prompts/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/prompts.md"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef362c863149762f7af4f82fb02a83fd95a65b87c396b9645a0450ad0f1fda"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/resources.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/resources.md"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4850740c33f32bd7db920ea7e9d40c167307901c615443eea7c84137c2070ed8"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/resources.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/resources.md"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1d55874861c50d114ebf2373b47e9b709d6aeddf021d5bafbc8da2b4e39876"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/uri-templates.md names \u0060resources/read\u0060, but no file or folder \u0060resources/read\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/uri-templates.md"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f90afafe0ef6fca262fa36b36a6d57221a034b10f6c37916d312a04693180e9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/uri-templates.md names \u0060docs/intro.md\u0060, but no file or folder \u0060docs/intro.md\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/uri-templates.md"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dcf1a2f1c479c340a23f99474863672fa04f9cb1ff71269715a0747b0b707cd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/uri-templates.md names \u0060resources/list\u0060, but no file or folder \u0060resources/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/uri-templates.md"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4d0956c8fca5205e89f393298a4ff5a9563e8585965fec039842cda54f6ca7"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/servers/uri-templates.md names \u0060resources/templates/list\u0060, but no file or folder \u0060resources/templates/list\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/servers/uri-templates.md"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9c29c446218660f7ae19a28abe06e5e4924dcfc4d8d4c0cdc730d98af86aa2"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add bandit, \u0060semgrep --config=p/python\u0060, or CodeQL\u0027s python pack as a CI step. What was searched, so you can tell an absence from a miss: the 32399 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c.user?.login === BOT_LOGIN \u0026\u0026 c.body?.includes(MARKER)\u0060 appears character-identically in 2 files \u2014 .github/scripts/docs_preview.js, .github/scripts/pr_intake_gate.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/docs_preview.js"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c83eb91d7780281cf22bb3560c6d800fdb362479b6db68f7484fc9bda2efa3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(message, JSONRPCRequest) and message.method == \u0022initialize\u0022\u0060 appears character-identically in 2 files \u2014 src/mcp/client/streamable_http.py, src/mcp/server/streamable_http.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3eeb4ce8a1dd8d37cf5a96d75600a27df19dd86dfeda9c9c37e70277581c6b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(ref, PromptReference) and argument.name == \u0022language\u0022\u0060 appears character-identically in 2 files \u2014 docs_src/completions/tutorial002.py, docs_src/completions/tutorial003.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/completions/tutorial002.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"22309190fd21504d20b95646128a50545f24bce0d48944bc826bf6e4099210e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(file_spec) \u003E 1 and file_spec[1] == \u0022:\u0022\u0060 appears character-identically in 2 files \u2014 src/mcp/cli/claude.py, src/mcp/cli/cli.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/cli/claude.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"da776b538eac8575a2b6b55ec09fdb3f09786ee829fece2ea34321571022f550"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(answer, ElicitResult) or answer.content is None\u0060 appears character-identically in 2 files \u2014 docs_src/mrtr/tutorial001.py, docs_src/mrtr/tutorial004.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/mrtr/tutorial001.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb217f448e59b3789073248879dacab927b3b2ab2d6b3646b792f54fac9534b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status_code == 403 and extract_field_from_www_auth(response, \u0022error\u0022) == \u0022insufficient_scope\u0022\u0060 appears character-identically in 2 files \u2014 src/mcp/client/auth/extensions/identity_assertion.py, src/mcp/client/auth/oauth2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/extensions/identity_assertion.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0ee60114773c8a40f9ca5eb37f0794008fefea235cbe81aa51dbe4da11a822"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.action == \u0022accept\u0022 and result.data.confirm\u0060 appears character-identically in 2 files \u2014 docs_src/troubleshooting/tutorial006.py, docs_src/troubleshooting/tutorial008.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs_src/troubleshooting/tutorial006.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e4407de1754a5b4e3296eb86e3b9724ab9b7eed419f5bd943bd541cba7aa8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.protocol_versions is not None and not self.protocol_versions\u0060 appears character-identically in 2 files \u2014 src/mcp/client/extension.py, src/mcp/server/extension.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/extension.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c639b9709a2d660edd0af11238daaadc6c6c500c3545460bf0ca20cb70a22587"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tools is not None or tool_choice is not None\u0060 appears character-identically in 2 files \u2014 src/mcp/server/validation.py, src/mcp/shared/peer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/validation.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f92fb663d451b6ebbfaec0d5d0a8be9cd12b48f592d79c67f49f8457071380"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transport_security is None and host in (\u0022127.0.0.1\u0022, \u0022localhost\u0022, \u0022::1\u0022)\u0060 appears character-identically in 2 files \u2014 src/mcp/server/lowlevel/server.py, src/mcp/server/mcpserver/server.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/lowlevel/server.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"4500e34223fedcb4901d5aa33fa0c0c9b830573ae8546a0f5945dadc7b02242a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convert_result\u0060 is public, takes a document from its caller (line 186) and hands it to \u0060_convert_to_content\u0060, which calls itself at line 647 (\u0060_convert_to_content\u0060) with a piece of \u0060result\u0060 \u2014 and nowhere in \u0060_convert_to_content\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. Python\u0027s parsers accept far more nesting than its stack allows: \u0060json.loads\u0060 turns 3,000 bytes of brackets into 1,500 levels and \u0060xml.etree.ElementTree\u0060 parses tens of thousands, while a walk like this one raises \u0060RecursionError\u0060 once it passes the interpreter\u0027s default limit of 1,000 frames. Wherever that exception lands, the work fails: a request errors, and outside any \u0060try\u0060 the worker or the program exits with it. Raising \u0060sys.setrecursionlimit\u0060 only moves the number the document has to beat. Thread a depth argument through \u0060_convert_to_content\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/utilities/func_metadata.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d19b004581926c583a7a4ac5313ec16d763e66431b5a22a2b58960a2fe478a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/utils.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e163d22aae4d7a2ebbd2c9cb2c9080e34a306664ad77db948a2527a3fb05b9c6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except Exception\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/mcpserver/resolve.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afd2b84793610afbcfab509e21488b2a90c4e00be54a9cbbabda1ce5b51388b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de4ecd28377078142ee8df12f16e606d86bf28aa9f3712784c1bf7e36f3425f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de1736c709e238767581fd468f7642a0e00a3c84cf7d5e74a926f602d9f49ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6718e8f9da8678e218eb0d1421ca541802c548e10c69e94b3696e43fcb5867f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b3c4e0c25271ab1ec0da920c1f8acf0c8409a59fba5f71cbeca259fe97ce85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"55564c34f3961c864c11f24b06c3481b50f2201442bdf6a58646e7c086cdc2e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 443 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ccf5a4570b11bbb48671e09b1153e1eff5d1a6c70c15cb4f533b317cbe4e25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 605 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6fc8183a9b01465e2dc14043f107049413e21ea9c94f640d85418dc4191b52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 635 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"de084baf12c42126c4d9823347c9c90e8fb133d2ec0c4cca00b193a812ad63cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 707 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad13305ee3e6c6bd6be39037b610c0d2670be5d8d5511f81ed38ffb51a6f91b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 709 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3040558ec7e3b2978d662776d67aceaee328de4f55842c458d8d6a4fe63a4dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 756 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/streamable_http.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b66ee8335e5a2704ac60e871bb3ad8a809facb37899a73d65976d4b3a8040fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 66 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8afc3d18a37c66e030a5508971da44c460126bda15d9079ec2ad100de229a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5eb2055962bf17681f8fe36b5ec36140c1ab03db12935668a9e5cc282f5b90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0620e1d3d6dd8076739024195bd57681796c5ec1bd78bbd06c57783833036a5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb0958acbc4c023a408f5dfd9dea56e8c96b04061257a91e7dae1391bb25f72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e989e1e6cbe55651cddcac89621a51be74ce29dc8624e36c343c64ce9e2ef07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"911420c1de512cfeb4a5a527c9f1c64cde56ae9f226c37cc775d2468e2d00bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e557afadeb3bf1770a99246bbd27233ae0558e7bc9d1c0ceb3503edfde5f04e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/sse.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"db01f0c3ef3b7f494c40f23c8b003fa3ccc5ecb5dd57b9d33d608b0c12c09cfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 397 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session_group.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"476e745a35b1eac5e4bcd2c1f7d0ef60b736ab284cf7800dd51d094b1148eb2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 407 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session_group.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd66012639a0b4a97cc087a6155fd744dd9df58386fe381da3f784bd4f1d3893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 418 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session_group.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f13d880ee90627f209fb2a6f016edf8eaf104357043bab8e1548d74d9ea2b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/session.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a49630f9e079739b2a7507bd0235035efb866b1c07bad50dfac4961e68fab3dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 367 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5e907c016fc51f795d3a7d4950eee4284aa8f5252d691a530c7b13e51f7b50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 371 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b32a1839d11e002b29baba959d6a13eb2252dd5fae62dd8fb2b9c03427f0ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 536 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b90397f03f07185f6dae8b999679b48e6d4434a60aae6f561d07627e46b82b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 669 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5a6c5acade2ad32471364843b77facb082d8251b615e6aa58d1eebbd60ba2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 720 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f53c29792bf84e0d4f273014a3a18e11c57c7147bc1d5852fe2639331b54e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 749 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/client/auth/oauth2.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e433f5eac0a0d8392d0a4c34cb774023be7518aea849e1591aff34779a2636a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/transport_security.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aadd45363b45648b8099f7d9775071944e6dec47ee97cccf60d5800aa85cd6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/transport_security.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5311185d6d9f1955ff7ce5b19bfa76043fcfb0f4f8e2e69e1a9b398d2294ab9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d3016973205b6741d58ef6dce2d195b13811360571dd506af68fefc01f00779"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 325 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b87b8c2462e242580ecdad3ea7924dc71cb0d3c664c98b3586f232ef9c6481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 366 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75396e90ac180b11b0abfc75ca6d810812acbc00772117fbbe99eec3574ef78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 368 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.exception(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.exception(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http_manager.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f8c3e7d7ed935a775cb0a8b65e3e8e54c911e1697714c64470ba0e7376d26b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 663 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd64029007b4278b0105ffa057fc48ce3a6177a4c104bd22e347a2f4018f520"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 855 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"0febfbd7f7df5f799f052e25286331e8e5b082f36f57a4f3e78bfabed651b67d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 877 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d206fed33fac2948b04b27d4176437a270784d5f048798cf3dc6d784500bd86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1081 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eab17f617c0217a7d3ec2d02ee7913bc5f135f4c26580e9968573c974ca37d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1093 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a49b26467a5e158c1f366452f085d6d95fa2c1142466fbfb8152379be34329"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/streamable_http.py"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61ea70107eb38edf34957abf39905a43204d65e96035de9755977bc6abb799b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfcfc1871176e7a5535d045238a340f73adee57ade7d707ff778f041c00db41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d64f1c05090a2c4e95e1e2a2886769fcb110517f8d13d171044059bab4bce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b628c038f8d5c1fd6092ef72ca0d9aba17f1eb9d182d66c9f8243dc22856f3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6027e80945d09dea4b683423300714c711f8f6b8221be4c4563f93476547630"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0388b8c06788e20ac3a5f3824bcdb31aedc285e403fc00f22539c5fc1dd4fa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2bb7089d1d246f0bf35779efd988f626b3d22e33ec343014a42122906e3035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 249 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6777a7f305dd510106e77a2d4251655eeaddc2cc00f30e1a195ffa0372459"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc855bea347f4ecb0436a7841dbb9bcb84185332ecd2fa87e3e27165723d0c9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 269 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c9598f6bc5721814c06625f62f1bf8e0c4276778d696d56bde7c7dcf7fe50b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5669a6e70ed452e3b3af717bad102151a6cd38cc656b6adaeddec470e6aa52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 284 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/server/sse.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"da14f636b1bf01d76cffc472a323d6cb0dcd8612ca0e8b6cdaa013b64f30f556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/tool_name_validation.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed4a1007a2c52524bf7751da8fdde0d72e2a82d61ca282293012c884f87809d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/mcp/shared/tool_name_validation.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc837156bea5dd0431d380a888565d98a86c0171374451d183556cef8c3de6c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extract_domain\u0060 swallows every exception into \u0060return \u0027unknown\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/snippets/clients/url_elicitation_client.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"435dce540dca160fb0b98c5326aee110d2a812edd87be6322731719c32e6d719"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-942","guid":"a5e9f9ae-e5c1-215b-b5ef-9b85aa6b4828","name":"Permissive Cross-domain Policy with Untrusted Domains","shortDescription":{"text":"Permissive Cross-domain Policy with Untrusted Domains"},"helpUri":"https://cwe.mitre.org/data/definitions/942.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":10,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}