{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D33","name":"JS/npm Dependency Vulnerabilities","shortDescription":{"text":"JS/npm Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D33","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"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"]}],"properties":{"cwe":["CWE-1059"]}},{"id":"D38","name":"OSV Dependency Vulnerabilities","shortDescription":{"text":"OSV Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D38","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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"cmd.runServe (cyclomatic 93): cmd.runServe has cyclomatic complexity 93 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 20 belong to 10 function literals inside it that branch. 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":"cmd/duragraph/cmd/serve.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2700fbe8dd3c08ac0017dbf9bab92ca79a38033e30288db503d5ea00735c6948"}},{"ruleId":"D1","level":"warning","message":{"text":"RunService.ExecuteRun (cyclomatic 25): RunService.ExecuteRun has cyclomatic complexity 25 (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":"internal/application/service/run_service.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4992653c16f042fe6dede39b6f25d3b2bf82a54d7cb70b38d953dea05bb4ff7"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkerHandler.ReceiveEvent (cyclomatic 23): WorkerHandler.ReceiveEvent has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/worker.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db1da0ea5615b573febc639063df23f8c9f7bb24d5266f9705823051a88393"}},{"ruleId":"D1","level":"warning","message":{"text":"SubgraphNodeExecutor.Execute (cyclomatic 22): SubgraphNodeExecutor.Execute has cyclomatic complexity 22 (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":"internal/domain/execution/node.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e31c7666e20855153286d1c97c83938ca45ae3e3883eb43627c281be17145a"}},{"ruleId":"D1","level":"warning","message":{"text":"Runner.ProcessOne (cyclomatic 21): Runner.ProcessOne has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/worker/runner.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d5897959fb119358e57d2f9187d5a0d980136d88a67a5b2bd0d532c3f308b3"}},{"ruleId":"D1","level":"warning","message":{"text":"config.Load (cyclomatic 20): config.Load has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d48e9a2bc01ff18f20ea1c695d9f3a3b233bc10075d8d7cdd9e8ce9e0776ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"CronHandler.UpdateCron (cyclomatic 20): CronHandler.UpdateCron has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ff35a080a98b7047b7eb2e617638ec594e4147c09e7b2b0698750ebe1ff509"}},{"ruleId":"D1","level":"warning","message":{"text":"middleware.JWT (cyclomatic 20): middleware.JWT has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 36). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/middleware/auth.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105cc273f6a14f7ff3bc381560f9e25d372cee6d8155d42400ed7c1b75a7aa2"}},{"ruleId":"D1","level":"warning","message":{"text":"ApproveUserHandler.Handle (cyclomatic 19): ApproveUserHandler.Handle has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/command/approve_user.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a44ff8fee4239c76177eab840443f82dbd06526484019df2a567dbc357f1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Engine.executePlan (cyclomatic 19): Engine.executePlan 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":"internal/infrastructure/graph/engine.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a826ec2a740dee73aff2817775d7a0edd0f4e5783e41b61f10f5383eb496ecf5"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 17): main.run has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/worker/main.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"948d7343f22441def646a43a6a192292d61211357311520a3ed84f150dfa5810"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.Shutdown (cyclomatic 17): Server.Shutdown has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/server/server.go"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabdb7e2d36b0ba849346c354e304d2b4574bb4abe5e0892829a681563d1b161"}},{"ruleId":"D1","level":"warning","message":{"text":"initpkg.Scaffold (cyclomatic 17): initpkg.Scaffold has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 101). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dev/init/init.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9f64f8aff048bb480462a2a61d4db643c3e22a113466c00b4d9fc801e2edfb"}},{"ruleId":"D1","level":"warning","message":{"text":"RunHandler.ResumeRun (cyclomatic 17): RunHandler.ResumeRun 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":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81bbe6cf1ddbd1b5b4cf60e34b176c52990be5bcd9f85ce8128c2e32e1e7d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"AnthropicClient.CompleteStream (cyclomatic 17): AnthropicClient.CompleteStream 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":"internal/infrastructure/llm/anthropic.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d00df45d4e8640a898e5e61f0f3a923adcce8dfe07e9e3115625f1fcb9e65ed"}},{"ruleId":"D1","level":"warning","message":{"text":"EventFormatter.ShouldSend (cyclomatic 17): EventFormatter.ShouldSend has cyclomatic complexity 17 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/streaming/formatter.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5efd14269c2d24dd40970034f847beb528287cb087784823e25023e6423b387"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkerService.UpdateRunStatus (cyclomatic 16): WorkerService.UpdateRunStatus 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":"internal/application/service/worker_service.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85bf3d95be4bee963f69465518b8efbc5bf0ae0cadeb86612aebc3f38cde394"}},{"ruleId":"D1","level":"warning","message":{"text":"watch.ScanGraphs (cyclomatic 16): watch.ScanGraphs has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dev/watch/scanner.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"510fc926707ff615503b9a9253937c132b0ead2014bfbb86678becd04bc05257"}},{"ruleId":"D1","level":"warning","message":{"text":"Watcher.Run (cyclomatic 16): Watcher.Run 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":"internal/dev/watch/watch.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e9a2c29e150a20905f209c4f926159fdc2f71a3a911e39f080b6ff52f5a8e7"}},{"ruleId":"D2","level":"warning","message":{"text":"cmd.runServe (cognitive 155): cmd.runServe has cognitive complexity 155 (threshold 15). Drivers by points: if/else 141, boolean chains 6, loops 4, match/switch 4 (nesting depth added 62). Of this number, 125 points are the body\u0027s own statements and 30 belong to 10 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":"cmd/duragraph/cmd/serve.go"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"294d1f76db916a0d1c4bb01a21d4251cd4b11a8b30fdd2ef48a19328a34d92ca"}},{"ruleId":"D2","level":"warning","message":{"text":"GetSubgraphsHandler.HandleByNamespace (cognitive 46): GetSubgraphsHandler.HandleByNamespace has cognitive complexity 46 (threshold 15). Drivers by points: if/else 35, loops 11 (nesting depth added 32). 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":"internal/application/query/get_subgraphs.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1404a756538952591b078a6bf40da4b56f77f1272355607055ac3ee55fcc90"}},{"ruleId":"D2","level":"warning","message":{"text":"Runner.ProcessOne (cognitive 39): Runner.ProcessOne has cognitive complexity 39 (threshold 15). Drivers by points: if/else 37, boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/worker/runner.go"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ea732cb7f1345cb00d09bb5f82ff2e596ddc448d70702e33c9ffcb7dfa4684"}},{"ruleId":"D2","level":"warning","message":{"text":"SubgraphNodeExecutor.Execute (cognitive 37): SubgraphNodeExecutor.Execute has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, loops 12, 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":"internal/domain/execution/node.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c60daa14cf5134bda9d4ba4e567cd78977e5a0f7395efee82acd2dbbdec10"}},{"ruleId":"D2","level":"warning","message":{"text":"AnthropicClient.CompleteStream (cognitive 36): AnthropicClient.CompleteStream has cognitive complexity 36 (threshold 15). Drivers by points: if/else 32, loops 2, match/switch 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/llm/anthropic.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab34d865511f9198f44343a55c9dff0ca5f27e021914cf00158ebba29d73d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"RunService.ExecuteRun (cognitive 35): RunService.ExecuteRun has cognitive complexity 35 (threshold 15). Drivers by points: if/else 32, boolean chains 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/service/run_service.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"312afc36d908f95c44cf758e26f2b5c2bf5fa876fa655114df164f6eece3184e"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.readSSEStream (cognitive 34): openai.readSSEStream has cognitive complexity 34 (threshold 15). Drivers by points: if/else 28, loops 4, boolean chains 2 (nesting depth added 23). 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":"go-sdk/llm/openai/openai.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa40843652336edaa7b459edf13fad0f4e265e1f89cc77815067c9d5bd837b00"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.executePlan (cognitive 34): Engine.executePlan has cognitive complexity 34 (threshold 15). Drivers by points: if/else 23, loops 5, boolean chains 4, match/switch 2 (nesting depth added 16). 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":"internal/infrastructure/graph/engine.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"344444b6c6781de38c425a333eaf21163dc8f6ea68697758b428ba4ab34e0a70"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthManager.getUserInfo (cognitive 32): OAuthManager.getUserInfo has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, loops 5, boolean chains 1, match/switch 1 (nesting depth added 20). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/auth/oauth.go"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"911860b7d90044d6db3ee7967ea7db72488e9ed34a673724f9df38f8957a794e"}},{"ruleId":"D2","level":"warning","message":{"text":"middleware.JWT (cognitive 31): middleware.JWT has cognitive complexity 31 (threshold 15). Drivers by points: if/else 24, loops 6, boolean chains 1 (nesting depth added 12). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to one function literal inside it that branches (line 36). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/middleware/auth.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"272c0caf6d54d2ccfd9e97571f777313827d61b0d8ce60aac1479758e527ca98"}},{"ruleId":"D2","level":"warning","message":{"text":"RunHandler.ResumeRun (cognitive 30): RunHandler.ResumeRun has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21, match/switch 5, loops 3, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"12948663ac223cd6a66713d3e83ed6fe93bb8fa581c5e771e9d57475f3967b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerHandler.ReceiveEvent (cognitive 28): WorkerHandler.ReceiveEvent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 27, match/switch 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":"internal/infrastructure/http/handlers/worker.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f45b918124569c1ded373b711ac569573222023fa2d184a475ae565c5ebcab3"}},{"ruleId":"D2","level":"warning","message":{"text":"config.Load (cognitive 26): config.Load has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 7 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"723693bacaee35a260aec5925ffdd99beb99544c2a95b5c7d5505a7be7975627"}},{"ruleId":"D2","level":"warning","message":{"text":"Relay.Start (cognitive 25): Relay.Start has cognitive complexity 25 (threshold 15). Drivers by points: if/else 22, boolean chains 2, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/relay.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c927fadf7554d7a0077e7e141a61afc5c7f7363a07c53c963e811ccf51fb35e3"}},{"ruleId":"D2","level":"warning","message":{"text":"CronHandler.UpdateCron (cognitive 25): CronHandler.UpdateCron has cognitive complexity 25 (threshold 15). Drivers by points: if/else 24, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c839ecbe4e8dc1c02279d608c948bae44b685466bab51bb297c72cf542815f"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIClient.CompleteStream (cognitive 25): OpenAIClient.CompleteStream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 20, loops 4, boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/llm/openai.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"878e9025cd632d2dcc0cad67fd50b142379cabb9d5b4140aab95f5590e8ce314"}},{"ruleId":"D2","level":"warning","message":{"text":"OutboxRelay.Start (cognitive 23): OutboxRelay.Start has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/messaging/outbox_relay.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e69a9227c88cf55695b8578b001a2bbc8f35ccf385cea89bf478adbe18abc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.New (cognitive 22): server.New has cognitive complexity 22 (threshold 15). Drivers by points: if/else 21, 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":"controlplane/server/server.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bcf02c24a5aa7210ec40fbe5fbe8662a931f92b92aa32a06aeed1746cb09d8"}},{"ruleId":"D2","level":"warning","message":{"text":"RunHandler.streamRunEvents (cognitive 22): RunHandler.streamRunEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, match/switch 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"71173fb5838bbf99c8dab5814a5be1428a2a0fd556bcd898c98527a433a66337"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamHandler.streamByRunID (cognitive 22): StreamHandler.streamByRunID has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, match/switch 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/stream.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec506c1dceeabeaf3385d3616bc9f556357a79e8764b99c527d4cd1e985cd94"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamHandler.streamByThreadID (cognitive 22): StreamHandler.streamByThreadID has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, match/switch 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/stream.go"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d50af55bab9845bcbd1e1e9941240995488094ad96126ba0bc41ecfebe20fc7"}},{"ruleId":"D2","level":"warning","message":{"text":"ApproveUserHandler.Handle (cognitive 21): ApproveUserHandler.Handle has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 2 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/command/approve_user.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"94350dd63d5bf08996c9a9e242f1dc6a223f6232266126fdbad766bb1cb63022"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.buildGraphFromInline (cognitive 21): Engine.buildGraphFromInline has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (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":"internal/infrastructure/graph/engine.go"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"2257fbb8f90fc775b129ac8e0914b44ab817c949418a457a275235062fd7898e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.toView (cognitive 20): main.toView has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, match/switch 4, boolean chains 2, 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":"controlplane/gen/main.go"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63979110a5315b1248e020c6b4f65abec7823832bd2de9fd2b7888b8bdce576"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.parseSSE (cognitive 20): cli.parseSSE has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, boolean chains 2, match/switch 2, loops 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 2 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":"internal/dev/cli/client.go"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c82833cbce07e8e8a21811d4a0ac1308d2b56ec277a4271f697f5275bd9d0ff"}},{"ruleId":"D2","level":"warning","message":{"text":"initpkg.Scaffold (cognitive 20): initpkg.Scaffold has cognitive complexity 20 (threshold 15). Drivers by points: if/else 20 (nesting depth added 3). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 101). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dev/init/init.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d45245b746b133c1a9269a39b71449b66189c66acd6845f2d16b0daa75833fc"}},{"ruleId":"D2","level":"warning","message":{"text":"workflow.validateGraph (cognitive 20): workflow.validateGraph has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/domain/workflow/graph.go"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"59291a395df954e8c9d31e1f1fc0d414f29af365f58b22420f81e1a6779705cf"}},{"ruleId":"D2","level":"warning","message":{"text":"Worker.pollLoop (cognitive 18): Worker.pollLoop has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, match/switch 6, loops 4, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go-sdk/worker/worker.go"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d28585d2a67bdf5cc8a87f8df51c2c9b6f1d025049f52e72ad9cf8f78bf9b2"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 18): main.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, match/switch 3 (nesting depth added 4). 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":"cmd/worker/main.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"16664cc1bdcf280f740475768d515905867e0b1614ca25a07915b2249b516758"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerService.MonitorExpiredLeases (cognitive 18): WorkerService.MonitorExpiredLeases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, 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":"internal/application/service/worker_service.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf144ff876388786fa7071e3744facac3afca6d4ae3108baeef5a545ec1b2da"}},{"ruleId":"D2","level":"warning","message":{"text":"Watcher.Run (cognitive 18): Watcher.Run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 2, match/switch 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":"internal/dev/watch/watch.go"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"843af25f79f60f3e35125bcf83e854d3e7362b93318c1951eee9361c6ae55759"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMExecutor.extractMessages (cognitive 18): LLMExecutor.extractMessages has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/execution/llm_executor.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1b19cde415a5b9838d6b96d1c4eff4fb83b3a8f95a7a5f0a824df25e4b3433"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerService.UpdateRunStatus (cognitive 17): WorkerService.UpdateRunStatus has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, boolean chains 2, match/switch 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":"internal/application/service/worker_service.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc19878c1680a47745806927ab70c322a4b1f7be2efc32e435c730de28d232b3"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 16): main.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 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":"controlplane/gen/main.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f67a477009f1f60006657dfff125106071aca6202718c20d7c94fd546a13d"}},{"ruleId":"D2","level":"warning","message":{"text":"RunService.ResumeRunWithInput (cognitive 16): RunService.ResumeRunWithInput has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 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":"internal/application/service/run_service.go"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e102892e698a94c9f10fc454ee66b1bd2ca41005ee502a0c984565da26f918"}},{"ruleId":"D2","level":"warning","message":{"text":"watch.ScanGraphs (cognitive 16): watch.ScanGraphs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). The decisions are inside the literal, 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 literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dev/watch/scanner.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"844a48d4240f6ca89c70983ae7eac80fe14b2e50cf860ee42a97d7b4a701469e"}},{"ruleId":"D2","level":"warning","message":{"text":"MimirClient.Query (cognitive 16): MimirClient.Query has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/admin/metrics.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf2d0e87e3a97bbef6edaa719075042ffc6d8087b3ce3f7248d7b054d97f4a0"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.Callback (cognitive 16): Handler.Callback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/auth/handler.go"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b738e6946ebca8885681b1c9a354f70936e2fdf7b74f413e5529e3554e247d"}},{"ruleId":"D2","level":"warning","message":{"text":"EventFormatter.ShouldSend (cognitive 16): EventFormatter.ShouldSend has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 3, match/switch 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/streaming/formatter.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0269332b5168a4eb743ad3c747923b61bdaca11b4a887c1985d6475966b482cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: handlers/run.go: FileTooLong \u2014 682 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b4c452bbb596ca0d48716028f23327cf2fea7929c42c59d89b3d7ff0e825e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: cmd/serve.go: FileTooLong \u2014 678 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"cmd/duragraph/cmd/serve.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba07f67f227a95ce3c11d4c0b3c825a11217fc35497d21bced7d2a2ecfdd3f1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Client: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go-sdk/client/client.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcadd5b88010580f2b54219e6bc316602c377c5a501751dc8c0d1c64a636a07f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Run: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/domain/run/run.go"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5519ab8dafa4c6f9ea5cda1b9d4a0e886ac58f1f5a215ef867189bdafbea3dd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:96-111 | internal/infrastructure/http/handlers/run.go:423-438 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:96\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b91e691527135e74fea079510da0bb0bf2377a6615d5582c373b851ffa12c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:239-254 | internal/infrastructure/http/handlers/run.go:949-964 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c6a1d00ecb67fd2941102fa48b91ced7081fed83923f394a614f217d670a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/infrastructure/persistence/postgres/tenant_repository.go:213-228 | internal/infrastructure/persistence/postgres/tenant_repository.go:252-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/tenant_repository.go:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/tenant_repository.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c1bdc798b80f44cb3106ede8eb83e90c3b42432655687c47052a86f5a9ee0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): internal/infrastructure/persistence/postgres/thread_repository.go:62-77 | internal/infrastructure/persistence/postgres/thread_repository.go:255-270 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/thread_repository.go:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/thread_repository.go"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"291f1f9c37e83506eee6c7553f1dc3cd04c15e152c5cba053891a1ae3412a9da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): internal/infrastructure/http/handlers/run.go:160-174 | internal/infrastructure/http/handlers/run.go:239-253 | internal/infrastructure/http/handlers/run.go:949-963 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34b7bddf8e274171eab46a4b27a5e8d98f8c31e3bc5700ee5d7f11a4aaf485b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): controlplane/nats/relay.go:180-194 | internal/infrastructure/messaging/outbox_relay.go:158-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/nats/relay.go:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/relay.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cea738285133e45bc62bdbe13d8a8f5ba207d7eb7339557fb20a61824279024"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:263-277 | internal/infrastructure/http/handlers/run.go:351-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:263\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d7d77854cba57c67afba9b634a1ad22ea928eab92cf13755e38dc9ae1bf19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:458-472 | internal/infrastructure/http/handlers/run.go:978-992 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:458\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d069f981b9116252792036b4d664b3c9d3919900e736f7c5500133c53649e65e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:529-543 | internal/infrastructure/http/handlers/stream.go:107-121 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/run.go:529\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6ecdbd6d12b587e0a504321a9b716a3b01ae3a5fc17c21ad55797375fb68e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): internal/infrastructure/persistence/postgres/run_repository.go:134-150 | internal/infrastructure/persistence/postgres/run_repository.go:517-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/run_repository.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f38637f42a286ee0313c130e64ce687a64a053d6d578361f06000c23d4243c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/infrastructure/http/handlers/stream.go:81-94 | internal/infrastructure/http/handlers/stream.go:168-181 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/stream.go:81\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/stream.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caa9b24bf21394a4c1c419a73efd07c634038ae09f01fb5ee11d05e7d7f49eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/infrastructure/llm/openai.go:56-69 | internal/infrastructure/llm/openai.go:132-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/llm/openai.go:56\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/llm/openai.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a8f24255e2df5ccb0c964e897c4b6606c7a215980d9640192a13f657134519"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): internal/infrastructure/persistence/postgres/assistant_repository.go:233-246 | internal/infrastructure/persistence/postgres/thread_repository.go:311-324 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/assistant_repository.go:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/assistant_repository.go"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13359587213690d62016f7890ca47717e01064e038905f7b6282341507a0c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): controlplane/nats/subscriber.go:66-78 | internal/infrastructure/messaging/nats/subscriber.go:59-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/nats/subscriber.go:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/subscriber.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"192ef08c3aacf55ce7ef0398f9e511a5e9da9ced8e092a47e63d2ef5eece897d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/http/handlers/admin/handler.go:273-285 | internal/infrastructure/http/handlers/admin/handler.go:301-313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/admin/handler.go:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/admin/handler.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"4001e7b65382f8596df53635be41a563e1b8b9bb2d216589c76592e64d9d379f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:265-277 | internal/infrastructure/http/handlers/thread.go:268-280 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:265\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18bcce7f9f31ff4ad45bc26598e62d7f70c2ef8b93b75e43d1560e8f3d9ced0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:308-320 | internal/infrastructure/http/handlers/thread.go:307-319 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:308\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6aacfb8e3f26c4e66e51df424ee90ff33746da6b2abf8e16f2ff865cef6e0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:478-490 | internal/infrastructure/http/handlers/assistant.go:544-556 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:478\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0e051445a9121393a93f083ff8cc1f8c15bfbfbc6f09176b37fcb64df119aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/http/handlers/store.go:27-39 | internal/infrastructure/http/handlers/store.go:112-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/store.go:27\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/store.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3970941e9e59866118b5701edc65344c319be31d55cb196dd10935d01f7ef87a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/llm/anthropic.go:31-43 | internal/infrastructure/llm/anthropic.go:112-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/llm/anthropic.go:31\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/llm/anthropic.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf2ef56a6fb243991d879180ce29126a518a95264364ccef8df1cfae89d1aaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/llm/openai.go:37-49 | internal/infrastructure/llm/openai.go:112-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/llm/openai.go:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/llm/openai.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0ce0c9b5febfced3984872743e714df849ed5733e7a434852c4148939d5a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): internal/infrastructure/persistence/postgres/tenant_repository.go:236-248 | internal/infrastructure/persistence/postgres/tenant_repository.go:272-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/tenant_repository.go:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/tenant_repository.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a66015034098a40545f8fafd0ea9c3825dc8f8d6ef12975b8c6c79c4c5d711"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): internal/infrastructure/http/handlers/admin/handler.go:245-256 | internal/infrastructure/http/handlers/admin/handler.go:272-283 | internal/infrastructure/http/handlers/admin/handler.go:300-311 | internal/infrastructure/http/handlers/admin/handler.go:328-339 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/admin/handler.go:245\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/admin/handler.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"d464be66af1e3158a185003b74a0ecc4fd7878bd771a7fd8e83fcdb81e3f3d63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): internal/infrastructure/http/handlers/assistant.go:251-263 | internal/infrastructure/http/handlers/thread.go:254-266 | internal/infrastructure/http/handlers/thread_state.go:194-205 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:251\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ab73d718760b8e747b3ad1fdbdb4a84b2cad58e22b59969c9d74aeea212126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/application/query/get_subgraphs.go:36-48 | internal/application/query/get_subgraphs.go:82-93 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/application/query/get_subgraphs.go:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/query/get_subgraphs.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cd465af9591cee0afa35ef88c9a760a5093bd8ad3397619a2713b5446bc487"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/domain/execution/node.go:130-141 | internal/domain/execution/node.go:168-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/domain/execution/node.go:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/domain/execution/node.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b87d993eb070bd36164d7e30c25930a560fa448210efceb8e60b9dc0bcd43d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:150-161 | internal/infrastructure/http/handlers/thread.go:111-122 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"097de19382ad23d7b3fd99f512aba2dfa9b0a88ff15fd0319b0820eae5dd34e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/infrastructure/persistence/postgres/cron_repository.go:159-170 | internal/infrastructure/persistence/postgres/cron_repository.go:204-215 \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":"internal/infrastructure/persistence/postgres/cron_repository.go"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14df00015e602382b7292d0e2ba2bb757efca0735f587e850f68f3a42beb70b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/infrastructure/persistence/postgres/interrupt_repository.go:126-137 | internal/infrastructure/persistence/postgres/interrupt_repository.go:168-179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/interrupt_repository.go:126\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/interrupt_repository.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7453ff215c211be74cec4ffdbac882f065c756a3d550b0fee51e1cf34d8f7c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): internal/infrastructure/persistence/postgres/user_repository.go:271-282 | internal/infrastructure/persistence/postgres/user_repository.go:342-353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/user_repository.go:271\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/user_repository.go"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b05e67e3528a4508878dc767fcbf3f3f89dc0c29e5d1c041515e50fedb77462"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/application/service/run_service.go:318-328 | internal/application/service/run_service.go:338-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/application/service/run_service.go:318\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/service/run_service.go"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d008f1b82a9ee0cf5ef29b36a8a9db0a146f2a584bcd735e0b5dad5ee348ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:213-223 | internal/infrastructure/http/handlers/thread.go:166-176 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:213\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86027f2eacc405f13a24f644a4c7b03fbe95859756c87bd56ddc265834bd1d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:236-246 | internal/infrastructure/http/handlers/thread.go:239-249 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:236\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7579f0f3ded6bdd0f2f9f7c0ce523febb0c1b35c949d827caca86222379081"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/http/handlers/thread.go:125-135 | internal/infrastructure/http/handlers/thread.go:275-285 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/thread.go:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/thread.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e14c6287dd5f7d5444b0ed2bef38fa9d6c61a79a9a8f9facc837989e010fc83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/http/handlers/thread_state.go:49-59 | internal/infrastructure/http/handlers/thread_state.go:74-84 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/thread_state.go:49\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/thread_state.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65f71b3e0f8bfd42a6ee5701c645692484920d929594392fd87cf7c5a910b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/http/handlers/thread_state.go:167-177 | internal/infrastructure/http/handlers/thread_state.go:210-220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/thread_state.go:167\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/thread_state.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4798838cca460869d76029e60c1b490ed90429d9075a0dbef422daa9a4104c4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/assistant_repository.go:101-111 | internal/infrastructure/persistence/postgres/assistant_repository.go:152-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/assistant_repository.go:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/assistant_repository.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c601235451d36a27ee8db1dc27ceb392cce14e0f6727df62d035924e89935109"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/assistant_repository.go:300-310 | internal/infrastructure/persistence/postgres/thread_repository.go:373-383 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/assistant_repository.go:300\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/assistant_repository.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff6dec3badfa3821a030d27b1343976d189f04ccb5d49e4b397bfab5dc86103"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/run_repository.go:82-92 | internal/infrastructure/persistence/postgres/run_repository.go:439-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/run_repository.go:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/run_repository.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"94fcd3cfa31f3ec8e0f5d92e811e96c12fb4ca8c7746ea7cb8414e19990ad721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/run_repository.go:186-196 | internal/infrastructure/persistence/postgres/run_repository.go:253-263 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/run_repository.go:186\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/run_repository.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3d6d0a2d3e6874b698afaa228fb567301bcc68347b4b0869dc7e3435ab751a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/thread_repository.go:180-190 | internal/infrastructure/persistence/postgres/thread_repository.go:338-348 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/thread_repository.go:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/thread_repository.go"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78bf7a5127574ba96286570480f57cb673945fd3d585b95ce740f251c698c36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): internal/infrastructure/persistence/postgres/thread_repository.go:305-315 | internal/infrastructure/persistence/postgres/thread_repository.go:367-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/thread_repository.go:305\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/thread_repository.go"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c08d896554bf1a16dc0194e688c0dc00dc0deaba7cb897b2d98a18513365e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7): internal/infrastructure/http/handlers/cron.go:44-53 | internal/infrastructure/http/handlers/run.go:71-83 | internal/infrastructure/http/handlers/run.go:159-170 | internal/infrastructure/http/handlers/run.go:238-249 | internal/infrastructure/http/handlers/run.go:312-323 | internal/infrastructure/http/handlers/run.go:399-410 | internal/infrastructure/http/handlers/run.go:948-959 \u2014 there are 7 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/cron.go:44\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d05445bfc46eb808a840a68ba7673b579f256540b21124bad822ab09b13b15e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controlplane/nats/relay.go:160-169 | internal/infrastructure/messaging/outbox_relay.go:131-142 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/nats/relay.go:160\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/relay.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b52a78bccea4f0368b3a089ea072b10fd54b4560e05d986c44352e865abe775b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/assistant_repository.go:68-78 | internal/infrastructure/persistence/postgres/assistant_repository.go:200-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/assistant_repository.go:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/assistant_repository.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbe86f880c3d3ef9966b2e67f1c63cf1b2c5a3b5b0d21bc94d87529976f50e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/assistant_repository.go:146-155 | internal/infrastructure/persistence/postgres/assistant_repository.go:270-279 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/assistant_repository.go:146\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/assistant_repository.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef063e3d299c7c193f0b5cfa7b942fe53f00b54ebfdb9c4fdfc34f93d585dfb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/graph_repository.go:68-78 | internal/infrastructure/persistence/postgres/graph_repository.go:220-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/graph_repository.go:68\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/graph_repository.go"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9872d0c71c22de7a843488ce729264dba516ffb14e00df546dbb761ce9165440"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/graph_repository.go:104-113 | internal/infrastructure/persistence/postgres/graph_repository.go:182-191 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/graph_repository.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"68059f86a448b555d0ca45c3d9085d0853acd2483cd38ea5b3f1590a2324d19d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/interrupt_repository.go:66-76 | internal/infrastructure/persistence/postgres/interrupt_repository.go:221-230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/interrupt_repository.go:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/interrupt_repository.go"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72fc075672c54800cef9358a54ae99dd4f2a2eb2c129e1ae962a16215f24f8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): internal/infrastructure/persistence/postgres/thread_repository.go:87-97 | internal/infrastructure/persistence/postgres/thread_repository.go:278-287 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/thread_repository.go:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/thread_repository.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6131bee408d3bb5f940e8fade21cab44acd56d56906c0c9240dae1f5c0212fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): internal/application/query/list_runs.go:55-63 | internal/infrastructure/http/handlers/run.go:289-297 | internal/infrastructure/http/handlers/run.go:377-385 | internal/infrastructure/http/handlers/run.go:657-665 \u2014 there are 4 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/application/query/list_runs.go:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/query/list_runs.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8420de84568e3e29feb12ba9def49f5f4d8f40f455b4a06dcaf2138be6ddc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): go-sdk/llm/openai/openai.go:103-111 | go-sdk/llm/openai/openai.go:174-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060go-sdk/llm/openai/openai.go:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"go-sdk/llm/openai/openai.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fda4d2a9be0a05167a0dab11fccfb6447ebd264c5bf6b73da4a27bbac4f2da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): controlplane/nats/relay.go:132-140 | internal/infrastructure/messaging/outbox_relay.go:102-110 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/nats/relay.go:132\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/relay.go"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df2b3d7502781fed6d99ed65ae3003e276a0cfd14a883164bb3727f37f19ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/application/query/get_thread_state.go:48-56 | internal/application/query/get_thread_state.go:66-74 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/application/query/get_thread_state.go"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0ba35f441c1c4fa11af6aa5c6a48199ae44e164362f181ac6703376b8ab822"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/infrastructure/http/handlers/cron.go:213-221 | internal/infrastructure/http/handlers/cron.go:243-251 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/cron.go:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"db57182ce3e15c9feb1000d967f6263bc272ed7e1754e52b9340c9a449a89633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): internal/infrastructure/persistence/postgres/run_repository.go:342-350 | internal/infrastructure/persistence/postgres/run_repository.go:506-514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/run_repository.go:342\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/run_repository.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94a68df795c3903b6586bf8736c3ae5689b49430d003dcfeb3ac24465f6cb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/domain/execution/state.go:114-121 | internal/domain/execution/state.go:139-146 \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":"internal/domain/execution/state.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d956ceb5498e810eebf4e744c1d572d36b994867c7c9af253e17cc17e2199dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/infrastructure/http/handlers/assistant.go:299-306 | internal/infrastructure/http/handlers/thread.go:298-305 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/assistant.go:299\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/assistant.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d673c1648bbf5f45a4d9ec996543d02865f5cbd9ceff9a7548176cce3b40afc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/infrastructure/http/handlers/cron.go:243-250 | internal/infrastructure/http/handlers/store.go:83-92 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/handlers/cron.go:243\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"037c9eaa68e02d67eeb5101645453ae243b024a70dbd2ac292224b9b78a1d40a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): internal/infrastructure/http/handlers/run.go:971-978 | internal/infrastructure/http/handlers/run.go:1029-1036 \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":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"9897423469a0659155bd3cc36a311ee9055ebba0b5b2edbb5a35f929220d8716"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/infrastructure/http/handlers/cron.go:261-267 | internal/infrastructure/http/handlers/store.go:144-151 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/cron.go"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df5cb5008e389677b8b70adfdb24b0873d07b59e0dd9502a41f062efafe4436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/infrastructure/http/handlers/stream.go:74-80 | internal/infrastructure/http/handlers/stream.go:161-167 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/stream.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5382261136555945f0682f2860d40ac8875051b42e5de94ee29ffcd817e267a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/infrastructure/http/middleware/ratelimit_simple.go:71-77 | internal/infrastructure/http/middleware/ratelimit_simple.go:209-215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/http/middleware/ratelimit_simple.go:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/middleware/ratelimit_simple.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"711bb74325e13fb1efb13f623fbe4d6be502519a4d1141302cbe526cbb755a0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/infrastructure/http/middleware/ratelimit_simple.go:176-182 | internal/infrastructure/http/middleware/ratelimit_simple.go:241-247 \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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/middleware/ratelimit_simple.go"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa896ed6e6e535411e7dcb8966c4fec695772600054840d4caca45c091097d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): internal/infrastructure/persistence/postgres/run_repository.go:121-128 | internal/infrastructure/persistence/postgres/run_repository.go:505-511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060internal/infrastructure/persistence/postgres/run_repository.go:121\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/persistence/postgres/run_repository.go"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f3a1309a18b4f0390ed25015afda69c934e94ffcbb540c21fad7dfa6e022eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controlplane/endpoints/store.go:50-56 | controlplane/endpoints/workers.go:254-260 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/endpoints/store.go"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0006a1b5af523ee3a44fb2b4a42f7823e7ef0e58600a04d16b94964675a90b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): controlplane/endpoints/workers.go:250-256 | controlplane/endpoints/workers.go:274-280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controlplane/endpoints/workers.go:250\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/endpoints/workers.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a3e9c6b51caa91921353d39d4d92a3b44fac942548e0ce08ad896fae7f2659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): internal/infrastructure/http/handlers/run.go:481-486 | internal/infrastructure/http/handlers/stream.go:70-75 | internal/infrastructure/http/handlers/stream.go:157-162 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/infrastructure/http/handlers/run.go"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"24075a16dc2a3cce3449e08c979e20bfb467a60a66e9341fee9cdccef6b2a1d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/duragraph/cmd/serve.go: cmd/duragraph/cmd/serve.go changed 12 times in last 90 days, max complexity 93. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/duragraph/cmd/serve.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"632c9f2d134cd6f75fb28eda24a388cb2be176f8c58d9c54770fc39c8912f567"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/config/config.go: internal/config/config.go changed 6 times in last 90 days, max complexity 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/config/config.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc13cc9df78dffd7f9663d3d6315b5a7b6a30ad2cf7851b5452a6dd3ec33be7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controlplane/server/server.go: controlplane/server/server.go changed 3 times in last 90 days, max complexity 17. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/server/server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f880226a8705d8251e59b17a1347fc434d43459274baf39f6a18d846c249a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: internal/dev/watch/watch.go: internal/dev/watch/watch.go changed 3 times in last 90 days, max complexity 16. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, behind tests written first."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"internal/dev/watch/watch.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"383cbd923315a5857cfba7d34a714fa68b7dda39bf6346ecf2c155b5688bea71"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controlplane/worker/runner.go: controlplane/worker/runner.go changed 2 times in last 90 days, max complexity 21. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/worker/runner.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ae4c32405e0c76f6d41968ea5f54f3ef67c46a93339d52136fda103dc57e21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cmd/worker/main.go: cmd/worker/main.go changed 2 times in last 90 days, max complexity 17. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/worker/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"917a59ae6afc0f5a9b440d483b38bd0e0cba8355a534c5e56988af548d891a5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controlplane/nats/relay.go: controlplane/nats/relay.go changed 2 times in last 90 days, max complexity 15. 1 of those changes was a fix/bug commit, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controlplane/nats/relay.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2036c7eea8a764dca9d5697984a0e732b5ac7f1da1c509a20498bcea200537"}},{"ruleId":"D16","level":"warning","message":{"text":"single-maintainer \u2014 knowledge-concentration (bus factor) risk: single-maintainer \u2014 knowledge-concentration (bus factor) risk (1 author(s) across 189 commit(s) sampled)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b4b49d961df742f0e507f4cc5c8094fb077ba0391a27fd015d18320865187719"}},{"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"}}]},{"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":"7ceee73d76663034321cbd3b5bbecae8b673163039b70b12462f979a331e73d3"},"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"}}]},{"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":"e7a9139ada736d07ff392922c41056ab290cbfa563beec669fc516345f13b2e4"},"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"}}]},{"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":"a2351c8d359985ff0c6a3e3f0e13f53d24cd4d1cec7142d1690a76900460bb00"},"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"}}]},{"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":"de8149eefdca135b90d08fbe6b7449fbd1421860fa0b3103565031be4e9c86e4"},"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"}}]},{"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":"8eb50784ab958284eb3ecd7050384e4061ddeae0c76cf46d9d242ff3f816fc6b"},"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"}}]},{"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":"77765882d55462152a369fef948de5215108ca7f45d82e78ff505271ac66abac"},"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"}}]},{"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":"4e5ba20d569d258ae6d0a24953bb1bf2096a834bc4a53403da7c12ca10d2411b"},"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"}}]},{"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":"860eac9ee94b9b3742f3319aa02e695a1a79f73587089893cffd7fb51295cfde"},"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"}}]},{"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":"0d9facbbb7b0e228f8c11312ff21631f676ec124d4e1ecd2b4b8efe22f56a007"},"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"}}]},{"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":"66547d01684e92101f7d2ffc32a4e8d5b1cc84079cdee9a5236f6ed281bb9909"},"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"}}]},{"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":"fdea6229d240da4504e0641956ab0df64cfeae5b9d170f75282343cfe7f36d64"},"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"}}]},{"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":"ab17f392816af116de8d94b9f185a3bec71df3ee6a5b81b9445bacc55cd84154"},"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"}}]},{"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":"d1237d85dc891d12c265c939d34bcd939ea0fd9ec79f8522670188b4ceae8b38"},"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"}}]},{"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":"c863000db6a1e5f9bd96a5e2f951538ba660d911644a1c12eedd96e5372ed739"},"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"}}]},{"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":"b219a8d41e6ce7af0d6d15360aaf8aaa2aaa7522228b6ba334278b7cb4302fd3"},"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"}}]},{"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":"24d27798cabc684d8b34db58b7d76be661260fda33c9c13522d31dbd122158e1"},"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"}}]},{"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":"3a854e02077a17485eced6455ba7720009a3aef3ebc184a94e9ea735dee240a0"},"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"}}]},{"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":"43da3fa0d912cca74409ba5c3be1a48e872fcab5b3f11454b8274804f2b83ee3"},"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"}}]},{"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":"78ff7ba8435c6e66a36ac91da59c8ac73a57bcf65f3f7e78d255b2087b621b38"},"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"}}]},{"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":"57cd49c673b662752f35dbe2a5ca368ade1c078c7d6426d8ffa668769e669d6c"},"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"}}]},{"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":"f09e27d0fdd2031dfd6392b83b447a7cf2a6560da50e6b9071a0b8021f7cd1cd"},"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"}}]},{"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":"b0738c42fca3a0de83afa358e9cea375455e4664649c551062101e1448f25417"},"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"}}]},{"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":"5d47228df1d9ec20f699d4aa86f7b9d9984cede4366175ac314e8f136646889e"},"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"}}]},{"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":"340078762ea47a76de10a20eead143c58ceed4bf9c812c4c2cc514b3e3f74956"},"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"}}]},{"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":"84dadd5b83268ac6434b766e02ef9c5e3cad6f896719d6d8957b52db97ae19a3"},"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"}}]},{"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":"9587312cd96e642900c0606ac165d9d01d40c9591b2f9275c8cbb997943168d5"},"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"}}]},{"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":"e832d6f18dbeeea27a2eef90a9c200e16c0896e2a795a547bf344296b8ac3437"},"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"}}]},{"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":"ae4c7508b37451b898cee0c52842515e5e5ff7ffbe85448f5430a64cf7ab2805"},"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"}}]},{"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":"57b68761a767080b904a9a5361d654db87e0f24e7b9664b97f8b7c2ceb2bcab4"},"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"}}]},{"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":"fa3d743030ce922a4ef2b9745d9adfe30e23b5c276358614b7cb89339ff83d20"},"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"}}]},{"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":"ab1538e86684a2646013c7a8c8bcf98249bafe1f3ac85eacbd7e96fde035e27b"},"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"}}]},{"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":"2edc931566d233b5da07822ce01d2ff7e5b4c42ed79fa2414f33686fc5fec191"},"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"}}]},{"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":"95bbbc17dfab6522c80925c20c4782bb05f7f4e1a7843b707cee24f697e401ba"},"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"}}]},{"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":"dc55c9f188f04d081c955345fb004264036b55f832b655cc24aaa263f1d1f5c4"},"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"}}]},{"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":"64fd2b3b1e48a307ef21fdd26d1af26d4bcc27c04f19da02205929d638f35589"},"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"}}]},{"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":"0004ea66f4a9be185abf4bc5702db856df5c06cf5cf55eb7f8f8448ab78a8ae3"},"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"}}]},{"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":"948895b2ee4615b9a3170f2e0b00a9805997421687b4eb3e9c0bfff931b34743"},"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"}}]},{"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":"e5d5cc4b007a7faefce2202f4df77c9e84a43e49afbe332f8e1fe34c07358727"},"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"}}]},{"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":"fc343e626cb46a9723ab38452021dda9441d9b104acd8bfcec5db1384991300d"},"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"}}]},{"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":"de9c0cddcc088374da5f5bb348089e6673e2cc908da391d7fa787c167403b3e6"},"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"}}]},{"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":"88a8691ff370ed8624545413d1089dc4be2521e0e91ca40a1af358f8607b0091"},"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"}}]},{"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":"3cfef6f7afdec2190581299b2a87a9e061ab5d9c93210df27c36521349bc2c43"},"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"}}]},{"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":"031866bde74b2d672758e205245cfaaf06ef8c1a16f2f7d3beb322f6fad6047b"},"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"}}]},{"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":"142ae052b1ab6c0966babf61c2caf63048eda93cc63d2b9400f0e71beaeda0fe"},"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"}}]},{"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":"e13a50c02a085ade6b6742d7c5f8ee9d72b932ef62a5aebc7bbafc6fcb2ee594"},"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"}}]},{"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":"d5c7a1f7262c5c17685985b432c1cd8a4d9d5e3abb9f8f0202dc888c58ee6e51"},"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"}}]},{"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":"f036e445c464e33f919e3ae7e4247345107df17f7fba9de3cadc7633c66ac44f"},"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"}}]},{"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":"682dc638827a67dd17d27f7b56f1eceba62fbd457418f9ceb814c43061da0402"},"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"}}]},{"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":"543d20ed9e22c779488c324d0006291aa63c24ae96c112b46537f36b5621e4f9"},"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"}}]},{"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":"d5fff59fe397374dc244add4ecc3b741ff19bd2c5a53718e63bdfaa8ea314646"}},{"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":"b5e544e303ab9c5aa04cb2cafa1d9114bb7efca1453526768428c5040708daa5"}},{"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":"2ce27d09affef6299251ff6dd746f01b5abead61fb97b975d440906ffbc8db58"}},{"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":"dcb464471d81936968a4e7f57d5f03889c7e52dd9d0970eaa211e92776c4cfa2"}},{"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":"5bd7719768bd8b3328ada390c92b830cf70903832067ede3c0f02d699ffc186b"}},{"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":"e21463704d54a54f52a03c9b110237baf6e99f2eff087e6729f5e559f4472ff3"}},{"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":"2874ee6df1d318c0074dcd1756361dd236f77e6dbbe9724152e7ff2a96d8efdd"}},{"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":"6d0c71fdf4ba8e5a315fb42b1aded74e7bbd63cb596e0bf78dcd2fa03e99295c"}},{"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":"95578d54d0d9e70a72f240c9f9b666d9135cd3b6974e790ab88d7185ee9aa975"}},{"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":"d039832eeeaabfc513815015e4f7cfe7b6cdae74f31321b81eb6cb4e90fd6c1a"}},{"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":"33ef24bae2b6bd84f328c16d0373d3569ceec57a50f23890aea7e8aeda74e6b7"}},{"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":"83f8ccf3142a81d6ed7d82eee5223303b2befe5a6e3e1498a38ec866e314e965"}},{"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":"a5ce4b2e834e4f9826906d7f6cbe3c3db6a4e1f3521960d72368db5076d2b22c"}},{"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":"eaccda01725216125308ca1c574f1f5b9679b17795e19b71fe38f601c38c151c"}},{"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":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"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":"cc6edd28f6053ec49f5c64bde8aa50db61fb92817f969d26348cba3769ea45c3"}},{"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":"b051f9f7a5f5bb9c2ff566c8db3cc3acbc67dff0a3ecb546830b642c29897a3b"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: main.go \u2194 assistant.go: \u0060cmd/server/main.go\u0060 (context cmd) and \u0060internal/infrastructure/http/handlers/assistant.go\u0060 (context internal) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched the less-changed of the two, renames followed) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad1f9aface804c3056c20ad6a7e0ca556d7a8462f3c33d3d66523e958ed34d5"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: main.go \u2194 langgraph.go: \u0060cmd/server/main.go\u0060 (context cmd) and \u0060internal/infrastructure/http/dto/langgraph.go\u0060 (context internal) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched the less-changed of the two, renames followed) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cmd/server/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1da09a589813690550934bf5ba1a06d2b2166bf0fa04a8dd709976005d14f0"}},{"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"}},{"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"}},{"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":"0752d0df7434000fcabf1048e2de30a7a1a8b982b3db9a19898c4dec199856b4"}},{"ruleId":"D38","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":"5024c6afc6d3ad433fe6e9d6331e96e5f5c40a20c3a6565c4288cd0d4af79e78"}},{"ruleId":"D38","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":"967097a4d401ea6e03c47204c374a3f2abe493ee476b3dba944e2e7e3222c232"}},{"ruleId":"D38","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":"5e3545524e8875b4c7eba7c1011fc73f5980286a976278c5029e01d01e301600"}},{"ruleId":"D38","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":"e88508c4ba7a21b023bb4015eb5ac0e656089b292ee35bb3470281cadd3f099e"}},{"ruleId":"D38","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":"27fee9da65dcc7291e04fdd6bb14fe97c1e5e34d3900d72481e5c2f08e537d7b"}},{"ruleId":"D38","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":"3c9dcea05ba6550e9c88563b485d7fbfdbd89d2e1cc3fa7166972dde88fbc567"}},{"ruleId":"D38","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":"1fd3b22be7065819ac94519354a6c8bf66d6e4d48beb4f8c52d3d48046cf7983"}},{"ruleId":"D38","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":"24fcae53239a1ac72bc974dcc3442f0bef6a331b9ed40849b5e99c9cb4cbc05a"}},{"ruleId":"D38","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":"d8dc67feb8b93364c8b317a628f40cb87cec56170ab8a93cde301118f4a1bf55"}},{"ruleId":"D38","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":"d3bf59d4724cd428bc47846e219e3b99cd150332ccb0698ddd4ad71cb1ec4a2b"}},{"ruleId":"D38","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":"8f774e193c1d588a9341e26af70ab99dd930f1b674943c93eb1d2cd94167ad9e"}},{"ruleId":"D38","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":"0027111f7b4a007e58bf0978358be75ffb0bc1a8db645879e402c20b04092973"}},{"ruleId":"D38","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":"33bded5ea330ab03924b58cab2807fb3788d243fdfa545ae798f156d747b62f0"}},{"ruleId":"D38","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":"bb7beb48484f0d988a3fae2e3998954743cfb07123ae891e3b3aa9a290ade330"}},{"ruleId":"D38","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":"bc38e2e73361dc9ca323b037a9179425d7b342820d95076fd6feb51a71ebc6d0"}},{"ruleId":"D38","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":"da44b41e5eef31333afd8e8f816b281eb7e7e5f90b6f7ee624ca5fa5b7a5c575"}},{"ruleId":"D38","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":"b32ca5fb47d64c458148995e1ddf95c0c59925aefdeb7cabc5dbca4fd3c9d303"}},{"ruleId":"D38","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":"2d430c5a0a47944a2e73fbfad96707d4458d14d1068040bae19506a1286593b3"}},{"ruleId":"D38","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":"bc0d26d9c5beb267c1e5164f80c756f956862727e54c74043caa0289999357f4"}},{"ruleId":"D38","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":"c3101d36131a52584dde37b042bdfe9fc6a1d1edad6398c91ef166385743b007"}},{"ruleId":"D38","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":"cf35747c801e2ee89e82eb512adb1f63e3daad42476775153be3f7b6df4179d4"}},{"ruleId":"D38","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":"c8e6740321a9758be2667eea6842293616ba35402441f8df0a0ca2a8f6a5fa68"}},{"ruleId":"D38","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":"ba0695644397eab358c67149e6d936cb8b6b648c1f9c8b9bfa34a8138855768a"}},{"ruleId":"D38","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":"00beed7bbc8a9b3eb6cf15cd0f0c67cd1a6a2eb67e0cdd312c0f2ff62d1ae5b7"}},{"ruleId":"D38","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":"231ad4dc838e4a2768e6f7a1e67ca410b16632a9e046ea516d551978147d4308"}},{"ruleId":"D38","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":"b879a634080544c9de5b7973fc26f040831c45c4db84c43f8bb3431015159be8"}},{"ruleId":"D38","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":"626e01eacf94c3b3382809ff8a91277880813d4497b12c2cdcf28b0d8c94458b"}},{"ruleId":"D38","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":"5a71bd0cfdeb0f5df6461ea6572cb25a6645cdc5b37f5ae2718927f7c82359d1"}},{"ruleId":"D38","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":"0433aa0af519fdb2fa68ee585cb998e8d7d4c95442aff8a7c1074064c48d68e7"}}],"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-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-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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"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-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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":99,"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."]}]}