{"$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":"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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"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":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","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-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","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-1032","CWE-732","CWE-16"],"owasp":"A02: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":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"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":"index.main (cyclomatic 44): index.main has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 8 of the 44 points are its own statements and the rest belongs to 14 function items inside it that branch (handleMcpRequest, extractApiKey, extractBearerToken, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/index.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b92af7c1b54b4e6230fa2018af4de3232143cb1d920ca020d5578c21154967"}},{"ruleId":"D1","level":"warning","message":{"text":"StdioSubscriptionTelemetry.send (cyclomatic 38): StdioSubscriptionTelemetry.send has cyclomatic complexity 38 (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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c117d9c30a388e844f1c933ec25f0e93eb198c3855d33a3480e1e0ca4aebc299"}},{"ruleId":"D1","level":"warning","message":{"text":"docs.queryCommand (cyclomatic 27): docs.queryCommand has cyclomatic complexity 27 (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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb89db32b929466f0b0e76d57afb1ea76b76cb1583cc3ce3da700354fd5757a8"}},{"ruleId":"D1","level":"warning","message":{"text":"setup.setupAgent (cyclomatic 20): setup.setupAgent has cyclomatic complexity 20 (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":"packages/cli/src/commands/setup.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af1652dd7dc71b876fefa8cd9a0d6566e4496a1aebe9713245c8089820fa71"}},{"ruleId":"D1","level":"warning","message":{"text":"app.App (cyclomatic 19): app.App has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. 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":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f701bb3006d80131990cd14bfb48a3daaa47f7f2618a1b8f12687c1888be69"}},{"ruleId":"D1","level":"warning","message":{"text":"telemetry.classifyUpstreamError (cyclomatic 19): telemetry.classifyUpstreamError has cyclomatic complexity 19 (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":"packages/mcp/src/lib/telemetry.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f21712c27fcea3310662b359464ff8859f466652f2697267f4418b09f5a6247"}},{"ruleId":"D1","level":"warning","message":{"text":"api.fetchLibraryCode (cyclomatic 19): api.fetchLibraryCode has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"packages/mcp/src/lib/api.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"587a7047486bec49d3895e5af22bacd0839ee5a2be24e07eb3c7adf1e209e6c8"}},{"ruleId":"D1","level":"warning","message":{"text":"charts.DailyBars (cyclomatic 18): charts.DailyBars has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. 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":"packages/admin-mcp/ui/src/charts.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25c7ae4da1e2f391427475d547e0a9bac4d7f91a496298d53055c88b1f95749"}},{"ruleId":"D1","level":"warning","message":{"text":"docs.resolveCommand (cyclomatic 18): docs.resolveCommand 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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f7e247baa24765a1343f0b2c06f8b43a8f00fe8aa98eec16cc29d58b51317a"}},{"ruleId":"D1","level":"warning","message":{"text":"jwt.validateJWT (cyclomatic 18): jwt.validateJWT 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":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e198408f37131a310b6d0132b259c3dbe728359e5df17a201c4b369152fec9a"}},{"ruleId":"D1","level":"warning","message":{"text":"server.errorText (cyclomatic 17): server.errorText 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":"packages/admin-mcp/src/server.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cfba2b91a5762d4a50911d7ed87fd2bba4aaf67d2822a697aac8d94b0fec8f"}},{"ruleId":"D1","level":"warning","message":{"text":"Host.receive (cyclomatic 17): Host.receive 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":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff28d7a64f501f3b8558562c29df51d8ace848a5799c16625860a3eebaa11f40"}},{"ruleId":"D1","level":"warning","message":{"text":"docs7.Docs7Page (cyclomatic 16): docs7.Docs7Page has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 267, 262, 110, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0baad29e24d49f72c3cbff76771c2faf85480161229eae762ca446137402974"}},{"ruleId":"D1","level":"warning","message":{"text":"remove.printResults (cyclomatic 16): remove.printResults has cyclomatic complexity 16 (threshold 15). 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":"packages/cli/src/commands/remove.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edcd830ee13590ef861392a9fc8f76f154abff86abed3a4617bc25efe49fdbc"}},{"ruleId":"D1","level":"warning","message":{"text":"StdioSubscriptionTelemetry.receive (cyclomatic 16): StdioSubscriptionTelemetry.receive has cyclomatic complexity 16 (threshold 15). 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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd486e0963da48860e1f5fe8789594d261b9128350d2b56f6081d9020d11dc"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-http-auth.evaluateMcpAuthentication (cyclomatic 16): mcp-http-auth.evaluateMcpAuthentication 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":"packages/mcp/src/lib/mcp-http-auth.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cf3d385033254f71d66f8b3d71717a6e2ac96f32aa654552a03799e9caf504"}},{"ruleId":"D2","level":"warning","message":{"text":"index.main (cognitive 67): index.main has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (36 pts), ternaries 7 (16 pts), boolean chains 9, error handling 2 (4 pts), loops 1 (2 pts) (nesting depth added 29). Most of this is not in the body itself: 12 of the 67 points are its own statements and the rest belongs to 14 function items inside it that branch (handleMcpRequest, extractBearerToken, a function literal at line 818, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/index.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f58faec981939c4492d50840a1d449effff92c33ba170edd5b770ab4a062f"}},{"ruleId":"D2","level":"warning","message":{"text":"docs.queryCommand (cognitive 43): docs.queryCommand has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (24 pts), loops 3 (7 pts), ternaries 4 (7 pts), boolean chains 4, error handling 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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"72555d149cc77ba13793bdcc6a87ceee4e6e0d15c30efbbc138e5993c5ea25d8"}},{"ruleId":"D2","level":"warning","message":{"text":"StdioSubscriptionTelemetry.send (cognitive 32): StdioSubscriptionTelemetry.send has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 10, ternaries 5, error handling 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f6cc6076bfe40e280ad591065c6c95094b25ddfe2258614e1f160325451bcc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.errorText (cognitive 30): server.errorText has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (22 pts), if/else 4 (6 pts), boolean chains 2 (nesting depth added 14). 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":"packages/admin-mcp/src/server.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc936e7b1977f720fe93e40f7c0499d6093b0ba75832c6509c103d2f6e7e2710"}},{"ruleId":"D2","level":"warning","message":{"text":"jwt.validateJWT (cognitive 29): jwt.validateJWT has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (25 pts), ternaries 2 (3 pts), error handling 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":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7b78e3e94e24777b51bc2c8cbdfd4369e24ab6c48dba404440fd436c6bf1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.performLogin (cognitive 24): auth.performLogin has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 3 (5 pts), boolean chains 1, loops 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":"packages/cli/src/commands/auth.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"77855e5d5b4943a8931dce8d329f311d50a09a68e63dc104efe075dc2d2e1600"}},{"ruleId":"D2","level":"warning","message":{"text":"docs.resolveCommand (cognitive 23): docs.resolveCommand has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 3 (6 pts), boolean chains 4, error handling 1, loops 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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede221aeabfa3d75ff171e4d10523310939438da6fa6db96f32c0ee7499be95a"}},{"ruleId":"D2","level":"warning","message":{"text":"toml-editor.parseTomlBasicString (cognitive 21): toml-editor.parseTomlBasicString has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (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":"packages/cli/src/setup/toml-editor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"337587f3c1f85c5e7c8fae52836a5169ef3590d3734013676af8b20946326e96"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-writer.appendTomlServer (cognitive 21): mcp-writer.appendTomlServer has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 3 (5 pts), loops 1 (2 pts), boolean chains 1, error handling 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":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34da80d4e1302356274599b3aae61ec9b9c89780f8acd54de1ce29940144bbc"}},{"ruleId":"D2","level":"warning","message":{"text":"telemetry.classifyUpstreamError (cognitive 21): telemetry.classifyUpstreamError has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, loops 2 (3 pts), ternaries 2 (3 pts) (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":"packages/mcp/src/lib/telemetry.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2505e44e801fcf9e195c7866c6f15a310c40ca59503be4519d34dd7376a710"}},{"ruleId":"D2","level":"warning","message":{"text":"file-lock.acquireFileLock (cognitive 20): file-lock.acquireFileLock has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (12 pts), error handling 3 (7 pts), loops 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":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"387d63c660287cc0aca7d4641ac25bbba57e4669ef0ccee8e2bbdcc4f38008a8"}},{"ruleId":"D2","level":"warning","message":{"text":"setup.setupAgent (cognitive 20): setup.setupAgent has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 5 (6 pts), error handling 3, boolean chains 2 (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":"packages/cli/src/commands/setup.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66fa64f1589760173b6ab74a323d8fb806fd78f6a5c2f91c1d0d5c7039fdfc0"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-http-auth.evaluateMcpAuthentication (cognitive 20): mcp-http-auth.evaluateMcpAuthentication has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 3 (6 pts), boolean chains 4 (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":"packages/mcp/src/lib/mcp-http-auth.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d58ebe1756242f19e5510e105d457aa2f6cc53785981ad7bf9883a1726d0847"}},{"ruleId":"D2","level":"warning","message":{"text":"Host.receive (cognitive 19): Host.receive has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 4, match/switch 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":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec54870b44c6c23e0241f894364221c8fc275c3a65552d044a6b0378c2cd88b6"}},{"ruleId":"D2","level":"warning","message":{"text":"app.App (cognitive 19): app.App has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (7 pts), boolean chains 6, if/else 6 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. 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":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7305915097fb0449342f311309832cece6dc69f1dd312b9f509a993cbd2326b5"}},{"ruleId":"D2","level":"warning","message":{"text":"setup.resolveAuth (cognitive 19): setup.resolveAuth has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 2 (6 pts), error handling 1 (2 pts), boolean chains 1 (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":"packages/cli/src/commands/setup.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"988ef96566eadf4847febef8894d19a783d2470c055502dd4bbc2c27d95c8be4"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-subscription-telemetry.instrumentMcpHttpHandler.fetch (cognitive 19): mcp-subscription-telemetry.instrumentMcpHttpHandler.fetch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 3 (4 pts), ternaries 1 (2 pts), boolean chains 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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ff474ebbb7985d9c11ed02ee9b93dea0ffd3ba1619c8bac826f60e554e6300"}},{"ruleId":"D2","level":"warning","message":{"text":"api.fetchLibraryCode (cognitive 19): api.fetchLibraryCode has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, ternaries 3 (4 pts), error handling 1, loops 1 (nesting depth added 1). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. 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":"packages/mcp/src/lib/api.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a6ed1d33cb3f295a6391de3567202bd04c5a8c8a4d7cb1b027728d11f57a29"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpClient.fetchWithRetry (cognitive 19): HttpClient.fetchWithRetry has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts), loops 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":"packages/sdk/src/http/index.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"36336c32f5014b0e3b8f0c1ac7f4cf9c10e9987522737dc63fd805733086e4fa"}},{"ruleId":"D2","level":"warning","message":{"text":"server.registerAdminTools (cognitive 18): server.registerAdminTools has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 8). Of this number, 11 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. 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":"packages/admin-mcp/src/server.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d3ba04f3cb76e153a08d472bf05ddc6e778327a111026ecd44ac52e4b43093"}},{"ruleId":"D2","level":"warning","message":{"text":"docs.runRetryable (cognitive 18): docs.runRetryable has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, ternaries 2 (3 pts), error handling 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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd7176262cd58dbeafb08a45dff42879516c956db8001bf3ff28c8e7c580a81"}},{"ruleId":"D2","level":"warning","message":{"text":"remove.uninstallMcp (cognitive 18): remove.uninstallMcp has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), boolean chains 1, 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":"packages/cli/src/commands/remove.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"8426b4c2429cadc529c0867bcf12211bc0d88ec628435994b6e5db0fb6f8f919"}},{"ruleId":"D2","level":"warning","message":{"text":"remove.uninstallRule (cognitive 18): remove.uninstallRule has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 2 (3 pts), ternaries 2 (3 pts), boolean chains 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":"packages/cli/src/commands/remove.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cfc96f3f98bfa978c57d72f89991299545a8bf26deb2eab21b868f4b9ca020"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.agentActivity (cognitive 17): tools.agentActivity has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (5 pts), boolean chains 3, ternaries 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. 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":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"81461e87128ce2a0646d52a0742c6d43e93fc26edbf9f7d77585ff2182033392"}},{"ruleId":"D2","level":"warning","message":{"text":"prompts.checkboxWithHover (cognitive 17): prompts.checkboxWithHover has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 4). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (keypressHandler, a function literal at line 79, a function literal at line 113). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f912ad39390187645474727de7eb8d17c36a8705e2b79d11be38557d90eeb8c8"}},{"ruleId":"D2","level":"warning","message":{"text":"remove.printResults (cognitive 17): remove.printResults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 6, loops 2 (3 pts) (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":"packages/cli/src/commands/remove.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb3027b0b069cb82bd475afe755512b9f0a654c7af2204797d01356000b18f2"}},{"ruleId":"D2","level":"warning","message":{"text":"libraries.LibrariesPage (cognitive 16): libraries.LibrariesPage has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 4, if/else 3 (nesting depth added 3). Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"packages/admin-mcp/ui/src/pages/libraries.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5262af84d55df1ef27ddba86008927467d3dcb8d68cab370d945c6c8be7ab70e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/tools.ts: FileTooLong \u2014 1573 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1073 over it, 3.15\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":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd2f918f55cf9fcc921ad6f493b7a409825c882f9a9b344bacbc281c866082b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: docs7.Docs7Page: FunctionTooLong \u2014 Docs7Page runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8006be253948aed6ea4eddefe17e88f49728ebd1864415960b82577d9bf8ff84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: libraries.LibrariesPage: FunctionTooLong \u2014 LibrariesPage runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/libraries.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b008e120924aeb1e0824f6018e1cc04f45f8b374454e30bd5067d5d545aeed7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: charts.DailyBars: FunctionTooLong \u2014 DailyBars runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/charts.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d8d029bcfa5cfbe08ba1083a6a283828687bba4f84e394cd0fcb81d4460e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ask.AskPage: FunctionTooLong \u2014 AskPage runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/ask.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"160368c257b07acd1b98fb12c82b47af3bf57c3382fb3d670e073abcd3b7ca6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/index.ts: 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":"packages/mcp/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c9b06a1983ffd75ea91bd53842e599f70d0ffc23641c0e78b0be06d363d719"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/mcp-telemetry.ts: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 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":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"844944ed6fe373f80ee08c36b4bdc8a40ca9792eb0946fc66964a5975a78e9aa"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @upstash/context7-sdk: @upstash/context7-sdk: abstractness 0.06, instability 0.00, distance 0.94 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c300611952d5cb55e500f9cc482d50fc07fcae684b3421549565d4d3e6c55a2"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 packages/admin-mcp/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns a union when the search response type is determined at runtime: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.types.test.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"db461f14911ea4013dbe7b30958a2ddd00cc9726d46cd140c2bae08f386dbefc"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: returns a union when the context response type is determined at runtime: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.types.test.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"99238ee98419d1516b29f83dca7d5c3f613a502a427dee9d360965a7802205c3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: accepts optional response options: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.types.test.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a46ca3809eb1f7f8f7c751dd7fd1f5255273cff421ec7369e56795ff4c199f1"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: preserves JSON return types for empty options: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.types.test.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7201cccb6bc3e4fb456701373facd58e19e8e7cbbca877456e75ed8dd39657"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: types search responses from the requested format: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.types.test.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4f016410513a9dd13d48180b9abc6f94bc844d7208de8e3edda7f9905d7d30"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls process.exit(1) when login fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/__tests__/auth-commands.test.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09578f8a1d06e235dfca2618a819a44396d750c74bd11aff6dc5554ff259b87"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens verification_uri_complete when openBrowser=true and stdin is non-TTY: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/__tests__/auth-commands.test.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c463a52128998011890fbf913066ddaa91324580bb2f33cf1f9ea2e4987bcb8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips opening a browser when openBrowser=false: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/__tests__/auth-commands.test.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a281241a2aec4aa9b80b38f31b9ae30b49e6c8d93412a48f954460c4c318917"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: @types/figlet: @types/figlet 1.12.0, declared in packages/cli/package.json, is marked deprecated by its publisher: \u0022This is a stub types definition. figlet provides its own type definitions, so you do not need this installed.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/package.json"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff3f0375c1b6ff1528c7c154cec20e4bbdc1b5d39fed2b12d30869d347c2e54"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: @opentelemetry/sdk-trace-base: @opentelemetry/sdk-trace-base 2.12.0, declared in packages/mcp/package.json, is marked deprecated by its publisher: \u0022Use @opentelemetry/sdk-trace package\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/package.json"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d431fa575b7a930dd17a53214cccfe30f3bef2022d4657348b877a9867318408"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @opentelemetry/sdk-trace-base: @opentelemetry/sdk-trace-base 2.8.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Use @opentelemetry/sdk-trace package\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7341f8312811aee119788b644db6ec4e826c4c69517cb06dc337f9436b8964d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: @opentelemetry/sdk-trace-node: @opentelemetry/sdk-trace-node 2.8.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Use @opentelemetry/sdk-trace package\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"927cc59ed264642850e05f69b2d921ed54cdf0614c8f0d5e794f7b7ec31c1931"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 10.5.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":2959}}}],"partialFingerprints":{"codehealthFindingId/v1":"06aea5043151b35bb100d36c0729a1ca57c572baa7da27303eacadf44c20a97d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: node-domexception: node-domexception 1.0.0 is resolved in pnpm-lock.yaml and is marked deprecated by its publisher: \u0022Use your platform\u0027s native DOMException instead\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pnpm-lock.yaml"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"965e1318e0565ac76f22a7234f78fbc3e2c57ef2f7746de66bd1a4300c363e49"}},{"ruleId":"D12","level":"warning","message":{"text":"One package at two majors across the workspace: commander: \u0060commander\u0060 is maintained at 2 different major versions inside this one repository \u2014 major 13 in packages/mcp/package.json; major 15 in packages/cli/package.json. Every major carries its own breaking changes, advisories and upgrade path, so the cost of keeping current is paid more than once; and where the packages are installed together, the resolver cannot dedupe them, so both copies ship."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"22a34ca29d9f416d255786aae862d4a214d6c2d0cc4cf41a9874c7e1790486a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp/src/index.ts: packages/mcp/src/index.ts changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in index.main at line 471. 12 of those changes were fix/bug commits, and the other 18 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/mcp/src/index.ts\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":"packages/mcp/src/index.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a0156300ac27641c29249b39f92a6287017f3e0ca37eed0315b5d5cf9fabe43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/commands/setup.ts: packages/cli/src/commands/setup.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in setup.setupAgent at line 364. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/cli/src/commands/setup.ts\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":"packages/cli/src/commands/setup.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdfd02804a8efaebaad8152ad797be337d3460db5967e21a30cad897c0be760"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp/src/lib/api.ts: packages/mcp/src/lib/api.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in api.fetchLibraryCode at line 303. 1 of those changes was a fix/bug commit, and the other 12 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/mcp/src/lib/api.ts\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":"packages/mcp/src/lib/api.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f5971a74c8fb3f4383a3f663bf703f105d432d717f00d17bafc2d381c83e6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/cli/src/commands/docs.ts: packages/cli/src/commands/docs.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in docs.queryCommand at line 144. 1 of those changes was a fix/bug commit, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/cli/src/commands/docs.ts\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":"packages/cli/src/commands/docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"01acc8ff4db185b4d9e1c55b036a0ed43daa0f29a9e4021b4f7b1af01281440e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp/src/lib/jwt.ts: packages/mcp/src/lib/jwt.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in jwt.validateJWT at line 171. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/mcp/src/lib/jwt.ts\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":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"790f85155489fa23b479a8c4ef4a70345eb87dc4976e3a6226a7ab8ea57cc8d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/mcp/src/lib/mcp-http-auth.ts: packages/mcp/src/lib/mcp-http-auth.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in mcp-http-auth.evaluateMcpAuthentication at line 112. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/mcp/src/lib/mcp-http-auth.ts\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":"packages/mcp/src/lib/mcp-http-auth.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f695a3d3842a86bb49b6eba6c4708bacd64abff723335fcb4d06355291291c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/setup/mcp-writer.ts: packages/cli/src/setup/mcp-writer.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is mcp-writer.appendTomlServer at line 250), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(cli): keep JSONC comments when writing MCP configs (#3508)\u201D; \u201Cfix(cli): strip --api-key=\u003Cvalue\u003E when setup rewrites a stdio entry (#3441)\u201D; \u201Cfix(cli): accept trailing commas in OpenCode JSONC (#3305)\u201D; \u201Cfix(cli): safely patch Codex TOML stdio args (#3075)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/cli/src/setup/mcp-writer.ts\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":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"692e9b01621b7338e8131a91aa279408ed1c028ac9ac9b345180f194c928776a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/cli/src/utils/auth.ts: packages/cli/src/utils/auth.ts changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is auth.pollDeviceToken at line 466), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CCTX7-3308: fix(cli): lock the token refresh so concurrent commands keep the session (#3495)\u201D; \u201CCTX7-3201: fix(cli): prompt to sign in again when the refresh token is rejected (#3429)\u201D; \u201Cfix(cli): reuse device login API key during setup (#3109)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 11:32:25 \u002B03:00\u0027 --until=\u00272026-11-13 11:32:25 \u002B03:00\u0027 --full-history --no-merges -- packages/cli/src/utils/auth.ts\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":"packages/cli/src/utils/auth.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d75799aafeed1e6d82a67bea171f410982f1e93cf076eb5399fa45a186a37c"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: packages/mcp/src/lib/mcp-telemetry.ts, packages/cli/src/utils/prompts.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"eff377fc375e58bf6c676890bdf1332a7224a599a606ea72e74d530631f7421f"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (5 single-owned of 65 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 65 of the 136 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (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: packages/mcp/src/lib/oauth-audience.ts, packages/mcp/src/lib/oauth-token-validation.ts, packages/pi/lib/prompts.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"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. ADRs are expected here because \u0060packages/mcp/package.json\u0060 makes this repository a deployable product (line 14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"511b818d12cf345ca50f0ff2bb3765611e92fab41a1de66366e60c200e3e075e"}},{"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":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"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":"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":"8226ed3b71d683aeb3743b1ae2a98557bc996c74f3c5d294b7ead101ebab1828"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"f5cad2ffbac8ca5ac096609a4b7bce6fd6737f8780511f59e1067f33204fc5c8"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"2985097d7fe88bff929a0b0090119c39f4cfb22c481bfbbd484856a5b3d73358"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"0aa82b0dca6d0ed7332cd73fd5a8ff3c9a74d96afe0c36a0ba09b3c939ecd5a4"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"4e2012c989fb1bebb9d5aaaefbf717ba1335271fabbe5740446ef7d80e91a106"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"eb35eee37382e7f9810b2d59916fbc1312699c040375846d58d55809b14052b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"54b3d61672a13def7019a8b9a88b40c15dd90eb0ace9882ff2bf95d62683c3d5"},"taxa":[{"id":"CWE-522","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"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"2f9f292673501f48390d320e166818543ba66b9f009f0362d346b9c033ab4154"},"taxa":[{"id":"CWE-522","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"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8696f8f8c85815bb6c290a35d48bed890332f7973046d05496c25fa6fc75b2d4"},"taxa":[{"id":"CWE-522","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"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8cde18efd79f26592018784d213b7a56dd162026b7376492c4dbc58b6b36e83a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"5feb3cfaeea15c1dc16479d90e6365be2399395a3b60d2e1e2027db495afb828"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"22601bab8db282b0db32fe0c5b91f73d5e69897f311f32ffa41d77fe0f05a797"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"7f4bef3e37fe9dc9d830d082309dd5bebfa63de20f2d5bbcfb0aafb09023ec09"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"c7c44bf9b31d57ee04bcc9fa7818a60bbb93b538b030bd82043a8161807ef4be"},"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":"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":"259f06cc38f7fc0aeb4fc9ef13030097c37494aca72794d36a8ae56a2caaa7f2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"71f815c1d8a40b4cb3f9aa1e97f01f0e23bd6a59c1b040fa3503b759234eec79"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"8bb390b58f65c8043812b9633e09c106051d6afbc7c892361f64d6f231c7702b"},"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":"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":"5be03ab325ce0dd57044d4e411f1428508ecf7870bea56774afff406be2e7ce3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"a70a3ada3bae9a9b4937c8dadf6051d91e207198f3aa5e67fbe9037a6335a0ee"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"95c86518b9ad95a400ef73d9039d32575b09c7dd3fc490c40463b4b7e2269082"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09: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":"e6e5d625205f96c393f6a3dd6fdff16bdd677a0ea937a35d24bb453084778169"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","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"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"75369c09bb288495c1ec96550eb2aa9585bb73f2d0abcdd876376a94900b52cc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"d5d14d01959f8bc74cfb47cedb20165c1651927e69ca7f14db02f6d54f0db1ae"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"e49b2f1dc8b6ada106a5ae99dbd677414f86c9417d6f8d886e453974e952e52e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"b923d2a6d4bf9f3d17a069114b8d29dce8e6bc49ce4ae2931de0efd9a515de40"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"904b3f333838d97fde9dc807fd4560c10f8371b02ab76c0e403975727509d022"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"92580436dc7037a3afd597615e1e02779eb2328c8f7b7d3d5e0251c1b35bb619"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"3b05ba515a0129218f03788d09f94768f02609db43e2061d6ce787be3145aa87"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03: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":"764cb3fbe218f8057928a216faec4333d60f9172e82cb593db2fb14bb634d634"},"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":"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":"219a12d004cfccc9367484dfb3a49ca5504ac225b844a3bd43aec68452ecad43"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"e211941f3379ed0f87f19c8fd484dc6ffb1d119b855e5c174d0d174d5736ac4c"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"55906fd123979abdd4057475c494146460d0353987cec910e3e1c5db5bb5485d"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"b2e9a3d9895e781293f7a5dc6a9f40507128a8b8b79ba0c98da25e72dd94b3bd"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"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":"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":"7cf8a78c4a993aecafcb4fe2b18ecb6ff3aced137586a07de2812771fcf18756"},"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":"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":"85f99189d964cdde824a816d83f2290af0a3f7efe42feb1d6495743a90e33e22"},"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":"a9777e0a00c4b99823906e710306cd54aeddfbfe385a57cfdf8d61255d2008fd"},"taxa":[{"id":"CWE-345","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":"9c42083a6f5c0c75aeb484300720eec990e20704d52f1cfc67d1413e3494c2a9"},"taxa":[{"id":"CWE-125","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":"d79152f4a33c54c5639672e2ae5282fb41a80c22a2efda121699f3f1416ad692"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"0feb9a1faaf0380c95a1ba3e07748bcd4e0a14c528eec18a99184ed1704eed2a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"6d0d9d1191edfedf22dd15ee100c9eddde940cbd99abec19a8bb4f3602a5e709"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"226fed7201cca12c0bb9da9f9a568c2c1711862ccadd7fe7e72e1784a856b8d9"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01: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":"71db8649f0d344b30c55325c0f63aeaa74baa72cccfe09c602b8bc6c0d302554"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","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":"ea7e5354ab7cfc90dd177dde60810f39ea3e10b3fe5c807ca0b2b906b7004ac5"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"4d3946b356f4dbe198e5d0c118bf0457e2d55e19062cdf7bdef1cdf875aa120e"},"properties":{"dependency":{"package":"glob","version":"13.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"c3bac0b956cc7625db5ffaa04443fc36030c2af44043a6f2dfd365abaf694f40"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"0f0e25f5043cf62eebe19b8bc6c5720079d3f23e4fd644df5f6587f0c96e9743"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"9309ff54832bb320f7fb2f2054f696a8ec979cd24c1c24de84c578df2e63b9b6"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"3f54d1f4607fdaea22194262dabcf05db6136d2d813d8619ac129c6b6f33edda"},"properties":{"dependency":{"package":"esbuild","version":"0.27.7","advisory":"[GHSA redacted]","reachability":{"kind":"test-or-tooling","file":"packages/mcp/package.json"}}}},{"ruleId":"D31","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":"9f5a1d3d7b7c46769dbba291e2bbb88f778491f53617f85dd323ef2ed80d82f7"}},{"ruleId":"D31","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":"0a3a8c25d991ec5639301aebe5c436c31c70255f631a5e7f938c69701bce82c0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"0dd7ae90b4e05875f8399043522e6ac32092440476cf049073dbf08ef7e22ae0"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","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":"35d31c6ccba2441f47aacf49a6ee9ab8d10a924e0a19ef5f3ce3f3253416de49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 65 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, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 65 of the 136 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: packages/cli/src/utils/storage-paths.ts. 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":"packages/cli/src/utils/storage-paths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31640b393ad9bf970c9e51ed3dc7e6ba5ddafbf7ad13c295fa2c938483a5cc38"}},{"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":"25c67546e61034a911e061f475b510845b139a400f8bde81e3f175b66aafaf0a"},"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":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","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":"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":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","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":"5e4607103018ccbf4772504c4475df05c43062f243e17471503584c98dc62fdc"},"taxa":[{"id":"CICD-SEC-4","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":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cdiv\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f2a9a6a9f4fa9010817b41b3419a666db40d8e12628269f5fb1a69a615a04"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d69d35a80297458ec87fa0e8673a8806714df837cb5f58906a97d08653d3833"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed inline: \u003Cinput\u003E takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/libraries.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7ce4ebb5130917ac8374745e4d42d8f4022e9f6e7292be2f715ff41836b5d7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060e.animate()\u0060 moves (\u0060Web Animations API keyframes\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/ui/console-html.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"48967b715692edbb1dc132c9b9c766a6a533b96b3aa74779643ee79a286acb0c"}},{"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":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/auth.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"72539519f1843b57050a3ad3a34b62d87c65998c4ae7a7c8fd06727527887915"}},{"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: i18n/README.pt-BR.md links to \u0060dxt/context7.dxt\u0060, but \u0060i18n/dxt/context7.dxt\u0060 does not exist. 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":"i18n/README.pt-BR.md"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3841da0e617dba8e236752263fa440560453887cd7862f2c4a9f229957ce930"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.zh-TW.md\u0060, but \u0060packages/mcp/i18n/README.zh-TW.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6368e5e2390f7be1ca294586a5328ede281e67743928ac1d6bb22c2d724917cb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.zh-CN.md\u0060, but \u0060packages/mcp/i18n/README.zh-CN.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0df65b5c8d06ed0dc7014e381996c22adb106fd53f9b95598a301f50c6d4c19"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.ja.md\u0060, but \u0060packages/mcp/i18n/README.ja.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0e30d6258b76a5a904857b0bd2e8a0730a865df80a5e9d033639c8486a8036"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.ko.md\u0060, but \u0060packages/mcp/i18n/README.ko.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bcad9cf8ff1b78e5158b70c8dccca6edec18a9191ae01c59b352cd925a3b73"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.es.md\u0060, but \u0060packages/mcp/i18n/README.es.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b3b104be06411ee47e3884c64eff2fa57bdeb422aae9d09286b8f0524e55cd"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.fr.md\u0060, but \u0060packages/mcp/i18n/README.fr.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"71490b1f6169651a11f003958e090d3b5d73364d7f14906d931a572f5c6a4168"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.pt-BR.md\u0060, but \u0060packages/mcp/i18n/README.pt-BR.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e347be787bb2c9126d7c7ac6874546852cde41bbaf388d5e93a4f90e13f647d1"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.it.md\u0060, but \u0060packages/mcp/i18n/README.it.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c12587150feaff807d7a01e963856c84419480017e994155cf93189246ac54f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.id-ID.md\u0060, but \u0060packages/mcp/i18n/README.id-ID.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d44c2f2066f715ae7660006636127a5ae2e5f165acf75e94f771f894040fb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.de.md\u0060, but \u0060packages/mcp/i18n/README.de.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e53f317ea677e1490640b6c950d45393a6c96a550ca79fdada24cf089a9150"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.ru.md\u0060, but \u0060packages/mcp/i18n/README.ru.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfd6cc63b24536db55220db0766717e5d07b13a59613708f28230d8b4b5dc6e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.uk.md\u0060, but \u0060packages/mcp/i18n/README.uk.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be0205cec3de85baae9a67df6bcbe0c8ec5ec4a7e11c80c72dc4e1c5f42cb94"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.tr.md\u0060, but \u0060packages/mcp/i18n/README.tr.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92028813e2eb30f464458aa63d0ac5c3cfef7ccdffbe62662ec4c9e04e848f7"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.ar.md\u0060, but \u0060packages/mcp/i18n/README.ar.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3829541146f2d495b059825542d71177ea3e38a926bc354b7095ded9d8c1b73"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: packages/mcp/README.md links to \u0060./i18n/README.vi.md\u0060, but \u0060packages/mcp/i18n/README.vi.md\u0060 does not exist. 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":"packages/mcp/README.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"687af1357ef93278805fcb115a07ba143fd75886dbafcd721cb1c74168dd4bca"}},{"ruleId":"P12","level":"warning","message":{"text":"Runner config excludes tests no gate runs: \u0060src/**/*.integration.test.ts\u0060 removes 6 test(s) in 1 file(s) (e.g. \u0060packages/sdk/src/client.integration.test.ts\u0060) from what vitest collects, and no other runner or CI command runs them \u2014 they are dead tests. Run them (another runner, project or job), or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/vitest.config.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"49765911c4539c28ca95734b119f7dba963e4d0407abe7659dcf680f400846b7"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060packages/mcp\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 6 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":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/test.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef47dace8787fe29afd494cc080d9ed254a57efb899920e0f081544725a1319e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.closeSync\u0060 in \u0060acquireFileLock\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b22d2c13d1e743dede4b03ab50a5fc19919c2c03bd74a3106718a01bf1b413"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.openSync\u0060 in \u0060acquireFileLock\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2412a5de7354f1684f0e22087a7b4bfcdb3c6ae85f439b034424cec4b25d1b32"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.statSync\u0060 in \u0060acquireFileLock\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a82892a22ca65ebe1e40e916b282fe501eb496c13434ec6e0932714fd52efae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060acquireFileLock\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39d1b81334e5749d33413cf6b4d319fa59f5727c4fea27ba0e84c07dec64160"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (11 clone groups): 11 duplicated blocks under packages/ have copies in at least two of the sibling directories admin-mcp, cli, mcp, opencode, pi, sdk (\u002B1 more sibling(s) not listed) \u2014 7 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 11 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 11 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 11 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/batch.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9385630fcc2d383052e58c91479426b3d9985939852bef95a3345e1c3c77ac3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (57 matched lines \u00D7 2 locations): packages/admin-mcp/src/batch.ts:8 \u00B7 packages/mcp/src/index.ts:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 474 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/batch.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd932e28d5623bbb51e8729e3a12c93546b7ed9ee46a80a0a4fc97b7ebba589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (43 matched lines \u00D7 2 locations): packages/mcp/src/lib/mcp-telemetry.ts:437 \u00B7 packages/mcp/src/lib/mcp-telemetry.ts:635 \u2014 the two spans are one implementation copied and then locally edited \u2014 276 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca1272eaad1c473268207d0437c9200d001b6b69a5937481c39006f104bc653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): packages/admin-mcp/eslint.config.js:17 \u00B7 packages/mcp/eslint.config.js:8 \u2014 the two spans are one implementation copied and then locally edited \u2014 139 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/eslint.config.js"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"59789f797fb5eacc9fe42a6e3fa81ca0d6a5a9074c40ea59070991198d995bb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 4 locations): packages/cli/eslint.config.js:8 \u00B7 packages/pi/eslint.config.js:7 \u00B7 packages/sdk/eslint.config.js:8 \u00B7 packages/tools-ai-sdk/eslint.config.js:8 \u2014 the 4 copies are spread across 4 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/eslint.config.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd89df669b987aa98ad7a8270f8943fbcad9bfbe0c9d17245ad9a253556862e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/admin-mcp/ui/src/components.tsx:120 \u00B7 packages/admin-mcp/ui/src/components.tsx:155 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/components.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c31a48e7b97219dd74988310aa983544e8fa7173613ea1ec15d0aa92541718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/sdk/src/client.ts:55 \u00B7 packages/sdk/src/client.ts:98 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/client.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe380e0fb139d9c642da90b35e75160ab47fb27ffb8baf000645dca85dfe10c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/mcp/src/lib/utils.ts:41 \u00B7 packages/pi/lib/format.ts:15 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0672e3ba790a29082a5321f12823e6984b4d119afaf11b4c7d9b9c8dab7aa27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/admin-mcp/ui/src/pages/ask.tsx:95 \u00B7 packages/admin-mcp/ui/src/pages/docs7.tsx:113 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/ask.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"58232e5f4f685dfe805d8c5a1a204d3ff09d9eb606831ab699d409b205226c08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/mcp/src/lib/mcp-subscription-telemetry.ts:57 \u00B7 packages/mcp/src/lib/mcp-telemetry.ts:138 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b5a3496680c68bb7093a892f4e3735b5329707fe761d1ecb67d71234c33ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/cli/src/setup/agents.ts:418 \u00B7 packages/cli/src/setup/agents.ts:443 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaa4903196093a3a8860706692cb5d5897da4cf9864892bd91c5b4103ec0302"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/pi/lib/format.ts:6 \u00B7 packages/sdk/src/utils/format.ts:51 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pi/lib/format.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1017d7e889276fcd15acfbb3ea3cbe5fe0d6278ada0e5f7023813b8cee55a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/cli/src/setup/agents.ts:276 \u00B7 packages/cli/src/setup/agents.ts:489 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0b75a62796c9d05002b8cdc472fc5e722dded807585df230c908a23a55a4a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/cli/src/setup/mcp-writer.ts:197 \u00B7 packages/cli/src/setup/toml-editor.ts:151 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3b0689d8b32cd1dbf411ab35159eea64fa6af0a59432b1d47199cbd6ecaacc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/mcp/src/lib/api.ts:167 \u00B7 packages/mcp/src/lib/api.ts:488 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/api.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"f695acdf3c53b7c4929f092004188d8c9a3e85388e486fc38caccbb07f00dac8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/cli/src/setup/mcp-writer.ts:273 \u00B7 packages/cli/src/setup/mcp-writer.ts:324 \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":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db52c3083373eb18078dd5aceb490f9d7074439464bf6c801e818fab18dffd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/cli/src/utils/api.ts:133 \u00B7 packages/mcp/src/lib/api.ts:247 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/api.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0026d6704fe3d552d068678c462972f729fe61a39c73997846bc19c762cded65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/mcp/src/lib/mcp-subscription-telemetry.ts:276 \u00B7 packages/mcp/src/lib/mcp-subscription-telemetry.ts:290 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f9a72728a72c75a5b0942abe0b9011330a54ef33a3a217c26f72b4c50151e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/admin-mcp/ui/src/app.tsx:376 \u00B7 packages/admin-mcp/ui/src/components.tsx:254 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c07183fcdc6540ec619df4bc8ab8db6154475aa342e07a6c72f42c5f4288f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/cli/src/commands/remove.ts:142 \u00B7 packages/cli/src/commands/setup.ts:259 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ebfda48084d744aaa0c5bc1fe3522339d2851e1e891691425f7c5d0daa99bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/cli/src/setup/agents.ts:202 \u00B7 packages/cli/src/setup/agents.ts:294 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"a004c06b8f2e2b835cc305abd0b44a59ac34b171f07fbd591882d3983523f8cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/cli/src/utils/api.ts:75 \u00B7 packages/cli/src/utils/api.ts:325 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/api.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b21b0ed39119c6eb12805e4896cb93201e06b06cc2402025e9b5af6d7a487e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/cli/src/commands/remove.ts:192 \u00B7 packages/cli/src/commands/remove.ts:319 \u2014 the two spans are one implementation copied and then locally edited \u2014 89 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"35741eb87d18cf34dec714a499ee3da41c755406a2a2d341da7d0a73ca14b15e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/mcp/src/lib/api.ts:451 \u00B7 packages/mcp/src/lib/api.ts:498 \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":"packages/mcp/src/lib/api.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"45694bdefdd09b02ffd1e0c1e2425d41014ed2074c9d85b59ff49659caeb13fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/mcp/src/lib/utils.ts:9 \u00B7 packages/pi/lib/format.ts:6 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8223b17652e61d31c27ed52fdb1bedc0bebce35291237bc33b69d492f1dcc1cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/pi/lib/api.ts:35 \u00B7 packages/pi/lib/api.ts:47 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pi/lib/api.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e99b5a558d739fae518aab57a627a135d511b26ce931b90fdc9f29b738b0b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/tools-ai-sdk/src/tools/query-docs.ts:33 \u00B7 packages/tools-ai-sdk/src/tools/resolve-library-id.ts:33 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/tools-ai-sdk/src/tools/query-docs.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade630d1c324dd545138294025350f62db5b79b6ee9effa57d3ad08e90b02f93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/admin-mcp/ui/src/pages/docs7.tsx:339 \u00B7 packages/admin-mcp/ui/src/pages/libraries.tsx:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"892d77cee34a9f264f7be2e23170c6fe434254b36810467bd73519a5abd4933a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/cli/src/commands/remove.ts:52 \u00B7 packages/cli/src/commands/setup.ts:75 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bb39f4a20ad51b538e7f81e7a977999eb9442e5c4bb2fb1605e3e70ccce6c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/mcp/src/lib/mcp-subscription-telemetry.ts:140 \u00B7 packages/mcp/src/lib/mcp-telemetry.ts:350 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d498ecdefb0313e92cdf2af4a66abc05cdd11e5a59b8ddcbcb6b3082c09561e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/admin-mcp/src/tools.ts:1011 \u00B7 packages/admin-mcp/src/tools.ts:1136 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":1011}}}],"partialFingerprints":{"codehealthFindingId/v1":"2584e832e0e9901f3e3a57c242674bbca0b1afcb5bfe0dcc8b73d9f61b50aa7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/admin-mcp/ui/src/pages/usage.tsx:88 \u00B7 packages/admin-mcp/ui/src/pages/usage.tsx:141 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/usage.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdc136998eaea78843329851e9d048f2ff5ce3288c36269a47fd0ebe89edb8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/cli/src/commands/remove.ts:221 \u00B7 packages/cli/src/commands/remove.ts:357 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6bff0ee3d53859a6faa4cd0085e7c1b917ee1db5d85df7b441cc417f6ee35e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/cli/src/commands/remove.ts:370 \u00B7 packages/cli/src/commands/remove.ts:413 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4e48d6ca1365a11811a14a3fcab0baaf3ad28b0faa26e21de729e9a92d1534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/cli/src/commands/docs.ts:74 \u00B7 packages/cli/src/commands/docs.ts:169 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/docs.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d9105b7a2a763547bb593d47e90716ab9236488217d972d6fe9d98bb3e10f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/cli/src/commands/upgrade.ts:106 \u00B7 packages/cli/src/commands/upgrade.ts:116 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/upgrade.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d1682e77d742ff5a4f0fbacb85fdd7471e79ddc7cf41c46547b786566f29a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 39, cognitive 33): send has cyclomatic complexity 39 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd043b1496eed6b0a8b5c68700cc3689213583d0625cc9a017a4b04c72f2027"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 44): (anonymous) has cyclomatic complexity 32 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/test/integration.test.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95beb47bc4d9b4a7fee73f8d25d131cd3129953ab12105e412a040c004ed539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queryCommand (cyclomatic 27, cognitive 42): queryCommand has cyclomatic complexity 27 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/docs.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2d000766349ee4cbb52677dd3fe3b83db2b72e73b375e80e63b87d3bd3d0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setupAgent (cyclomatic 20, cognitive 27): setupAgent has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/setup.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"837eb85e102df329421a2e075f9f991b3a293c9203b981367378a13926c7fc95"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateJWT (cyclomatic 19, cognitive 30): validateJWT has cyclomatic complexity 19 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c13565a9647a9713f0743c00c33d3e2f847ee89fbd0d727ceb027f9925c993"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyUpstreamError (cyclomatic 19, cognitive 22): classifyUpstreamError has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/telemetry.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"477fb55f47fa7f96c3b63f1e14712191fc421f634c8ed35dd1c2e12bd0b83250"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 19, cognitive 21): receive has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57fc3348210a5f2f290f90437ed26c6f18661ddf8efe0e9988cc7c73ff7fd28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCommand (cyclomatic 18, cognitive 23): resolveCommand has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/docs.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e133e40a8e9c3671f53dc9ecce028928840ee79d3fe6e3743141660f9c1fbec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function errorText (cyclomatic 17, cognitive 28): errorText has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"332941f0cad1aebd097ea37d9e62e1125bf3c98259af85699f0f23e015570e2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function printResults (cyclomatic 17, cognitive 18): printResults has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba32f17a8e897629d9386333a81f550c69c0317521f46dd2c580a3019428b4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performLogin (cyclomatic 16, cognitive 26): performLogin has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/auth.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18be8cad4729bbd0cef3ee5cd574933e72a93b0c7a6c67e772c182aa446f6d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateMcpAuthentication (cyclomatic 16, cognitive 20): evaluateMcpAuthentication has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-http-auth.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6167f965f593265bc1864b87f97b38a8cce4790387cddb32f8a21ee4a1f10347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function App (cyclomatic 16, cognitive 16): App has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"69eba885152210cfc7c5becbd549ac91d6e39ea26358b2ebb3f8111f0277dc59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectInstallMethod (cyclomatic 16, cognitive 15): detectInstallMethod has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/update-check.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b00081fd115a2a82c70cf417de1fba932796c19bc51028b6700d4906ce08fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 16, cognitive 13): receive has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a28c9a72dccf8b377c49376bfb04281eb27d79de40b229084bbe7724df9648"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchLibraryCode (cyclomatic 15, cognitive 14): fetchLibraryCode has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/api.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4657b7fba6586c7d701cebd4b8da014c3aecb4a094f96ffbca8949beec815255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollDeviceToken (cyclomatic 15, cognitive 11): pollDeviceToken has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/auth.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe3aa7143159902db468af89c7ff23a3859a1ab1bf1ffedfeb53a863b2c7d19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTomlBasicString (cyclomatic 14, cognitive 21): parseTomlBasicString has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/toml-editor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5a65dcebbd09272408bcc436aa1d77abbbc55ad661f5cecba0107f19ac10b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function agentActivity (cyclomatic 14, cognitive 19): agentActivity has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce83efe1ef13bb5819ba7985115a8b7144ada701d20c7f6539af2d4b38c0fbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uninstallRule (cyclomatic 14, cognitive 19): uninstallRule has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c1b1935df15bc69a4a967a66fd00f90669ada54d943c2b4cc0caf8eea8d843"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uninstallMcp (cyclomatic 14, cognitive 18): uninstallMcp has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"5230aa550c368cc7f57c5db20220b3f9a6bca80fc338e5693baa0e93fde9231d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLibraryCode (cyclomatic 14, cognitive 13): getLibraryCode has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/api.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"490a60d651bc23aeebe59e7f836243783fc9afbdee1f7bdc67e5712d65479889"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchWithRetry (cyclomatic 13, cognitive 22): fetchWithRetry has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/http/index.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c33cd159f42713125a019f97d8f96451ce7095388d82a54aed558953db2c265"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetch (cyclomatic 13, cognitive 19): fetch has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5de4203349e1e3db2c3f85f49086d72c8fea767f6c2389c2ef80ce8d5801e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runRetryable (cyclomatic 13, cognitive 18): runRetryable has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/docs.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"8259ebc38d70bacc53f7da526d5cea692827a515f08208bb52251f6d93cb7176"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upgradeCommand (cyclomatic 13, cognitive 12): upgradeCommand has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/upgrade.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a775f9ecd64bfd8027d60b4186d3f1c56e3a00378951f8a4636f78eec4139"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maybeShowUpgradeNotice (cyclomatic 13, cognitive 10): maybeShowUpgradeNotice has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/upgrade.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37cc61c9b3b1bf256e491a0d9656fba2d5f581906218e00b56199fdcadbf767"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAuth (cyclomatic 12, cognitive 19): resolveAuth has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/setup.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ded9a073e6a09eed5157688cb317be60672f888f30cb0932936eb63c8c635e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function throwResponseError (cyclomatic 12, cognitive 18): throwResponseError has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/http/response.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b769ee0002438c25d75c925da7dd8d8efc3123e70617abd4c9d61571684e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 12, cognitive 16): send has cyclomatic complexity 12 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b441243f6a3d4bcdb058bf6e740d94d4e3ce153a63a99b051ce9f2485e83b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyContext (cyclomatic 12, cognitive 13): applyContext has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"25631222d62a33cf39422ddb9a66e72d5e65cf555aee68a77290a598adbde9ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 12, cognitive 12): request has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfa8cdb9e8588fb83e3198a2a627fdd6635f8dd5205e7e5a85e01f28b6926c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function modernListenRequest (cyclomatic 12, cognitive 12): modernListenRequest has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"543575c9f62779279145ee49fde0109d1840bb809651d04e327dd8a8a616ebd2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SitePicker (cyclomatic 12, cognitive 11): SitePicker has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"929b3df5f072ccfe2433c91ebe0c4b9600d66aeac9349b7270ae3f32f4ced9cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/usage.tsx"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddd10f8a232263982defa7b3e7143291b332a20f38525a684af0d83512c117d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDeploymentBaseUrl (cyclomatic 12, cognitive 11): normalizeDeploymentBaseUrl has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/deployment.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0c77a7671abb438784c6a49152a13a1bda9a34b1732359eb68ae335a6dc3e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchTomlStdioApiKey (cyclomatic 12, cognitive 11): patchTomlStdioApiKey has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/toml-editor.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"618079ef0ebcacfcc5c7b844393b4f3c168d3eb445045bf4a4307b2b1a1f0016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseErrorResponse (cyclomatic 12, cognitive 11): parseErrorResponse has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/api.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e62fe9b8527f4ea9d74cd64da87772212f484bd48989b177f8e5fc2159e89bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startOperation (cyclomatic 12, cognitive 11): startOperation has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc231836b7a2512f55351e7cea78056256975afeac249446c67c9b24c078843a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireFileLock (cyclomatic 11, cognitive 22): acquireFileLock has cyclomatic complexity 11 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4698149a314a3f511dbc968188aff6abf6303c33e1d6c177771975dfc552cacc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendTomlServer (cyclomatic 11, cognitive 20): appendTomlServer has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7612835e931a7c5d178f6315ee3727c40d0255886a843fba35fb1080a458de3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function receive (cyclomatic 11, cognitive 14): receive has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dbcd5048c6852d83f785729f27feadafa2ce9b1a4e71f25055df1b6d9036e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmWithUser (cyclomatic 11, cognitive 12): confirmWithUser has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/confirm.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8709e50a65b25f0933feee24e2f6b72d922d24ed13685042a7261f99c6c3b3e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runTool (cyclomatic 11, cognitive 11): runTool has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d8d0978b9ac17de9407906d99b185fd40acf0b4aed9a8360b129f40174b23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 11, cognitive 11): run has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b71305f33d28ce38a8ff179eaf27018336a99f0bc78c67a1964fa4660ca7521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LibrariesPage (cyclomatic 11, cognitive 11): LibrariesPage has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/libraries.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"550a6c500e15473d8bd60dfd5fea1dbf90f0616479fca92373cb98990f60bc19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMcpRequest (cyclomatic 11, cognitive 11): handleMcpRequest has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/index.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"8616e1ec24f8deeae1378e83361aa005811ce237df500edcfd5d8aac7701ef49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 11, cognitive 11): request has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/sdk/src/http/index.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c046157006765468a7df4893fd94a03139c2d8bfd9d21d17937102067ecce99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasMcpConfig (cyclomatic 11, cognitive 10): hasMcpConfig has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"772ecdd6151df501f14706f55140459f9066ea76f7c4eb0fa9f4d401fc896794"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/admin-mcp/src/tools.ts: 1945 lines of code: packages/admin-mcp/src/tools.ts has 1945 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c71b2ecc84a6875c63337b6d2bdafa4e6beb4f4c9b8f9c38eba617ce6bb6afd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp/src/index.ts: 816 lines of code: packages/mcp/src/index.ts has 816 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c7f83ba4f6e5958a24224d4340aeaa45c2143b16734fc85ecded1dbffce8af"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp/src/lib/mcp-telemetry.ts: 697 lines of code: packages/mcp/src/lib/mcp-telemetry.ts has 697 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-telemetry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58dae13432982b0b40e03c95f1a7111ec48c480b0284a66dec7545179303f4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/commands/setup.ts: 589 lines of code: packages/cli/src/commands/setup.ts has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/setup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1153cfd5173a6c2b0906856a20977867335cd2bf5e1bc1ddbcd5bae6c31b451e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp/src/lib/mcp-subscription-telemetry.ts: 535 lines of code: packages/mcp/src/lib/mcp-subscription-telemetry.ts has 535 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce601c88c4f7b62adbb2843c408b3c31876eb425a41888d2e8bdf07dbbc5c723"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/setup/agents.ts: 500 lines of code: packages/cli/src/setup/agents.ts has 500 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7833b2ed6e5c836157c03602e25143b038423b2bc29b6c7b11f4adc5d1279cab"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/mcp/src/lib/api.ts: 483 lines of code: packages/mcp/src/lib/api.ts has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/api.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bbfc0e86b42159d9db500e6b56781ab15ff9ae6f73d3487a4a2a816794755d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/commands/docs.ts: 480 lines of code: packages/cli/src/commands/docs.ts has 480 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/docs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f6031f401696e880c3d1c522f1f3623b9420e97136e24f9332d404945894ef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/utils/auth.ts: 461 lines of code: packages/cli/src/utils/auth.ts has 461 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/auth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"142a133f69a008d4cae05faa3b0468d63c32b7b107a2cdbedca5a5ab5eb6822e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/cli/src/commands/remove.ts: 460 lines of code: packages/cli/src/commands/remove.ts has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/remove.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"268ddfb1eb75af1996e39d3d6f16c0317e34ecd0380395f66b002978b44941f0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/admin-mcp/src/server.ts: 421 lines of code: packages/admin-mcp/src/server.ts has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"839935fc23b9cdaad7835f970b7b3ca389ffa73be2d47874a8fc4a48968fc970"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/admin-mcp/ui/src/pages/docs7.tsx: 411 lines of code: packages/admin-mcp/ui/src/pages/docs7.tsx has 411 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/pages/docs7.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"facd33b02c20b03729cd9b3d8364a8e6a2c94aa509f5456b2388b4e945430ecf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test rig can mount a component in this workspace: packages/cli/vitest.config.ts declares environment \u0022node\u0022, and no package here declares a DOM implementation (jsdom / happy-dom), a component testing library or a browser runner \u2014 so none of the 8 unreached component module(s) can be tested as written, however the suite is authored: packages/admin-mcp/ui/src/pages/docs7.tsx, packages/admin-mcp/ui/src/app.tsx, packages/admin-mcp/ui/src/pages/libraries.tsx, packages/admin-mcp/ui/src/components.tsx, packages/admin-mcp/ui/src/charts.tsx, packages/admin-mcp/ui/src/pages/usage.tsx and 2 more. Add a DOM environment and a component testing library (for example jsdom \u002B @testing-library, or the runner\u0027s browser mode), then test the components. Reported once because these files share one cause, not one omission each."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/vitest.config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87bac228466d9f5945635c21a48820389d972f47a8302f51b3b4a1a53e7c4f9f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ef4a69bdff35aa89fea7c0f0bddde326b5e3372c896d3a44fa3204c857ac34"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f524c9c05c740e60179eb18e9dbe0430eadadef4783c5a59c0d0a383f438555"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/opencode/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3b6dd7327dd00a8b40e9cb9087bd335908c9d15f9de16a52d1e2fe1404cb02"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"615101278bd2a4e76455e68d908c936f4e74e46b020ee4192902695a7e6c45ce"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/scripts/dev.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19465fd8089c8e452a6d77fae2535a4f878328237ec3d829bb1df01a4f0311e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37122efffe7343e7d48f4d47e4f4ad15476fefe7fd196b989601eaf3bd09b28"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/oauth-authorization-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9501c687f98615990584cc5b0271ccc7cea72819dc21e6bd9063450697f18e59"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/ping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b6f4c35ae19490c550dfb0c38e19df084c16700b065ecac511eb0b94129ed8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~8 LoC): no import path from any entry point (27 application, 23 tooling, 55 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af016ce2fb96b2e90881f7acdfd1456b56a588da303a1e3e967a60076faa480b"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~5 LoC): no import path from any entry point (27 application, 23 tooling, 55 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/oauth-authorization-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22f0969a6798428ab60cc60ef6f8ba038778845d217903a808e8a9c9be0272a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (27 application, 23 tooling, 55 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/api/ping.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"403272b802ebdfb819f614fad4b6a89cf8b8033db27d242bc74b6ab86c711702"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027terminalLink\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e30bd3e328d8e856322f17568e8f99e5c41dee1a0e7709f28204a822db57e3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatPopularity\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e326430e51b0cf40cb47c1b85362f89d9f6ebc222e5240d4db36aa37fea9d90"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatInstallRange\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2faa2ae7e2d244b028136ef850c9ce170b6c294a2f0f01f60301c7ebee966655"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatTrust\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e289c615f400f98b6ebfcbea1bc109092abe37fc5dd7706c67adb213326ace"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getTrustLabel\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/prompts.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"429922c6b5ed124c1949a9b2179120c9decef67cffef357a8d7034bc00b9b2d1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027McpTool\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/tool-names.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f046adc3c6fbce1072b7db2b436881487ac5e64c557bc2e8b4cbccd86f7f99a1"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060vercel.json\u0060 configures this repository\u0027s static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/vercel.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7ba00e73bc612dcb2e4584a8295c5b65066f90520b08a25455a506fe113bdd"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060app.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/index.ts"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e8b17edb01d75df58c6d188e50f386105a3782a4329f7a380491da3772ebea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!/^\\/(websites|llmstxt)\\//.test(result.id) \u0026\u0026 !result.branch?.startsWith(\u0022_\u0022)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/utils/api.ts, packages/mcp/src/lib/utils.ts. 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":"packages/cli/src/utils/api.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be3352b6dc31eb60f7bb4a651e88a9b27a2f96529e0dee52aac559b2b4388a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isJSONRPCNotification(message) || message.method !== \u0022notifications/cancelled\u0022\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/mcp-subscription-telemetry.ts, packages/mcp/src/lib/mcp-telemetry.ts. 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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49d804f25326817a312e4f212749c7322cec0bb60b1a25e3622a60cbcd1c4d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!searchResponse.results || searchResponse.results.length === 0\u0060 appears character-identically in 3 files \u2014 packages/mcp/src/lib/utils.ts, packages/pi/lib/format.ts, packages/pi/lib/tools/resolve-library-id.ts. 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":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad82c293c93f76d9b4059f27c7df8dd1491a6faac083c7b25db53b08b69b5511"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(seconds) \u0026\u0026 seconds \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/cli/src/utils/api.ts, packages/mcp/src/lib/api.ts. 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":"packages/cli/src/utils/api.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0216d085815ad4aba6460f3bc53a9d50fcaf93f546420e5842a0ee48e9769cdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 (error.name === \u0022TimeoutError\u0022 || error.name === \u0022AbortError\u0022)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/commands/auth.ts, packages/cli/src/utils/auth.ts. 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":"packages/cli/src/commands/auth.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49336878638c4b8166611487b112977d478a241315d069a7f207e402be8fbf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing.length \u003E 0 \u0026\u0026 !existing.endsWith(\u0022\\n\u0022)\u0060 appears character-identically in 2 files \u2014 packages/cli/src/commands/setup.ts, packages/cli/src/setup/mcp-writer.ts. 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":"packages/cli/src/commands/setup.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"965db8468a8bc7f031670ce3f5002f12264d63ada00c898fe6bf10840e62dfc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/mcp-subscription-telemetry.ts, packages/mcp/src/lib/mcp-telemetry.ts. 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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7637d2a50782e5bbfd795c076855e6ed67f72575fb567b56f60459b3cdf294d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options[name] || (options.t3 \u0026\u0026 (name === \u0022claude\u0022 || name === \u0022codex\u0022))\u0060 appears character-identically in 2 files \u2014 packages/cli/src/commands/remove.ts, packages/cli/src/commands/setup.ts. 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":"packages/cli/src/commands/remove.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3950cafbc5bbdc736eee603b9caaa8c9ac3f22c5975963f670cb0711e6b76e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.benchmarkScore !== undefined \u0026\u0026 result.benchmarkScore \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/utils.ts, packages/pi/lib/format.ts. 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":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d60641f16c48b898ab871d5cf41eee84bad8dfcab7717b3662bc5a5d6b4814"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.totalSnippets !== -1 \u0026\u0026 result.totalSnippets !== undefined\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/utils.ts, packages/pi/lib/format.ts. 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":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6806105ea5734d53556108533517d2ad192e766e3381ba695f70a9bb1cbf2fc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.versions !== undefined \u0026\u0026 result.versions.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/utils.ts, packages/pi/lib/format.ts. 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":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d8801fe54a013eb8f74260dff308dd97f80235b31a7390f6ffb5268397b3fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceReputation === undefined || sourceReputation \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/utils.ts, packages/pi/lib/format.ts. 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":"packages/mcp/src/lib/utils.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf82b79f9b71a93877a51e72006585887d502cc502d5a55da932a6ab0adca62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof bodyValue === \u0022number\u0022 \u0026\u0026 Number.isFinite(bodyValue) \u0026\u0026 bodyValue \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/cli/src/utils/api.ts, packages/mcp/src/lib/api.ts. 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":"packages/cli/src/utils/api.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7f3a2bc2ace602cbd2937d3f603eb641e6371c2b0b0b8b9a44992541b302a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof requestId === \u0022string\u0022 || typeof requestId === \u0022number\u0022\u0060 appears character-identically in 3 files \u2014 packages/admin-mcp/src/batch.ts, packages/mcp/src/lib/mcp-subscription-telemetry.ts, packages/mcp/src/lib/mcp-telemetry.ts. 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":"packages/admin-mcp/src/batch.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8ec67d2d70db9d7339352db1c318b68399d292407756e76d5611abd12776ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0022object\u0022 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 packages/mcp/src/lib/mcp-subscription-telemetry.ts, packages/mcp/src/lib/mcp-telemetry.ts. 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":"packages/mcp/src/lib/mcp-subscription-telemetry.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe8528c20b766cfabdf90fc763f4f29635e934d468f5a81521d0cab55b12701"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060formatResult\u0060 is exported, takes a document from its caller (line 115) and hands it to \u0060withoutNulls\u0060, which calls itself at line 127 (\u0060withoutNulls\u0060) with a piece of \u0060value\u0060 (and at line 132) \u2014 and nowhere in \u0060withoutNulls\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. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060withoutNulls\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"67319933487d06213caf542a7775521eb15455446e386c3669554a4026db4d9a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 14/19 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: searchLibraries: \u0060searchLibraries\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pi/lib/api.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7354942fff4123a672bc8cb053983b027d6e8344fdcaed00893720c1d37b61f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchLibraryContext: \u0060fetchLibraryContext\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pi/lib/api.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd34cd00184c2aa340c4791130e0d74159a831c5621ceba0c625d29da894f87"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchEntraConfig: \u0060fetchEntraConfig\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be565f22717d71875b6ad3e3ac6c51de2a1f3b8b2fd905f90958b90cbb92bf0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: resolveSetupApiKey: \u0060resolveSetupApiKey\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/auth.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1440a7cc954f67e016fcc1f36d9e7e0282b4119389c910b28713d5368b16ea"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRepoFile: \u0060fetchRepoFile\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/templates.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45b368bbcf786c102aa29643f33aa96b801932fca04ccf343aacba0938c8b7f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/pi/lib/api.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1c065d0b34cfb046a48ac98443f13d03ed053523c5d73146e7ef181876e3f5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/jwt.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5b84eaf528767aece5f9ef0ec4bc7a50e884220fe9340460f01526513c7045"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/oauth-audience.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7477023cb283cf163fa86e6e472b02db5096da834d29b89b2f891606b33053"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/oauth-audience.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b3586e968e5130233d33e3204c54c8fe5e96d84c24d87af40e6a913ee40492"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/process-shutdown.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afbb5ac6e0005aac5e5b50493a5f84098d9418ea1b156fb243e2b1da189571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/mcp/src/lib/auth/auth-prompt.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3828365ae1f72d9456073e83e3bdca2d9e418fff51feb403de0b2360e4203033"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/auth.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"914952eaa2dd4b5dce10f79906f2b42ba063a1c8cc0a89c5d02724f6f7e01b35"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/auth.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73e7024f4545902bdb6ca49b365232a5d42faefdd065daf8ea3610db57986b0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"51832ee4fb8b2781cdcf04cf2348b39f84edd7140852617ddc1190c2514312b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/file-lock.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"27369b0d758a068173bddf103ea2bed043e5def136733bc599c91875c6ba9444"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/storage-paths.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4ab714408f96104f83f5d31f4d0731c73fe35e5cba84f64c2df0179b5c0d2b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/storage-paths.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9134730ebdfe57e5ec499f1e035753ff75d8ebdd0cc19ed95204645e020144e8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/utils/tracking.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced2fa9c46b3380597b34f6edf2ee05c9272454f71937fc4be82cfdc700e088f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abc8396c552daf752700e0488d83d3bd2942186d84f083f2dd185178a6cfd80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/agents.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"a30c0e5b85449c2e69f54e8e710df94e08e70af445b0146a78a6df0fee70c030"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb1abbe0606d1ed22ea0a46e90bad641f84408ffce818bd1b6fe24933e0fa16"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/mcp-writer.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"24908c8fffbeebf0ddaf780e02301c3e1d9ef3a4a79c6f448a457ca3fce8ab21"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\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, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/setup/templates.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a40c448ffac119a7f20eb72c2061234350a830108e7726233ad7dead81ef3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/cli/src/commands/setup.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c46ee39381bbabc4d7f8a5a0cd6a8fb18d2cddc88c9a574810a19e4ab20463"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"832ca1e75e88a8bb01594eb393ba22c1c96a55c14743d93b90312eaea3958ec2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/host.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a6b2e1cdfcbe159f1c8138702578732fc7eaa57f5abd5db7eb20bd6551e469"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/app.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d54408fb449b2189f06b30b6cdfc350e6878d0fe43f65d550f69c96e0a13712"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/ui/src/components.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7927a5a65dcd2984aab236c3e0c18fb240aad6b5a3a2d8b1086442d7eb9feb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/admin-mcp/src/server.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd65d365d3fdd19b2d6a20877de650510f0099ab97df00ec6f6659157fca98a"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.5 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 28 assertion(s) across the 18904 source line(s) of the 113 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: packages/admin-mcp/ui/src/pages/usage.tsx (6), packages/admin-mcp/ui/src/pages/docs7.tsx (5), packages/admin-mcp/src/tools.ts (4). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060announceIdentity\u0060 swallows every exception into \u0060return \u0022Login successful!\u0022\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":"packages/cli/src/commands/auth.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"272545a20d2d1b31d5eae1f272c0cbac909a6cb4f9f2f7140c1ffa1c3fe63709"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readUpdateState\u0060 swallows every exception into \u0060return {}\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":"packages/cli/src/utils/update-check.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dca78d0464e558613becff0eb3a8a91b0688cbfef3615339875b764cb5120a"}}],"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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.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-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.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-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.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-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.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"}]},{"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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"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/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"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":62,"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."]}]}